Searched refs:sample_rate (Results 1 – 13 of 13) sorted by relevance
/linux-4.19.296/drivers/iio/adc/ |
D | mcp3422.c | 114 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 …]
|
D | nau7802.c | 59 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()
|
D | imx7d_adc.c | 195 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()
|
D | vf610_adc.c | 159 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/ |
D | psample.h | 27 u32 sample_rate); 34 u32 sample_rate) in psample_sample_packet() argument
|
/linux-4.19.296/drivers/media/dvb-frontends/ |
D | si21xx.c | 707 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()
|
D | cx24123.c | 453 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/ |
D | tda998x.h | 18 unsigned sample_rate; member
|
/linux-4.19.296/include/uapi/sound/ |
D | usb_stream.h | 36 unsigned sample_rate; member
|
D | compress_params.h | 394 __u32 sample_rate; member
|
/linux-4.19.296/include/sound/ |
D | designware_i2s.h | 35 u32 sample_rate; member
|
D | hdmi-codec.h | 53 int sample_rate; member
|
/linux-4.19.296/drivers/clk/tegra/ |
D | clk-dfll.c | 291 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()
|