Home
last modified time | relevance | path

Searched refs:threshold (Results 1 – 19 of 19) sorted by relevance

/sound/soc/ti/
A Domap-mcpdm.c35 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()
429 mcpdm->config[SNDRV_PCM_STREAM_PLAYBACK].threshold = 2; in omap_mcpdm_probe()
[all …]
A Domap-dmic.c43 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()
238 omap_dmic_write(dmic, OMAP_DMIC_FIFO_CTRL_REG, dmic->threshold); in omap_dmic_dai_prepare()
416 dmic->threshold = OMAP_DMIC_THRES_MAX - 3; in omap_dmic_probe()
A Domap-mcbsp.c240 static void omap_mcbsp_set_tx_threshold(struct omap_mcbsp *mcbsp, u16 threshold) in omap_mcbsp_set_tx_threshold() argument
242 if (threshold && threshold <= mcbsp->max_tx_thres) in omap_mcbsp_set_tx_threshold()
243 MCBSP_WRITE(mcbsp, THRSH2, threshold - 1); in omap_mcbsp_set_tx_threshold()
251 static void omap_mcbsp_set_rx_threshold(struct omap_mcbsp *mcbsp, u16 threshold) in omap_mcbsp_set_rx_threshold() argument
253 if (threshold && threshold <= mcbsp->max_rx_thres) in omap_mcbsp_set_rx_threshold()
254 MCBSP_WRITE(mcbsp, THRSH1, threshold - 1); in omap_mcbsp_set_rx_threshold()
277 u16 buffstat, threshold; in omap_mcbsp_get_rx_delay() local
282 threshold = MCBSP_READ(mcbsp, THRSH1); in omap_mcbsp_get_rx_delay()
285 if (threshold <= buffstat) in omap_mcbsp_get_rx_delay()
288 return threshold - buffstat; in omap_mcbsp_get_rx_delay()
/sound/soc/tegra/
A Dtegra_cif.h37 unsigned int threshold; member
54 value = (conf->threshold << TEGRA_ACIF_CTRL_FIFO_TH_SHIFT) | in tegra_set_cif()
73 value = (conf->threshold << TEGRA_ACIF_CTRL_FIFO_TH_SHIFT) | in tegra264_set_cif()
A Dtegra30_ahub.c135 cif_conf.threshold = 0; in tegra30_ahub_allocate_rx_fifo()
237 cif_conf.threshold = 0; in tegra30_ahub_allocate_tx_fifo()
624 value = (conf->threshold << in tegra30_ahub_set_cif()
656 value = (conf->threshold << in tegra124_ahub_set_cif()
A Dtegra30_ahub.h475 unsigned int threshold; member
A Dtegra186_dspk.c266 cif_conf.threshold = dspk->rx_fifo_th; in tegra186_dspk_hw_params()
A Dtegra30_i2s.c180 cif_conf.threshold = 0; in tegra30_i2s_hw_params()
A Dtegra210_i2s.c708 cif_conf.threshold = i2s->rx_fifo_th; in tegra210_i2s_hw_params()
/sound/soc/meson/
A Daxg-fifo.c117 unsigned int burst_num, period, threshold, irq_en; in axg_fifo_pcm_hw_params() local
136 threshold = min(period / 2, fifo->depth / 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/
A Daio-dma.c37 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()
A Daio.h259 u32 threshold; member
A Daio-core.c1192 sub->threshold = 2 * period; in aiodma_rb_set_buffer()
1210 sub->threshold = 2 * period; in aiodma_rb_sync()
1222 sub->threshold = 2 * period; in aiodma_rb_sync()
A Daio-compress.c365 sub->threshold = 2 * bytes; in uniphier_aio_compr_copy()
/sound/core/seq/
A Dseq_timer.c23 unsigned int threshold = in snd_seq_timer_set_tick_resolution() local
26 if (tmr->tempo < threshold) in snd_seq_timer_set_tick_resolution()
/sound/pci/asihpi/
A Dhpi.h1675 u16 hpi_tone_detector_set_threshold(u32 hC, int threshold);
1677 u16 hpi_tone_detector_get_threshold(u32 hC, int *threshold);
1698 u16 hpi_silence_detector_set_threshold(u32 hC, int threshold);
1700 u16 hpi_silence_detector_get_threshold(u32 hC, int *threshold);
A Dhpifunc.c2419 u16 hpi_tone_detector_set_threshold(u32 h_control, int threshold) in hpi_tone_detector_set_threshold() argument
2422 (u32)threshold, 0); in hpi_tone_detector_set_threshold()
2425 u16 hpi_tone_detector_get_threshold(u32 h_control, int *threshold) in hpi_tone_detector_get_threshold() argument
2428 (u32 *)threshold); in hpi_tone_detector_get_threshold()
2472 u16 hpi_silence_detector_set_threshold(u32 h_control, int threshold) in hpi_silence_detector_set_threshold() argument
2475 threshold, 0); in hpi_silence_detector_set_threshold()
2478 u16 hpi_silence_detector_get_threshold(u32 h_control, int *threshold) in hpi_silence_detector_get_threshold() argument
2481 HPI_SILENCEDETECTOR_THRESHOLD, (u32 *)threshold); in hpi_silence_detector_get_threshold()
/sound/soc/codecs/
A Darizona-jack.c327 unsigned int threshold; member
388 (val < arizona_hpdet_b_ranges[range].threshold || in arizona_hpdet_read()
401 if (val < arizona_hpdet_b_ranges[range].threshold || in arizona_hpdet_read()
A Dwm_adsp.c113 __be32 threshold; member

Completed in 164 milliseconds