Searched refs:refsel (Results 1 – 4 of 4) sorted by relevance
111 enum ad7124_ref_sel refsel; member408 unsigned int refsel = st->channel_config[channel_number].refsel; in ad7124_init_channel_vref() local410 switch (refsel) { in ad7124_init_channel_vref()414 if (IS_ERR(st->vref[refsel])) { in ad7124_init_channel_vref()417 ad7124_ref_names[refsel]); in ad7124_init_channel_vref()418 return PTR_ERR(st->vref[refsel]); in ad7124_init_channel_vref()421 regulator_get_voltage(st->vref[refsel]); in ad7124_init_channel_vref()429 dev_err(&st->sd.spi->dev, "Invalid reference %d\n", refsel); in ad7124_init_channel_vref()483 st->channel_config[channel].refsel = AD7124_INT_REF; in ad7124_of_parse_channel_config()485 st->channel_config[channel].refsel = tmp; in ad7124_of_parse_channel_config()[all …]
240 pdata->refsel != AD7793_REFSEL_REFIN1) in ad7793_check_platform_data()291 st->conf |= AD7793_CONF_REFSEL(pdata->refsel); in ad7793_setup()729 if (pdata->refsel != AD7793_REFSEL_INTERNAL) { in ad7793_probe()779 if (pdata->refsel != AD7793_REFSEL_INTERNAL) in ad7793_probe()794 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