Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/phy/
Dphy-msm-usb.c47 #define MSM_USB_BASE (motg->regs)
73 static int msm_hsusb_init_vddcx(struct msm_otg *motg, int init) in msm_hsusb_init_vddcx() argument
78 ret = regulator_set_voltage(motg->vddcx, in msm_hsusb_init_vddcx()
79 motg->vdd_levels[VDD_LEVEL_MIN], in msm_hsusb_init_vddcx()
80 motg->vdd_levels[VDD_LEVEL_MAX]); in msm_hsusb_init_vddcx()
82 dev_err(motg->phy.dev, "Cannot set vddcx voltage\n"); in msm_hsusb_init_vddcx()
86 ret = regulator_enable(motg->vddcx); in msm_hsusb_init_vddcx()
88 dev_err(motg->phy.dev, "unable to enable hsusb vddcx\n"); in msm_hsusb_init_vddcx()
90 ret = regulator_set_voltage(motg->vddcx, 0, in msm_hsusb_init_vddcx()
91 motg->vdd_levels[VDD_LEVEL_MAX]); in msm_hsusb_init_vddcx()
[all …]