Searched refs:read_pos (Results 1 – 4 of 4) sorted by relevance
134 int read_pos; member151 kcs->read_pos = 0; in init_kcs_data()221 if (kcs->read_pos >= MAX_KCS_READ_SIZE) { in read_next_byte()226 kcs->read_data[kcs->read_pos] = read_data(kcs); in read_next_byte()227 (kcs->read_pos)++; in read_next_byte()274 kcs->read_pos = 0; in restart_kcs_transaction()305 kcs->read_pos = 0; in start_kcs_transaction()315 if (length < kcs->read_pos) { in get_kcs_result()316 kcs->read_pos = length; in get_kcs_result()320 memcpy(data, kcs->read_data, kcs->read_pos); in get_kcs_result()[all …]
116 int read_pos; member130 smic->read_pos = 0; in init_smic_data()163 smic->read_pos = 0; in start_smic_transaction()176 for (i = 0; i < smic->read_pos; i++) in smic_get_result()180 if (length < smic->read_pos) { in smic_get_result()181 smic->read_pos = length; in smic_get_result()184 memcpy(data, smic->read_data, smic->read_pos); in smic_get_result()186 if ((length >= 3) && (smic->read_pos < 3)) { in smic_get_result()188 smic->read_pos = 3; in smic_get_result()194 return smic->read_pos; in smic_get_result()[all …]
1100 int read_pos; in avc_ca_pmt() local1153 read_pos = 6; in avc_ca_pmt()1156 pmt_cmd_id = msg[read_pos++]; in avc_ca_pmt()1165 memcpy(&c->operand[write_pos], &msg[read_pos], in avc_ca_pmt()1167 read_pos += program_info_length; in avc_ca_pmt()1170 while (read_pos < length) { in avc_ca_pmt()1171 c->operand[write_pos++] = msg[read_pos++]; in avc_ca_pmt()1172 c->operand[write_pos++] = msg[read_pos++]; in avc_ca_pmt()1173 c->operand[write_pos++] = msg[read_pos++]; in avc_ca_pmt()1175 ((msg[read_pos] & 0x0f) << 8) + msg[read_pos + 1]; in avc_ca_pmt()[all …]
98 u8 read_pos; member439 memcpy(pcu->cmd_buf, pcu->read_buf, pcu->read_pos); in ims_pcu_handle_response()440 pcu->cmd_buf_len = pcu->read_pos; in ims_pcu_handle_response()460 pcu->read_buf[pcu->read_pos++] = data; in ims_pcu_process_data()470 pcu->read_pos); in ims_pcu_process_data()473 pcu->read_pos = 0; in ims_pcu_process_data()482 if (pcu->read_pos < IMS_PCU_MIN_PACKET_LEN) { in ims_pcu_process_data()485 pcu->read_pos); in ims_pcu_process_data()489 pcu->read_pos); in ims_pcu_process_data()496 pcu->read_pos = 0; in ims_pcu_process_data()[all …]