Home
last modified time | relevance | path

Searched refs:I3CTarget (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/include/hw/i3c/
H A Di3c.h25 OBJECT_DECLARE_TYPE(I3CTarget, I3CTargetClass, I3C_TARGET)
116 int (*event)(I3CTarget *s, enum I3CEvent event);
129 int (*handle_ccc_write)(I3CTarget *s, const uint8_t *data,
133 struct I3CTarget { struct
149 I3CTarget *target; argument
189 void i3c_set_target_address(I3CTarget *dev, uint8_t address);
231 int i3c_start_device_transfer(I3CTarget *dev, int send_length);
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);
[all …]
H A Dmock-target.h41 I3CTarget i3c;
/openbmc/qemu/hw/i3c/
H A Dcore.c27 DEFINE_PROP_UINT8("dcr", struct I3CTarget, dcr, 0),
28 DEFINE_PROP_UINT8("bcr", struct I3CTarget, bcr, 0),
29 DEFINE_PROP_UINT64("pid", struct I3CTarget, pid, 0),
133 I3CTarget *target = I3C_TARGET(qdev); in i3c_scan_bus()
187 I3CTarget *t = node->target; in i3c_do_start_transfer()
241 I3CTarget *t = I3C_TARGET(qdev); in i3c_end_transfer()
249 I3CTarget *t = node->target; in i3c_end_transfer()
333 I3CTarget *t; in i3c_send()
449 I3CTarget *t; in i3c_recv()
509 int i3c_target_ibi_finish(I3CTarget *t, uint8_t data) in i3c_target_ibi_finish()
[all …]
H A Dmock-target.c53 static uint32_t mock_target_rx(I3CTarget *i3c, uint8_t *data, in mock_target_rx()
83 static int mock_target_tx(I3CTarget *i3c, const uint8_t *data, in mock_target_tx()
111 static int mock_target_event(I3CTarget *i3c, enum I3CEvent event) in mock_target_event()
126 static int mock_target_handle_ccc_read(I3CTarget *i3c, uint8_t *data, in mock_target_handle_ccc_read()
187 static int mock_target_handle_ccc_write(I3CTarget *i3c, const uint8_t *data, in mock_target_handle_ccc_write()
251 static void mock_target_reset(I3CTarget *i3c) in mock_target_reset()
H A Dremote-i3c.c43 I3CTarget parent_obj;
65 static uint32_t remote_i3c_recv(I3CTarget *t, uint8_t *data, in remote_i3c_recv()
142 static int remote_i3c_send(I3CTarget *t, const uint8_t *data, in remote_i3c_send()
154 static int remote_i3c_handle_ccc_read(I3CTarget *t, uint8_t *data, in remote_i3c_handle_ccc_read()
172 static int remote_i3c_handle_ccc_write(I3CTarget *t, const uint8_t *data, in remote_i3c_handle_ccc_write()
184 static int remote_i3c_event(I3CTarget *t, enum I3CEvent event) in remote_i3c_event()
H A Daspeed_i3c.c755 static int aspeed_i3c_device_ibi_handle(I3CBus *bus, I3CTarget *target, in aspeed_i3c_device_ibi_handle()