Home | History | Annotate | Download | only in gpxe

Lines Matching refs:device

48 extern int threewire_detect_address_len ( struct spi_device *device );
51 * @defgroup tdevs Three-wire device types
56 init_at93cx6 ( struct spi_device *device, unsigned int organisation ) {
57 device->nvs.word_len_log2 = ( ( organisation == 8 ) ? 0 : 1 );
58 device->nvs.block_size = 1;
59 device->command_len = 3,
60 device->nvs.read = threewire_read;
61 device->nvs.write = threewire_write;
67 * @v device SPI device
71 init_at93c46 ( struct spi_device *device, unsigned int organisation ) {
72 device->nvs.size = ( 1024 / organisation );
73 device->address_len = ( ( organisation == 8 ) ? 7 : 6 );
74 init_at93cx6 ( device, organisation );
80 * @v device SPI device
84 init_at93c56 ( struct spi_device *device, unsigned int organisation ) {
85 device->nvs.size = ( 2048 / organisation );
86 device->address_len = ( ( organisation == 8 ) ? 9 : 8 );
87 init_at93cx6 ( device, organisation );
93 * @v device SPI device
97 init_at93c66 ( struct spi_device *device, unsigned int organisation ) {
98 device->nvs.size = ( 4096 / organisation );
99 device->address_len = ( ( organisation == 8 ) ? 9 : 8 );
100 init_at93cx6 ( device, organisation );