Lines Matching refs:muxpack
125 u8 muxpack[256 + 8]; member
531 static void ttusb_process_muxpack(struct ttusb *ttusb, const u8 * muxpack, in ttusb_process_muxpack() argument
544 csum ^= le16_to_cpup((__le16 *) (muxpack + i)); in ttusb_process_muxpack()
551 cc = (muxpack[len - 4] << 8) | muxpack[len - 3]; in ttusb_process_muxpack()
557 if (muxpack[0] & 0x80) { in ttusb_process_muxpack()
560 int pusi = muxpack[0] & 0x40; in ttusb_process_muxpack()
561 int channel = muxpack[0] & 0x1F; in ttusb_process_muxpack()
562 int payload = muxpack[1]; in ttusb_process_muxpack()
563 const u8 *data = muxpack + 2; in ttusb_process_muxpack()
565 if (muxpack[0] & 0x20) in ttusb_process_muxpack()
572 if ((!!(ttusb->muxpack[0] & 0x20)) ^ in ttusb_process_muxpack()
573 !!(ttusb->muxpack[1] & 1)) in ttusb_process_muxpack()
579 } else if (muxpack[0] == 0x47) { in ttusb_process_muxpack()
582 int pid = ((muxpack[1] & 0x0F) << 8) | muxpack[2]; in ttusb_process_muxpack()
588 channel, muxpack, in ttusb_process_muxpack()
592 dvb_dmx_swfilter_packets(&ttusb->dvb_demux, muxpack, 1); in ttusb_process_muxpack()
593 } else if (muxpack[0] != 0) { in ttusb_process_muxpack()
595 pr_err("illegal muxpack type %02x\n", muxpack[0]); in ttusb_process_muxpack()
643 memcpy(ttusb->muxpack + ttusb->muxpack_ptr, in ttusb_process_frame()
651 if (ttusb->muxpack[0] & 0x80) { in ttusb_process_frame()
653 ttusb->muxpack[1] + 2; in ttusb_process_frame()
655 muxpack[0] & 0x20) in ttusb_process_frame()
660 muxpack[0] & 0x20)) ^ in ttusb_process_frame()
662 muxpack[1] & 1)) in ttusb_process_frame()
666 } else if (ttusb->muxpack[0] == in ttusb_process_frame()
670 else if (ttusb->muxpack[0] == 0x00) in ttusb_process_frame()
672 ttusb->muxpack[1] + 2 + in ttusb_process_frame()
676 ttusb->muxpack[0]); in ttusb_process_frame()
690 muxpack, in ttusb_process_frame()