Searched refs:nr_packets (Results 1 – 6 of 6) sorted by relevance
92 lines = dev->ts.nr_packets; in saa7134_ts_buffer_prepare()112 int size = TS_PACKET_SIZE * dev->ts.nr_packets; in saa7134_ts_queue_setup()193 saa_writeb(SAA7134_TS_DMA0, ((dev->ts.nr_packets-1)&0xff)); in saa7134_ts_init_hw()194 saa_writeb(SAA7134_TS_DMA1, (((dev->ts.nr_packets-1)>>8)&0xff)); in saa7134_ts_init_hw()197 ((((dev->ts.nr_packets-1)>>16)&0x3f) | 0x00)); in saa7134_ts_init_hw()214 dev->ts.nr_packets = ts_nr_packets; in saa7134_ts_init1()260 saa_writeb(SAA7134_TS_DMA0, (dev->ts.nr_packets - 1) & 0xff); in saa7134_ts_start()262 ((dev->ts.nr_packets - 1) >> 8) & 0xff); in saa7134_ts_start()265 (((dev->ts.nr_packets - 1) >> 16) & 0x3f) | 0x00); in saa7134_ts_start()
111 f->fmt.pix.sizeimage = TS_PACKET_SIZE * dev->ts.nr_packets; in empress_g_fmt_vid_cap()130 f->fmt.pix.sizeimage = TS_PACKET_SIZE * dev->ts.nr_packets; in empress_s_fmt_vid_cap()150 f->fmt.pix.sizeimage = TS_PACKET_SIZE * dev->ts.nr_packets; in empress_try_fmt_vid_cap()
523 int nr_packets; member
1217 dev->ts.nr_packets = 32*4; in dvb_init()
977 u64 nr_packets = failed_packets + succeed_packets; in b43_destroy_dmaring() local980 if (nr_packets) in b43_destroy_dmaring()981 permille_failed = divide(failed_packets * 1000, nr_packets); in b43_destroy_dmaring()982 if (nr_packets) in b43_destroy_dmaring()983 average_tries = divide(ring->nr_total_packet_tries * 100, nr_packets); in b43_destroy_dmaring()992 (unsigned long long)nr_packets, in b43_destroy_dmaring()
603 static int pkt_grow_pktlist(struct pktcdvd_device *pd, int nr_packets) in pkt_grow_pktlist() argument609 while (nr_packets > 0) { in pkt_grow_pktlist()615 pkt->id = nr_packets; in pkt_grow_pktlist()618 nr_packets--; in pkt_grow_pktlist()