/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/drivers/staging/ralink-gdma/ |
D | ralink-gdma.c | 567 unsigned int num_periods, i; in gdma_dma_prep_dma_memcpy() local 576 num_periods = DIV_ROUND_UP(len, xfer_count); in gdma_dma_prep_dma_memcpy() 578 desc = kzalloc(struct_size(desc, sg, num_periods), GFP_ATOMIC); in gdma_dma_prep_dma_memcpy() 585 for (i = 0; i < num_periods; i++) { in gdma_dma_prep_dma_memcpy() 597 desc->num_sgs = num_periods; in gdma_dma_prep_dma_memcpy() 611 unsigned int num_periods, i; in gdma_dma_prep_dma_cyclic() local 622 num_periods = buf_len / period_len; in gdma_dma_prep_dma_cyclic() 623 desc = kzalloc(struct_size(desc, sg, num_periods), GFP_ATOMIC); in gdma_dma_prep_dma_cyclic() 630 for (i = 0; i < num_periods; i++) { in gdma_dma_prep_dma_cyclic() 644 desc->num_sgs = num_periods; in gdma_dma_prep_dma_cyclic()
|
/kernel/linux/linux-5.10/drivers/media/pci/cx88/ |
D | cx88-alsa.c | 70 unsigned int num_periods; member 136 chip->num_periods, buf->bpl * chip->num_periods); in _cx88_start_audio_dma() 463 chip->num_periods = params_periods(hw_params); in snd_cx88_hw_params() 467 WARN_ON(chip->num_periods & (chip->num_periods - 1)); in snd_cx88_hw_params() 486 chip->period_size, chip->num_periods, 1); in snd_cx88_hw_params()
|
/kernel/linux/linux-5.10/drivers/media/pci/cx25821/ |
D | cx25821-alsa.c | 78 unsigned int num_periods; member 510 chip->num_periods = params_periods(hw_params); in snd_cx25821_hw_params() 514 BUG_ON(chip->num_periods & (chip->num_periods - 1)); in snd_cx25821_hw_params() 536 chip->period_size, chip->num_periods, 1); in snd_cx25821_hw_params()
|
/kernel/linux/linux-5.10/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() 566 if (desc->num_periods > ADMA_CH_CONFIG_MAX_BUFS) in tegra_adma_set_xfer_params() 573 ch_regs->config = ADMA_CH_CONFIG_SRC_BUF(desc->num_periods - 1); in tegra_adma_set_xfer_params() 583 ch_regs->config = ADMA_CH_CONFIG_TRG_BUF(desc->num_periods - 1); in tegra_adma_set_xfer_params() 637 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 | 914 u32 num_periods, nb_data_items; in stm32_dma_prep_dma_cyclic() local 962 num_periods = buf_len / period_len; in stm32_dma_prep_dma_cyclic() 964 desc = kzalloc(struct_size(desc, sg_req, num_periods), GFP_NOWAIT); in stm32_dma_prep_dma_cyclic() 968 for (i = 0; i < num_periods; i++) { in stm32_dma_prep_dma_cyclic() 981 desc->num_sgs = num_periods; in stm32_dma_prep_dma_cyclic()
|
D | zx_dma.c | 609 int num_periods = buf_len / period_len; in zx_dma_prep_dma_cyclic() local 620 ds = zx_alloc_desc_resource(num_periods, chan); in zx_dma_prep_dma_cyclic()
|
D | imx-sdma.c | 1523 int num_periods = buf_len / period_len; in sdma_prep_dma_cyclic() local 1532 desc = sdma_transfer_init(sdmac, direction, num_periods); in sdma_prep_dma_cyclic() 1562 if (i + 1 == num_periods) in sdma_prep_dma_cyclic()
|
/kernel/linux/linux-5.10/net/ceph/ |
D | striper.c | 266 u64 num_periods = DIV64_U64_ROUND_UP(size, period); in ceph_get_num_objects() local 276 return num_periods * l->stripe_count - remainder_objs; in ceph_get_num_objects()
|
/kernel/linux/linux-5.10/sound/soc/fsl/ |
D | fsl_dma.c | 106 unsigned int num_periods; member 248 if (dma_private->num_periods != NUM_DMA_LINKS) in fsl_dma_isr() 571 dma_private->num_periods = params_periods(hw_params); in fsl_dma_hw_params()
|
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/ |
D | q6asm.c | 247 uint32_t num_periods; member 378 port->num_periods = 0; in q6asm_audio_client_free_buf() 404 cnt = port->num_periods - 1; in q6asm_unmap_memory_regions() 534 ac->port[dir].num_periods = periods; in q6asm_map_memory_regions() 1485 if (port->dsp_buf >= port->num_periods) in q6asm_read() 1612 if (port->dsp_buf >= port->num_periods) in q6asm_write_async()
|
/kernel/linux/linux-5.10/sound/x86/ |
D | intel_hdmi_audio.c | 903 int i, num_periods; in had_init_ringbuf() local 905 num_periods = runtime->periods; in had_init_ringbuf() 906 intelhaddata->num_bds = min(num_periods, HAD_NUM_OF_RING_BUFS); in had_init_ringbuf() 931 int num_periods = substream->runtime->periods; in had_advance_ringbuf() local 938 intelhaddata->pcmbuf_head %= num_periods; in had_advance_ringbuf()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/dma/xilinx/ |
D | xilinx_dma.c | 2241 unsigned int num_periods; in xilinx_dma_prep_dma_cyclic() local 2248 num_periods = buf_len / period_len; in xilinx_dma_prep_dma_cyclic() 2250 if (!num_periods) in xilinx_dma_prep_dma_cyclic() 2265 for (i = 0; i < num_periods; ++i) { in xilinx_dma_prep_dma_cyclic()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0017_linux_drivers_dma_dmabuf.patch | 2781 - int num_periods = buf_len / period_len; 2782 + int num_periods = 0; 2793 + num_periods = buf_len / period_len; 2797 desc = sdma_transfer_init(sdmac, direction, num_periods);
|