iPXE
Functions
SPI device types

Functions

static __attribute__ ((always_inline)) void init_at25f1024(struct spi_device *device)
 Atmel AT25F1024 serial flash. More...
 

Detailed Description

Function Documentation

◆ __attribute__()

static __attribute__ ( (always_inline)  )
inlinestatic

Atmel AT25F1024 serial flash.

Microchip 25XX640 serial EEPROM.

ST M25P32 serial flash.

Atmel 25040 serial EEPROM.

Definition at line 115 of file spi.h.

116  {
117  return container_of ( nvs, struct spi_device, nvs );
118 }
#define container_of(ptr, type, field)
Get containing structure.
Definition: stddef.h:35
An SPI device.
Definition: spi.h:86

References container_of, and spi_device::nvs.