Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/adc/
Dad7124.c139 enum ad7124_ref_sel refsel; member
552 unsigned int refsel = st->channel_config[channel_number].refsel; in ad7124_init_channel_vref() local
554 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 …]
Dad7793.c241 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/platform_data/
Dad7793.h105 enum ad7793_refsel refsel; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0023_linux_drivers_iio.patch215 + u32 refsel;
291 + adc->adc_cfg.refsel = 0;
320 + | adc->adc_cfg.refsel << IMX8QXP_REG_ADC_CFG_REFSEL_SHIFT
380 + adc->adc_cfg.refsel = 0;