Searched refs:phy_mode (Results 26 - 50 of 180) sorted by relevance

12345678

/linux-master/drivers/net/ethernet/sunplus/
H A Dspl2sw_phy.c68 0, mac->phy_mode);
H A Dspl2sw_driver.c326 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 Dchipidea.h41 enum usb_phy_interface phy_mode; member in struct:ci_hdrc_platform_data
/linux-master/drivers/net/ethernet/hisilicon/hns/
H A Dhns_enet.h58 int phy_mode; member in struct:hns_nic_priv
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dfalcon_boards.c313 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 Dselftest.c705 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 Dehci-fsl.c122 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 Dmain.c18 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 Dxgene_enet_main.c1278 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 Dsni_ave.c260 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 Dda8xx.c329 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 Dsunxi.c89 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 Dphy_shim.h169 void wlapi_high_update_phy_mode(struct phy_shim_info *physhim, u32 phy_mode);
/linux-master/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-platform.c264 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 Dci_hdrc_npcm.c62 ci->pdata.phy_mode = USBPHY_INTERFACE_MODE_UTMI;
/linux-master/drivers/net/ethernet/mscc/
H A Docelot_mm.c65 if ((ocelot_port->phy_mode != PHY_INTERFACE_MODE_QSGMII ||
80 port, phy_modes(ocelot_port->phy_mode),
/linux-master/drivers/phy/amlogic/
H A Dphy-meson-gxl-usb2.c94 enum phy_mode mode;
153 enum phy_mode mode, int submode)
/linux-master/drivers/net/ethernet/dec/tulip/
H A Duli526x.c1479 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 Dselftest.c703 int phy_mode = efx->phy_mode; local
757 efx->phy_mode &= ~PHY_MODE_LOW_POWER;
772 efx->phy_mode = phy_mode;
H A Defx_common.c628 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 Dselftest.c698 int phy_mode = efx->phy_mode; local
752 efx->phy_mode &= ~PHY_MODE_LOW_POWER;
767 efx->phy_mode = phy_mode;
H A Defx_common.c617 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 Dethernet.c664 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 Ddwmac-qcom-ethqos.c110 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, &ethqos->phy_mode);
781 switch (ethqos->phy_mode) {
793 phy_modes(ethqos->phy_mode));
/linux-master/drivers/net/dsa/sja1105/
H A Dsja1105_main.c281 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...]

Completed in 225 milliseconds

12345678