Lines Matching full:bus

42      * Notify the slave of a bus state change.  For start event,
66 #define TYPE_I2C_BUS "i2c-bus"
93 /* Set from slave currently mastering the bus. */
98 int i2c_bus_busy(I2CBus *bus);
101 * i2c_start_transfer: start a transfer on an I2C bus.
103 * @bus: #I2CBus to be used
112 int i2c_start_transfer(I2CBus *bus, uint8_t address, bool is_recv);
115 * i2c_start_recv: start a 'receive' transfer on an I2C bus.
117 * @bus: #I2CBus to be used
122 int i2c_start_recv(I2CBus *bus, uint8_t address);
125 * i2c_start_send: start a 'send' transfer on an I2C bus.
127 * @bus: #I2CBus to be used
132 int i2c_start_send(I2CBus *bus, uint8_t address);
135 * i2c_start_send_async: start an asynchronous 'send' transfer on an I2C bus.
137 * @bus: #I2CBus to be used
142 int i2c_start_send_async(I2CBus *bus, uint8_t address);
144 void i2c_schedule_pending_master(I2CBus *bus);
146 void i2c_end_transfer(I2CBus *bus);
147 void i2c_nack(I2CBus *bus);
148 void i2c_ack(I2CBus *bus);
149 void i2c_bus_master(I2CBus *bus, QEMUBH *bh);
150 void i2c_bus_release(I2CBus *bus);
151 int i2c_send(I2CBus *bus, uint8_t data);
152 int i2c_send_async(I2CBus *bus, uint8_t data);
153 uint8_t i2c_recv(I2CBus *bus);
154 bool i2c_scan_bus(I2CBus *bus, uint8_t address, bool broadcast,
160 * @addr: I2C address of the slave when put on a bus
170 * @bus: I2C bus to put it on
172 * @addr: I2C address of the slave when put on a bus
175 * specified @bus, and drop the reference to it (the device is realized).
177 I2CSlave *i2c_slave_create_simple(I2CBus *bus, const char *name, uint8_t addr);
182 * @bus: I2C bus to put it on
183 * @addr: I2C address of the slave on the bus
188 * Call 'realize' on @dev, put it on the specified @bus, and drop the
207 bool i2c_slave_realize_and_unref(I2CSlave *dev, I2CBus *bus, Error **errp);
210 * Set the I2C bus address of a slave device
212 * @address: I2C address of the slave when put on a bus