Home
last modified time | relevance | path

Searched refs:nr_packets (Results 1 – 6 of 6) sorted by relevance

/drivers/media/pci/saa7134/
Dsaa7134-ts.c102 lines = dev->ts.nr_packets; in saa7134_ts_buffer_prepare()
136 int size = TS_PACKET_SIZE * dev->ts.nr_packets; in saa7134_ts_queue_setup()
216 saa_writeb(SAA7134_TS_DMA0, ((dev->ts.nr_packets-1)&0xff)); in saa7134_ts_init_hw()
217 saa_writeb(SAA7134_TS_DMA1, (((dev->ts.nr_packets-1)>>8)&0xff)); in saa7134_ts_init_hw()
220 ((((dev->ts.nr_packets-1)>>16)&0x3f) | 0x00)); in saa7134_ts_init_hw()
237 dev->ts.nr_packets = ts_nr_packets; in saa7134_ts_init1()
285 saa_writeb(SAA7134_TS_DMA0, (dev->ts.nr_packets - 1) & 0xff); in saa7134_ts_start()
287 ((dev->ts.nr_packets - 1) >> 8) & 0xff); in saa7134_ts_start()
290 (((dev->ts.nr_packets - 1) >> 16) & 0x3f) | 0x00); in saa7134_ts_start()
Dsaa7134-empress.c131 f->fmt.pix.sizeimage = TS_PACKET_SIZE * dev->ts.nr_packets; in empress_g_fmt_vid_cap()
148 f->fmt.pix.sizeimage = TS_PACKET_SIZE * dev->ts.nr_packets; in empress_s_fmt_vid_cap()
165 f->fmt.pix.sizeimage = TS_PACKET_SIZE * dev->ts.nr_packets; in empress_try_fmt_vid_cap()
Dsaa7134.h517 int nr_packets; member
Dsaa7134-dvb.c1234 dev->ts.nr_packets = 32*4; in dvb_init()
/drivers/net/wireless/b43/
Ddma.c1003 u64 nr_packets = failed_packets + succeed_packets; in b43_destroy_dmaring() local
1006 if (nr_packets) in b43_destroy_dmaring()
1007 permille_failed = divide(failed_packets * 1000, nr_packets); in b43_destroy_dmaring()
1008 if (nr_packets) in b43_destroy_dmaring()
1009 average_tries = divide(ring->nr_total_packet_tries * 100, nr_packets); in b43_destroy_dmaring()
1018 (unsigned long long)nr_packets, in b43_destroy_dmaring()
/drivers/block/
Dpktcdvd.c602 static int pkt_grow_pktlist(struct pktcdvd_device *pd, int nr_packets) in pkt_grow_pktlist() argument
608 while (nr_packets > 0) { in pkt_grow_pktlist()
614 pkt->id = nr_packets; in pkt_grow_pktlist()
617 nr_packets--; in pkt_grow_pktlist()