Home
last modified time | relevance | path

Searched full:reg_vref (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/iio/adc/
H A Dti-ads1298.c105 struct regulator *reg_vref; member
286 if (priv->reg_vref) { in ads1298_get_scale()
287 ret = regulator_get_voltage(priv->reg_vref); in ads1298_get_scale()
629 if (!priv->reg_vref) { in ads1298_init()
660 priv->reg_vref = devm_regulator_get_optional(dev, "vref"); in ads1298_probe()
661 if (IS_ERR(priv->reg_vref)) { in ads1298_probe()
662 if (PTR_ERR(priv->reg_vref) != -ENODEV) in ads1298_probe()
663 return dev_err_probe(dev, PTR_ERR(priv->reg_vref), in ads1298_probe()
666 priv->reg_vref = NULL; in ads1298_probe()
668 ret = regulator_enable(priv->reg_vref); in ads1298_probe()
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ull-uti260b.dts150 reg_vref: regulator-vref-4v2 { label
169 vref-supply = <&reg_vref>;
/linux/drivers/media/i2c/
H A Dov9650.c45 #define REG_VREF 0x03 /* [7:6] - AGC[9:8], [5:3]/[2:0] */ macro
678 * gain value in REG_VREF, REG_GAIN is not overwritten. in ov965x_set_gain()
715 ret = ov965x_read(ov965x, REG_VREF, &reg); in ov965x_set_gain()
720 ret = ov965x_write(ov965x, REG_VREF, reg); in ov965x_set_gain()
871 ret = ov965x_read(ov965x, REG_VREF, &reg1); in __g_volatile_ctrl()
H A Dov7670.c47 #define REG_VREF 0x03 /* Pieces of GAIN, VSTART, VSTOP */ macro
292 { REG_VSTOP, 0x7a }, { REG_VREF, 0x0a },
946 ret = ov7670_read(sd, REG_VREF, &v); in ov7670_set_hw()
951 return ov7670_write(sd, REG_VREF, v); in ov7670_set_hw()
1462 * GAIN is split between REG_GAIN and REG_VREF[7:6]. If one believes
/linux/drivers/misc/cardreader/
H A Drts5260.c394 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, REG_VREF, in rts5260_init_hw()
H A Drts5264.c526 rtsx_pci_write_register(pcr, REG_VREF, PWD_SUSPND_EN, PWD_SUSPND_EN); in rts5264_extra_init_hw()
H A Drts5249.c264 rtsx_pci_write_register(pcr, REG_VREF, PWD_SUSPND_EN, PWD_SUSPND_EN); in rts5249_extra_init_hw()
/linux/include/linux/
H A Drtsx_pci.h638 #define REG_VREF 0xFE97 macro