/drivers/media/pci/cx23885/ |
D | cx23885-alsa.c | 179 chip->num_periods, buf->bpl * chip->num_periods); in cx23885_start_audio_dma() 371 chip->num_periods = params_periods(hw_params); in snd_cx23885_hw_params() 375 BUG_ON(chip->num_periods & (chip->num_periods-1)); in snd_cx23885_hw_params() 394 chip->period_size, chip->num_periods, 1); in snd_cx23885_hw_params()
|
D | cx23885.h | 345 unsigned int num_periods; member
|
/drivers/staging/ralink-gdma/ |
D | ralink-gdma.c | 566 unsigned int num_periods, i; in gdma_dma_prep_dma_memcpy() local 575 num_periods = DIV_ROUND_UP(len, xfer_count); in gdma_dma_prep_dma_memcpy() 577 desc = kzalloc(struct_size(desc, sg, num_periods), GFP_ATOMIC); in gdma_dma_prep_dma_memcpy() 584 for (i = 0; i < num_periods; i++) { in gdma_dma_prep_dma_memcpy() 596 desc->num_sgs = num_periods; in gdma_dma_prep_dma_memcpy() 610 unsigned int num_periods, i; in gdma_dma_prep_dma_cyclic() local 621 num_periods = buf_len / period_len; in gdma_dma_prep_dma_cyclic() 622 desc = kzalloc(struct_size(desc, sg, num_periods), GFP_ATOMIC); in gdma_dma_prep_dma_cyclic() 629 for (i = 0; i < num_periods; i++) { in gdma_dma_prep_dma_cyclic() 643 desc->num_sgs = num_periods; in gdma_dma_prep_dma_cyclic()
|
/drivers/media/pci/cx88/ |
D | cx88-alsa.c | 70 unsigned int num_periods; member 135 chip->num_periods, buf->bpl * chip->num_periods); in _cx88_start_audio_dma() 462 chip->num_periods = params_periods(hw_params); in snd_cx88_hw_params() 466 WARN_ON(chip->num_periods & (chip->num_periods - 1)); in snd_cx88_hw_params() 485 chip->period_size, chip->num_periods, 1); in snd_cx88_hw_params()
|
/drivers/media/pci/cx25821/ |
D | cx25821-alsa.c | 78 unsigned int num_periods; member 509 chip->num_periods = params_periods(hw_params); in snd_cx25821_hw_params() 513 BUG_ON(chip->num_periods & (chip->num_periods - 1)); in snd_cx25821_hw_params() 535 chip->period_size, chip->num_periods, 1); in snd_cx25821_hw_params()
|
/drivers/dma/ |
D | tegra210-adma.c | 124 size_t num_periods; member 401 periods_remaining = tdc->tx_buf_count % desc->num_periods; in tegra_adma_get_residue() 565 if (desc->num_periods > ADMA_CH_CONFIG_MAX_BUFS) in tegra_adma_set_xfer_params() 572 ch_regs->config = ADMA_CH_CONFIG_SRC_BUF(desc->num_periods - 1); in tegra_adma_set_xfer_params() 582 ch_regs->config = ADMA_CH_CONFIG_TRG_BUF(desc->num_periods - 1); in tegra_adma_set_xfer_params() 636 desc->num_periods = buf_len / period_len; in tegra_adma_prep_dma_cyclic()
|
D | dma-axi-dmac.c | 494 unsigned int num_periods, unsigned int period_len, in axi_dmac_fill_linear_sg() argument 507 for (i = 0; i < num_periods; i++) { in axi_dmac_fill_linear_sg() 583 unsigned int num_periods, num_segments; in axi_dmac_prep_dma_cyclic() local 595 num_periods = buf_len / period_len; in axi_dmac_prep_dma_cyclic() 598 desc = axi_dmac_alloc_desc(num_periods * num_segments); in axi_dmac_prep_dma_cyclic() 602 axi_dmac_fill_linear_sg(chan, direction, buf_addr, num_periods, in axi_dmac_prep_dma_cyclic()
|
D | mxs-dma.c | 581 u32 num_periods = buf_len / period_len; in mxs_dma_prep_dma_cyclic() local 591 if (num_periods > NUM_CCW) { in mxs_dma_prep_dma_cyclic() 594 num_periods, NUM_CCW); in mxs_dma_prep_dma_cyclic() 608 if (i + 1 == num_periods) in mxs_dma_prep_dma_cyclic()
|
D | mmp_tdma.c | 429 int num_periods = buf_len / period_len; in mmp_tdma_prep_dma_cyclic() local 450 tdmac->desc_num = num_periods; in mmp_tdma_prep_dma_cyclic() 461 if (i + 1 == num_periods) in mmp_tdma_prep_dma_cyclic()
|
D | stm32-dma.c | 939 u32 num_periods, nb_data_items; in stm32_dma_prep_dma_cyclic() local 988 num_periods = buf_len / period_len; in stm32_dma_prep_dma_cyclic() 990 desc = kzalloc(struct_size(desc, sg_req, num_periods), GFP_NOWAIT); in stm32_dma_prep_dma_cyclic() 994 for (i = 0; i < num_periods; i++) { in stm32_dma_prep_dma_cyclic() 1007 desc->num_sgs = num_periods; in stm32_dma_prep_dma_cyclic()
|
D | imx-sdma.c | 1590 int num_periods = buf_len / period_len; in sdma_prep_dma_cyclic() local 1599 desc = sdma_transfer_init(sdmac, direction, num_periods); in sdma_prep_dma_cyclic() 1629 if (i + 1 == num_periods) in sdma_prep_dma_cyclic()
|
/drivers/dma/dw-axi-dmac/ |
D | dw-axi-dmac-platform.c | 682 u32 num_periods, num_segments; in dw_axi_dma_chan_prep_cyclic() local 691 num_periods = buf_len / period_len; in dw_axi_dma_chan_prep_cyclic() 700 total_segments = num_periods * num_segments; in dw_axi_dma_chan_prep_cyclic()
|
/drivers/media/rc/ |
D | redrat3.c | 162 __be16 num_periods; member 298 mod_freq = (RR3_CLK * be16_to_cpu(irdata->num_periods)) / in redrat3_val_to_mod_freq()
|
/drivers/dma/xilinx/ |
D | xilinx_dma.c | 2251 unsigned int num_periods; in xilinx_dma_prep_dma_cyclic() local 2258 num_periods = buf_len / period_len; in xilinx_dma_prep_dma_cyclic() 2260 if (!num_periods) in xilinx_dma_prep_dma_cyclic() 2275 for (i = 0; i < num_periods; ++i) { in xilinx_dma_prep_dma_cyclic()
|