Searched refs:refsel (Results 1 – 5 of 5) sorted by relevance
139 enum ad7124_ref_sel refsel; member552 unsigned int refsel = st->channel_config[channel_number].refsel; in ad7124_init_channel_vref() local554 switch (refsel) { in ad7124_init_channel_vref()558 if (IS_ERR(st->vref[refsel])) { in ad7124_init_channel_vref()561 ad7124_ref_names[refsel]); in ad7124_init_channel_vref()562 return PTR_ERR(st->vref[refsel]); in ad7124_init_channel_vref()565 regulator_get_voltage(st->vref[refsel]); in ad7124_init_channel_vref()576 dev_err(&st->sd.spi->dev, "Invalid reference %d\n", refsel); in ad7124_init_channel_vref()637 st->channel_config[channel].refsel = AD7124_INT_REF; in ad7124_of_parse_channel_config()639 st->channel_config[channel].refsel = tmp; in ad7124_of_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()797 if (pdata->refsel != AD7793_REFSEL_INTERNAL) { in ad7793_probe()845 if (pdata->refsel != AD7793_REFSEL_INTERNAL) in ad7793_probe()860 if (pdata->refsel != AD7793_REFSEL_INTERNAL) in ad7793_remove()
174 u32 refsel; in mpc831x_usb_cfg() local180 refsel = CONTROL_REFSEL_24MHZ; in mpc831x_usb_cfg()182 refsel = CONTROL_REFSEL_48MHZ; in mpc831x_usb_cfg()185 CONTROL_UTMI_PHY_EN | refsel); in mpc831x_usb_cfg()
105 enum ad7793_refsel refsel; member
215 + u32 refsel;291 + adc->adc_cfg.refsel = 0;320 + | adc->adc_cfg.refsel << IMX8QXP_REG_ADC_CFG_REFSEL_SHIFT380 + adc->adc_cfg.refsel = 0;