Home
last modified time | relevance | path

Searched refs:sample_rate (Results 1 – 13 of 13) sorted by relevance

/linux-4.19.296/drivers/iio/adc/
Dmcp3422.c114 u8 sample_rate = MCP3422_SAMPLE_RATE(adc->config); in mcp3422_read() local
118 if (sample_rate == MCP3422_SRATE_3) { in mcp3422_read()
128 *value = sign_extend32(temp, mcp3422_sign_extend[sample_rate]); in mcp3422_read()
170 u8 sample_rate = MCP3422_SAMPLE_RATE(adc->config); in mcp3422_read_raw() local
183 *val2 = mcp3422_scales[sample_rate][pga]; in mcp3422_read_raw()
205 u8 sample_rate = MCP3422_SAMPLE_RATE(config); in mcp3422_write_raw() local
214 if (val2 == mcp3422_scales[sample_rate][i]) { in mcp3422_write_raw()
289 u8 sample_rate = MCP3422_SAMPLE_RATE(adc->config); in mcp3422_show_scales() local
292 mcp3422_scales[sample_rate][0], in mcp3422_show_scales()
293 mcp3422_scales[sample_rate][1], in mcp3422_show_scales()
[all …]
Dnau7802.c59 u8 sample_rate; member
268 if (st->sample_rate != NAU7802_SAMP_FREQ_320) in nau7802_read_poll()
318 NAU7802_CTRL2_CRS(st->sample_rate)); in nau7802_read_raw()
349 *val = nau7802_sample_freq_avail[st->sample_rate]; in nau7802_read_raw()
379 st->sample_rate = i; in nau7802_write_raw()
383 NAU7802_CTRL2_CRS(st->sample_rate)); in nau7802_write_raw()
528 st->sample_rate = NAU7802_SAMP_FREQ_320; in nau7802_probe()
530 NAU7802_CTRL2_CRS(st->sample_rate)); in nau7802_probe()
Dimx7d_adc.c195 u32 sample_rate = 0; in imx7d_adc_sample_rate_set() local
210 sample_rate |= adc_analogure_clk.reg_config; in imx7d_adc_sample_rate_set()
213 sample_rate |= adc_feature->core_time_unit; in imx7d_adc_sample_rate_set()
214 writel(sample_rate, info->regs + IMX7D_REG_ADC_TIMER_UNIT); in imx7d_adc_sample_rate_set()
Dvf610_adc.c159 int sample_rate; member
255 adc_feature->sample_rate = 1; in vf610_adc_cfg_init()
438 switch (adc_feature->sample_rate) { in vf610_adc_sample_set()
701 *val = info->sample_freq_avail[info->adc_feature.sample_rate]; in vf610_read_raw()
727 info->adc_feature.sample_rate = i; in vf610_write_raw()
/linux-4.19.296/include/net/
Dpsample.h27 u32 sample_rate);
34 u32 sample_rate) in psample_sample_packet() argument
/linux-4.19.296/drivers/media/dvb-frontends/
Dsi21xx.c707 unsigned char sample_rate = 0; in si21xx_set_frontend() local
809 sample_rate = (u8) afs[i]; in si21xx_set_frontend()
817 sample_rate = (u8) afs[i]; in si21xx_set_frontend()
824 if (sample_rate > 207 || sample_rate < 192) in si21xx_set_frontend()
825 sample_rate = 200; in si21xx_set_frontend()
828 ((sample_rate) * 1000)); in si21xx_set_frontend()
832 regs[0] = sample_rate; in si21xx_set_frontend()
839 state->fs = sample_rate;/*ADC MHz*/ in si21xx_set_frontend()
Dcx24123.c453 u32 sample_rate, ratio, sample_gain; in cx24123_set_symbolrate() local
481 sample_rate = pll_mult * XTAL; in cx24123_set_symbolrate()
486 do_div(tmp, sample_rate); in cx24123_set_symbolrate()
496 sample_gain = cx24123_int_log2(sample_rate, srate); in cx24123_set_symbolrate()
501 srate, ratio, sample_rate, sample_gain); in cx24123_set_symbolrate()
/linux-4.19.296/include/drm/i2c/
Dtda998x.h18 unsigned sample_rate; member
/linux-4.19.296/include/uapi/sound/
Dusb_stream.h36 unsigned sample_rate; member
Dcompress_params.h394 __u32 sample_rate; member
/linux-4.19.296/include/sound/
Ddesignware_i2s.h35 u32 sample_rate; member
Dhdmi-codec.h53 int sample_rate; member
/linux-4.19.296/drivers/clk/tegra/
Dclk-dfll.c291 u32 sample_rate; member
1235 val = DIV_ROUND_UP(td->ref_rate, td->sample_rate * 32); in dfll_set_default_params()
1560 ok &= read_dt_param(td, "nvidia,sample-rate", &td->sample_rate); in dfll_fetch_common_params()