Lines Matching refs:transceiver
40 static struct usb_phy *transceiver; variable
221 return (transceiver->last_event == USB_EVENT_VBUS || in otg_is_usb_online()
222 transceiver->last_event == USB_EVENT_ENUMERATED); in otg_is_usb_online()
227 return (transceiver->last_event == USB_EVENT_CHARGER); in otg_is_ac_online()
318 transceiver = usb_get_phy(USB_PHY_TYPE_USB2); in pda_power_probe()
319 if (!IS_ERR_OR_NULL(transceiver)) { in pda_power_probe()
375 if (!IS_ERR_OR_NULL(transceiver) && pdata->use_otg_notifier) { in pda_power_probe()
377 ret = usb_register_notifier(transceiver, &otg_nb); in pda_power_probe()
410 if (!IS_ERR_OR_NULL(transceiver)) in pda_power_probe()
411 usb_put_phy(transceiver); in pda_power_probe()
445 if (!IS_ERR_OR_NULL(transceiver)) in pda_power_remove()
446 usb_put_phy(transceiver); in pda_power_remove()