Home
last modified time | relevance | path

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

/openbmc/qemu/hw/i3c/
H A Dmock-target.c84 uint32_t num_to_send, uint32_t *num_sent) in mock_target_tx() argument
90 if (s->cfg.ibi_magic && num_to_send == 1 && s->cfg.ibi_magic == *data) { in mock_target_tx()
96 if (num_to_send + s->p_buf > s->cfg.buf_size) { in mock_target_tx()
100 to_write = num_to_send; in mock_target_tx()
188 uint32_t num_to_send, in mock_target_handle_ccc_write() argument
225 trace_mock_target_handle_ccc_read(*num_sent, num_to_send); in mock_target_handle_ccc_write()
H A Dremote-i3c.c116 uint32_t num_to_send, uint32_t *num_sent) in remote_i3c_tx_fifo_push() argument
118 uint32_t num_to_push = num_to_send; in remote_i3c_tx_fifo_push()
127 if (fifo8_num_free(&i3c->tx_fifo) < num_to_send) { in remote_i3c_tx_fifo_push()
143 uint32_t num_to_send, uint32_t *num_sent) in remote_i3c_send() argument
147 if (!remote_i3c_tx_fifo_push(i3c, data, num_to_send, num_sent)) { in remote_i3c_send()
173 uint32_t num_to_send, uint32_t *num_sent) in remote_i3c_handle_ccc_write() argument
177 if (!remote_i3c_tx_fifo_push(i3c, data, num_to_send, num_sent)) { in remote_i3c_handle_ccc_write()
H A Dcore.c269 uint32_t num_to_send, uint32_t *num_sent) in i3c_target_handle_ccc_write() argument
316 return tc->handle_ccc_write(t, data, num_to_send, num_sent); in i3c_target_handle_ccc_write()
329 int i3c_send(I3CBus *bus, const uint8_t *data, uint32_t num_to_send, in i3c_send() argument
359 ret = i3c_target_handle_ccc_write(t, data, num_to_send, num_sent); in i3c_send()
366 ret = ret || tc->send(t, data, num_to_send, num_sent); in i3c_send()
373 trace_i3c_send(*num_sent, num_to_send, ret == 0); in i3c_send()
H A Dtrace-events30 i3c_send(uint32_t num_sent, uint32_t num_to_send, bool ack) "I3C send %" PRId32 "/%" PRId32 " bytes…
44 mock_target_handle_ccc_write(uint32_t num_sent, uint32_t num_to_send) "I3C mock target send %" PRId…
H A Daspeed_i3c.c514 uint32_t num_to_send, uint32_t *num_sent, in aspeed_i3c_device_send() argument
523 for (i = 0; i < num_to_send; i++) { in aspeed_i3c_device_send()
531 ret = i3c_send(s->bus, data, num_to_send, num_sent); in aspeed_i3c_device_send()
/openbmc/qemu/include/hw/i3c/
H A Di3c.h108 int (*send)(I3CTarget *s, const uint8_t *data, uint32_t num_to_send,
130 uint32_t num_to_send, uint32_t *num_sent);
219 int i3c_send(I3CBus *bus, const uint8_t *data, uint32_t num_to_send,