Searched refs:ccc_byte_offset (Results 1 – 4 of 4) sorted by relevance
119 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 …]
152 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 …]
52 uint8_t ccc_byte_offset; member
144 uint8_t ccc_byte_offset; member