Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/iio/adc/
Dspear_adc.c79 u32 sampling_freq; member
248 spear_adc_set_clk(st, st->sampling_freq); in spear_adc_configure()
316 &st->sampling_freq)) { in spear_adc_probe()
/Linux-v5.4/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-v5.4/sound/pci/mixart/
Dmixart.c519 stream_param.sampling_freq = chip->mgr->sample_rate; in mixart_set_format()
520 if(stream_param.sampling_freq == 0) in mixart_set_format()
521 stream_param.sampling_freq = 44100; /* if frequency not yet defined, use some default */ in mixart_set_format()
560 … stream_param.sample_type, stream_param.sample_size, stream_param.sampling_freq, stream->channels); in mixart_set_format()
Dmixart_core.h388 u32 sampling_freq; member