Searched refs:nbpackets (Results 1 – 2 of 2) sorted by relevance
275 static void pluto_dma_end(struct pluto *pluto, unsigned int nbpackets) in pluto_dma_end() argument292 if ((nbpackets == 0) || (nbpackets > TS_DMA_PACKETS)) { in pluto_dma_end()296 nbpackets = i / 188; in pluto_dma_end()303 dvb_dmx_swfilter_packets(&pluto->demux, pluto->dma_buf, nbpackets); in pluto_dma_end()307 memset(pluto->dma_buf, 0, nbpackets * 188); in pluto_dma_end()
672 unsigned int nbpackets; in dm1105_dmx_buffer() local693 nbpackets = ((dev->buffer_size - oldwrp) + nextwrp) / 188; in dm1105_dmx_buffer()695 nbpackets = (nextwrp - oldwrp) / 188; in dm1105_dmx_buffer()698 dvb_dmx_swfilter_packets(&dev->demux, &dev->ts_buf[oldwrp], nbpackets); in dm1105_dmx_buffer()