/linux-4.4.14/drivers/regulator/ |
D | wm831x-ldo.c | 52 struct wm831x_ldo *ldo = data; in wm831x_ldo_uv_irq() local 54 regulator_notifier_call_chain(ldo->regulator, in wm831x_ldo_uv_irq() 73 struct wm831x_ldo *ldo = rdev_get_drvdata(rdev); in wm831x_gp_ldo_set_suspend_voltage() local 74 struct wm831x *wm831x = ldo->wm831x; in wm831x_gp_ldo_set_suspend_voltage() 75 int sel, reg = ldo->base + WM831X_LDO_SLEEP_CONTROL; in wm831x_gp_ldo_set_suspend_voltage() 86 struct wm831x_ldo *ldo = rdev_get_drvdata(rdev); in wm831x_gp_ldo_get_mode() local 87 struct wm831x *wm831x = ldo->wm831x; in wm831x_gp_ldo_get_mode() 88 int ctrl_reg = ldo->base + WM831X_LDO_CONTROL; in wm831x_gp_ldo_get_mode() 89 int on_reg = ldo->base + WM831X_LDO_ON_CONTROL; in wm831x_gp_ldo_get_mode() 112 struct wm831x_ldo *ldo = rdev_get_drvdata(rdev); in wm831x_gp_ldo_set_mode() local [all …]
|
D | wm8994-regulator.c | 49 struct wm8994_ldo *ldo = rdev_get_drvdata(rdev); in wm8994_ldo2_list_voltage() local 54 switch (ldo->wm8994->type) { in wm8994_ldo2_list_voltage() 129 int id = pdev->id % ARRAY_SIZE(pdata->ldo); in wm8994_ldo_probe() 131 struct wm8994_ldo *ldo; in wm8994_ldo_probe() local 136 ldo = devm_kzalloc(&pdev->dev, sizeof(struct wm8994_ldo), GFP_KERNEL); in wm8994_ldo_probe() 137 if (!ldo) in wm8994_ldo_probe() 140 ldo->wm8994 = wm8994; in wm8994_ldo_probe() 141 ldo->supply = wm8994_ldo_consumer[id]; in wm8994_ldo_probe() 142 ldo->supply.dev_name = dev_name(wm8994->dev); in wm8994_ldo_probe() 145 config.driver_data = ldo; in wm8994_ldo_probe() [all …]
|
D | lp8788-ldo.c | 161 struct lp8788_ldo *ldo = rdev_get_drvdata(rdev); in lp8788_ldo_enable_time() local 165 if (lp8788_read_byte(ldo->lp, addr, &val)) in lp8788_ldo_enable_time() 468 struct lp8788_ldo *ldo, in lp8788_config_ldo_enable_mode() argument 471 struct lp8788 *lp = ldo->lp; in lp8788_config_ldo_enable_mode() 511 ldo->en_pin = pdata->ldo_pin[enable_id]; in lp8788_config_ldo_enable_mode() 522 struct lp8788_ldo *ldo; in lp8788_dldo_probe() local 527 ldo = devm_kzalloc(&pdev->dev, sizeof(struct lp8788_ldo), GFP_KERNEL); in lp8788_dldo_probe() 528 if (!ldo) in lp8788_dldo_probe() 531 ldo->lp = lp; in lp8788_dldo_probe() 532 ret = lp8788_config_ldo_enable_mode(pdev, ldo, id); in lp8788_dldo_probe() [all …]
|
D | lp3972.c | 228 int ldo = rdev_get_id(dev) - LP3972_LDO1; in lp3972_ldo_is_enabled() local 229 u16 mask = LP3972_LDO_OUTPUT_ENABLE_MASK(ldo); in lp3972_ldo_is_enabled() 232 val = lp3972_reg_read(lp3972, LP3972_LDO_OUTPUT_ENABLE_REG(ldo)); in lp3972_ldo_is_enabled() 239 int ldo = rdev_get_id(dev) - LP3972_LDO1; in lp3972_ldo_enable() local 240 u16 mask = LP3972_LDO_OUTPUT_ENABLE_MASK(ldo); in lp3972_ldo_enable() 242 return lp3972_set_bits(lp3972, LP3972_LDO_OUTPUT_ENABLE_REG(ldo), in lp3972_ldo_enable() 249 int ldo = rdev_get_id(dev) - LP3972_LDO1; in lp3972_ldo_disable() local 250 u16 mask = LP3972_LDO_OUTPUT_ENABLE_MASK(ldo); in lp3972_ldo_disable() 252 return lp3972_set_bits(lp3972, LP3972_LDO_OUTPUT_ENABLE_REG(ldo), in lp3972_ldo_disable() 259 int ldo = rdev_get_id(dev) - LP3972_LDO1; in lp3972_ldo_get_voltage_sel() local [all …]
|
D | lp3971.c | 113 int ldo = rdev_get_id(dev) - LP3971_LDO1; in lp3971_ldo_is_enabled() local 114 u16 mask = 1 << (1 + ldo); in lp3971_ldo_is_enabled() 124 int ldo = rdev_get_id(dev) - LP3971_LDO1; in lp3971_ldo_enable() local 125 u16 mask = 1 << (1 + ldo); in lp3971_ldo_enable() 133 int ldo = rdev_get_id(dev) - LP3971_LDO1; in lp3971_ldo_disable() local 134 u16 mask = 1 << (1 + ldo); in lp3971_ldo_disable() 142 int ldo = rdev_get_id(dev) - LP3971_LDO1; in lp3971_ldo_get_voltage_sel() local 145 reg = lp3971_reg_read(lp3971, LP3971_LDO_VOL_CONTR_REG(ldo)); in lp3971_ldo_get_voltage_sel() 146 val = (reg >> LDO_VOL_CONTR_SHIFT(ldo)) & LDO_VOL_CONTR_MASK; in lp3971_ldo_get_voltage_sel() 155 int ldo = rdev_get_id(dev) - LP3971_LDO1; in lp3971_ldo_set_voltage_sel() local [all …]
|
D | max8998.c | 119 int ldo = rdev_get_id(rdev); in max8998_get_enable_register() local 121 switch (ldo) { in max8998_get_enable_register() 124 *shift = 3 - (ldo - MAX8998_LDO2); in max8998_get_enable_register() 128 *shift = 7 - (ldo - MAX8998_LDO6); in max8998_get_enable_register() 132 *shift = 7 - (ldo - MAX8998_LDO14); in max8998_get_enable_register() 136 *shift = 7 - (ldo - MAX8998_BUCK1); in max8998_get_enable_register() 140 *shift = 7 - (ldo - MAX8998_EN32KHZ_AP); in max8998_get_enable_register() 144 *shift = 7 - (ldo - MAX8998_ESAFEOUT1); in max8998_get_enable_register() 200 int ldo = rdev_get_id(rdev); in max8998_get_voltage_register() local 204 switch (ldo) { in max8998_get_voltage_register() [all …]
|
D | qcom_spmi-regulator.c | 1127 SPMI_VREG(LDO, N300, 0, INF, LDO, ldo, nldo1, 10000), 1128 SPMI_VREG(LDO, N600, 0, 0, LDO, ldo, nldo2, 10000), 1129 SPMI_VREG(LDO, N1200, 0, 0, LDO, ldo, nldo2, 10000), 1130 SPMI_VREG(LDO, N600, 1, INF, LDO, ldo, nldo3, 10000), 1131 SPMI_VREG(LDO, N1200, 1, INF, LDO, ldo, nldo3, 10000), 1132 SPMI_VREG(LDO, N600_ST, 0, 0, LDO, ldo, nldo2, 10000), 1133 SPMI_VREG(LDO, N1200_ST, 0, 0, LDO, ldo, nldo2, 10000), 1134 SPMI_VREG(LDO, N600_ST, 1, INF, LDO, ldo, nldo3, 10000), 1135 SPMI_VREG(LDO, N1200_ST, 1, INF, LDO, ldo, nldo3, 10000), 1136 SPMI_VREG(LDO, P50, 0, INF, LDO, ldo, pldo, 5000), [all …]
|
D | arizona-ldo1.c | 67 struct arizona_ldo1 *ldo = rdev_get_drvdata(rdev); in arizona_ldo1_hc_set_voltage_sel() local 68 struct regmap *regmap = ldo->arizona->regmap; in arizona_ldo1_hc_set_voltage_sel() 93 struct arizona_ldo1 *ldo = rdev_get_drvdata(rdev); in arizona_ldo1_hc_get_voltage_sel() local 94 struct regmap *regmap = ldo->arizona->regmap; in arizona_ldo1_hc_get_voltage_sel()
|
D | wm8350-regulator.c | 553 int sel, volt_reg, ldo = rdev_get_id(rdev); in wm8350_ldo_set_suspend_voltage() local 556 dev_dbg(wm8350->dev, "%s %d mV %d\n", __func__, ldo, uV / 1000); in wm8350_ldo_set_suspend_voltage() 558 switch (ldo) { in wm8350_ldo_set_suspend_voltage() 588 int volt_reg, ldo = rdev_get_id(rdev); in wm8350_ldo_set_suspend_enable() local 591 switch (ldo) { in wm8350_ldo_set_suspend_enable() 617 int volt_reg, ldo = rdev_get_id(rdev); in wm8350_ldo_set_suspend_disable() local 620 switch (ldo) { in wm8350_ldo_set_suspend_disable() 691 int wm8350_ldo_set_slot(struct wm8350 *wm8350, int ldo, u16 start, u16 stop) in wm8350_ldo_set_slot() argument 697 __func__, ldo, start, stop); in wm8350_ldo_set_slot() 703 switch (ldo) { in wm8350_ldo_set_slot()
|
D | Makefile | 43 obj-$(CONFIG_REGULATOR_LP8788) += lp8788-ldo.o 100 obj-$(CONFIG_REGULATOR_WM831X) += wm831x-ldo.o
|
/linux-4.4.14/arch/parisc/kernel/ |
D | hpmc.S | 127 ldo 128(sp),sp /* leave room for arguments */ 134 ldo 8(%r0),%r4 /* PSW Q on, PSW M off */ 140 ldo 4(%r4),%r4 155 ldo PDC_PIM(%r0), arg0 156 ldo PDC_PIM_HPMC(%r0),arg1 /* Transfer HPMC data */ 164 ldo R%PA(os_hpmc_2)(rp), rp 171 ldo PDC_IO(%r0),arg0 172 ldo 0(%r0),arg1 /* log IO errors */ 173 ldo 0(%r0),arg2 /* reserved */ 174 ldo 0(%r0),arg3 /* reserved */ [all …]
|
D | syscall.S | 141 ldo THREAD_SZ_ALGN+FRAME_SIZE(%r30),%r30 /* set up kernel stack */ 187 ldo TASK_PT_FR0(%r1), %r27 /* save fpregs from the kernel */ 196 ldo -16(%r30),%r29 /* Reference param save area */ 219 ldo R%sys_call_table(%r1), %r19 221 ldo R%sys_call_table64(%r1), %r19 224 ldo R%sys_call_table(%r1), %r19 241 ldo R%syscall_exit(%r2),%r2 246 ldo R%syscall_exit_rfi(%r2),%r2 257 ldo -ENOSYS(%r0),%r28 /* set errno */ 273 ldo -THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1 /* get task ptr */ [all …]
|
D | head.S | 81 ldo (PxD_FLAG_PRESENT+PxD_FLAG_VALID)(%r3),%r3 83 ldo ASM_PMD_ENTRY*ASM_PMD_ENTRY_SIZE(%r5),%r4 86 ldo ASM_PGD_ENTRY*ASM_PGD_ENTRY_SIZE(%r4),%r4 92 ldo (PxD_FLAG_PRESENT+PxD_FLAG_VALID)(%r3),%r3 98 ldo (PAGE_SIZE >> PxD_VALUE_SHIFT)(%r3),%r3 101 ldo ASM_PMD_ENTRY_SIZE(%r4),%r4 103 ldo ASM_PGD_ENTRY_SIZE(%r4),%r4 109 ldo 0+_PAGE_KERNEL_RWX(%r0),%r3 /* Hardwired 0 phys addr start */ 115 ldo (1<<PFN_PTE_SHIFT)(%r3),%r3 /* add one PFN */ 130 ldo THREAD_SZ_ALGN(%r6),%sp [all …]
|
D | entry.S | 78 ldo 4(%r1), %r1 120 ldo THREAD_SZ_ALGN(%r1), %r30 126 ldo TASK_REGS(%r9),%r9 140 ldo PT_SZ_ALGN(%r30),%r30 368 ldo R%PA(swapper_pg_dir)(\reg),\reg 451 ldo ASM_PGD_PMD_OFFSET(\pgd),\pgd 839 ldo TASK_REGS(%r16),%r16 914 ldo -16(%r30),%r29 /* Reference param save area */ 924 ldo PT_FR31(%r29),%r1 968 ldo -16(%r30),%r29 /* Reference param save area */ [all …]
|
D | real2.S | 68 ldo 2*REG_SZ(%sp), %sp /* room for a couple more saves */ 116 ldo -2*REG_SZ(%sp), %sp 176 ldo 4(%r1), %r1 210 ldo 4(%r1), %r1 250 ldo 64(%arg1), %r29
|
D | pacache.S | 69 ldo 4(%r1), %r1 180 ldo 4(%r1), %r1 337 ldo R%pa_tlb_lock(%r1),\la 389 ldo 128(%r26), %r26 418 ldo 64(%r26), %r26 478 ldo 128(%r25), %r25 487 ldo 128(%r26), %r26 531 ldo 64(%r25), %r25 534 ldo 64(%r26), %r26 678 ldo 128(%r29), %r29 [all …]
|
/linux-4.4.14/sound/soc/codecs/ |
D | sgtl5000.c | 138 struct ldo_regulator *ldo; member 784 struct ldo_regulator *ldo = rdev_get_drvdata(dev); in ldo_regulator_is_enabled() local 786 return ldo->enabled; in ldo_regulator_is_enabled() 791 struct ldo_regulator *ldo = rdev_get_drvdata(dev); in ldo_regulator_enable() local 792 struct snd_soc_codec *codec = (struct snd_soc_codec *)ldo->codec_data; in ldo_regulator_enable() 799 reg = (1600 - ldo->voltage / 1000) / 50; in ldo_regulator_enable() 803 ldo->voltage = (1600 - reg * 50) * 1000; in ldo_regulator_enable() 818 ldo->enabled = 1; in ldo_regulator_enable() 824 struct ldo_regulator *ldo = rdev_get_drvdata(dev); in ldo_regulator_disable() local 825 struct snd_soc_codec *codec = (struct snd_soc_codec *)ldo->codec_data; in ldo_regulator_disable() [all …]
|
D | sn95031.c | 277 unsigned int ldo = 0, clk_dir = 0, data_dir = 0; in sn95031_dmic12_event() local 280 ldo = BIT(5)|BIT(4); in sn95031_dmic12_event() 285 snd_soc_update_bits(codec, SN95031_MICBIAS, BIT(5)|BIT(4), ldo); in sn95031_dmic12_event() 295 unsigned int ldo = 0, clk_dir = 0, data_dir = 0; in sn95031_dmic34_event() local 298 ldo = BIT(5)|BIT(4); in sn95031_dmic34_event() 303 snd_soc_update_bits(codec, SN95031_MICBIAS, BIT(5)|BIT(4), ldo); in sn95031_dmic34_event() 313 unsigned int ldo = 0; in sn95031_dmic56_event() local 316 ldo = BIT(7)|BIT(6); in sn95031_dmic56_event() 319 snd_soc_update_bits(codec, SN95031_MICBIAS, BIT(7)|BIT(6), ldo); in sn95031_dmic56_event()
|
/linux-4.4.14/arch/parisc/lib/ |
D | fixup.S | 70 ldo 4(%r1), %r1 78 ldo 8(%r1), %r1 87 ldo 4(%r1), %r1 94 ldo 8(%r1), %r1
|
D | lusercopy.S | 59 ldo R%\lbl(%r1), %r1 88 ldo 1(%r25),%r25 122 ldo 1(%r26),%r26 /* special case for N == 0 */
|
/linux-4.4.14/drivers/mfd/ |
D | wm8994-core.c | 225 static int wm8994_ldo_in_use(struct wm8994_pdata *pdata, int ldo) in wm8994_ldo_in_use() argument 232 ldo_pdata = &pdata->ldo[ldo]; in wm8994_ldo_in_use() 240 static int wm8994_ldo_in_use(struct wm8994_pdata *pdata, int ldo) in wm8994_ldo_in_use() argument 305 pdata->ldo[0].enable = of_get_named_gpio(np, "wlf,ldo1ena", 0); in wm8994_set_pdata_from_of() 306 if (pdata->ldo[0].enable < 0) in wm8994_set_pdata_from_of() 307 pdata->ldo[0].enable = 0; in wm8994_set_pdata_from_of() 309 pdata->ldo[1].enable = of_get_named_gpio(np, "wlf,ldo2ena", 0); in wm8994_set_pdata_from_of() 310 if (pdata->ldo[1].enable < 0) in wm8994_set_pdata_from_of() 311 pdata->ldo[1].enable = 0; in wm8994_set_pdata_from_of()
|
/linux-4.4.14/Documentation/devicetree/bindings/regulator/ |
D | as3722-regulator.txt | 8 sd[0-6], 10 LDOs as ldo[0-7], ldo[9-11]. The input supply of these 28 sd[0-6], ldo[0-7], ldo[9-11].
|
D | ti-abb-regulator.txt | 48 - "ldo-address" - Contains address of ABB LDO overide register address. 50 - ti,ldovbb-vset-mask - Required if ldo-address is set, mask for LDO override 52 - ti,ldovbb-override-mask - Required if ldo-address is set, mask for LDO 65 Vset value efuse Mask: Mandatory if ldo-address is set. Picks up from 66 efuse the value to set in 'ti,ldovbb-vset-mask' at ldo-address. 118 "efuse-address", "ldo-address";
|
D | tps65217.txt | 7 after their hardware counterparts: dcdc[1-3] and ldo[1-4]
|
D | palmas-pmic.txt | 30 smps10_out2, smps10_out1, ldo[1-9], ldoln, ldousb.
|
D | tps6586x.txt | 14 sys, sm[0-2], ldo[0-9] and ldo_rtc
|
D | tps65090.txt | 11 dcdc[1-3], fet[1-7] and ldo[1-2] respectively.
|
/linux-4.4.14/drivers/ssb/ |
D | driver_chipcommon_pmu.c | 593 int ldo; in ssb_pmu_set_ldo_paref() local 597 ldo = SSB_PMURES_4312_PA_REF_LDO; in ssb_pmu_set_ldo_paref() 600 ldo = SSB_PMURES_4328_PA_REF_LDO; in ssb_pmu_set_ldo_paref() 603 ldo = SSB_PMURES_5354_PA_REF_LDO; in ssb_pmu_set_ldo_paref() 610 chipco_set32(cc, SSB_CHIPCO_PMU_MINRES_MSK, 1 << ldo); in ssb_pmu_set_ldo_paref() 612 chipco_mask32(cc, SSB_CHIPCO_PMU_MINRES_MSK, ~(1 << ldo)); in ssb_pmu_set_ldo_paref()
|
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-rk.c | 428 struct regulator *ldo = bsp_priv->regulator; in phy_power_on() local 432 if (!ldo) { in phy_power_on() 438 ret = regulator_enable(ldo); in phy_power_on() 442 ret = regulator_disable(ldo); in phy_power_on()
|
/linux-4.4.14/include/linux/mfd/wm831x/ |
D | pdata.h | 145 struct regulator_init_data *ldo[WM831X_MAX_LDO]; member
|
/linux-4.4.14/include/linux/mfd/wm8994/ |
D | pdata.h | 142 struct wm8994_ldo_pdata ldo[WM8994_NUM_LDO]; member
|
/linux-4.4.14/Documentation/devicetree/bindings/sound/ |
D | da7219.txt | 31 - dlg,ldo-lvl : Required internal LDO voltage (mV) level for digital engine 87 dlg,ldo-lvl = <1200>;
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | assembly.h | 121 ldo R%\value(1), 1 162 ldo R%\value(\reg), \reg 168 ldo R%__gp(%r27), %r27 171 ldo R%$global$(%r27), %r27
|
/linux-4.4.14/scripts/ |
D | checkstack.pl | 82 $re = qr/.*ldo ($x{1,8})\(sp\),sp/o;
|
/linux-4.4.14/Documentation/devicetree/bindings/display/msm/ |
D | dsi.txt | 70 - qcom,dsi-phy-regulator-ldo-mode: Boolean value indicating if the LDO mode PHY 148 qcom,dsi-phy-regulator-ldo-mode;
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | atlas7.dtsi | 80 compatible = "sirf,atlas7-pmu-ldo"; 82 ldo: ldo { label 83 regulator-name = "ldo"; 92 ldo-supply = <&ldo>; 1603 regulator-name = "vqmmc-ldo";
|
D | dra7.dtsi | 973 "ldo-address"; 1006 "ldo-address"; 1039 "ldo-address"; 1072 "ldo-address";
|
D | omap5.dtsi | 1091 "efuse-address", "ldo-address"; 1121 "efuse-address", "ldo-address";
|
/linux-4.4.14/Documentation/devicetree/bindings/mfd/ |
D | as3722.txt | 103 sd[0-6], ldo[0-7], ldo[9-11]
|
/linux-4.4.14/arch/arm/mach-s3c64xx/ |
D | mach-crag6410-module.c | 195 .ldo = {
|
D | mach-smdk6410.c | 578 .ldo = {
|
D | mach-crag6410.c | 582 .ldo = {
|
/linux-4.4.14/include/linux/mfd/wm8350/ |
D | pmic.h | 772 int wm8350_ldo_set_slot(struct wm8350 *wm8350, int ldo, u16 start, u16 stop);
|
/linux-4.4.14/arch/arm/mach-pxa/ |
D | em-x270.c | 1193 #define DA9030_LDO(num) DA9030_SUBDEV(regulator, LDO##num, &ldo##num##_data)
|