Searched refs:sample_freq (Results 1 – 8 of 8) sorted by relevance
| /drivers/gpu/drm/omapdrm/dss/ |
| A D | hdmi_common.c | 52 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()
|
| A D | hdmi.h | 336 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts);
|
| /drivers/video/fbdev/omap2/omapfb/dss/ |
| A D | hdmi_common.c | 52 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()
|
| A D | hdmi.h | 317 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts);
|
| /drivers/media/dvb-frontends/ |
| A D | tda10048.c | 142 u32 sample_freq; member 400 tda10048_set_wref(fe, state->sample_freq, bw); in tda10048_set_bandwidth() 401 tda10048_set_invwref(fe, state->sample_freq, bw); in tda10048_set_bandwidth() 419 u64 sample_freq; in tda10048_set_if() local 461 sample_freq = state->xtal_hz; in tda10048_set_if() 462 sample_freq *= state->pll_mfactor + 45; in tda10048_set_if() 463 do_div(sample_freq, state->pll_nfactor + 1); in tda10048_set_if() 464 do_div(sample_freq, state->pll_pfactor + 4); in tda10048_set_if() 465 state->sample_freq = sample_freq; in tda10048_set_if() 466 dprintk(1, "- sample_freq = %d\n", state->sample_freq); in tda10048_set_if() [all …]
|
| /drivers/iio/accel/ |
| A D | bma400_core.c | 498 &data->sample_freq.hz, in bma400_get_accel_output_data_rate() 499 &data->sample_freq.uhz); in bma400_get_accel_output_data_rate() 518 &data->sample_freq.uhz); in bma400_get_accel_output_data_rate() 521 data->sample_freq.hz = 0; in bma400_get_accel_output_data_rate() 522 data->sample_freq.uhz = 0; in bma400_get_accel_output_data_rate() 529 data->sample_freq.hz = -1; in bma400_get_accel_output_data_rate() 530 data->sample_freq.uhz = -1; in bma400_get_accel_output_data_rate() 571 &data->sample_freq.uhz); in bma400_set_accel_output_data_rate() 978 if (data->sample_freq.hz < 0) in bma400_read_raw() 981 *val = data->sample_freq.hz; in bma400_read_raw() [all …]
|
| /drivers/iio/adc/ |
| A D | stm32-dfsdm-adc.c | 754 unsigned int sample_freq, in dfsdm_adc_set_samp_freq() argument 761 oversamp = DIV_ROUND_CLOSEST(spi_freq, sample_freq); in dfsdm_adc_set_samp_freq() 762 if (spi_freq % sample_freq) in dfsdm_adc_set_samp_freq() 765 sample_freq, spi_freq / oversamp); in dfsdm_adc_set_samp_freq() 771 adc->sample_freq = spi_freq / oversamp; in dfsdm_adc_set_samp_freq() 784 unsigned int sample_freq = adc->sample_freq; in dfsdm_adc_audio_set_spiclk() local 800 if (sample_freq) { in dfsdm_adc_audio_set_spiclk() 801 ret = dfsdm_adc_set_samp_freq(indio_dev, sample_freq, spi_freq); in dfsdm_adc_audio_set_spiclk() 1286 adc->sample_freq, spi_freq / val); in stm32_dfsdm_write_raw() 1288 adc->sample_freq = spi_freq / val; in stm32_dfsdm_write_raw() [all …]
|
| /drivers/gpu/drm/bridge/synopsys/ |
| A D | dw-hdmi.c | 782 int sample_freq = 0x2, org_sample_freq = 0xD; in dw_hdmi_gp_audio_enable() local 787 sample_freq = 0x03; in dw_hdmi_gp_audio_enable() 791 sample_freq = 0x00; in dw_hdmi_gp_audio_enable() 795 sample_freq = 0x02; in dw_hdmi_gp_audio_enable() 799 sample_freq = 0x08; in dw_hdmi_gp_audio_enable() 803 sample_freq = 0x0A; in dw_hdmi_gp_audio_enable() 807 sample_freq = 0x0C; in dw_hdmi_gp_audio_enable() 811 sample_freq = 0x0E; in dw_hdmi_gp_audio_enable() 827 hdmi_writeb(hdmi, (0x3 << 4) | sample_freq, HDMI_FC_AUDSCHNLS7); in dw_hdmi_gp_audio_enable()
|
Completed in 28 milliseconds