Home
last modified time | relevance | path

Searched refs:refsel (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/iio/adc/
Dad7124.c111 enum ad7124_ref_sel refsel; member
408 unsigned int refsel = st->channel_config[channel_number].refsel; in ad7124_init_channel_vref() local
410 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 …]
Dad7793.c240 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()
/Linux-v5.4/arch/powerpc/platforms/83xx/
Dusb.c174 u32 refsel; in mpc831x_usb_cfg() local
180 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()
/Linux-v5.4/include/linux/platform_data/
Dad7793.h105 enum ad7793_refsel refsel; member