Lines Matching defs:motg
73 static int msm_hsusb_init_vddcx(struct msm_otg *motg, int init) in msm_hsusb_init_vddcx()
102 static int msm_hsusb_ldo_init(struct msm_otg *motg, int init) in msm_hsusb_ldo_init()
140 static int msm_hsusb_ldo_set_mode(struct msm_otg *motg, int on) in msm_hsusb_ldo_set_mode()
171 struct msm_otg *motg = container_of(phy, struct msm_otg, phy); in ulpi_read() local
196 struct msm_otg *motg = container_of(phy, struct msm_otg, phy); in ulpi_write() local
224 static void ulpi_init(struct msm_otg *motg) in ulpi_init()
257 static int msm_otg_link_clk_reset(struct msm_otg *motg, bool assert) in msm_otg_link_clk_reset()
273 static int msm_otg_phy_clk_reset(struct msm_otg *motg) in msm_otg_phy_clk_reset()
286 static int msm_link_reset(struct msm_otg *motg) in msm_link_reset()
314 struct msm_otg *motg = container_of(phy, struct msm_otg, phy); in msm_otg_reset() local
338 static void msm_phy_reset(struct msm_otg *motg) in msm_phy_reset()
367 struct msm_otg *motg = container_of(phy, struct msm_otg, phy); in msm_usb_reset() local
398 struct msm_otg *motg = container_of(phy, struct msm_otg, phy); in msm_phy_init() local
436 static int msm_hsusb_config_vddcx(struct msm_otg *motg, int high) in msm_hsusb_config_vddcx()
458 static int msm_otg_suspend(struct msm_otg *motg) in msm_otg_suspend()
555 static int msm_otg_resume(struct msm_otg *motg) in msm_otg_resume()
633 static void msm_otg_notify_charger(struct msm_otg *motg, unsigned mA) in msm_otg_notify_charger()
645 struct msm_otg *motg = container_of(phy, struct msm_otg, phy); in msm_otg_set_power() local
662 struct msm_otg *motg = container_of(phy, struct msm_otg, phy); in msm_otg_start_host() local
702 struct msm_otg *motg = container_of(otg->usb_phy, struct msm_otg, phy); in msm_otg_set_host() local
748 struct msm_otg *motg = container_of(phy, struct msm_otg, phy); in msm_otg_start_peripheral() local
776 struct msm_otg *motg = container_of(otg->usb_phy, struct msm_otg, phy); in msm_otg_set_peripheral() local
816 static bool msm_chg_check_secondary_det(struct msm_otg *motg) in msm_chg_check_secondary_det()
837 static void msm_chg_enable_secondary_det(struct msm_otg *motg) in msm_chg_enable_secondary_det()
877 static bool msm_chg_check_primary_det(struct msm_otg *motg) in msm_chg_check_primary_det()
898 static void msm_chg_enable_primary_det(struct msm_otg *motg) in msm_chg_enable_primary_det()
923 static bool msm_chg_check_dcd(struct msm_otg *motg) in msm_chg_check_dcd()
944 static void msm_chg_disable_dcd(struct msm_otg *motg) in msm_chg_disable_dcd()
963 static void msm_chg_enable_dcd(struct msm_otg *motg) in msm_chg_enable_dcd()
984 static void msm_chg_block_on(struct msm_otg *motg) in msm_chg_block_on()
1019 static void msm_chg_block_off(struct msm_otg *motg) in msm_chg_block_off()
1055 struct msm_otg *motg = container_of(w, struct msm_otg, chg_work.work); in msm_chg_detect_work() local
1123 static void msm_otg_init_sm(struct msm_otg *motg) in msm_otg_init_sm()
1162 struct msm_otg *motg = container_of(w, struct msm_otg, sm_work); in msm_otg_sm_work() local
1259 struct msm_otg *motg = data; in msm_otg_irq() local
1297 struct msm_otg *motg = s->private; in msm_otg_mode_show() local
1324 struct msm_otg *motg = s->private; in msm_otg_mode_write() local
1402 static int msm_otg_debugfs_init(struct msm_otg *motg) in msm_otg_debugfs_init()
1439 static int msm_otg_read_dt(struct platform_device *pdev, struct msm_otg *motg) in msm_otg_read_dt()
1520 struct msm_otg *motg; in msm_otg_probe() local
1696 struct msm_otg *motg = platform_get_drvdata(pdev); in msm_otg_remove() local
1745 struct msm_otg *motg = dev_get_drvdata(dev); in msm_otg_runtime_idle() local
1764 struct msm_otg *motg = dev_get_drvdata(dev); in msm_otg_runtime_suspend() local
1772 struct msm_otg *motg = dev_get_drvdata(dev); in msm_otg_runtime_resume() local
1782 struct msm_otg *motg = dev_get_drvdata(dev); in msm_otg_pm_suspend() local
1790 struct msm_otg *motg = dev_get_drvdata(dev); in msm_otg_pm_resume() local