Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/media/pci/saa7134/
Dsaa7134-ts.c92 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()
Dsaa7134-empress.c111 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()
Dsaa7134.h523 int nr_packets; member
Dsaa7134-dvb.c1217 dev->ts.nr_packets = 32*4; in dvb_init()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
Ddma.c977 u64 nr_packets = failed_packets + succeed_packets; in b43_destroy_dmaring() local
980 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()
/kernel/linux/linux-5.10/drivers/block/
Dpktcdvd.c603 static int pkt_grow_pktlist(struct pktcdvd_device *pd, int nr_packets) in pkt_grow_pktlist() argument
609 while (nr_packets > 0) { in pkt_grow_pktlist()
615 pkt->id = nr_packets; in pkt_grow_pktlist()
618 nr_packets--; in pkt_grow_pktlist()