Searched refs:dev_role_sw (Results 1 – 1 of 1) sorted by relevance
44 struct usb_role_switch *dev_role_sw; member104 if (!hisi_hikey_usb || !hisi_hikey_usb->dev_role_sw) in relay_set_role_switch()127 sw = hisi_hikey_usb->dev_role_sw; in relay_set_role_switch()138 if (!hisi_hikey_usb || !hisi_hikey_usb->dev_role_sw) in hub_usb_role_switch_set()211 hisi_hikey_usb->dev_role_sw = usb_role_switch_get(dev); in hisi_hikey_usb_probe()212 if (!hisi_hikey_usb->dev_role_sw) in hisi_hikey_usb_probe()214 if (IS_ERR(hisi_hikey_usb->dev_role_sw)) in hisi_hikey_usb_probe()215 return PTR_ERR(hisi_hikey_usb->dev_role_sw); in hisi_hikey_usb_probe()228 usb_role_switch_put(hisi_hikey_usb->dev_role_sw); in hisi_hikey_usb_probe()244 if (hisi_hikey_usb->dev_role_sw) in hisi_hikey_usb_remove()[all …]