Searched refs:vreg (Results 1 – 7 of 7) sorted by relevance
28 struct vreg { struct38 static struct vreg vregs[] = { argument89 struct vreg *vreg_get(struct device *dev, const char *id) in vreg_get()99 void vreg_put(struct vreg *vreg) in vreg_put() argument103 int vreg_enable(struct vreg *vreg) in vreg_enable() argument105 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 …]
175 static struct vreg *vreg_mddi_1v5;176 static struct vreg *vreg_lcm_2v85;
12 obj-$(CONFIG_MSM_PROC_COMM) += proc_comm.o clock-pcom.o vreg.o
110 static struct vreg *vreg_mmc;
71 static struct vreg *vreg_sdslot; /* SD slot power */
20 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);
200 void *vreg[2]; in cpm_console_init() local232 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()