Home
last modified time | relevance | path

Searched refs:ccc_byte_offset (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/hw/i3c/
H A Dmock-target.c119 s->ccc_byte_offset = 0; in mock_target_event()
135 if (s->ccc_byte_offset >= 2) { in mock_target_handle_ccc_read()
138 data[s->ccc_byte_offset] = 0; in mock_target_handle_ccc_read()
139 *num_read = s->ccc_byte_offset; in mock_target_handle_ccc_read()
140 s->ccc_byte_offset++; in mock_target_handle_ccc_read()
146 if (s->ccc_byte_offset >= 2) { in mock_target_handle_ccc_read()
149 if (s->ccc_byte_offset == 0) { in mock_target_handle_ccc_read()
154 *num_read = s->ccc_byte_offset; in mock_target_handle_ccc_read()
155 s->ccc_byte_offset++; in mock_target_handle_ccc_read()
162 if (s->ccc_byte_offset >= 2) { in mock_target_handle_ccc_read()
[all …]
H A Dcore.c152 t->ccc_byte_offset = 0; in i3c_target_event()
288 if (t->ccc_byte_offset == 8) { in i3c_target_handle_ccc_write()
292 t->ccc_byte_offset = 0; in i3c_target_handle_ccc_write()
387 while (t->ccc_byte_offset < 6) { in i3c_target_handle_ccc_read()
391 data[read_count] = (t->pid >> (t->ccc_byte_offset * 8)) & 0xff; in i3c_target_handle_ccc_read()
392 t->ccc_byte_offset++; in i3c_target_handle_ccc_read()
397 t->ccc_byte_offset++; in i3c_target_handle_ccc_read()
402 t->ccc_byte_offset++; in i3c_target_handle_ccc_read()
408 while (t->ccc_byte_offset < 6) { in i3c_target_handle_ccc_read()
412 data[read_count] = (t->pid >> (t->ccc_byte_offset * 8)) & 0xff; in i3c_target_handle_ccc_read()
[all …]
/openbmc/qemu/include/hw/i3c/
H A Dmock-target.h52 uint8_t ccc_byte_offset; member
H A Di3c.h144 uint8_t ccc_byte_offset; member