Lines Matching refs:transceiver
37 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()
319 transceiver = usb_get_phy(USB_PHY_TYPE_USB2); in pda_power_probe()
320 if (!IS_ERR_OR_NULL(transceiver)) { in pda_power_probe()
376 if (!IS_ERR_OR_NULL(transceiver) && pdata->use_otg_notifier) { in pda_power_probe()
378 ret = usb_register_notifier(transceiver, &otg_nb); in pda_power_probe()
412 if (!IS_ERR_OR_NULL(transceiver)) in pda_power_probe()
413 usb_put_phy(transceiver); in pda_power_probe()
433 if (!IS_ERR_OR_NULL(transceiver) && pdata->use_otg_notifier) in pda_power_remove()
434 usb_unregister_notifier(transceiver, &otg_nb); in pda_power_remove()
451 if (!IS_ERR_OR_NULL(transceiver)) in pda_power_remove()
452 usb_put_phy(transceiver); in pda_power_remove()