Home
last modified time | relevance | path

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

/sound/soc/omap/
Domap-mcpdm.c49 u32 threshold; /* FIFO threshold */ member
192 mcpdm->config[SNDRV_PCM_STREAM_PLAYBACK].threshold); in omap_mcpdm_open_streams()
194 mcpdm->config[SNDRV_PCM_STREAM_CAPTURE].threshold); in omap_mcpdm_open_streams()
311 u32 threshold; in omap_mcpdm_dai_hw_params() local
341 threshold = mcpdm->config[stream].threshold; in omap_mcpdm_dai_hw_params()
351 (MCPDM_DN_THRES_MAX - threshold) * channels; in omap_mcpdm_dai_hw_params()
352 latency = threshold; in omap_mcpdm_dai_hw_params()
358 dma_data->maxburst = threshold * channels; in omap_mcpdm_dai_hw_params()
359 latency = (MCPDM_DN_THRES_MAX - threshold); in omap_mcpdm_dai_hw_params()
442 mcpdm->config[SNDRV_PCM_STREAM_PLAYBACK].threshold = 2; in omap_mcpdm_probe()
[all …]
Domap-dmic.c57 int threshold; member
232 dma_data->maxburst = dmic->threshold * channels; in omap_dmic_dai_hw_params()
233 dmic->latency = (OMAP_DMIC_THRES_MAX - dmic->threshold) * USEC_PER_SEC / in omap_dmic_dai_hw_params()
249 omap_dmic_write(dmic, OMAP_DMIC_FIFO_CTRL_REG, dmic->threshold); in omap_dmic_dai_prepare()
428 dmic->threshold = OMAP_DMIC_THRES_MAX - 3; in omap_dmic_probe()
Dmcbsp.c443 void omap_mcbsp_set_tx_threshold(struct omap_mcbsp *mcbsp, u16 threshold) in omap_mcbsp_set_tx_threshold() argument
448 if (threshold && threshold <= mcbsp->max_tx_thres) in omap_mcbsp_set_tx_threshold()
449 MCBSP_WRITE(mcbsp, THRSH2, threshold - 1); in omap_mcbsp_set_tx_threshold()
457 void omap_mcbsp_set_rx_threshold(struct omap_mcbsp *mcbsp, u16 threshold) in omap_mcbsp_set_rx_threshold() argument
462 if (threshold && threshold <= mcbsp->max_rx_thres) in omap_mcbsp_set_rx_threshold()
463 MCBSP_WRITE(mcbsp, THRSH1, threshold - 1); in omap_mcbsp_set_rx_threshold()
489 u16 buffstat, threshold; in omap_mcbsp_get_rx_delay() local
497 threshold = MCBSP_READ(mcbsp, THRSH1); in omap_mcbsp_get_rx_delay()
500 if (threshold <= buffstat) in omap_mcbsp_get_rx_delay()
503 return threshold - buffstat; in omap_mcbsp_get_rx_delay()
Dmcbsp.h331 void omap_mcbsp_set_tx_threshold(struct omap_mcbsp *mcbsp, u16 threshold);
332 void omap_mcbsp_set_rx_threshold(struct omap_mcbsp *mcbsp, u16 threshold);
/sound/soc/tegra/
Dtegra30_ahub.c129 cif_conf.threshold = 0; in tegra30_ahub_allocate_rx_fifo()
231 cif_conf.threshold = 0; in tegra30_ahub_allocate_tx_fifo()
693 value = (conf->threshold << in tegra30_ahub_set_cif()
725 value = (conf->threshold << in tegra124_ahub_set_cif()
Dtegra30_ahub.h486 unsigned int threshold; member
Dtegra30_i2s.c181 cif_conf.threshold = 0; in tegra30_i2s_hw_params()
/sound/pci/asihpi/
Dhpi.h1702 u16 hpi_tone_detector_set_threshold(u32 hC, int threshold);
1704 u16 hpi_tone_detector_get_threshold(u32 hC, int *threshold);
1725 u16 hpi_silence_detector_set_threshold(u32 hC, int threshold);
1727 u16 hpi_silence_detector_get_threshold(u32 hC, int *threshold);
Dhpifunc.c2422 u16 hpi_tone_detector_set_threshold(u32 h_control, int threshold) in hpi_tone_detector_set_threshold() argument
2425 (u32)threshold, 0); in hpi_tone_detector_set_threshold()
2428 u16 hpi_tone_detector_get_threshold(u32 h_control, int *threshold) in hpi_tone_detector_get_threshold() argument
2431 (u32 *)threshold); in hpi_tone_detector_get_threshold()
2475 u16 hpi_silence_detector_set_threshold(u32 h_control, int threshold) in hpi_silence_detector_set_threshold() argument
2478 threshold, 0); in hpi_silence_detector_set_threshold()
2481 u16 hpi_silence_detector_get_threshold(u32 h_control, int *threshold) in hpi_silence_detector_get_threshold() argument
2484 HPI_SILENCEDETECTOR_THRESHOLD, (u32 *)threshold); in hpi_silence_detector_get_threshold()