Searched refs:threshold (Results 1 – 14 of 14) sorted by relevance
/sound/soc/ti/ |
D | omap-mcpdm.c | 35 u32 threshold; /* FIFO threshold */ member 185 mcpdm->config[SNDRV_PCM_STREAM_PLAYBACK].threshold); in omap_mcpdm_open_streams() 187 mcpdm->config[SNDRV_PCM_STREAM_CAPTURE].threshold); in omap_mcpdm_open_streams() 301 u32 threshold; in omap_mcpdm_dai_hw_params() local 335 threshold = mcpdm->config[stream].threshold; in omap_mcpdm_dai_hw_params() 345 (MCPDM_DN_THRES_MAX - threshold) * channels; in omap_mcpdm_dai_hw_params() 346 latency = threshold; in omap_mcpdm_dai_hw_params() 352 dma_data->maxburst = threshold * channels; in omap_mcpdm_dai_hw_params() 353 latency = (MCPDM_DN_THRES_MAX - threshold); in omap_mcpdm_dai_hw_params() 436 mcpdm->config[SNDRV_PCM_STREAM_PLAYBACK].threshold = 2; in omap_mcpdm_probe() [all …]
|
D | omap-dmic.c | 43 int threshold; member 220 dma_data->maxburst = dmic->threshold * channels; in omap_dmic_dai_hw_params() 221 dmic->latency = (OMAP_DMIC_THRES_MAX - dmic->threshold) * USEC_PER_SEC / in omap_dmic_dai_hw_params() 237 omap_dmic_write(dmic, OMAP_DMIC_FIFO_CTRL_REG, dmic->threshold); in omap_dmic_dai_prepare() 424 dmic->threshold = OMAP_DMIC_THRES_MAX - 3; in omap_dmic_probe()
|
D | omap-mcbsp.c | 244 static void omap_mcbsp_set_tx_threshold(struct omap_mcbsp *mcbsp, u16 threshold) in omap_mcbsp_set_tx_threshold() argument 246 if (threshold && threshold <= mcbsp->max_tx_thres) in omap_mcbsp_set_tx_threshold() 247 MCBSP_WRITE(mcbsp, THRSH2, threshold - 1); in omap_mcbsp_set_tx_threshold() 255 static void omap_mcbsp_set_rx_threshold(struct omap_mcbsp *mcbsp, u16 threshold) in omap_mcbsp_set_rx_threshold() argument 257 if (threshold && threshold <= mcbsp->max_rx_thres) in omap_mcbsp_set_rx_threshold() 258 MCBSP_WRITE(mcbsp, THRSH1, threshold - 1); in omap_mcbsp_set_rx_threshold() 281 u16 buffstat, threshold; in omap_mcbsp_get_rx_delay() local 286 threshold = MCBSP_READ(mcbsp, THRSH1); in omap_mcbsp_get_rx_delay() 289 if (threshold <= buffstat) in omap_mcbsp_get_rx_delay() 292 return threshold - buffstat; in omap_mcbsp_get_rx_delay()
|
/sound/soc/meson/ |
D | axg-fifo.c | 111 unsigned int burst_num, period, threshold; in axg_fifo_pcm_hw_params() local 135 threshold = min(period / 2, in axg_fifo_pcm_hw_params() 142 threshold /= AXG_FIFO_BURST; in axg_fifo_pcm_hw_params() 144 threshold ? threshold - 1 : 0); in axg_fifo_pcm_hw_params()
|
/sound/soc/uniphier/ |
D | aio-dma.c | 37 sub->threshold + bytes); in aiodma_pcm_irq() 39 sub->threshold += bytes; in aiodma_pcm_irq() 56 sub->threshold + bytes); in aiodma_compr_irq() 58 sub->threshold += bytes; in aiodma_compr_irq()
|
D | aio.h | 259 u32 threshold; member
|
D | aio-core.c | 1177 sub->threshold = 2 * period; in aiodma_rb_set_buffer() 1195 sub->threshold = 2 * period; in aiodma_rb_sync() 1207 sub->threshold = 2 * period; in aiodma_rb_sync()
|
D | aio-compress.c | 359 sub->threshold = 2 * bytes; in uniphier_aio_compr_copy()
|
/sound/soc/tegra/ |
D | tegra30_ahub.c | 119 cif_conf.threshold = 0; in tegra30_ahub_allocate_rx_fifo() 221 cif_conf.threshold = 0; in tegra30_ahub_allocate_tx_fifo() 680 value = (conf->threshold << in tegra30_ahub_set_cif() 712 value = (conf->threshold << in tegra124_ahub_set_cif()
|
D | tegra30_ahub.h | 475 unsigned int threshold; member
|
D | tegra30_i2s.c | 170 cif_conf.threshold = 0; in tegra30_i2s_hw_params()
|
/sound/pci/asihpi/ |
D | hpi.h | 1691 u16 hpi_tone_detector_set_threshold(u32 hC, int threshold); 1693 u16 hpi_tone_detector_get_threshold(u32 hC, int *threshold); 1714 u16 hpi_silence_detector_set_threshold(u32 hC, int threshold); 1716 u16 hpi_silence_detector_get_threshold(u32 hC, int *threshold);
|
D | hpifunc.c | 2420 u16 hpi_tone_detector_set_threshold(u32 h_control, int threshold) in hpi_tone_detector_set_threshold() argument 2423 (u32)threshold, 0); in hpi_tone_detector_set_threshold() 2426 u16 hpi_tone_detector_get_threshold(u32 h_control, int *threshold) in hpi_tone_detector_get_threshold() argument 2429 (u32 *)threshold); in hpi_tone_detector_get_threshold() 2473 u16 hpi_silence_detector_set_threshold(u32 h_control, int threshold) in hpi_silence_detector_set_threshold() argument 2476 threshold, 0); in hpi_silence_detector_set_threshold() 2479 u16 hpi_silence_detector_get_threshold(u32 h_control, int *threshold) in hpi_silence_detector_get_threshold() argument 2482 HPI_SILENCEDETECTOR_THRESHOLD, (u32 *)threshold); in hpi_silence_detector_get_threshold()
|
/sound/soc/codecs/ |
D | wm_adsp.c | 398 __be32 threshold; member
|