HomeSort by relevance Sort by last modified time
    Searched refs:basher (Results 1 - 12 of 12) sorted by null

  /external/syslinux/gpxe/src/drivers/bitbash/
bitbash.c 32 * @v basher Bit-bashing interface
39 void write_bit ( struct bit_basher *basher, unsigned int bit_id,
41 basher->op->write ( basher, bit_id, ( data ? -1UL : 0 ) );
47 * @v basher Bit-bashing interface
55 int read_bit ( struct bit_basher *basher, unsigned int bit_id ) {
56 return ( basher->op->read ( basher, bit_id ) ? -1UL : 0 );
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...]
  /external/syslinux/gpxe/src/include/gpxe/
bitbash.h 19 * @v basher Bit-bashing interface
29 void ( * write ) ( struct bit_basher *basher, unsigned int bit_id,
34 * @v basher Bit-bashing interface
39 int ( * read ) ( struct bit_basher *basher, unsigned int bit_id );
48 extern void write_bit ( struct bit_basher *basher, unsigned int bit_id,
50 extern int read_bit ( struct bit_basher *basher, unsigned int bit_id );
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/net/
natsemi.c 104 static int natsemi_spi_read_bit ( struct bit_basher *basher,
106 struct natsemi_private *np = container_of ( basher, struct natsemi_private,
107 spibit.basher );
115 static void natsemi_spi_write_bit ( struct bit_basher *basher,
117 struct natsemi_private *np = container_of ( basher, struct natsemi_private,
118 spibit.basher );
151 np->spibit.basher.op = &natsemi_basher_ops;
rtl8139.c 224 static int rtl_spi_read_bit ( struct bit_basher *basher,
226 struct rtl8139_nic *rtl = container_of ( basher, struct rtl8139_nic,
227 spibit.basher );
235 static void rtl_spi_write_bit ( struct bit_basher *basher,
237 struct rtl8139_nic *rtl = container_of ( basher, struct rtl8139_nic,
238 spibit.basher );
275 rtl->spibit.basher.op = &rtl_basher_ops;
eepro100.c 488 * @v basher Bitbash device
491 static int ifec_spi_read_bit ( struct bit_basher *basher,
495 container_of ( basher, struct ifec_private, spi.basher );
512 * @v basher Bitbash device
516 static void ifec_spi_write_bit ( struct bit_basher *basher,
521 container_of ( basher, struct ifec_private, spi.basher );
552 priv->spi.basher.op = &ifec_basher_ops;
    [all...]
etherfabric.c     [all...]
  /external/syslinux/gpxe/src/drivers/net/rtl818x/
rtl818x.c 601 static int rtl818x_spi_read_bit(struct bit_basher *basher, unsigned int bit_id)
603 struct rtl818x_priv *priv = container_of(basher, struct rtl818x_priv,
604 spibit.basher);
610 static void rtl818x_spi_write_bit(struct bit_basher *basher,
613 struct rtl818x_priv *priv = container_of(basher, struct rtl818x_priv,
614 spibit.basher);
729 priv->spibit.basher.op = &rtl818x_basher_ops;
  /external/syslinux/gpxe/src/drivers/infiniband/
linda.c     [all...]

Completed in 1005 milliseconds