Lines Matching refs:I3CTarget
25 OBJECT_DECLARE_TYPE(I3CTarget, I3CTargetClass, I3C_TARGET)
108 int (*send)(I3CTarget *s, const uint8_t *data, uint32_t num_to_send,
114 uint32_t (*recv)(I3CTarget *s, uint8_t *data, uint32_t num_to_read);
116 int (*event)(I3CTarget *s, enum I3CEvent event);
122 int (*handle_ccc_read)(I3CTarget *s, uint8_t *data, uint32_t num_to_read,
129 int (*handle_ccc_write)(I3CTarget *s, const uint8_t *data,
133 struct I3CTarget { struct
149 I3CTarget *target; argument
178 int (*ibi_handle) (I3CBus *bus, I3CTarget *target, uint8_t addr,
189 void i3c_set_target_address(I3CTarget *dev, uint8_t address);
231 int i3c_start_device_transfer(I3CTarget *dev, int send_length);
232 bool i3c_target_match(I3CBus *bus, I3CTarget *target, uint8_t address);
233 int i3c_target_send_ibi(I3CTarget *t, uint8_t addr, bool is_recv);
234 int i3c_target_send_ibi_bytes(I3CTarget *t, uint8_t data);
235 int i3c_target_ibi_finish(I3CTarget *t, uint8_t data);
259 I3CTarget *i3c_target_new(const char *name, uint8_t addr, uint8_t dcr,
268 I3CTarget *i3c_target_create_simple(I3CBus *bus, const char *name,
273 bool i3c_target_realize_and_unref(I3CTarget *dev, I3CBus *bus, Error **errp);