Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/83xx/
H A Dusb_831x.c94 u32 refsel; in mpc831x_usb_cfg() local
100 refsel = CONTROL_REFSEL_24MHZ; in mpc831x_usb_cfg()
102 refsel = CONTROL_REFSEL_48MHZ; in mpc831x_usb_cfg()
105 CONTROL_UTMI_PHY_EN | refsel); in mpc831x_usb_cfg()
/linux/drivers/iio/adc/
H A Dad7124.c189 enum ad7124_ref_sel refsel;
407 unsigned int refsel = cfg->refsel; in ad7124_init_config_vref() local
409 switch (refsel) { in ad7124_init_config_vref()
413 if (IS_ERR(st->vref[refsel])) in ad7124_init_config_vref()
414 return dev_err_probe(dev, PTR_ERR(st->vref[refsel]), in ad7124_init_config_vref()
416 ad7124_ref_names[refsel]); in ad7124_init_config_vref()
418 cfg->vref_mv = regulator_get_voltage(st->vref[refsel]); in ad7124_init_config_vref()
427 return dev_err_probe(dev, -EINVAL, "Invalid reference %d\n", refsel); in ad7124_init_config_vref()
434 return a->refsel == b->refsel && in ad7124_config_equal()
465 FIELD_PREP(AD7124_CONFIG_REF_SEL, cfg->refsel) | in ad7124_write_config()
[all …]
/linux/include/linux/platform_data/
H A Dad7793.h105 enum ad7793_refsel refsel; member