Lines Matching refs:I2CBus
67 OBJECT_DECLARE_SIMPLE_TYPE(I2CBus, I2C_BUS)
86 struct I2CBus { struct
97 I2CBus *i2c_init_bus(DeviceState *parent, const char *name); argument
98 int i2c_bus_busy(I2CBus *bus);
112 int i2c_start_transfer(I2CBus *bus, uint8_t address, bool is_recv);
122 int i2c_start_recv(I2CBus *bus, uint8_t address);
132 int i2c_start_send(I2CBus *bus, uint8_t address);
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,
177 I2CSlave *i2c_slave_create_simple(I2CBus *bus, const char *name, uint8_t addr);
207 bool i2c_slave_realize_and_unref(I2CSlave *dev, I2CBus *bus, Error **errp);