Lines Matching refs:read_pos
1098 int read_pos; in avc_ca_pmt() local
1151 read_pos = 6; in avc_ca_pmt()
1154 pmt_cmd_id = msg[read_pos++]; in avc_ca_pmt()
1163 memcpy(&c->operand[write_pos], &msg[read_pos], in avc_ca_pmt()
1165 read_pos += program_info_length; in avc_ca_pmt()
1168 while (read_pos + 4 < length) { in avc_ca_pmt()
1173 c->operand[write_pos++] = msg[read_pos++]; in avc_ca_pmt()
1174 c->operand[write_pos++] = msg[read_pos++]; in avc_ca_pmt()
1175 c->operand[write_pos++] = msg[read_pos++]; in avc_ca_pmt()
1177 ((msg[read_pos] & 0x0f) << 8) + msg[read_pos + 1]; in avc_ca_pmt()
1178 read_pos += 2; in avc_ca_pmt()
1184 if (read_pos >= length) { in avc_ca_pmt()
1188 pmt_cmd_id = msg[read_pos++]; in avc_ca_pmt()
1194 es_info_length > length - read_pos) { in avc_ca_pmt()
1199 memcpy(&c->operand[write_pos], &msg[read_pos], in avc_ca_pmt()
1201 read_pos += es_info_length; in avc_ca_pmt()