/external/syslinux/gpxe/src/include/gpxe/ |
spi_bit.h | 20 struct bit_basher basher; member in struct:spi_bit_basher 55 /** SPI bit basher treats data as big-endian */ 58 /** SPI bit basher treats data as little-endian */
|
i2c.h | 95 struct bit_basher basher; member in struct:i2c_bit_basher
|
/external/syslinux/gpxe/src/drivers/bitbash/ |
i2c_bit.c | 51 * @v basher Bit-bashing interface 54 static void setscl ( struct bit_basher *basher, int state ) { 56 write_bit ( basher, I2C_BIT_SCL, state ); 63 * @v basher Bit-bashing interface 66 static void setsda ( struct bit_basher *basher, int state ) { 68 write_bit ( basher, I2C_BIT_SDA, state ); 75 * @v basher Bit-bashing interface 78 static int getsda ( struct bit_basher *basher ) { 80 state = read_bit ( basher, I2C_BIT_SDA ); 88 * @v basher Bit-bashing interfac 281 struct bit_basher *basher = &i2cbit->basher; local 335 struct bit_basher *basher = &i2cbit->basher; local 375 struct bit_basher *basher = &i2cbit->basher; local [all...] |
spi_bit.c | 60 struct bit_basher *basher = &spibit->basher; local 67 write_bit ( basher, SPI_BIT_SS ( slave ), state ); 90 struct bit_basher *basher = &spibit->basher; local 122 write_bit ( basher, SPI_BIT_MOSI, bit ); 127 bit = read_bit ( basher, SPI_BIT_MISO ); 140 write_bit ( basher, SPI_BIT_SCLK, sclk ); 166 write_bit ( &spibit->basher, SPI_BIT_SCLK, 222 assert ( &spibit->basher.op->read != NULL ) [all...] |