Searched refs:refsel (Results 1 – 4 of 4) sorted by relevance
85 u32 refsel; member230 switch (ad7949_adc->refsel) { in ad7949_spi_read_raw()288 FIELD_PREP(AD7949_CFG_MASK_REF, ad7949_adc->refsel) | in ad7949_spi_init()356 ad7949_adc->refsel = AD7949_CFG_VAL_REF_INT_2500; in ad7949_spi_probe()359 ad7949_adc->refsel = AD7949_CFG_VAL_REF_INT_4096; in ad7949_spi_probe()379 ad7949_adc->refsel = AD7949_CFG_VAL_REF_EXT_TEMP; in ad7949_spi_probe()382 ad7949_adc->refsel = AD7949_CFG_VAL_REF_EXT_TEMP_BUF; in ad7949_spi_probe()385 if (ad7949_adc->refsel & AD7949_CFG_VAL_REF_EXTERNAL) { in ad7949_spi_probe()
125 u8 refsel; member200 u8 refsel) in max11410_get_vrefp() argument202 refsel = refsel % 4; in max11410_get_vrefp()203 if (refsel == 3) in max11410_get_vrefp()206 return st->vrefp[refsel]; in max11410_get_vrefp()210 u8 refsel) in max11410_get_vrefn() argument212 if (refsel > 2) in max11410_get_vrefn()215 return st->vrefn[refsel]; in max11410_get_vrefn()440 vrefp = max11410_get_vrefp(state, cfg.refsel); in max11410_get_scale()443 vrefn = max11410_get_vrefn(state, cfg.refsel); in max11410_get_scale()[all …]
150 enum ad7124_ref_sel refsel;308 enum ad7124_ref_sel refsel; in ad7124_find_similar_live_cfg()325 cfg->refsel == cfg_aux->refsel && in ad7124_find_similar_live_cfg()357 unsigned int refsel = cfg->refsel; in ad7124_init_config_vref() local359 switch (refsel) { in ad7124_init_config_vref()363 if (IS_ERR(st->vref[refsel])) in ad7124_init_config_vref()364 return dev_err_probe(dev, PTR_ERR(st->vref[refsel]), in ad7124_init_config_vref()366 ad7124_ref_names[refsel]); in ad7124_init_config_vref()399 FIELD_PREP(AD7124_CONFIG_REF_SEL, cfg->refsel) | in ad7124_write_config()1061 cfg->refsel = AD7124_INT_REF; in ad7124_parse_channel_config()[all …]
241 pdata->refsel != AD7793_REFSEL_REFIN1) in ad7793_check_platform_data()293 st->conf |= AD7793_CONF_REFSEL(pdata->refsel); in ad7793_setup()801 if (pdata->refsel != AD7793_REFSEL_INTERNAL) { in ad7793_probe()
Completed in 15 milliseconds