/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-mac.c | 13 container_of((config), struct dpaa2_mac, phylink_config) 146 static struct phylink_pcs *dpaa2_mac_select_pcs(struct phylink_config *config, in dpaa2_mac_select_pcs() 154 static void dpaa2_mac_config(struct phylink_config *config, unsigned int mode, in dpaa2_mac_config() 186 static void dpaa2_mac_link_up(struct phylink_config *config, in dpaa2_mac_link_up() 222 static void dpaa2_mac_link_down(struct phylink_config *config, in dpaa2_mac_link_down() 302 __set_bit(mac->if_mode, mac->phylink_config.supported_interfaces); in dpaa2_mac_set_supported_interfaces() 308 mac->phylink_config.supported_interfaces); in dpaa2_mac_set_supported_interfaces() 310 mac->phylink_config.supported_interfaces); in dpaa2_mac_set_supported_interfaces() 333 __set_bit(intf, mac->phylink_config.supported_interfaces); in dpaa2_mac_set_supported_interfaces() 404 memset(&mac->phylink_config, 0, sizeof(mac->phylink_config)); in dpaa2_mac_connect() [all …]
|
D | dpaa2-mac.h | 23 struct phylink_config phylink_config; member
|
/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_phylink.c | 12 static struct phylink_pcs *lan966x_phylink_mac_select(struct phylink_config *config, in lan966x_phylink_mac_select() 20 static void lan966x_phylink_mac_config(struct phylink_config *config, in lan966x_phylink_mac_config() 26 static int lan966x_phylink_mac_prepare(struct phylink_config *config, in lan966x_phylink_mac_prepare() 47 static void lan966x_phylink_mac_link_up(struct phylink_config *config, in lan966x_phylink_mac_link_up() 69 static void lan966x_phylink_mac_link_down(struct phylink_config *config, in lan966x_phylink_mac_link_down()
|
D | lan966x_main.c | 770 port->phylink_config.dev = &port->dev->dev; in lan966x_probe_port() 771 port->phylink_config.type = PHYLINK_NETDEV; in lan966x_probe_port() 775 port->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | MAC_SYM_PAUSE | in lan966x_probe_port() 778 phy_interface_set_rgmii(port->phylink_config.supported_interfaces); in lan966x_probe_port() 780 port->phylink_config.supported_interfaces); in lan966x_probe_port() 782 port->phylink_config.supported_interfaces); in lan966x_probe_port() 784 port->phylink_config.supported_interfaces); in lan966x_probe_port() 786 port->phylink_config.supported_interfaces); in lan966x_probe_port() 788 port->phylink_config.supported_interfaces); in lan966x_probe_port() 790 port->phylink_config.supported_interfaces); in lan966x_probe_port() [all …]
|
/drivers/net/ethernet/freescale/enetc/ |
D | enetc_pf.h | 52 struct phylink_config phylink_config; member 56 container_of((config), struct enetc_pf, phylink_config)
|
D | enetc_pf.c | 984 enetc_pl_mac_select_pcs(struct phylink_config *config, phy_interface_t iface) in enetc_pl_mac_select_pcs() 991 static void enetc_pl_mac_config(struct phylink_config *config, in enetc_pl_mac_config() 1028 static void enetc_pl_mac_link_up(struct phylink_config *config, in enetc_pl_mac_link_up() 1104 static void enetc_pl_mac_link_down(struct phylink_config *config, in enetc_pl_mac_link_down() 1128 pf->phylink_config.dev = &priv->ndev->dev; in enetc_phylink_create() 1129 pf->phylink_config.type = PHYLINK_NETDEV; in enetc_phylink_create() 1130 pf->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | MAC_SYM_PAUSE | in enetc_phylink_create() 1134 pf->phylink_config.supported_interfaces); in enetc_phylink_create() 1136 pf->phylink_config.supported_interfaces); in enetc_phylink_create() 1138 pf->phylink_config.supported_interfaces); in enetc_phylink_create() [all …]
|
/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_phylink.c | 30 sparx5_phylink_mac_select_pcs(struct phylink_config *config, in sparx5_phylink_mac_select_pcs() 38 static void sparx5_phylink_mac_config(struct phylink_config *config, in sparx5_phylink_mac_config() 45 static void sparx5_phylink_mac_link_up(struct phylink_config *config, in sparx5_phylink_mac_link_up() 68 static void sparx5_phylink_mac_link_down(struct phylink_config *config, in sparx5_phylink_mac_link_down()
|
D | sparx5_main.c | 295 spx5_port->phylink_config.dev = &spx5_port->ndev->dev; in sparx5_create_port() 296 spx5_port->phylink_config.type = PHYLINK_NETDEV; in sparx5_create_port() 297 spx5_port->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | in sparx5_create_port() 302 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() 304 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() 306 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() 308 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() 314 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() 319 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() 323 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() [all …]
|
/drivers/net/ethernet/altera/ |
D | altera_tse_main.c | 1039 static void alt_tse_mac_an_restart(struct phylink_config *config) in alt_tse_mac_an_restart() 1043 static void alt_tse_mac_config(struct phylink_config *config, unsigned int mode, in alt_tse_mac_config() 1055 static void alt_tse_mac_link_down(struct phylink_config *config, in alt_tse_mac_link_down() 1060 static void alt_tse_mac_link_up(struct phylink_config *config, in alt_tse_mac_link_up() 1085 static struct phylink_pcs *alt_tse_select_pcs(struct phylink_config *config, in alt_tse_select_pcs() 1395 priv->phylink_config.dev = &ndev->dev; in altera_tse_probe() 1396 priv->phylink_config.type = PHYLINK_NETDEV; in altera_tse_probe() 1397 priv->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_10 | in altera_tse_probe() 1400 phy_interface_set_rgmii(priv->phylink_config.supported_interfaces); in altera_tse_probe() 1402 priv->phylink_config.supported_interfaces); in altera_tse_probe() [all …]
|
D | altera_tse.h | 478 struct phylink_config phylink_config; member
|
/drivers/net/ethernet/mscc/ |
D | ocelot.h | 50 struct phylink_config phylink_config; member
|
D | ocelot_net.c | 1682 static void vsc7514_phylink_mac_config(struct phylink_config *config, in vsc7514_phylink_mac_config() 1709 static void vsc7514_phylink_mac_link_down(struct phylink_config *config, in vsc7514_phylink_mac_link_down() 1722 static void vsc7514_phylink_mac_link_up(struct phylink_config *config, in vsc7514_phylink_mac_link_up() 1802 priv->phylink_config.dev = &priv->dev->dev; in ocelot_port_phylink_create() 1803 priv->phylink_config.type = PHYLINK_NETDEV; in ocelot_port_phylink_create() 1804 priv->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | MAC_SYM_PAUSE | in ocelot_port_phylink_create() 1808 priv->phylink_config.supported_interfaces); in ocelot_port_phylink_create() 1810 phylink = phylink_create(&priv->phylink_config, in ocelot_port_phylink_create()
|
/drivers/net/ethernet/atheros/ |
D | ag71xx.c | 371 struct phylink_config phylink_config; member 1008 static void ag71xx_mac_config(struct phylink_config *config, unsigned int mode, in ag71xx_mac_config() 1027 static void ag71xx_mac_link_down(struct phylink_config *config, in ag71xx_mac_link_down() 1035 static void ag71xx_mac_link_up(struct phylink_config *config, in ag71xx_mac_link_up() 1099 ag->phylink_config.dev = &ag->ndev->dev; in ag71xx_phylink_setup() 1100 ag->phylink_config.type = PHYLINK_NETDEV; in ag71xx_phylink_setup() 1101 ag->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_ASYM_PAUSE | in ag71xx_phylink_setup() 1109 ag->phylink_config.supported_interfaces); in ag71xx_phylink_setup() 1115 ag->phylink_config.supported_interfaces); in ag71xx_phylink_setup() 1119 ag->phylink_config.supported_interfaces); in ag71xx_phylink_setup() [all …]
|
/drivers/net/ethernet/ti/ |
D | am65-cpsw-nuss.h | 40 struct phylink_config phylink_config; member
|
D | am65-cpsw-nuss.c | 1420 static void am65_cpsw_nuss_mac_config(struct phylink_config *config, unsigned int mode, in am65_cpsw_nuss_mac_config() 1424 phylink_config); in am65_cpsw_nuss_mac_config() 1433 static void am65_cpsw_nuss_mac_link_down(struct phylink_config *config, unsigned int mode, in am65_cpsw_nuss_mac_link_down() 1437 phylink_config); in am65_cpsw_nuss_mac_link_down() 1458 static void am65_cpsw_nuss_mac_link_up(struct phylink_config *config, struct phy_device *phy, in am65_cpsw_nuss_mac_link_up() 1463 phylink_config); in am65_cpsw_nuss_mac_link_up() 2006 port->slave.phylink_config.dev = &port->ndev->dev; in am65_cpsw_nuss_init_port_ndev() 2007 port->slave.phylink_config.type = PHYLINK_NETDEV; in am65_cpsw_nuss_init_port_ndev() 2008 port->slave.phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_10 | MAC_100 | MAC_1000FD; in am65_cpsw_nuss_init_port_ndev() 2011 phy_interface_set_rgmii(port->slave.phylink_config.supported_interfaces); in am65_cpsw_nuss_init_port_ndev() [all …]
|
/drivers/net/usb/ |
D | asix_devices.c | 743 static void ax88772_mac_config(struct phylink_config *config, unsigned int mode, in ax88772_mac_config() 749 static void ax88772_mac_link_down(struct phylink_config *config, in ax88772_mac_link_down() 758 static void ax88772_mac_link_up(struct phylink_config *config, in ax88772_mac_link_up() 802 priv->phylink_config.dev = &dev->net->dev; in ax88772_phylink_setup() 803 priv->phylink_config.type = PHYLINK_NETDEV; in ax88772_phylink_setup() 804 priv->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_ASYM_PAUSE | in ax88772_phylink_setup() 808 priv->phylink_config.supported_interfaces); in ax88772_phylink_setup() 810 priv->phylink_config.supported_interfaces); in ax88772_phylink_setup() 817 phylink = phylink_create(&priv->phylink_config, dev->net->dev.fwnode, in ax88772_phylink_setup()
|
D | asix.h | 190 struct phylink_config phylink_config; member
|
/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet_main.c | 1669 static struct phylink_pcs *axienet_mac_select_pcs(struct phylink_config *config, in axienet_mac_select_pcs() 1682 static void axienet_mac_config(struct phylink_config *config, unsigned int mode, in axienet_mac_config() 1688 static void axienet_mac_link_down(struct phylink_config *config, in axienet_mac_link_down() 1695 static void axienet_mac_link_up(struct phylink_config *config, in axienet_mac_link_up() 2136 lp->phylink_config.dev = &ndev->dev; in axienet_probe() 2137 lp->phylink_config.type = PHYLINK_NETDEV; in axienet_probe() 2138 lp->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_ASYM_PAUSE | in axienet_probe() 2141 __set_bit(lp->phy_mode, lp->phylink_config.supported_interfaces); in axienet_probe() 2144 lp->phylink_config.supported_interfaces); in axienet_probe() 2146 lp->phylink_config.supported_interfaces); in axienet_probe() [all …]
|
D | xilinx_axienet.h | 444 struct phylink_config phylink_config; member
|
/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 379 static struct phylink_pcs *mtk_mac_select_pcs(struct phylink_config *config, in mtk_mac_select_pcs() 383 phylink_config); in mtk_mac_select_pcs() 398 static void mtk_mac_config(struct phylink_config *config, unsigned int mode, in mtk_mac_config() 402 phylink_config); in mtk_mac_config() 546 static int mtk_mac_finish(struct phylink_config *config, unsigned int mode, in mtk_mac_finish() 550 phylink_config); in mtk_mac_finish() 574 static void mtk_mac_pcs_get_state(struct phylink_config *config, in mtk_mac_pcs_get_state() 578 phylink_config); in mtk_mac_pcs_get_state() 606 static void mtk_mac_link_down(struct phylink_config *config, unsigned int mode, in mtk_mac_link_down() 610 phylink_config); in mtk_mac_link_down() [all …]
|
/drivers/net/dsa/microchip/ |
D | lan937x.h | 20 struct phylink_config *config);
|
/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_main.c | 6141 static struct mvpp2_port *mvpp2_phylink_to_port(struct phylink_config *config) in mvpp2_phylink_to_port() 6143 return container_of(config, struct mvpp2_port, phylink_config); in mvpp2_phylink_to_port() 6398 static struct phylink_pcs *mvpp2_select_pcs(struct phylink_config *config, in mvpp2_select_pcs() 6413 static int mvpp2_mac_prepare(struct phylink_config *config, unsigned int mode, in mvpp2_mac_prepare() 6466 static void mvpp2_mac_config(struct phylink_config *config, unsigned int mode, in mvpp2_mac_config() 6483 static int mvpp2_mac_finish(struct phylink_config *config, unsigned int mode, in mvpp2_mac_finish() 6525 static void mvpp2_mac_link_up(struct phylink_config *config, in mvpp2_mac_link_up() 6608 static void mvpp2_mac_link_down(struct phylink_config *config, in mvpp2_mac_link_down() 6657 pcs = mvpp2_select_pcs(&port->phylink_config, port->phy_interface); in mvpp2_acpi_start() 6659 mvpp2_mac_prepare(&port->phylink_config, MLO_AN_INBAND, in mvpp2_acpi_start() [all …]
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac.h | 237 struct phylink_config phylink_config; member
|
/drivers/net/ethernet/marvell/ |
D | mvneta.c | 530 struct phylink_config phylink_config; member 4016 static struct phylink_pcs *mvneta_mac_select_pcs(struct phylink_config *config, in mvneta_mac_select_pcs() 4025 static int mvneta_mac_prepare(struct phylink_config *config, unsigned int mode, in mvneta_mac_prepare() 4059 static void mvneta_mac_config(struct phylink_config *config, unsigned int mode, in mvneta_mac_config() 4115 static int mvneta_mac_finish(struct phylink_config *config, unsigned int mode, in mvneta_mac_finish() 4157 static void mvneta_mac_link_down(struct phylink_config *config, in mvneta_mac_link_down() 4177 static void mvneta_mac_link_up(struct phylink_config *config, in mvneta_mac_link_up() 5474 pp->phylink_config.dev = &dev->dev; in mvneta_probe() 5475 pp->phylink_config.type = PHYLINK_NETDEV; in mvneta_probe() 5476 pp->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_10 | in mvneta_probe() [all …]
|
/drivers/net/ethernet/cadence/ |
D | macb_main.c | 592 static void macb_mac_config(struct phylink_config *config, unsigned int mode, in macb_mac_config() 650 static void macb_mac_link_down(struct phylink_config *config, unsigned int mode, in macb_mac_link_down() 671 static void macb_mac_link_up(struct phylink_config *config, in macb_mac_link_up() 740 static struct phylink_pcs *macb_mac_select_pcs(struct phylink_config *config, in macb_mac_select_pcs() 800 static void macb_get_pcs_fixed_state(struct phylink_config *config, in macb_get_pcs_fixed_state() 817 bp->phylink_config.dev = &dev->dev; in macb_mii_probe() 818 bp->phylink_config.type = PHYLINK_NETDEV; in macb_mii_probe() 819 bp->phylink_config.mac_managed_pm = true; in macb_mii_probe() 822 bp->phylink_config.poll_fixed_state = true; in macb_mii_probe() 823 bp->phylink_config.get_fixed_state = macb_get_pcs_fixed_state; in macb_mii_probe() [all …]
|