Lines Matching refs:read_pos
1100 int read_pos; in avc_ca_pmt() local
1153 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 + 4 < length) { in avc_ca_pmt()
1175 c->operand[write_pos++] = msg[read_pos++]; in avc_ca_pmt()
1176 c->operand[write_pos++] = msg[read_pos++]; in avc_ca_pmt()
1177 c->operand[write_pos++] = msg[read_pos++]; in avc_ca_pmt()
1179 ((msg[read_pos] & 0x0f) << 8) + msg[read_pos + 1]; in avc_ca_pmt()
1180 read_pos += 2; in avc_ca_pmt()
1186 if (read_pos >= length) { in avc_ca_pmt()
1190 pmt_cmd_id = msg[read_pos++]; in avc_ca_pmt()
1196 es_info_length > length - read_pos) { in avc_ca_pmt()
1201 memcpy(&c->operand[write_pos], &msg[read_pos], in avc_ca_pmt()
1203 read_pos += es_info_length; in avc_ca_pmt()