Searched full:reg_vref (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/iio/adc/ |
H A D | ti-ads1298.c | 105 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 D | imx6ull-uti260b.dts | 150 reg_vref: regulator-vref-4v2 { label 169 vref-supply = <®_vref>;
|
/linux/drivers/media/i2c/ |
H A D | ov9650.c | 45 #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, ®); in ov965x_set_gain() 720 ret = ov965x_write(ov965x, REG_VREF, reg); in ov965x_set_gain() 871 ret = ov965x_read(ov965x, REG_VREF, ®1); in __g_volatile_ctrl()
|
H A D | ov7670.c | 47 #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 D | rts5260.c | 394 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, REG_VREF, in rts5260_init_hw()
|
H A D | rts5264.c | 526 rtsx_pci_write_register(pcr, REG_VREF, PWD_SUSPND_EN, PWD_SUSPND_EN); in rts5264_extra_init_hw()
|
H A D | rts5249.c | 264 rtsx_pci_write_register(pcr, REG_VREF, PWD_SUSPND_EN, PWD_SUSPND_EN); in rts5249_extra_init_hw()
|
/linux/include/linux/ |
H A D | rtsx_pci.h | 638 #define REG_VREF 0xFE97 macro
|