Home
last modified time | relevance | path

Searched refs:sampling_freq (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/sound/soc/intel/boards/
Dsof_wm8804.c60 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.12.1/sound/soc/qcom/
Dlpass-hdmi.c32 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.12.1/drivers/iio/adc/
Dspear_adc.c88 u32 sampling_freq; member
257 spear_adc_set_clk(st, st->sampling_freq); in spear_adc_configure()
311 if (device_property_read_u32(dev, "sampling-frequency", &st->sampling_freq)) in spear_adc_probe()
/linux-6.12.1/drivers/media/dvb-frontends/
Daf9013.c110 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.12.1/sound/soc/intel/avs/
Dpath.c88 return (params_rate(params) == fmt->sampling_freq && in avs_test_hw_params()
104 variant->fe_fmt->sampling_freq, variant->fe_fmt->num_channels, in avs_path_find_variant()
107 variant->be_fmt->sampling_freq, variant->be_fmt->num_channels, in avs_path_find_variant()
182 ep_blob = acpi_nhlt_endpoint_find_fmtcfg(ep, fmt->num_channels, fmt->sampling_freq, in avs_copier_create()
205 ep_blob = acpi_nhlt_endpoint_find_fmtcfg(ep, fmt->num_channels, fmt->sampling_freq, in avs_copier_create()
Dmessages.h692 u32 sampling_freq; member
Dtopology.c529 .offset = offsetof(struct avs_audio_format, sampling_freq),
/linux-6.12.1/drivers/iio/pressure/
Dbmp280-core.c727 *val = data->chip_info->sampling_freq_avail[data->sampling_freq][0]; in bmp280_read_raw_impl()
728 *val2 = data->chip_info->sampling_freq_avail[data->sampling_freq][1]; in bmp280_read_raw_impl()
841 prev = data->sampling_freq; in bmp280_write_sampling_frequency()
842 data->sampling_freq = i; in bmp280_write_sampling_frequency()
846 data->sampling_freq = prev; in bmp280_write_sampling_frequency()
1539 BMP380_ODRS_MASK, data->sampling_freq, in bmp380_chip_config()
2132 FIELD_PREP(BMP580_ODR_MASK, data->sampling_freq), in bmp580_chip_config()
2699 data->sampling_freq = chip_info->sampling_freq_default; in bmp280_common_probe()
Dbmp280.h408 int sampling_freq; member
/linux-6.12.1/sound/pci/mixart/
Dmixart.c518 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()
Dmixart_core.h396 u32 sampling_freq; member