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

/vbox/src/VBox/Devices/PC/ipxe/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 );
169 write_bit ( &spibit->basher, SPI_BIT_SCLK,
225 assert ( &spibit->basher
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
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
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/
H A Dnatsemi.c77 * @v basher Bit-bashing interface
82 static int natsemi_spi_read_bit ( struct bit_basher *basher, argument
84 struct natsemi_nic *natsemi = container_of ( basher, struct natsemi_nic,
85 spibit.basher );
98 * @v basher Bit-bashing interface
102 static void natsemi_spi_write_bit ( struct bit_basher *basher, argument
104 struct natsemi_nic *natsemi = container_of ( basher, struct natsemi_nic,
105 spibit.basher );
131 natsemi->spibit.basher.op = &natsemi_basher_ops;
H A Drealtek.c78 * @v basher Bit-bashing interface
83 static int realtek_spi_read_bit ( struct bit_basher *basher, argument
85 struct realtek_nic *rtl = container_of ( basher, struct realtek_nic,
86 spibit.basher );
99 * @v basher Bit-bashing interface
103 static void realtek_spi_write_bit ( struct bit_basher *basher, argument
105 struct realtek_nic *rtl = container_of ( basher, struct realtek_nic,
106 spibit.basher );
133 rtl->spibit.basher.op = &realtek_basher_ops;
H A Deepro100.c490 * @v basher Bitbash device
493 static int ifec_spi_read_bit ( struct bit_basher *basher, argument
497 container_of ( basher, struct ifec_private, spi.basher );
514 * @v basher Bitbash device
518 static void ifec_spi_write_bit ( struct bit_basher *basher, argument
523 container_of ( basher, struct ifec_private, spi.basher );
554 priv->spi.basher.op = &ifec_basher_ops;
H A Detherfabric.c1503 falcon_i2c_bit_write ( struct bit_basher *basher, unsigned int bit_id, argument
1506 struct efab_nic *efab = container_of ( basher, struct efab_nic,
1507 i2c_bb.basher );
1527 falcon_i2c_bit_read ( struct bit_basher *basher, unsigned int bit_id ) argument
1529 struct efab_nic *efab = container_of ( basher, struct efab_nic,
1530 i2c_bb.basher );
/vbox/src/VBox/Devices/PC/ipxe/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);
728 priv->spibit.basher.op = &rtl818x_basher_ops;
/vbox/src/VBox/Devices/PC/ipxe/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 );
H A Dqib7322.c1830 * @v basher Bit-bashing interface
1835 static int qib7322_i2c_read_bit ( struct bit_basher *basher, argument
1838 container_of ( basher, struct qib7322, i2c.basher );
1855 * @v basher Bit-bashing interface
1859 static void qib7322_i2c_write_bit ( struct bit_basher *basher, argument
1862 container_of ( basher, struct qib7322, i2c.basher );

Completed in 400 milliseconds