Searched refs:ccc_byte_offset (Results 1 – 6 of 6) sorted by relevance
111 s->ccc_byte_offset = 0; in mock_i3c_target_event()127 while (s->ccc_byte_offset < num_to_read) { in mock_i3c_target_handle_ccc_read()128 if (s->ccc_byte_offset >= 2) { in mock_i3c_target_handle_ccc_read()131 data[s->ccc_byte_offset] = 0; in mock_i3c_target_handle_ccc_read()132 *num_read = s->ccc_byte_offset; in mock_i3c_target_handle_ccc_read()133 s->ccc_byte_offset++; in mock_i3c_target_handle_ccc_read()138 while (s->ccc_byte_offset < num_to_read) { in mock_i3c_target_handle_ccc_read()139 if (s->ccc_byte_offset >= 2) { in mock_i3c_target_handle_ccc_read()142 if (s->ccc_byte_offset == 0) { in mock_i3c_target_handle_ccc_read()143 data[s->ccc_byte_offset] = 0; in mock_i3c_target_handle_ccc_read()[all …]
156 t->ccc_byte_offset = 0; in i3c_target_event()292 if (t->ccc_byte_offset == 8) { in i3c_target_handle_ccc_write()296 t->ccc_byte_offset = 0; in i3c_target_handle_ccc_write()408 while (t->ccc_byte_offset < 6) { in i3c_target_handle_ccc_read()412 data[read_count] = (pid >> (t->ccc_byte_offset * 8)) & 0xff; in i3c_target_handle_ccc_read()413 t->ccc_byte_offset++; in i3c_target_handle_ccc_read()418 t->ccc_byte_offset++; in i3c_target_handle_ccc_read()423 t->ccc_byte_offset++; in i3c_target_handle_ccc_read()429 while (t->ccc_byte_offset < 6) { in i3c_target_handle_ccc_read()433 data[read_count] = (t->pid >> (t->ccc_byte_offset * 8)) & 0xff; in i3c_target_handle_ccc_read()[all …]
44 uint8_t ccc_byte_offset; member
145 uint8_t ccc_byte_offset; member