Lines Matching defs:pid
408 u16 pid = ts_pid(buf);
442 if ((feed->pid != pid) && (feed->pid != 0x2000))
447 pid, buf[1]);
452 } else /* if TEI bit is set, pid may be wrong- skip pkt counter */
455 if (pid < MAX_PID) {
457 demux->cnt_storage[pid] =
458 (demux->cnt_storage[pid] + 1) & 0xf;
460 if ((buf[3] & 0xf) != demux->cnt_storage[pid]) {
462 if ((feed->pid != pid) && (feed->pid != 0x2000))
469 pid, demux->cnt_storage[pid],
471 demux->cnt_storage[pid] = buf[3] & 0xf;
478 if ((feed->pid != pid) && (feed->pid != 0x2000))
486 if (feed->pid == pid)
488 else if (feed->pid == 0x2000)
663 pr_err("%s: feed already in list (type=%x state=%x pid=%x)\n",
664 __func__, feed->type, feed->state, feed->pid);
677 pr_err("%s: feed not in list (type=%x state=%x pid=%x)\n",
678 __func__, feed->type, feed->state, feed->pid);
687 static int dmx_ts_feed_set(struct dmx_ts_feed *ts_feed, u16 pid, int ts_type,
693 if (pid > DMX_MAX_PID)
712 demux->pids[pes_type] = pid;
717 feed->pid = pid;
808 feed->pid = 0xffff;
853 feed->pid = 0xffff;
898 u16 pid, int check_crc)
903 if (pid > 0x1fff)
911 dvbdmxfeed->pid = pid;
1068 dvbdmxfeed->pid = 0xffff;
1106 dvbdmxfeed->pid = 0xffff;