Lines Matching refs:transceiver
1484 put_on &= ((udc->vbus_sensed) || (IS_ERR_OR_NULL(udc->transceiver))); in should_enable_udc()
1505 put_off |= ((!udc->vbus_sensed) && (!IS_ERR_OR_NULL(udc->transceiver))); in should_disable_udc()
1574 if (!IS_ERR_OR_NULL(udc->transceiver)) in pxa_udc_vbus_draw()
1575 return usb_phy_set_power(udc->transceiver, mA); in pxa_udc_vbus_draw()
1754 if (!IS_ERR_OR_NULL(udc->transceiver)) { in pxa27x_udc_start()
1755 retval = otg_set_peripheral(udc->transceiver->otg, in pxa27x_udc_start()
1804 if (!IS_ERR_OR_NULL(udc->transceiver)) in pxa27x_udc_stop()
1805 return otg_set_peripheral(udc->transceiver->otg, NULL); in pxa27x_udc_stop()
2385 udc->transceiver = in pxa_udc_probe()
2387 if (IS_ERR(udc->transceiver)) in pxa_udc_probe()
2388 return PTR_ERR(udc->transceiver); in pxa_udc_probe()
2390 udc->transceiver = usb_get_phy(USB_PHY_TYPE_USB2); in pxa_udc_probe()
2424 if (!IS_ERR_OR_NULL(udc->transceiver)) in pxa_udc_probe()
2425 usb_register_notifier(udc->transceiver, &pxa27x_udc_phy); in pxa_udc_probe()
2436 if (!IS_ERR_OR_NULL(udc->transceiver)) in pxa_udc_probe()
2437 usb_unregister_notifier(udc->transceiver, &pxa27x_udc_phy); in pxa_udc_probe()
2454 if (!IS_ERR_OR_NULL(udc->transceiver)) { in pxa_udc_remove()
2455 usb_unregister_notifier(udc->transceiver, &pxa27x_udc_phy); in pxa_udc_remove()
2456 usb_put_phy(udc->transceiver); in pxa_udc_remove()
2459 udc->transceiver = NULL; in pxa_udc_remove()