Searched refs:sampling_freq (Results 1 – 10 of 10) sorted by relevance
/linux-6.3-rc2/sound/soc/intel/boards/ |
A D | sof_wm8804.c | 60 int sampling_freq; in sof_wm8804_hw_params() local 80 sampling_freq = 0x03; in sof_wm8804_hw_params() 83 sampling_freq = 0x00; in sof_wm8804_hw_params() 86 sampling_freq = 0x02; in sof_wm8804_hw_params() 89 sampling_freq = 0x08; in sof_wm8804_hw_params() 92 sampling_freq = 0x0a; in sof_wm8804_hw_params() 95 sampling_freq = 0x0c; in sof_wm8804_hw_params() 98 sampling_freq = 0x0e; in sof_wm8804_hw_params() 143 sampling_freq); in sof_wm8804_hw_params()
|
/linux-6.3-rc2/sound/soc/qcom/ |
A D | lpass-hdmi.c | 32 unsigned int sampling_freq; in lpass_hdmi_daiops_hw_params() local 59 sampling_freq = LPASS_SAMPLING_FREQ32; in lpass_hdmi_daiops_hw_params() 62 sampling_freq = LPASS_SAMPLING_FREQ44; in lpass_hdmi_daiops_hw_params() 65 sampling_freq = LPASS_SAMPLING_FREQ48; in lpass_hdmi_daiops_hw_params() 74 | ((sampling_freq << LPASS_FREQ_BIT_SHIFT) & LPASS_FREQ_BIT_MASK)); in lpass_hdmi_daiops_hw_params() 141 ret = regmap_field_write(meta_ctl->frequency, sampling_freq); in lpass_hdmi_daiops_hw_params()
|
/linux-6.3-rc2/drivers/iio/adc/ |
A D | spear_adc.c | 88 u32 sampling_freq; member 257 spear_adc_set_clk(st, st->sampling_freq); in spear_adc_configure() 326 &st->sampling_freq)) { in spear_adc_probe()
|
/linux-6.3-rc2/drivers/media/dvb-frontends/ |
A D | af9013.c | 110 int ret, i, sampling_freq; in af9013_set_frontend() local 160 sampling_freq = if_frequency; in af9013_set_frontend() 162 while (sampling_freq > (state->clk / 2)) in af9013_set_frontend() 163 sampling_freq -= state->clk; in af9013_set_frontend() 165 if (sampling_freq < 0) { in af9013_set_frontend() 166 sampling_freq *= -1; in af9013_set_frontend() 172 freq_cw = DIV_ROUND_CLOSEST_ULL((u64)sampling_freq * 0x800000, in af9013_set_frontend()
|
/linux-6.3-rc2/drivers/iio/pressure/ |
A D | bmp280-core.c | 162 int sampling_freq; member 624 *val = data->chip_info->sampling_freq_avail[data->sampling_freq][0]; in bmp280_read_raw() 625 *val2 = data->chip_info->sampling_freq_avail[data->sampling_freq][1]; in bmp280_read_raw() 734 prev = data->sampling_freq; in bmp280_write_sampling_frequency() 735 data->sampling_freq = i; in bmp280_write_sampling_frequency() 739 data->sampling_freq = prev; in bmp280_write_sampling_frequency() 1254 BMP380_ODRS_MASK, data->sampling_freq, &aux); in bmp380_chip_config() 1712 data->sampling_freq = chip_info->sampling_freq_default; in bmp280_common_probe()
|
/linux-6.3-rc2/sound/soc/intel/avs/ |
A D | path.c | 87 return (params_rate(params) == fmt->sampling_freq && in avs_test_hw_params() 103 variant->fe_fmt->sampling_freq, variant->fe_fmt->num_channels, in avs_path_find_variant() 106 variant->be_fmt->sampling_freq, variant->be_fmt->num_channels, in avs_path_find_variant() 180 fmt->num_channels, fmt->sampling_freq, direction, in avs_copier_create() 205 fmt->sampling_freq, direction, NHLT_DEVICE_DMIC); in avs_copier_create()
|
A D | messages.h | 643 u32 sampling_freq; member
|
A D | topology.c | 500 .offset = offsetof(struct avs_audio_format, sampling_freq),
|
/linux-6.3-rc2/sound/pci/mixart/ |
A D | mixart.c | 518 stream_param.sampling_freq = chip->mgr->sample_rate; in mixart_set_format() 519 if(stream_param.sampling_freq == 0) in mixart_set_format() 520 stream_param.sampling_freq = 44100; /* if frequency not yet defined, use some default */ in mixart_set_format() 559 … stream_param.sample_type, stream_param.sample_size, stream_param.sampling_freq, stream->channels); in mixart_set_format()
|
A D | mixart_core.h | 396 u32 sampling_freq; member
|
Completed in 32 milliseconds