Searched defs:basher (Results 1 - 11 of 11) sorted by relevance

/external/syslinux/gpxe/src/drivers/bitbash/
H A Dbitbash.c32 * @v basher Bit-bashing interface
39 void write_bit ( struct bit_basher *basher, unsigned int bit_id, argument
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 ) { argument
56 return ( basher->op->read ( basher, bit_id ) ? -1UL : 0 );
H A Di2c_bit.c51 * @v basher Bit-bashing interface
54 static void setscl ( struct bit_basher *basher, int state ) { argument
56 write_bit ( basher, I2C_BIT_SCL, state );
63 * @v basher Bit-bashing interface
66 static void setsda ( struct bit_basher *basher, int state ) { argument
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 Bi
103 i2c_send_bit( struct bit_basher *basher, int bit ) argument
146 i2c_send_byte( struct bit_basher *basher, uint8_t byte ) argument
198 i2c_select( struct bit_basher *basher, struct i2c_device *i2cdev, unsigned int offset, unsigned int direction ) argument
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...]
H A Dspi_bit.c60 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
[all...]
/external/syslinux/gpxe/src/include/gpxe/
H A Dspi_bit.h20 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 */
H A Di2c.h95 struct bit_basher basher; member in struct:i2c_bit_basher
/external/syslinux/gpxe/src/drivers/net/
H A Dnatsemi.c104 static int natsemi_spi_read_bit ( struct bit_basher *basher, argument
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, argument
117 struct natsemi_private *np = container_of ( basher, struct natsemi_private,
118 spibit.basher );
151 np->spibit.basher.op = &natsemi_basher_ops;
H A Deepro100.c488 * @v basher Bitbash device
491 static int ifec_spi_read_bit ( struct bit_basher *basher, argument
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, argument
521 container_of ( basher, struct ifec_private, spi.basher );
552 priv->spi.basher.op = &ifec_basher_ops;
H A Drtl8139.c224 static int rtl_spi_read_bit ( struct bit_basher *basher, argument
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, argument
237 struct rtl8139_nic *rtl = container_of ( basher, struct rtl8139_nic,
238 spibit.basher );
275 rtl->spibit.basher.op = &rtl_basher_ops;
H A Detherfabric.c1510 falcon_i2c_bit_write ( struct bit_basher *basher, unsigned int bit_id, argument
1513 struct efab_nic *efab = container_of ( basher, struct efab_nic,
1514 i2c_bb.basher );
1534 falcon_i2c_bit_read ( struct bit_basher *basher, unsigned int bit_id ) argument
1536 struct efab_nic *efab = container_of ( basher, struct efab_nic,
1537 i2c_bb.basher );
/external/syslinux/gpxe/src/drivers/net/rtl818x/
H A Drtl818x.c601 static int rtl818x_spi_read_bit(struct bit_basher *basher, unsigned int bit_id) argument
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, argument
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/
H A Dlinda.c1520 * @v basher Bit-bashing interface
1525 static int linda_i2c_read_bit ( struct bit_basher *basher, argument
1528 container_of ( basher, struct linda, i2c.basher );
1545 * @v basher Bit-bashing interface
1549 static void linda_i2c_write_bit ( struct bit_basher *basher, argument
1552 container_of ( basher, struct linda, i2c.basher );

Completed in 1940 milliseconds