Home
last modified time | relevance | path

Searched refs:num_periods (Results 1 – 9 of 9) sorted by relevance

/drivers/media/pci/cx23885/
Dcx23885-alsa.c191 chip->num_periods, buf->bpl * chip->num_periods); in cx23885_start_audio_dma()
384 chip->num_periods = params_periods(hw_params); in snd_cx23885_hw_params()
388 BUG_ON(chip->num_periods & (chip->num_periods-1)); in snd_cx23885_hw_params()
407 chip->period_size, chip->num_periods, 1); in snd_cx23885_hw_params()
Dcx23885.h336 unsigned int num_periods; member
/drivers/media/pci/cx88/
Dcx88-alsa.c85 unsigned int num_periods; member
158 chip->num_periods, buf->bpl * chip->num_periods); in _cx88_start_audio_dma()
401 chip->num_periods = params_periods(hw_params); in snd_cx88_hw_params()
405 BUG_ON(chip->num_periods & (chip->num_periods-1)); in snd_cx88_hw_params()
425 chip->period_size, chip->num_periods, 1); in snd_cx88_hw_params()
/drivers/media/pci/cx25821/
Dcx25821-alsa.c88 unsigned int num_periods; member
444 chip->num_periods = params_periods(hw_params); in snd_cx25821_hw_params()
448 BUG_ON(chip->num_periods & (chip->num_periods - 1)); in snd_cx25821_hw_params()
471 chip->period_size, chip->num_periods, 1); in snd_cx25821_hw_params()
/drivers/dma/
Ddma-jz4740.c441 unsigned int num_periods, i; in jz4740_dma_prep_dma_cyclic() local
446 num_periods = buf_len / period_len; in jz4740_dma_prep_dma_cyclic()
448 desc = jz4740_dma_alloc_desc(num_periods); in jz4740_dma_prep_dma_cyclic()
452 for (i = 0; i < num_periods; i++) { in jz4740_dma_prep_dma_cyclic()
458 desc->num_sgs = num_periods; in jz4740_dma_prep_dma_cyclic()
Dmxs-dma.c596 u32 num_periods = buf_len / period_len; in mxs_dma_prep_dma_cyclic() local
606 if (num_periods > NUM_CCW) { in mxs_dma_prep_dma_cyclic()
609 num_periods, NUM_CCW); in mxs_dma_prep_dma_cyclic()
623 if (i + 1 == num_periods) in mxs_dma_prep_dma_cyclic()
Dmmp_tdma.c399 int num_periods = buf_len / period_len; in mmp_tdma_prep_dma_cyclic() local
413 tdmac->desc_num = num_periods; in mmp_tdma_prep_dma_cyclic()
421 if (i + 1 == num_periods) in mmp_tdma_prep_dma_cyclic()
Dimx-sdma.c1136 int num_periods = buf_len / period_len; in sdma_prep_dma_cyclic() local
1156 if (num_periods > NUM_BD) { in sdma_prep_dma_cyclic()
1158 channel, num_periods, NUM_BD); in sdma_prep_dma_cyclic()
1184 if (i + 1 == num_periods) in sdma_prep_dma_cyclic()
1200 sdmac->num_bd = num_periods; in sdma_prep_dma_cyclic()
/drivers/media/rc/
Dredrat3.c137 __be16 num_periods; member
292 mod_freq = (RR3_CLK * be16_to_cpu(irdata->num_periods)) / in redrat3_val_to_mod_freq()