Searched refs:motg (Results 1 – 1 of 1) sorted by relevance
49 #define MSM_USB_BASE (motg->regs)75 static int msm_hsusb_init_vddcx(struct msm_otg *motg, int init) in msm_hsusb_init_vddcx() argument80 ret = regulator_set_voltage(motg->vddcx, in msm_hsusb_init_vddcx()81 motg->vdd_levels[VDD_LEVEL_MIN], in msm_hsusb_init_vddcx()82 motg->vdd_levels[VDD_LEVEL_MAX]); in msm_hsusb_init_vddcx()84 dev_err(motg->phy.dev, "Cannot set vddcx voltage\n"); in msm_hsusb_init_vddcx()88 ret = regulator_enable(motg->vddcx); in msm_hsusb_init_vddcx()90 dev_err(motg->phy.dev, "unable to enable hsusb vddcx\n"); in msm_hsusb_init_vddcx()92 ret = regulator_set_voltage(motg->vddcx, 0, in msm_hsusb_init_vddcx()93 motg->vdd_levels[VDD_LEVEL_MAX]); in msm_hsusb_init_vddcx()[all …]