Home
last modified time | relevance | path

Searched refs:vreg (Results 1 – 7 of 7) sorted by relevance

/arch/arm/mach-msm/
Dvreg.c28 struct vreg { struct
38 static struct vreg vregs[] = { argument
89 struct vreg *vreg_get(struct device *dev, const char *id) in vreg_get()
99 void vreg_put(struct vreg *vreg) in vreg_put() argument
103 int vreg_enable(struct vreg *vreg) in vreg_enable() argument
105 unsigned id = vreg->id; in vreg_enable()
108 if (vreg->refcnt == 0) in vreg_enable()
109 vreg->status = msm_proc_comm(PCOM_VREG_SWITCH, &id, &enable); in vreg_enable()
111 if ((vreg->refcnt < UINT_MAX) && (!vreg->status)) in vreg_enable()
112 vreg->refcnt++; in vreg_enable()
[all …]
Dboard-trout-panel.c175 static struct vreg *vreg_mddi_1v5;
176 static struct vreg *vreg_lcm_2v85;
DMakefile12 obj-$(CONFIG_MSM_PROC_COMM) += proc_comm.o clock-pcom.o vreg.o
Dboard-qsd8x50.c110 static struct vreg *vreg_mmc;
Dboard-trout-mmc.c71 static struct vreg *vreg_sdslot; /* SD slot power */
/arch/arm/mach-msm/include/mach/
Dvreg.h20 struct vreg;
22 struct vreg *vreg_get(struct device *dev, const char *id);
23 void vreg_put(struct vreg *vreg);
25 int vreg_enable(struct vreg *vreg);
26 int vreg_disable(struct vreg *vreg);
27 int vreg_set_level(struct vreg *vreg, unsigned mv);
/arch/powerpc/boot/
Dcpm-serial.c200 void *vreg[2]; in cpm_console_init() local
232 if (dt_get_virtual_reg(devp, vreg, 2) < 2) in cpm_console_init()
236 smc = vreg[0]; in cpm_console_init()
238 scc = vreg[0]; in cpm_console_init()
240 param = vreg[1]; in cpm_console_init()