Searched refs:phylink_config (Results 1 - 25 of 77) sorted by relevance

1234

/linux-master/drivers/net/ethernet/freescale/enetc/
H A Denetc_pf.h52 struct phylink_config phylink_config; member in struct:enetc_pf
56 container_of((config), struct enetc_pf, phylink_config)
H A Denetc_pf.c960 enetc_pl_mac_select_pcs(struct phylink_config *config, phy_interface_t iface)
967 static void enetc_pl_mac_config(struct phylink_config *config,
1004 static void enetc_pl_mac_link_up(struct phylink_config *config,
1081 static void enetc_pl_mac_link_down(struct phylink_config *config,
1111 pf->phylink_config.dev = &priv->ndev->dev;
1112 pf->phylink_config.type = PHYLINK_NETDEV;
1113 pf->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | MAC_SYM_PAUSE |
1117 pf->phylink_config.supported_interfaces);
1119 pf->phylink_config.supported_interfaces);
1121 pf->phylink_config
[all...]
/linux-master/include/linux/
H A Dphylink.h135 * struct phylink_config - PHYLINK configuration structure
148 struct phylink_config { struct
154 void (*get_fixed_state)(struct phylink_config *config,
160 void phylink_limit_mac_speed(struct phylink_config *config, u32 max_speed);
175 unsigned long (*mac_get_caps)(struct phylink_config *config,
177 struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config,
179 int (*mac_prepare)(struct phylink_config *config, unsigned int mode,
181 void (*mac_config)(struct phylink_config *config, unsigned int mode,
183 int (*mac_finish)(struct phylink_config *config, unsigned int mode,
185 void (*mac_link_down)(struct phylink_config *confi
[all...]
/linux-master/drivers/net/ethernet/freescale/fman/
H A Dmac.h29 struct phylink_config phylink_config; member in struct:mac_device
58 *fman_config_to_mac(struct phylink_config *config)
60 return container_of(config, struct mac_device, phylink_config);
H A Dfman_memac.c621 static unsigned long memac_get_caps(struct phylink_config *config,
663 static struct phylink_pcs *memac_select_pcs(struct phylink_config *config,
681 static int memac_prepare(struct phylink_config *config, unsigned int mode,
698 static void memac_mac_config(struct phylink_config *config, unsigned int mode,
712 static void memac_link_up(struct phylink_config *config, struct phy_device *phy,
764 static void memac_link_down(struct phylink_config *config, unsigned int mode,
1170 supported = mac_dev->phylink_config.supported_interfaces;
1212 mac_dev->phylink_config.mac_capabilities = capabilities;
1236 mac_dev->phylink_config.ovr_an_inband = true;
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_phylink.c11 static struct phylink_pcs *lan966x_phylink_mac_select(struct phylink_config *config,
19 static void lan966x_phylink_mac_config(struct phylink_config *config,
25 static int lan966x_phylink_mac_prepare(struct phylink_config *config,
46 static void lan966x_phylink_mac_link_up(struct phylink_config *config,
68 static void lan966x_phylink_mac_link_down(struct phylink_config *config,
H A Dlan966x_main.c827 port->phylink_config.dev = &port->dev->dev;
828 port->phylink_config.type = PHYLINK_NETDEV;
833 port->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | MAC_SYM_PAUSE |
836 phy_interface_set_rgmii(port->phylink_config.supported_interfaces);
838 port->phylink_config.supported_interfaces);
840 port->phylink_config.supported_interfaces);
842 port->phylink_config.supported_interfaces);
844 port->phylink_config.supported_interfaces);
846 port->phylink_config.supported_interfaces);
848 port->phylink_config
[all...]
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-mac.c13 container_of((config), struct dpaa2_mac, phylink_config)
152 static struct phylink_pcs *dpaa2_mac_select_pcs(struct phylink_config *config,
160 static void dpaa2_mac_config(struct phylink_config *config, unsigned int mode,
193 static void dpaa2_mac_link_up(struct phylink_config *config,
229 static void dpaa2_mac_link_down(struct phylink_config *config,
307 __set_bit(mac->if_mode, mac->phylink_config.supported_interfaces);
313 mac->phylink_config.supported_interfaces);
315 mac->phylink_config.supported_interfaces);
338 __set_bit(intf, mac->phylink_config.supported_interfaces);
417 memset(&mac->phylink_config,
[all...]
H A Ddpaa2-mac.h23 struct phylink_config phylink_config; member in struct:dpaa2_mac
/linux-master/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_mdio.c59 static void ngbe_mac_config(struct phylink_config *config, unsigned int mode,
64 static void ngbe_mac_link_down(struct phylink_config *config,
69 static void ngbe_mac_link_up(struct phylink_config *config,
116 struct phylink_config *config;
120 config = &wx->phylink_config;
/linux-master/drivers/net/dsa/microchip/
H A Dlan937x.h20 struct phylink_config *config);
H A Dksz8.h52 struct phylink_config *config);
H A Dksz9477.h40 struct phylink_config *config);
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_phylink.c30 sparx5_phylink_mac_select_pcs(struct phylink_config *config,
38 static void sparx5_phylink_mac_config(struct phylink_config *config,
45 static void sparx5_phylink_mac_link_up(struct phylink_config *config,
68 static void sparx5_phylink_mac_link_down(struct phylink_config *config,
H A Dsparx5_main.c300 spx5_port->phylink_config.dev = &spx5_port->ndev->dev;
301 spx5_port->phylink_config.type = PHYLINK_NETDEV;
302 spx5_port->phylink_config.mac_capabilities = MAC_ASYM_PAUSE |
307 spx5_port->phylink_config.supported_interfaces);
309 spx5_port->phylink_config.supported_interfaces);
311 spx5_port->phylink_config.supported_interfaces);
313 spx5_port->phylink_config.supported_interfaces);
319 spx5_port->phylink_config.supported_interfaces);
324 spx5_port->phylink_config.supported_interfaces);
328 spx5_port->phylink_config
[all...]
/linux-master/drivers/net/ethernet/mscc/
H A Docelot.h50 struct phylink_config phylink_config; member in struct:ocelot_port_private
/linux-master/drivers/net/ethernet/ti/
H A Dam65-cpsw-nuss.h41 struct phylink_config phylink_config; member in struct:am65_cpsw_slave_data
/linux-master/drivers/net/ethernet/altera/
H A Daltera_tse_main.c1039 static void alt_tse_mac_config(struct phylink_config *config, unsigned int mode,
1051 static void alt_tse_mac_link_down(struct phylink_config *config,
1056 static void alt_tse_mac_link_up(struct phylink_config *config,
1081 static struct phylink_pcs *alt_tse_select_pcs(struct phylink_config *config,
1421 priv->phylink_config.dev = &ndev->dev;
1422 priv->phylink_config.type = PHYLINK_NETDEV;
1423 priv->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_10 |
1426 phy_interface_set_rgmii(priv->phylink_config.supported_interfaces);
1428 priv->phylink_config.supported_interfaces);
1430 priv->phylink_config
[all...]
/linux-master/drivers/net/dsa/b53/
H A Db53_serdes.h116 struct phylink_config *config);
/linux-master/drivers/net/usb/
H A Dasix.h190 struct phylink_config phylink_config; member in struct:asix_common_private
H A Dasix_devices.c743 static void ax88772_mac_config(struct phylink_config *config, unsigned int mode,
749 static void ax88772_mac_link_down(struct phylink_config *config,
758 static void ax88772_mac_link_up(struct phylink_config *config,
801 priv->phylink_config.dev = &dev->net->dev;
802 priv->phylink_config.type = PHYLINK_NETDEV;
803 priv->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_ASYM_PAUSE |
807 priv->phylink_config.supported_interfaces);
809 priv->phylink_config.supported_interfaces);
816 phylink = phylink_create(&priv->phylink_config, dev->net->dev.fwnode,
/linux-master/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_phy.c159 static struct phylink_pcs *txgbe_phylink_mac_select(struct phylink_config *config,
171 static void txgbe_mac_config(struct phylink_config *config, unsigned int mode,
176 static void txgbe_mac_link_down(struct phylink_config *config,
184 static void txgbe_mac_link_up(struct phylink_config *config,
220 static int txgbe_mac_prepare(struct phylink_config *config, unsigned int mode,
231 static int txgbe_mac_finish(struct phylink_config *config, unsigned int mode,
254 struct phylink_config *config;
259 config = &wx->phylink_config;
/linux-master/drivers/net/ethernet/atheros/
H A Dag71xx.c372 struct phylink_config phylink_config; member in struct:ag71xx
1009 static void ag71xx_mac_config(struct phylink_config *config, unsigned int mode,
1028 static void ag71xx_mac_link_down(struct phylink_config *config,
1036 static void ag71xx_mac_link_up(struct phylink_config *config,
1099 ag->phylink_config.dev = &ag->ndev->dev;
1100 ag->phylink_config.type = PHYLINK_NETDEV;
1101 ag->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_ASYM_PAUSE |
1109 ag->phylink_config.supported_interfaces);
1115 ag->phylink_config
[all...]
/linux-master/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet.h404 * @phylink_config: phylink configuration settings
470 struct phylink_config phylink_config; member in struct:axienet_local
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac.h258 struct phylink_config phylink_config; member in struct:stmmac_priv

Completed in 661 milliseconds

1234