Lines Matching refs:transceiver
1485 put_on &= ((udc->vbus_sensed) || (IS_ERR_OR_NULL(udc->transceiver))); in should_enable_udc()
1506 put_off |= ((!udc->vbus_sensed) && (!IS_ERR_OR_NULL(udc->transceiver))); in should_disable_udc()
1575 if (!IS_ERR_OR_NULL(udc->transceiver)) in pxa_udc_vbus_draw()
1576 return usb_phy_set_power(udc->transceiver, mA); in pxa_udc_vbus_draw()
1755 if (!IS_ERR_OR_NULL(udc->transceiver)) { in pxa27x_udc_start()
1756 retval = otg_set_peripheral(udc->transceiver->otg, in pxa27x_udc_start()
1805 if (!IS_ERR_OR_NULL(udc->transceiver)) in pxa27x_udc_stop()
1806 return otg_set_peripheral(udc->transceiver->otg, NULL); in pxa27x_udc_stop()
2386 udc->transceiver = in pxa_udc_probe()
2388 if (IS_ERR(udc->transceiver)) in pxa_udc_probe()
2389 return PTR_ERR(udc->transceiver); in pxa_udc_probe()
2391 udc->transceiver = usb_get_phy(USB_PHY_TYPE_USB2); in pxa_udc_probe()
2425 if (!IS_ERR_OR_NULL(udc->transceiver)) in pxa_udc_probe()
2426 usb_register_notifier(udc->transceiver, &pxa27x_udc_phy); in pxa_udc_probe()
2437 if (!IS_ERR_OR_NULL(udc->transceiver)) in pxa_udc_probe()
2438 usb_unregister_notifier(udc->transceiver, &pxa27x_udc_phy); in pxa_udc_probe()
2455 if (!IS_ERR_OR_NULL(udc->transceiver)) { in pxa_udc_remove()
2456 usb_unregister_notifier(udc->transceiver, &pxa27x_udc_phy); in pxa_udc_remove()
2457 usb_put_phy(udc->transceiver); in pxa_udc_remove()
2460 udc->transceiver = NULL; in pxa_udc_remove()