Home
last modified time | relevance | path

Searched refs:period_count (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/pwm/
H A Dpwm-imx-tpm.c93 u32 rate, prescale, period_count, clock_unit; in pwm_imx_tpm_round_state() local
108 period_count = (clock_unit + ((1 << prescale) >> 1)) >> prescale; in pwm_imx_tpm_round_state()
109 if (period_count == 0) in pwm_imx_tpm_round_state()
111 p->mod = period_count - 1; in pwm_imx_tpm_round_state()
114 tmp = (u64)period_count << prescale; in pwm_imx_tpm_round_state()
/openbmc/linux/sound/soc/fsl/
H A Dmpc5200_dma.h32 int period_count; member
H A Dmpc5200_dma.c87 s->period_count++; in psc_dma_bcom_irq()
132 s->period_count = 0; in psc_dma_trigger()
158 substream->pstr->stream, s->period_count); in psc_dma_trigger()
/openbmc/linux/sound/soc/intel/atom/
H A Dsst-mfld-platform.h75 u32 period_count; /* period elapsed in samples*/ member
/openbmc/linux/drivers/dma/
H A Dtegra186-gpc-dma.c1122 unsigned int max_dma_count, len, period_count, i; in tegra_dma_prep_dma_cyclic() local
1197 period_count = buf_len / period_len; in tegra_dma_prep_dma_cyclic()
1198 dma_desc = kzalloc(struct_size(dma_desc, sg_req, period_count), in tegra_dma_prep_dma_cyclic()
1204 dma_desc->sg_count = period_count; in tegra_dma_prep_dma_cyclic()
1208 for (i = 0; i < period_count; i++) { in tegra_dma_prep_dma_cyclic()