Lines Matching full:transceiver
40 static struct usb_phy *transceiver; variable
224 return (transceiver->last_event == USB_EVENT_VBUS || in otg_is_usb_online()
225 transceiver->last_event == USB_EVENT_ENUMERATED); in otg_is_usb_online()
230 return (transceiver->last_event == USB_EVENT_CHARGER); in otg_is_ac_online()
322 transceiver = usb_get_phy(USB_PHY_TYPE_USB2); in pda_power_probe()
323 if (!IS_ERR_OR_NULL(transceiver)) { in pda_power_probe()
379 if (!IS_ERR_OR_NULL(transceiver) && pdata->use_otg_notifier) { in pda_power_probe()
381 ret = usb_register_notifier(transceiver, &otg_nb); in pda_power_probe()
415 if (!IS_ERR_OR_NULL(transceiver)) in pda_power_probe()
416 usb_put_phy(transceiver); in pda_power_probe()
450 if (!IS_ERR_OR_NULL(transceiver)) in pda_power_remove()
451 usb_put_phy(transceiver); in pda_power_remove()