Searched refs:otg_sx (Results 1 - 4 of 4) sorted by path

/linux-master/drivers/usb/mtu3/
H A Dmtu3_debugfs.c479 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; local
482 regulator_is_enabled(otg_sx->vbus) ? "on" : "off");
497 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; local
509 ssusb_set_vbus(otg_sx, enable);
H A Dmtu3_dr.c17 static inline struct ssusb_mtk *otg_sx_to_ssusb(struct otg_switch_mtk *otg_sx) argument
19 return container_of(otg_sx, struct ssusb_mtk, otg_switch);
102 int ssusb_set_vbus(struct otg_switch_mtk *otg_sx, int is_on) argument
104 struct ssusb_mtk *ssusb = otg_sx_to_ssusb(otg_sx);
105 struct regulator *vbus = otg_sx->vbus;
129 struct otg_switch_mtk *otg_sx = local
131 struct ssusb_mtk *ssusb = otg_sx_to_ssusb(otg_sx);
133 enum usb_role desired_role = otg_sx->desired_role;
141 if (otg_sx->default_role == USB_ROLE_DEVICE)
157 ssusb_set_vbus(otg_sx,
174 ssusb_set_mode(struct otg_switch_mtk *otg_sx, enum usb_role role) argument
188 struct otg_switch_mtk *otg_sx = local
196 ssusb_extcon_register(struct otg_switch_mtk *otg_sx) argument
232 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; local
263 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; local
277 ssusb_role_sw_register(struct otg_switch_mtk *otg_sx) argument
309 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; local
326 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; local
[all...]
H A Dmtu3_dr.h97 int ssusb_set_vbus(struct otg_switch_mtk *otg_sx, int is_on);
114 static inline int ssusb_set_vbus(struct otg_switch_mtk *otg_sx, int is_on) argument
H A Dmtu3_plat.c195 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; local
202 otg_sx->is_u3_drd = false;
212 otg_sx->is_u3_drd = !!(dev_u3p_num && host_u3p_num);
215 dev_info(ssusb->dev, "usb3-drd: %d\n", otg_sx->is_u3_drd);
221 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; local
290 otg_sx->vbus = devm_regulator_get(dev, "vbus");
291 if (IS_ERR(otg_sx->vbus)) {
293 return PTR_ERR(otg_sx->vbus);
300 otg_sx->manual_drd_enabled =
302 otg_sx
[all...]

Completed in 229 milliseconds