Home
last modified time | relevance | path

Searched refs:sample_freq (Results 1 – 6 of 6) sorted by relevance

/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi_common.c52 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts) in hdmi_compute_acr() argument
69 switch (sample_freq) { in hdmi_compute_acr()
93 switch (sample_freq) { in hdmi_compute_acr()
119 switch (sample_freq) { in hdmi_compute_acr()
146 *cts = (pclk/1000) * (*n / 128) * deep_color / (sample_freq / 10); in hdmi_compute_acr()
Dhdmi.h317 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts);
/drivers/gpu/drm/omapdrm/dss/
Dhdmi_common.c52 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts) in hdmi_compute_acr() argument
69 switch (sample_freq) { in hdmi_compute_acr()
93 switch (sample_freq) { in hdmi_compute_acr()
119 switch (sample_freq) { in hdmi_compute_acr()
146 *cts = (pclk/1000) * (*n / 128) * deep_color / (sample_freq / 10); in hdmi_compute_acr()
Dhdmi.h335 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts);
/drivers/media/dvb-frontends/
Dtda10048.c142 u32 sample_freq; member
394 tda10048_set_wref(fe, state->sample_freq, bw); in tda10048_set_bandwidth()
395 tda10048_set_invwref(fe, state->sample_freq, bw); in tda10048_set_bandwidth()
454 state->sample_freq = state->xtal_hz * (state->pll_mfactor + 45); in tda10048_set_if()
455 state->sample_freq /= (state->pll_nfactor + 1); in tda10048_set_if()
456 state->sample_freq /= (state->pll_pfactor + 4); in tda10048_set_if()
457 dprintk(1, "- sample_freq = %d\n", state->sample_freq); in tda10048_set_if()
460 tda10048_set_phy2(fe, state->sample_freq, state->freq_if_hz); in tda10048_set_if()
/drivers/iio/adc/
Dstm32-dfsdm-adc.c85 unsigned int sample_freq; /* Sample frequency after filter decimation */ member
676 unsigned int sample_freq, in dfsdm_adc_set_samp_freq() argument
683 oversamp = DIV_ROUND_CLOSEST(spi_freq, sample_freq); in dfsdm_adc_set_samp_freq()
684 if (spi_freq % sample_freq) in dfsdm_adc_set_samp_freq()
687 sample_freq, spi_freq / oversamp); in dfsdm_adc_set_samp_freq()
693 adc->sample_freq = spi_freq / oversamp; in dfsdm_adc_set_samp_freq()
706 unsigned int sample_freq = adc->sample_freq; in dfsdm_adc_audio_set_spiclk() local
722 if (sample_freq) { in dfsdm_adc_audio_set_spiclk()
723 ret = dfsdm_adc_set_samp_freq(indio_dev, sample_freq, spi_freq); in dfsdm_adc_audio_set_spiclk()
1301 *val = adc->sample_freq; in stm32_dfsdm_read_raw()