Lines Matching defs:motg

75 static int msm_hsusb_init_vddcx(struct msm_otg *motg, int init)  in msm_hsusb_init_vddcx()
104 static int msm_hsusb_ldo_init(struct msm_otg *motg, int init) in msm_hsusb_ldo_init()
142 static int msm_hsusb_ldo_set_mode(struct msm_otg *motg, int on) in msm_hsusb_ldo_set_mode()
173 struct msm_otg *motg = container_of(phy, struct msm_otg, phy); in ulpi_read() local
198 struct msm_otg *motg = container_of(phy, struct msm_otg, phy); in ulpi_write() local
226 static void ulpi_init(struct msm_otg *motg) in ulpi_init()
245 struct msm_otg *motg = container_of(phy, struct msm_otg, phy); in msm_phy_notify_disconnect() local
265 static int msm_otg_link_clk_reset(struct msm_otg *motg, bool assert) in msm_otg_link_clk_reset()
281 static int msm_otg_phy_clk_reset(struct msm_otg *motg) in msm_otg_phy_clk_reset()
294 static int msm_link_reset(struct msm_otg *motg) in msm_link_reset()
322 struct msm_otg *motg = container_of(phy, struct msm_otg, phy); in msm_otg_reset() local
346 static void msm_phy_reset(struct msm_otg *motg) in msm_phy_reset()
375 struct msm_otg *motg = container_of(phy, struct msm_otg, phy); in msm_usb_reset() local
406 struct msm_otg *motg = container_of(phy, struct msm_otg, phy); in msm_phy_init() local
462 static int msm_hsusb_config_vddcx(struct msm_otg *motg, int high) in msm_hsusb_config_vddcx()
484 static int msm_otg_suspend(struct msm_otg *motg) in msm_otg_suspend()
581 static int msm_otg_resume(struct msm_otg *motg) in msm_otg_resume()
659 static void msm_otg_notify_charger(struct msm_otg *motg, unsigned mA) in msm_otg_notify_charger()
671 struct msm_otg *motg = container_of(phy, struct msm_otg, phy); in msm_otg_set_power() local
688 struct msm_otg *motg = container_of(phy, struct msm_otg, phy); in msm_otg_start_host() local
728 struct msm_otg *motg = container_of(otg->usb_phy, struct msm_otg, phy); in msm_otg_set_host() local
774 struct msm_otg *motg = container_of(phy, struct msm_otg, phy); in msm_otg_start_peripheral() local
802 struct msm_otg *motg = container_of(otg->usb_phy, struct msm_otg, phy); in msm_otg_set_peripheral() local
842 static bool msm_chg_check_secondary_det(struct msm_otg *motg) in msm_chg_check_secondary_det()
863 static void msm_chg_enable_secondary_det(struct msm_otg *motg) in msm_chg_enable_secondary_det()
903 static bool msm_chg_check_primary_det(struct msm_otg *motg) in msm_chg_check_primary_det()
924 static void msm_chg_enable_primary_det(struct msm_otg *motg) in msm_chg_enable_primary_det()
949 static bool msm_chg_check_dcd(struct msm_otg *motg) in msm_chg_check_dcd()
970 static void msm_chg_disable_dcd(struct msm_otg *motg) in msm_chg_disable_dcd()
989 static void msm_chg_enable_dcd(struct msm_otg *motg) in msm_chg_enable_dcd()
1010 static void msm_chg_block_on(struct msm_otg *motg) in msm_chg_block_on()
1045 static void msm_chg_block_off(struct msm_otg *motg) in msm_chg_block_off()
1081 struct msm_otg *motg = container_of(w, struct msm_otg, chg_work.work); in msm_chg_detect_work() local
1149 static void msm_otg_init_sm(struct msm_otg *motg) in msm_otg_init_sm()
1188 struct msm_otg *motg = container_of(w, struct msm_otg, sm_work); in msm_otg_sm_work() local
1285 struct msm_otg *motg = data; in msm_otg_irq() local
1323 struct msm_otg *motg = s->private; in msm_otg_mode_show() local
1350 struct msm_otg *motg = s->private; in msm_otg_mode_write() local
1428 static int msm_otg_debugfs_init(struct msm_otg *motg) in msm_otg_debugfs_init()
1469 struct msm_otg *motg = container_of(vbus, struct msm_otg, vbus); in msm_otg_vbus_notifier() local
1493 struct msm_otg *motg = container_of(id, struct msm_otg, id); in msm_otg_id_notifier() local
1505 static int msm_otg_read_dt(struct platform_device *pdev, struct msm_otg *motg) in msm_otg_read_dt()
1640 struct msm_otg *motg = container_of(this, struct msm_otg, reboot); in msm_otg_reboot_notify() local
1657 struct msm_otg *motg; in msm_otg_probe() local
1853 struct msm_otg *motg = platform_get_drvdata(pdev); in msm_otg_remove() local
1913 struct msm_otg *motg = dev_get_drvdata(dev); in msm_otg_runtime_idle() local
1932 struct msm_otg *motg = dev_get_drvdata(dev); in msm_otg_runtime_suspend() local
1940 struct msm_otg *motg = dev_get_drvdata(dev); in msm_otg_runtime_resume() local
1950 struct msm_otg *motg = dev_get_drvdata(dev); in msm_otg_pm_suspend() local
1958 struct msm_otg *motg = dev_get_drvdata(dev); in msm_otg_pm_resume() local