/drivers/power/ |
D | pda_power.c | 39 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() 319 transceiver = usb_get_phy(USB_PHY_TYPE_USB2); in pda_power_probe() 320 if (!IS_ERR_OR_NULL(transceiver)) { in pda_power_probe() 371 if (!IS_ERR_OR_NULL(transceiver) && pdata->use_otg_notifier) { in pda_power_probe() 373 ret = usb_register_notifier(transceiver, &otg_nb); in pda_power_probe() 406 if (!IS_ERR_OR_NULL(transceiver)) in pda_power_probe() 407 usb_put_phy(transceiver); in pda_power_probe() [all …]
|
D | twl4030_charger.c | 92 struct usb_phy *transceiver; member 632 bci->transceiver = usb_get_phy(USB_PHY_TYPE_USB2); in twl4030_bci_probe() 633 if (!IS_ERR_OR_NULL(bci->transceiver)) { in twl4030_bci_probe() 635 usb_register_notifier(bci->transceiver, &bci->usb_nb); in twl4030_bci_probe() 665 if (!IS_ERR_OR_NULL(bci->transceiver)) { in twl4030_bci_probe() 666 usb_unregister_notifier(bci->transceiver, &bci->usb_nb); in twl4030_bci_probe() 667 usb_put_phy(bci->transceiver); in twl4030_bci_probe() 697 if (!IS_ERR_OR_NULL(bci->transceiver)) { in twl4030_bci_remove() 698 usb_unregister_notifier(bci->transceiver, &bci->usb_nb); in twl4030_bci_remove() 699 usb_put_phy(bci->transceiver); in twl4030_bci_remove()
|
/drivers/usb/phy/ |
D | Kconfig | 25 Enable this to support the USB OTG transceiver in AB8500 chip. 26 This transceiver supports high and full speed devices plus, 35 Enable this to support Freescale USB OTG transceiver. 44 USB-On-The-Go transceiver working with the OMAP OTG controller. 45 The ISP1301 is a full speed USB transceiver which is used in 65 This driver is to be used by all the usb transceiver which are either 93 Enable this to support the USB OTG transceiver on TWL6030 94 family chips. This TWL6030 transceiver has the VBUS and ID GND 95 and OTG SRP events capabilities. For all other transceiver functionality 101 tristate "GPIO based peripheral-only VBUS sensing 'transceiver'" [all …]
|
/drivers/usb/chipidea/ |
D | core.c | 315 ret = usb_phy_init(ci->transceiver); in ci_usb_phy_init() 323 ret = usb_phy_init(ci->transceiver); in ci_usb_phy_init() 328 ret = usb_phy_init(ci->transceiver); in ci_usb_phy_init() 610 ci->transceiver = ci->platdata->phy; in ci_hdrc_probe() 612 ci->transceiver = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2); in ci_hdrc_probe() 614 if (IS_ERR(ci->transceiver)) { in ci_hdrc_probe() 615 ret = PTR_ERR(ci->transceiver); in ci_hdrc_probe() 732 usb_phy_shutdown(ci->transceiver); in ci_hdrc_probe() 745 usb_phy_shutdown(ci->transceiver); in ci_hdrc_remove()
|
D | otg_fsm.c | 331 if (ci->transceiver->state == OTG_STATE_B_IDLE) in b_ssend_srp_tmout_func() 581 ci->transceiver->state < OTG_STATE_A_IDLE) in ci_otg_fsm_work() 585 if (ci->transceiver->state == OTG_STATE_A_IDLE) { in ci_otg_fsm_work() 599 } else if (ci->transceiver->state == OTG_STATE_B_IDLE) { in ci_otg_fsm_work() 626 switch (ci->transceiver->state) { in ci_otg_fsm_event() 787 otg->phy = ci->transceiver; in ci_hdrc_otg_fsm_init() 790 ci->transceiver->otg = ci->fsm.otg; in ci_hdrc_otg_fsm_init() 793 ci->transceiver->state = OTG_STATE_UNDEFINED; in ci_hdrc_otg_fsm_init()
|
D | ci_hdrc_msm.c | 29 usb_phy_init(ci->transceiver); in ci_hdrc_msm_notify_event() 37 usb_phy_notify_disconnect(ci->transceiver, USB_SPEED_UNKNOWN); in ci_hdrc_msm_notify_event()
|
D | host.c | 62 hcd->usb_phy = ci->transceiver; in host_start() 89 struct usb_otg *otg = ci->transceiver->otg; in host_start()
|
D | ci.h | 204 struct usb_phy *transceiver; member
|
/drivers/net/ieee802154/ |
D | Kconfig | 35 tristate "AT86RF230/231/233/212 transceiver driver" 46 tristate "Microchip MRF24J40 transceiver driver" 58 tristate "CC2520 transceiver driver"
|
/drivers/phy/ |
D | Kconfig | 48 Enable this to support the miphy transceiver (for SATA/PCIE) 77 Enable this to support the transceiver that is part of SOC. This 100 Enable this to support the USB OTG transceiver on TWL4030 102 This transceiver supports high and full speed devices plus, 150 Enable this to support the transceiver that is part of Allwinner 256 Enable this to support the USB transceiver that is part of
|
/drivers/usb/gadget/udc/ |
D | s3c-hsudc.c | 148 struct usb_phy *transceiver; member 1164 if (!IS_ERR_OR_NULL(hsudc->transceiver)) { in s3c_hsudc_start() 1165 ret = otg_set_peripheral(hsudc->transceiver->otg, in s3c_hsudc_start() 1217 if (!IS_ERR_OR_NULL(hsudc->transceiver)) in s3c_hsudc_stop() 1218 (void) otg_set_peripheral(hsudc->transceiver->otg, NULL); in s3c_hsudc_stop() 1246 if (!IS_ERR_OR_NULL(hsudc->transceiver)) in s3c_hsudc_vbus_draw() 1247 return usb_phy_set_power(hsudc->transceiver, mA); in s3c_hsudc_vbus_draw() 1279 hsudc->transceiver = usb_get_phy(USB_PHY_TYPE_USB2); in s3c_hsudc_probe() 1348 if (!IS_ERR_OR_NULL(hsudc->transceiver)) in s3c_hsudc_probe() 1349 usb_put_phy(hsudc->transceiver); in s3c_hsudc_probe()
|
D | omap_udc.c | 1159 if (!IS_ERR_OR_NULL(udc->transceiver)) in omap_wakeup() 1160 retval = otg_start_srp(udc->transceiver->otg); in omap_wakeup() 1291 if (!IS_ERR_OR_NULL(udc->transceiver)) in omap_vbus_draw() 1292 return usb_phy_set_power(udc->transceiver, mA); in omap_vbus_draw() 1742 if (IS_ERR_OR_NULL(udc->transceiver)) in devstate_irq() 1747 if (IS_ERR_OR_NULL(udc->transceiver)) in devstate_irq() 1787 if (!IS_ERR_OR_NULL(udc->transceiver)) in devstate_irq() 1789 udc->transceiver, 1); in devstate_irq() 1792 if (!IS_ERR_OR_NULL(udc->transceiver)) in devstate_irq() 1794 udc->transceiver, 0); in devstate_irq() [all …]
|
D | pxa25x_udc.c | 994 if (!IS_ERR_OR_NULL(udc->transceiver)) in pxa25x_udc_vbus_draw() 995 return usb_phy_set_power(udc->transceiver, mA); in pxa25x_udc_vbus_draw() 1273 if (!IS_ERR_OR_NULL(dev->transceiver)) { in pxa25x_udc_start() 1274 retval = otg_set_peripheral(dev->transceiver->otg, in pxa25x_udc_start() 1325 if (!IS_ERR_OR_NULL(dev->transceiver)) in pxa25x_udc_stop() 1326 (void) otg_set_peripheral(dev->transceiver->otg, NULL); in pxa25x_udc_stop() 2121 dev->transceiver = devm_usb_get_phy(&pdev->dev, USB_PHY_TYPE_USB2); in pxa25x_udc_probe() 2185 if (!IS_ERR_OR_NULL(dev->transceiver)) in pxa25x_udc_probe() 2186 dev->transceiver = NULL; in pxa25x_udc_probe() 2208 if (!IS_ERR_OR_NULL(dev->transceiver)) in pxa25x_udc_remove() [all …]
|
D | pxa27x_udc.c | 1575 put_on &= ((udc->vbus_sensed) || (IS_ERR_OR_NULL(udc->transceiver))); in should_enable_udc() 1596 put_off |= ((!udc->vbus_sensed) && (!IS_ERR_OR_NULL(udc->transceiver))); in should_disable_udc() 1667 if (!IS_ERR_OR_NULL(udc->transceiver)) in pxa_udc_vbus_draw() 1668 return usb_phy_set_power(udc->transceiver, mA); in pxa_udc_vbus_draw() 1817 if (!IS_ERR_OR_NULL(udc->transceiver)) { in pxa27x_udc_start() 1818 retval = otg_set_peripheral(udc->transceiver->otg, in pxa27x_udc_start() 1873 if (!IS_ERR_OR_NULL(udc->transceiver)) in pxa27x_udc_stop() 1874 return otg_set_peripheral(udc->transceiver->otg, NULL); in pxa27x_udc_stop() 2429 udc->transceiver = usb_get_phy(USB_PHY_TYPE_USB2); in pxa_udc_probe() 2513 usb_put_phy(udc->transceiver); in pxa_udc_remove() [all …]
|
D | fsl_udc_core.c | 1209 if (!IS_ERR_OR_NULL(udc->transceiver)) in fsl_vbus_draw() 1210 return usb_phy_set_power(udc->transceiver, mA); in fsl_vbus_draw() 1950 if (!IS_ERR_OR_NULL(udc_controller->transceiver)) { in fsl_udc_start() 1956 if (!IS_ERR_OR_NULL(udc_controller->transceiver)) { in fsl_udc_start() 1958 udc_controller->transceiver->otg, in fsl_udc_start() 1984 if (!IS_ERR_OR_NULL(udc_controller->transceiver)) in fsl_udc_stop() 1985 otg_set_peripheral(udc_controller->transceiver->otg, NULL); in fsl_udc_stop() 2354 udc_controller->transceiver = usb_get_phy(USB_PHY_TYPE_USB2); in fsl_udc_probe() 2355 if (IS_ERR_OR_NULL(udc_controller->transceiver)) { in fsl_udc_probe() 2439 if (IS_ERR_OR_NULL(udc_controller->transceiver)) { in fsl_udc_probe() [all …]
|
D | mv_udc_core.c | 1353 if (udc->transceiver) { in mv_udc_start() 1354 retval = otg_set_peripheral(udc->transceiver->otg, in mv_udc_start() 2122 udc->transceiver = devm_usb_get_phy(&pdev->dev, in mv_udc_probe() 2124 if (IS_ERR(udc->transceiver)) { in mv_udc_probe() 2125 retval = PTR_ERR(udc->transceiver); in mv_udc_probe() 2130 udc->transceiver = NULL; in mv_udc_probe() 2262 if (udc->transceiver) in mv_udc_probe() 2328 if (udc->transceiver) in mv_udc_suspend() 2363 if (udc->transceiver) in mv_udc_resume()
|
D | omap_udc.h | 166 struct usb_phy *transceiver; member
|
D | pxa25x_udc.h | 121 struct usb_phy *transceiver; member
|
D | mv_udc.h | 220 struct usb_phy *transceiver; member
|
/drivers/net/can/spi/ |
D | mcp251x.c | 270 struct regulator *transceiver; member 688 mcp251x_power_enable(priv->transceiver, 0); in mcp251x_open_clean() 715 mcp251x_power_enable(priv->transceiver, 0); in mcp251x_stop() 947 mcp251x_power_enable(priv->transceiver, 1); in mcp251x_open() 957 mcp251x_power_enable(priv->transceiver, 0); in mcp251x_open() 1088 priv->transceiver = devm_regulator_get(&spi->dev, "xceiver"); in mcp251x_can_probe() 1090 (PTR_ERR(priv->transceiver) == -EPROBE_DEFER)) { in mcp251x_can_probe() 1204 mcp251x_power_enable(priv->transceiver, 0); in mcp251x_can_suspend() 1228 mcp251x_power_enable(priv->transceiver, 1); in mcp251x_can_resume()
|
/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_ethtool.c | 74 cmd->transceiver = XCVR_INTERNAL; in xgene_get_settings() 82 cmd->transceiver = XCVR_INTERNAL; in xgene_get_settings()
|
/drivers/net/ethernet/emulex/benet/ |
D | be_ethtool.c | 648 ecmd->transceiver = XCVR_INTERNAL; in be_get_settings() 651 ecmd->transceiver = XCVR_EXTERNAL; in be_get_settings() 657 ecmd->transceiver = XCVR_DUMMY1; in be_get_settings() 663 adapter->phy.transceiver = ecmd->transceiver; in be_get_settings() 670 ecmd->transceiver = adapter->phy.transceiver; in be_get_settings()
|
/drivers/net/ethernet/realtek/ |
D | Kconfig | 80 to match the transceiver to the cable characteristics. This is 89 RTL-8130 chips, which support MII via an external transceiver,
|
/drivers/net/ |
D | mii.c | 73 ecmd->transceiver = XCVR_INTERNAL; in mii_ethtool_gset() 157 if (ecmd->transceiver != XCVR_INTERNAL) in mii_ethtool_sset()
|
/drivers/net/ethernet/3com/ |
D | 3c509.c | 1052 ecmd->transceiver = XCVR_INTERNAL; in el3_netdev_get_ecmd() 1059 ecmd->transceiver = XCVR_EXTERNAL; in el3_netdev_get_ecmd() 1098 if ((ecmd->transceiver != XCVR_INTERNAL) && (ecmd->transceiver != XCVR_EXTERNAL)) in el3_netdev_set_ecmd()
|