Home
last modified time | relevance | path

Searched refs:ldo (Results 1 – 25 of 103) sorted by relevance

12345

/linux-6.6.21/drivers/regulator/
Dwm831x-ldo.c47 struct wm831x_ldo *ldo = data; in wm831x_ldo_uv_irq() local
49 regulator_notifier_call_chain(ldo->regulator, in wm831x_ldo_uv_irq()
68 struct wm831x_ldo *ldo = rdev_get_drvdata(rdev); in wm831x_gp_ldo_set_suspend_voltage() local
69 struct wm831x *wm831x = ldo->wm831x; in wm831x_gp_ldo_set_suspend_voltage()
70 int sel, reg = ldo->base + WM831X_LDO_SLEEP_CONTROL; in wm831x_gp_ldo_set_suspend_voltage()
81 struct wm831x_ldo *ldo = rdev_get_drvdata(rdev); in wm831x_gp_ldo_get_mode() local
82 struct wm831x *wm831x = ldo->wm831x; in wm831x_gp_ldo_get_mode()
83 int ctrl_reg = ldo->base + WM831X_LDO_CONTROL; in wm831x_gp_ldo_get_mode()
84 int on_reg = ldo->base + WM831X_LDO_ON_CONTROL; in wm831x_gp_ldo_get_mode()
107 struct wm831x_ldo *ldo = rdev_get_drvdata(rdev); in wm831x_gp_ldo_set_mode() local
[all …]
Dwm8994-regulator.c44 struct wm8994_ldo *ldo = rdev_get_drvdata(rdev); in wm8994_ldo2_list_voltage() local
49 switch (ldo->wm8994->type) { in wm8994_ldo2_list_voltage()
153 int id = pdev->id % ARRAY_SIZE(pdata->ldo); in wm8994_ldo_probe()
155 struct wm8994_ldo *ldo; in wm8994_ldo_probe() local
161 ldo = devm_kzalloc(&pdev->dev, sizeof(struct wm8994_ldo), GFP_KERNEL); in wm8994_ldo_probe()
162 if (!ldo) in wm8994_ldo_probe()
165 ldo->wm8994 = wm8994; in wm8994_ldo_probe()
166 ldo->supply = wm8994_ldo_consumer[id]; in wm8994_ldo_probe()
167 ldo->supply.dev_name = dev_name(wm8994->dev); in wm8994_ldo_probe()
170 config.driver_data = ldo; in wm8994_ldo_probe()
[all …]
Dlp8788-ldo.c155 struct lp8788_ldo *ldo = rdev_get_drvdata(rdev); in lp8788_ldo_enable_time() local
159 if (lp8788_read_byte(ldo->lp, addr, &val)) in lp8788_ldo_enable_time()
462 struct lp8788_ldo *ldo, in lp8788_config_ldo_enable_mode() argument
465 struct lp8788 *lp = ldo->lp; in lp8788_config_ldo_enable_mode()
505 ldo->ena_gpiod = gpiod_get_index_optional(&pdev->dev, in lp8788_config_ldo_enable_mode()
510 if (IS_ERR(ldo->ena_gpiod)) in lp8788_config_ldo_enable_mode()
511 return PTR_ERR(ldo->ena_gpiod); in lp8788_config_ldo_enable_mode()
514 if (!ldo->ena_gpiod) in lp8788_config_ldo_enable_mode()
527 struct lp8788_ldo *ldo; in lp8788_dldo_probe() local
532 ldo = devm_kzalloc(&pdev->dev, sizeof(struct lp8788_ldo), GFP_KERNEL); in lp8788_dldo_probe()
[all …]
Dlp3972.c224 int ldo = rdev_get_id(dev) - LP3972_LDO1; in lp3972_ldo_is_enabled() local
225 u16 mask = LP3972_LDO_OUTPUT_ENABLE_MASK(ldo); in lp3972_ldo_is_enabled()
228 val = lp3972_reg_read(lp3972, LP3972_LDO_OUTPUT_ENABLE_REG(ldo)); in lp3972_ldo_is_enabled()
235 int ldo = rdev_get_id(dev) - LP3972_LDO1; in lp3972_ldo_enable() local
236 u16 mask = LP3972_LDO_OUTPUT_ENABLE_MASK(ldo); in lp3972_ldo_enable()
238 return lp3972_set_bits(lp3972, LP3972_LDO_OUTPUT_ENABLE_REG(ldo), in lp3972_ldo_enable()
245 int ldo = rdev_get_id(dev) - LP3972_LDO1; in lp3972_ldo_disable() local
246 u16 mask = LP3972_LDO_OUTPUT_ENABLE_MASK(ldo); in lp3972_ldo_disable()
248 return lp3972_set_bits(lp3972, LP3972_LDO_OUTPUT_ENABLE_REG(ldo), in lp3972_ldo_disable()
255 int ldo = rdev_get_id(dev) - LP3972_LDO1; in lp3972_ldo_get_voltage_sel() local
[all …]
Dlp3971.c109 int ldo = rdev_get_id(dev) - LP3971_LDO1; in lp3971_ldo_is_enabled() local
110 u16 mask = 1 << (1 + ldo); in lp3971_ldo_is_enabled()
120 int ldo = rdev_get_id(dev) - LP3971_LDO1; in lp3971_ldo_enable() local
121 u16 mask = 1 << (1 + ldo); in lp3971_ldo_enable()
129 int ldo = rdev_get_id(dev) - LP3971_LDO1; in lp3971_ldo_disable() local
130 u16 mask = 1 << (1 + ldo); in lp3971_ldo_disable()
138 int ldo = rdev_get_id(dev) - LP3971_LDO1; in lp3971_ldo_get_voltage_sel() local
141 reg = lp3971_reg_read(lp3971, LP3971_LDO_VOL_CONTR_REG(ldo)); in lp3971_ldo_get_voltage_sel()
142 val = (reg >> LDO_VOL_CONTR_SHIFT(ldo)) & LDO_VOL_CONTR_MASK; in lp3971_ldo_get_voltage_sel()
151 int ldo = rdev_get_id(dev) - LP3971_LDO1; in lp3971_ldo_set_voltage_sel() local
[all …]
Dmax8998.c43 int ldo = rdev_get_id(rdev); in max8998_get_enable_register() local
45 switch (ldo) { in max8998_get_enable_register()
48 *shift = 3 - (ldo - MAX8998_LDO2); in max8998_get_enable_register()
52 *shift = 7 - (ldo - MAX8998_LDO6); in max8998_get_enable_register()
56 *shift = 7 - (ldo - MAX8998_LDO14); in max8998_get_enable_register()
60 *shift = 7 - (ldo - MAX8998_BUCK1); in max8998_get_enable_register()
64 *shift = 7 - (ldo - MAX8998_EN32KHZ_AP); in max8998_get_enable_register()
68 *shift = 7 - (ldo - MAX8998_ESAFEOUT1); in max8998_get_enable_register()
133 int ldo = rdev_get_id(rdev); in max8998_get_voltage_register() local
137 switch (ldo) { in max8998_get_voltage_register()
[all …]
/linux-6.6.21/arch/parisc/kernel/
Dhpmc.S118 ldo 128(sp),sp /* leave room for arguments */
131 ldo 4(%r4),%r4
146 ldo PDC_PIM(%r0), arg0
147 ldo PDC_PIM_HPMC(%r0),arg1 /* Transfer HPMC data */
155 ldo R%PA(os_hpmc_2)(rp), rp
162 ldo PDC_IO(%r0),arg0
163 ldo 0(%r0),arg1 /* log IO errors */
164 ldo 0(%r0),arg2 /* reserved */
165 ldo 0(%r0),arg3 /* reserved */
170 ldo R%PA(os_hpmc_3)(rp),rp
[all …]
Dhead.S122 ldo (PxD_FLAG_PRESENT+PxD_FLAG_VALID)(%r3),%r3
124 ldo ASM_PMD_ENTRY*ASM_PMD_ENTRY_SIZE(%r5),%r4
127 ldo ASM_PGD_ENTRY*ASM_PGD_ENTRY_SIZE(%r4),%r4
133 ldo (PxD_FLAG_PRESENT+PxD_FLAG_VALID)(%r3),%r3
139 ldo (PAGE_SIZE >> PxD_VALUE_SHIFT)(%r3),%r3
142 ldo ASM_PMD_ENTRY_SIZE(%r4),%r4
144 ldo ASM_PGD_ENTRY_SIZE(%r4),%r4
150 ldo 0+_PAGE_KERNEL_RWX(%r0),%r3 /* Hardwired 0 phys addr start */
156 ldo (1<<PFN_PTE_SHIFT)(%r3),%r3 /* add one PFN */
248 ldo 2f-1b(%rp),%rp
[all …]
Dsyscall.S56 ldo TASK_PAGEFAULT_DISABLED(\reg2), \reg2
58 ldo 1(\reg1), \reg1
64 ldo TASK_PAGEFAULT_DISABLED(\reg2), \reg2
66 ldo -1(\reg1), \reg1
171 ldo FRAME_SIZE(%r30),%r30
216 ldo TASK_PT_FR0(%r1), %r27 /* save fpregs from the kernel */
225 ldo -16(%r30),%r29 /* Reference param save area */
248 ldo R%sys_call_table(%r1), %r19
250 ldo R%sys_call_table64(%r1), %r19
269 ldo R%syscall_exit(%r2),%r2
[all …]
Dentry.S108 ldo PT_SZ_ALGN(%r30),%r30
111 ldo TASK_REGS(%r9),%r9
125 ldo PT_SZ_ALGN(%r30),%r30
353 ldo R%PA(swapper_pg_dir)(\reg),\reg
803 ldo TASK_REGS(%r16),%r16
873 ldo -16(%r30),%r29 /* Reference param save area */
888 ldo PT_FR31(%r29),%r1
932 ldo -16(%r30),%r29 /* Reference param save area */
942 ldo R%intr_check_sig(%r2), %r2
970 ldo R%intr_restore(%r2), %r2
[all …]
Dtoc_asm.S34 ldo PT_SZ_ALGN(%sp), %sp
41 ldo PT_FR0(%arg0),%r25
62 ldo -16(%sp),%r29
Dreal2.S49 ldo 2*REG_SZ(%sp), %sp /* room for a couple more saves */
97 ldo -2*REG_SZ(%sp), %sp
160 ldo 4(%r1), %r1
197 ldo 4(%r1), %r1
251 ldo -16(%sp), %r29 /* Reference param save area */
Dpacache.S55 ldo 4(%r1), %r1
167 ldo 4(%r1), %r1
338 ldo 128(%r26), %r26
367 ldo 64(%r26), %r26
420 ldo 128(%r25), %r25
429 ldo 128(%r26), %r26
473 ldo 64(%r25), %r25
476 ldo 64(%r26), %r26
598 ldo 128(%r29), %r29
601 ldo 128(%r28), %r28
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/regulator/
Dmediatek,mt6331-regulator.yaml15 buck-<name> and ldo-<name>.
29 "^ldo-v(avdd32aud|auxa32)$":
39 "^ldo-v(dig18|emc33|ibr|mc|mch|mipi|rtc|sram|usb10)$":
49 "^ldo-vcam(a|af|d|io)$":
59 "^ldo-vtcxo[12]$":
72 "^ldo-vgp[1234]$":
139 mt6331_vtcxo1_reg: ldo-vtcxo1 {
146 mt6331_vtcxo2_reg: ldo-vtcxo2 {
153 mt6331_avdd32_aud_reg: ldo-avdd32aud {
158 mt6331_vauxa32_reg: ldo-vauxa32 {
[all …]
Dmediatek,mt6357-regulator.yaml18 - ldo-<name>.
34 "^ldo-v(camio18|aud28|aux18|io18|io28|rf12|rf18|cn18|cn28|fe28)$":
46 "^ldo-v(efuse|ibr|ldo28|mch|cama|camd|cn33-bt|cn33-wifi)$":
58 "^ldo-v(xo22|emc|mc|sim1|sim2|sram-others|sram-proc|dram|usb33)$":
114 mt6357_vfe28_reg: ldo-vfe28 {
121 mt6357_vxo22_reg: ldo-vxo22 {
127 mt6357_vrf18_reg: ldo-vrf18 {
134 mt6357_vrf12_reg: ldo-vrf12 {
141 mt6357_vefuse_reg: ldo-vefuse {
147 mt6357_vcn33_bt_reg: ldo-vcn33-bt {
[all …]
Dmt6380-regulator.txt5 to its regulator type, buck-<name> and ldo-<name>. The definition for each
13 ldo-vm ,ldo-va , ldo-vphy, ldo-vddr, ldo-vt
45 mt6380_vm_reg: ldo-vm {
54 mt6380_va_reg: ldo-va {
63 mt6380_vphy_reg: ldo-vphy {
72 mt6380_vddr_reg: ldo-vddr {
81 mt6380_vt_reg: ldo-vt {
Dmediatek,mt6332-regulator.yaml15 buck-<name> and ldo-<name>.
29 "^ldo-v(bif28|dig18|sram|usb33)$":
83 mt6332_vauxb32_reg: ldo-vauxb32 {
88 mt6332_vbif28_reg: ldo-vbif28 {
93 mt6332_vdig18_reg: ldo-vdig18 {
99 mt6332_vsram_reg: ldo-vsram {
105 mt6332_vusb33_reg: ldo-vusb33 {
Drichtek,rt5190a-regulator.yaml41 description: phandle to ldo input voltage
57 "^buck[1-4]$|^ldo$":
61 regulator description for buck1 to buck4, and ldo.
133 ldo {
134 regulator-name = "rt5190a-ldo";
Das3722-regulator.txt8 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].
/linux-6.6.21/arch/arm64/boot/dts/mediatek/
Dmt6357.dtsi57 mt6357_vfe28_reg: ldo-vfe28 {
65 mt6357_vxo22_reg: ldo-vxo22 {
72 mt6357_vrf18_reg: ldo-vrf18 {
80 mt6357_vrf12_reg: ldo-vrf12 {
88 mt6357_vefuse_reg: ldo-vefuse {
95 mt6357_vcn33_bt_reg: ldo-vcn33-bt {
102 mt6357_vcn33_wifi_reg: ldo-vcn33-wifi {
109 mt6357_vcn28_reg: ldo-vcn28 {
117 mt6357_vcn18_reg: ldo-vcn18 {
125 mt6357_vcama_reg: ldo-vcama {
[all …]
Dmt6331.dtsi77 mt6331_vtcxo1_reg: ldo-vtcxo1 {
86 mt6331_vtcxo2_reg: ldo-vtcxo2 {
95 mt6331_avdd32_aud_reg: ldo-avdd32aud {
104 mt6331_vauxa32_reg: ldo-vauxa32 {
111 mt6331_vcama_reg: ldo-vcama {
118 mt6331_vio28_reg: ldo-vio28 {
127 mt6331_vcamaf_reg: ldo-vcamaf {
134 mt6331_vmc_reg: ldo-vmc {
141 mt6331_vmch_reg: ldo-vmch {
148 mt6331_vemc33_reg: ldo-vemc33 {
[all …]
Dmt6380.dtsi41 mt6380_vm_reg: ldo-vm {
50 mt6380_va_reg: ldo-va {
59 mt6380_vphy_reg: ldo-vphy {
68 mt6380_vddr_reg: ldo-vddr {
77 mt6380_vt_reg: ldo-vt {
/linux-6.6.21/arch/parisc/lib/
Dlusercopy.S48 ldo 1(%r25),%r25
134 ldo -1(len),len
146 ldo 16(src),src
151 ldo 16(src),src
165 ldo -32(len),len
172 ldo -4(len),len
186 ldo -1(len),len
201 ldo 16(src),src
215 ldo -16(len),len
221 ldo 1(src),src
[all …]
/linux-6.6.21/arch/arm64/boot/dts/allwinner/
Daxp803.dtsi116 reg_ldo_io0: ldo-io0 {
117 regulator-name = "ldo-io0";
121 reg_ldo_io1: ldo-io1 {
122 regulator-name = "ldo-io1";
126 reg_rtc_ldo: rtc-ldo {
131 regulator-name = "rtc-ldo";
/linux-6.6.21/Documentation/devicetree/bindings/mfd/
Dactions,atc260x.yaml49 * ATC2603C: dcdc[1-3], ldo[1-3,5-8,11,12], switchldo1
50 * ATC2609A: dcdc[0-4], ldo[0-9]
74 "^(dcdc[0-4]|ldo[0-9]|ldo1[1-2]|switchldo1)-supply$":
77 "^(dcdc[0-4]|ldo[0-9]|ldo1[1-2])$":
99 "^(dcdc[0,4]|ldo[0,4,9])(-supply)?$": false
101 "^(ldo|dcdc)":
113 "^(dcdc|ldo[3-9])":

12345