#include <spi_bit.h>
Data Fields | |
| struct spi_bus | bus |
| SPI bus. | |
| struct bit_basher | basher |
| Bit-bashing interface. | |
| int | endianness |
| Endianness of data. | |
Definition at line 16 of file spi_bit.h.
struct spi_bus spi_bit_basher::bus [read] |
SPI bus.
Definition at line 18 of file spi_bit.h.
Referenced by ifec_init_eeprom(), init_spi_bit_basher(), natsemi_init_eeprom(), rtl818x_probe(), rtl_init_eeprom(), spi_bit_set_slave_select(), and spi_bit_transfer().
struct bit_basher spi_bit_basher::basher [read] |
Bit-bashing interface.
Definition at line 20 of file spi_bit.h.
Referenced by ifec_init_eeprom(), ifec_spi_read_bit(), ifec_spi_write_bit(), init_spi_bit_basher(), natsemi_init_eeprom(), natsemi_spi_read_bit(), natsemi_spi_write_bit(), rtl818x_probe(), rtl818x_spi_read_bit(), rtl818x_spi_write_bit(), rtl_init_eeprom(), rtl_spi_read_bit(), rtl_spi_write_bit(), spi_bit_rw(), spi_bit_set_slave_select(), and spi_bit_transfer().
Endianness of data.
SPI commands and addresses are always big-endian (i.e. MSB transmitted first on the wire), but some cards (e.g. natsemi) choose to regard the data stored in the EEPROM as little-endian (i.e. LSB transmitted first on the wire).
Definition at line 29 of file spi_bit.h.
Referenced by natsemi_init_eeprom(), and spi_bit_rw().
1.5.7.1