/linux-master/drivers/net/ethernet/sunplus/ |
H A D | spl2sw_phy.c | 68 0, mac->phy_mode);
|
H A D | spl2sw_driver.c | 326 phy_interface_t phy_mode; local 427 if (of_get_phy_mode(port_np, &phy_mode)) { 459 mac->phy_mode = phy_mode;
|
/linux-master/include/linux/usb/ |
H A D | chipidea.h | 41 enum usb_phy_interface phy_mode; member in struct:ci_hdrc_platform_data
|
/linux-master/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_enet.h | 58 int phy_mode; member in struct:hns_nic_priv
|
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | falcon_boards.c | 313 if (efx->phy_mode & PHY_MODE_SPECIAL) 333 if (efx->phy_mode & PHY_MODE_SPECIAL) { 361 return sprintf(buf, "%d\n", !!(efx->phy_mode & PHY_MODE_SPECIAL)); 373 old_mode = efx->phy_mode; 385 efx->phy_mode = new_mode; 437 efx->phy_mode = PHY_MODE_OFF; 477 if (efx->phy_mode & PHY_MODE_SPECIAL) {
|
H A D | selftest.c | 705 int phy_mode = efx->phy_mode; local 759 efx->phy_mode &= ~PHY_MODE_LOW_POWER; 774 efx->phy_mode = phy_mode;
|
/linux-master/drivers/usb/host/ |
H A D | ehci-fsl.c | 122 pdata->phy_mode == FSL_USB2_PHY_ULPI) 192 enum fsl_usb2_phy_modes phy_mode, 209 switch (phy_mode) { 285 if (phy_mode != FSL_USB2_PHY_ULPI && pdata->have_sysif_regs) { 327 if (ehci_fsl_setup_phy(hcd, pdata->phy_mode, 0)) 337 if (ehci_fsl_setup_phy(hcd, pdata->phy_mode, 0)) 341 if (ehci_fsl_setup_phy(hcd, pdata->phy_mode, 1)) 191 ehci_fsl_setup_phy(struct usb_hcd *hcd, enum fsl_usb2_phy_modes phy_mode, unsigned int port_offset) argument
|
/linux-master/drivers/net/ethernet/apm/xgene-v2/ |
H A D | main.c | 18 int phy_mode, ret = 0; local 44 phy_mode = device_get_phy_mode(dev); 45 if (phy_mode < 0) { 47 return phy_mode; 49 pdata->resources.phy_mode = phy_mode; 51 if (pdata->resources.phy_mode != PHY_INTERFACE_MODE_RGMII) {
|
/linux-master/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_main.c | 1278 switch (p->phy_mode) { 1626 if (phy_interface_mode_is_rgmii(pdata->phy_mode)) 1628 else if (pdata->phy_mode == PHY_INTERFACE_MODE_SGMII) 1636 if (pdata->phy_mode == PHY_INTERFACE_MODE_XGMII) { 1655 if (pdata->phy_mode == PHY_INTERFACE_MODE_XGMII) 1671 if (pdata->phy_mode != PHY_INTERFACE_MODE_XGMII || 1743 pdata->phy_mode = device_get_phy_mode(dev); 1744 if (pdata->phy_mode < 0) { 1746 return pdata->phy_mode; 1748 if (!phy_interface_mode_is_rgmii(pdata->phy_mode) [all...] |
/linux-master/drivers/net/ethernet/socionext/ |
H A D | sni_ave.c | 260 phy_interface_t phy_mode; member in struct:ave_private 294 phy_interface_t phy_mode, u32 arg); 862 if (!phy_interface_mode_is_rgmii(priv->phy_mode)) 1561 phy_interface_t phy_mode; local 1576 ret = of_get_phy_mode(np, &phy_mode); 1618 priv->phy_mode = phy_mode; 1675 ret = priv->data->get_pinmode(priv, phy_mode, args.args[0]); 1711 buf, priv->irq, phy_modes(phy_mode)); 1783 phy_interface_t phy_mode, u3 1782 ave_pro4_get_pinmode(struct ave_private *priv, phy_interface_t phy_mode, u32 arg) argument 1808 ave_ld11_get_pinmode(struct ave_private *priv, phy_interface_t phy_mode, u32 arg) argument 1830 ave_ld20_get_pinmode(struct ave_private *priv, phy_interface_t phy_mode, u32 arg) argument 1855 ave_pxs3_get_pinmode(struct ave_private *priv, phy_interface_t phy_mode, u32 arg) argument [all...] |
/linux-master/drivers/usb/musb/ |
H A D | da8xx.c | 329 enum phy_mode phy_mode; local 340 phy_mode = PHY_MODE_USB_HOST; 343 phy_mode = PHY_MODE_USB_DEVICE; 346 phy_mode = PHY_MODE_USB_OTG; 352 return phy_set_mode(glue->phy, phy_mode);
|
H A D | sunxi.c | 89 enum phy_mode phy_mode; member in struct:sunxi_glue 143 phy_set_mode(glue->phy, glue->phy_mode); 334 enum phy_mode new_mode; 352 if (glue->phy_mode == new_mode) 368 glue->phy_mode = new_mode; 380 * Schedule a phy_set_mode with the current glue->phy_mode value, 702 glue->phy_mode = PHY_MODE_USB_HOST; 708 glue->phy_mode = PHY_MODE_USB_DEVICE; 714 glue->phy_mode [all...] |
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | phy_shim.h | 169 void wlapi_high_update_phy_mode(struct phy_shim_info *physhim, u32 phy_mode);
|
/linux-master/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-platform.c | 264 const char *phy_mode; local 376 &phy_mode); 377 if (ret || strcmp(phy_mode, phy_modes(PHY_INTERFACE_MODE_XGMII))) { 383 pdata->phy_mode = PHY_INTERFACE_MODE_XGMII;
|
/linux-master/drivers/usb/chipidea/ |
H A D | ci_hdrc_npcm.c | 62 ci->pdata.phy_mode = USBPHY_INTERFACE_MODE_UTMI;
|
/linux-master/drivers/net/ethernet/mscc/ |
H A D | ocelot_mm.c | 65 if ((ocelot_port->phy_mode != PHY_INTERFACE_MODE_QSGMII || 80 port, phy_modes(ocelot_port->phy_mode),
|
/linux-master/drivers/phy/amlogic/ |
H A D | phy-meson-gxl-usb2.c | 94 enum phy_mode mode; 153 enum phy_mode mode, int submode)
|
/linux-master/drivers/net/ethernet/dec/tulip/ |
H A D | uli526x.c | 1479 u16 phy_mode; local 1481 phy_mode = phy->read(db, db->phy_addr, 1); 1482 phy_mode = phy->read(db, db->phy_addr, 1); 1484 if ( (phy_mode & 0x24) == 0x24 ) { 1486 phy_mode = ((phy->read(db, db->phy_addr, 5) & 0x01e0)<<7); 1487 if(phy_mode&0x8000) 1488 phy_mode = 0x8000; 1489 else if(phy_mode&0x4000) 1490 phy_mode = 0x4000; 1491 else if(phy_mode [all...] |
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | selftest.c | 703 int phy_mode = efx->phy_mode; local 757 efx->phy_mode &= ~PHY_MODE_LOW_POWER; 772 efx->phy_mode = phy_mode;
|
H A D | efx_common.c | 628 enum efx_phy_mode phy_mode; local 634 phy_mode = efx->phy_mode; 636 efx->phy_mode |= PHY_MODE_TX_DISABLED; 638 efx->phy_mode &= ~PHY_MODE_TX_DISABLED; 644 efx->phy_mode = phy_mode;
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | selftest.c | 698 int phy_mode = efx->phy_mode; local 752 efx->phy_mode &= ~PHY_MODE_LOW_POWER; 767 efx->phy_mode = phy_mode;
|
H A D | efx_common.c | 617 enum efx_phy_mode phy_mode; local 623 phy_mode = efx->phy_mode; 625 efx->phy_mode |= PHY_MODE_TX_DISABLED; 627 efx->phy_mode &= ~PHY_MODE_TX_DISABLED; 633 efx->phy_mode = phy_mode;
|
/linux-master/drivers/staging/octeon/ |
H A D | ethernet.c | 664 priv->phy_mode = PHY_INTERFACE_MODE_RGMII_ID; 666 priv->phy_mode = PHY_INTERFACE_MODE_RGMII_RXID; 668 priv->phy_mode = PHY_INTERFACE_MODE_RGMII_TXID; 670 priv->phy_mode = PHY_INTERFACE_MODE_RGMII; 833 priv->phy_mode = PHY_INTERFACE_MODE_NA; 865 priv->phy_mode = PHY_INTERFACE_MODE_SGMII; 876 priv->phy_mode = PHY_INTERFACE_MODE_GMII;
|
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac-qcom-ethqos.c | 110 phy_interface_t phy_mode; member in struct:qcom_ethqos 173 if (!phy_interface_mode_is_rgmii(ethqos->phy_mode)) 385 if (ethqos->phy_mode == PHY_INTERFACE_MODE_RGMII_ID || 386 ethqos->phy_mode == PHY_INTERFACE_MODE_RGMII_TXID) 778 ret = of_get_phy_mode(np, ðqos->phy_mode); 781 switch (ethqos->phy_mode) { 793 phy_modes(ethqos->phy_mode));
|
/linux-master/drivers/net/dsa/sja1105/ |
H A D | sja1105_main.c | 281 switch (priv->phy_mode[i]) { 335 phy_modes(priv->phy_mode[i]), i); 769 port_1_is_base_tx = priv->phy_mode[1] == PHY_INTERFACE_MODE_INTERNAL; 770 port_3_is_2500 = priv->phy_mode[3] == PHY_INTERFACE_MODE_2500BASEX; 771 port_4_is_2500 = priv->phy_mode[4] == PHY_INTERFACE_MODE_2500BASEX; 1135 phy_interface_t phy_mode = priv->phy_mode[port]; local 1139 if (!phy_interface_mode_is_rgmii(phy_mode)) 1152 if (phy_mode == PHY_INTERFACE_MODE_RGMII_RXID || 1153 phy_mode 1195 phy_interface_t phy_mode; local 1409 phy_interface_t phy_mode; local [all...] |