Lines Matching refs:I3CBus
158 OBJECT_DECLARE_TYPE(I3CBus, I3CBusClass, I3C_BUS)
160 struct I3CBus { struct
178 int (*ibi_handle) (I3CBus *bus, I3CTarget *target, uint8_t addr, argument
181 int (*ibi_recv) (I3CBus *bus, uint8_t data);
183 int (*ibi_finish) (I3CBus *bus);
186 I3CBus *i3c_init_bus(DeviceState *parent, const char *name);
187 I3CBus *i3c_init_bus_type(const char *type, DeviceState *parent,
190 bool i3c_bus_busy(I3CBus *bus);
200 int i3c_start_transfer(I3CBus *bus, uint8_t address, bool is_recv);
207 int i3c_start_recv(I3CBus *bus, uint8_t address);
214 int i3c_start_send(I3CBus *bus, uint8_t address);
216 void i3c_end_transfer(I3CBus *bus);
217 void i3c_nack(I3CBus *bus);
218 int i3c_send_byte(I3CBus *bus, uint8_t data);
219 int i3c_send(I3CBus *bus, const uint8_t *data, uint32_t num_to_send,
225 int i3c_recv_byte(I3CBus *bus, uint8_t *data);
226 int i3c_recv(I3CBus *bus, uint8_t *data, uint32_t num_to_read,
228 bool i3c_scan_bus(I3CBus *bus, uint8_t address);
229 int i3c_do_entdaa(I3CBus *bus, uint8_t address, uint64_t *pid, uint8_t *bcr,
232 bool i3c_target_match(I3CBus *bus, I3CTarget *target, uint8_t address);
244 void legacy_i2c_nack(I3CBus *bus);
245 uint8_t legacy_i2c_recv(I3CBus *bus);
246 int legacy_i2c_send(I3CBus *bus, uint8_t data);
247 int legacy_i2c_start_transfer(I3CBus *bus, uint8_t address, bool is_recv);
248 int legacy_i2c_start_recv(I3CBus *bus, uint8_t address);
249 int legacy_i2c_start_send(I3CBus *bus, uint8_t address);
250 void legacy_i2c_end_transfer(I3CBus *bus);
251 I2CSlave *legacy_i2c_device_create_simple(I3CBus *bus, const char *name,
268 I3CTarget *i3c_target_create_simple(I3CBus *bus, const char *name,
273 bool i3c_target_realize_and_unref(I3CTarget *dev, I3CBus *bus, Error **errp);