Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/include/linux/
H A Dphylink.h61 * struct phylink_config - PHYLINK configuration structure
70 struct phylink_config { struct
75 void (*get_fixed_state)(struct phylink_config *config,
93 void (*validate)(struct phylink_config *config,
96 void (*mac_pcs_get_state)(struct phylink_config *config,
98 int (*mac_prepare)(struct phylink_config *config, unsigned int mode,
100 void (*mac_config)(struct phylink_config *config, unsigned int mode,
102 int (*mac_finish)(struct phylink_config *config, unsigned int mode,
104 void (*mac_an_restart)(struct phylink_config *config);
105 void (*mac_link_down)(struct phylink_config *confi
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dphylink.h201 * struct phylink_config - PHYLINK configuration structure
214 struct phylink_config { struct
220 void (*get_fixed_state)(struct phylink_config *config,
226 void phylink_limit_mac_speed(struct phylink_config *config, u32 max_speed);
241 void (*validate)(struct phylink_config *config,
244 struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config,
246 int (*mac_prepare)(struct phylink_config *config, unsigned int mode,
248 void (*mac_config)(struct phylink_config *config, unsigned int mode,
250 int (*mac_finish)(struct phylink_config *config, unsigned int mode,
252 void (*mac_link_down)(struct phylink_config *confi
[all...]
/kernel/linux/linux-6.6/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, in dpaa2_mac_select_pcs()
160 static void dpaa2_mac_config(struct phylink_config *config, unsigned int mode, in dpaa2_mac_config()
193 static void dpaa2_mac_link_up(struct phylink_config *config, in dpaa2_mac_link_up()
229 static void dpaa2_mac_link_down(struct phylink_config *config, in dpaa2_mac_link_down()
307 __set_bit(mac->if_mode, mac->phylink_config.supported_interfaces); in dpaa2_mac_set_supported_interfaces()
313 mac->phylink_config.supported_interfaces); in dpaa2_mac_set_supported_interfaces()
315 mac->phylink_config.supported_interfaces); in dpaa2_mac_set_supported_interfaces()
338 __set_bit(intf, mac->phylink_config.supported_interfaces); in dpaa2_mac_set_supported_interfaces()
417 memset(&mac->phylink_config, in dpaa2_mac_connect()
[all...]
H A Ddpaa2-mac.h23 struct phylink_config phylink_config; member
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/fman/
H A Dmac.h29 struct phylink_config phylink_config; member
58 *fman_config_to_mac(struct phylink_config *config) in fman_config_to_mac()
60 return container_of(config, struct mac_device, phylink_config); in fman_config_to_mac()
H A Dfman_memac.c621 static void memac_validate(struct phylink_config *config, in memac_validate()
664 static struct phylink_pcs *memac_select_pcs(struct phylink_config *config, in memac_select_pcs()
682 static int memac_prepare(struct phylink_config *config, unsigned int mode, in memac_prepare()
699 static void memac_mac_config(struct phylink_config *config, unsigned int mode, in memac_mac_config()
713 static void memac_link_up(struct phylink_config *config, struct phy_device *phy, in memac_link_up()
765 static void memac_link_down(struct phylink_config *config, unsigned int mode, in memac_link_down()
1171 supported = mac_dev->phylink_config.supported_interfaces; in memac_initialization()
1213 mac_dev->phylink_config.mac_capabilities = capabilities; in memac_initialization()
1237 mac_dev->phylink_config.ovr_an_inband = true; in memac_initialization()
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_phylink.c11 static struct phylink_pcs *lan966x_phylink_mac_select(struct phylink_config *config, in lan966x_phylink_mac_select()
19 static void lan966x_phylink_mac_config(struct phylink_config *config, in lan966x_phylink_mac_config()
25 static int lan966x_phylink_mac_prepare(struct phylink_config *config, in lan966x_phylink_mac_prepare()
46 static void lan966x_phylink_mac_link_up(struct phylink_config *config, in lan966x_phylink_mac_link_up()
68 static void lan966x_phylink_mac_link_down(struct phylink_config *config, in lan966x_phylink_mac_link_down()
H A Dlan966x_main.c828 port->phylink_config.dev = &port->dev->dev; in lan966x_probe_port()
829 port->phylink_config.type = PHYLINK_NETDEV; in lan966x_probe_port()
834 port->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | MAC_SYM_PAUSE | in lan966x_probe_port()
837 phy_interface_set_rgmii(port->phylink_config.supported_interfaces); in lan966x_probe_port()
839 port->phylink_config.supported_interfaces); in lan966x_probe_port()
841 port->phylink_config.supported_interfaces); in lan966x_probe_port()
843 port->phylink_config.supported_interfaces); in lan966x_probe_port()
845 port->phylink_config.supported_interfaces); in lan966x_probe_port()
847 port->phylink_config.supported_interfaces); in lan966x_probe_port()
849 port->phylink_config in lan966x_probe_port()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
H A Denetc_pf.h52 struct phylink_config phylink_config; member
56 container_of((config), struct enetc_pf, phylink_config)
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/enetc/
H A Denetc_pf.h52 struct phylink_config phylink_config; member
56 container_of((config), struct enetc_pf, phylink_config)
H A Denetc_pf.c959 enetc_pl_mac_select_pcs(struct phylink_config *config, phy_interface_t iface) in enetc_pl_mac_select_pcs()
966 static void enetc_pl_mac_config(struct phylink_config *config, in enetc_pl_mac_config()
1003 static void enetc_pl_mac_link_up(struct phylink_config *config, in enetc_pl_mac_link_up()
1080 static void enetc_pl_mac_link_down(struct phylink_config *config, in enetc_pl_mac_link_down()
1110 pf->phylink_config.dev = &priv->ndev->dev; in enetc_phylink_create()
1111 pf->phylink_config.type = PHYLINK_NETDEV; in enetc_phylink_create()
1112 pf->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | MAC_SYM_PAUSE | in enetc_phylink_create()
1116 pf->phylink_config.supported_interfaces); in enetc_phylink_create()
1118 pf->phylink_config.supported_interfaces); in enetc_phylink_create()
1120 pf->phylink_config in enetc_phylink_create()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_phylink.c30 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()
H A Dsparx5_main.c300 spx5_port->phylink_config.dev = &spx5_port->ndev->dev; in sparx5_create_port()
301 spx5_port->phylink_config.type = PHYLINK_NETDEV; in sparx5_create_port()
302 spx5_port->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | in sparx5_create_port()
307 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port()
309 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port()
311 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port()
313 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port()
319 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port()
324 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port()
328 spx5_port->phylink_config in sparx5_create_port()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-mac.c8 container_of((config), struct dpaa2_mac, phylink_config)
96 static void dpaa2_mac_validate(struct phylink_config *config, in dpaa2_mac_validate()
146 static void dpaa2_mac_config(struct phylink_config *config, unsigned int mode, in dpaa2_mac_config()
165 static void dpaa2_mac_link_up(struct phylink_config *config, in dpaa2_mac_link_up()
209 static void dpaa2_mac_link_down(struct phylink_config *config, in dpaa2_mac_link_down()
361 mac->phylink_config.dev = &net_dev->dev; in dpaa2_mac_connect()
362 mac->phylink_config.type = PHYLINK_NETDEV; in dpaa2_mac_connect()
364 phylink = phylink_create(&mac->phylink_config, in dpaa2_mac_connect()
H A Ddpaa2-mac.h21 struct phylink_config phylink_config; member
/kernel/linux/linux-6.6/drivers/net/ethernet/altera/
H A Daltera_tse_main.c1041 static void alt_tse_mac_config(struct phylink_config *config, unsigned int mode, in alt_tse_mac_config()
1053 static void alt_tse_mac_link_down(struct phylink_config *config, in alt_tse_mac_link_down()
1058 static void alt_tse_mac_link_up(struct phylink_config *config, in alt_tse_mac_link_up()
1083 static struct phylink_pcs *alt_tse_select_pcs(struct phylink_config *config, in alt_tse_select_pcs()
1428 priv->phylink_config.dev = &ndev->dev; in altera_tse_probe()
1429 priv->phylink_config.type = PHYLINK_NETDEV; in altera_tse_probe()
1430 priv->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_10 | in altera_tse_probe()
1433 phy_interface_set_rgmii(priv->phylink_config.supported_interfaces); in altera_tse_probe()
1435 priv->phylink_config.supported_interfaces); in altera_tse_probe()
1437 priv->phylink_config in altera_tse_probe()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/
H A Docelot.h50 struct phylink_config phylink_config; member
/kernel/linux/linux-5.10/net/dsa/
H A Dport.c498 static void dsa_port_phylink_validate(struct phylink_config *config, in dsa_port_phylink_validate()
511 static void dsa_port_phylink_mac_pcs_get_state(struct phylink_config *config, in dsa_port_phylink_mac_pcs_get_state()
532 static void dsa_port_phylink_mac_config(struct phylink_config *config, in dsa_port_phylink_mac_config()
545 static void dsa_port_phylink_mac_an_restart(struct phylink_config *config) in dsa_port_phylink_mac_an_restart()
556 static void dsa_port_phylink_mac_link_down(struct phylink_config *config, in dsa_port_phylink_mac_link_down()
576 static void dsa_port_phylink_mac_link_up(struct phylink_config *config, in dsa_port_phylink_mac_link_up()
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
H A Dam65-cpsw-nuss.h41 struct phylink_config phylink_config; member
/kernel/linux/linux-6.6/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_phy.c159 static struct phylink_pcs *txgbe_phylink_mac_select(struct phylink_config *config, in txgbe_phylink_mac_select()
170 static void txgbe_mac_config(struct phylink_config *config, unsigned int mode, in txgbe_mac_config()
175 static void txgbe_mac_link_down(struct phylink_config *config, in txgbe_mac_link_down()
183 static void txgbe_mac_link_up(struct phylink_config *config, in txgbe_mac_link_up()
217 static int txgbe_mac_prepare(struct phylink_config *config, unsigned int mode, in txgbe_mac_prepare()
228 static int txgbe_mac_finish(struct phylink_config *config, unsigned int mode, in txgbe_mac_finish()
251 struct phylink_config *config; in txgbe_phylink_init()
/kernel/linux/linux-6.6/drivers/net/ethernet/atheros/
H A Dag71xx.c372 struct phylink_config phylink_config; member
1009 static void ag71xx_mac_config(struct phylink_config *config, unsigned int mode, in ag71xx_mac_config()
1028 static void ag71xx_mac_link_down(struct phylink_config *config, in ag71xx_mac_link_down()
1036 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 in ag71xx_phylink_setup()
[all...]
/kernel/linux/linux-6.6/drivers/net/dsa/microchip/
H A Dlan937x.h20 struct phylink_config *config);
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac.h189 struct phylink_config phylink_config; member
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/
H A Dag71xx.c370 struct phylink_config phylink_config; member
996 static void ag71xx_mac_config(struct phylink_config *config, unsigned int mode, in ag71xx_mac_config()
1015 static void ag71xx_mac_validate(struct phylink_config *config, in ag71xx_mac_validate()
1083 static void ag71xx_mac_pcs_get_state(struct phylink_config *config, in ag71xx_mac_pcs_get_state()
1089 static void ag71xx_mac_an_restart(struct phylink_config *config) in ag71xx_mac_an_restart()
1094 static void ag71xx_mac_link_down(struct phylink_config *config, in ag71xx_mac_link_down()
1102 static void ag71xx_mac_link_up(struct phylink_config *config, in ag71xx_mac_link_up()
1168 ag->phylink_config.dev = &ag->ndev->dev; in ag71xx_phylink_setup()
1169 ag->phylink_config in ag71xx_phylink_setup()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet_main.c1671 static struct phylink_pcs *axienet_mac_select_pcs(struct phylink_config *config, in axienet_mac_select_pcs()
1684 static void axienet_mac_config(struct phylink_config *config, unsigned int mode, in axienet_mac_config()
1690 static void axienet_mac_link_down(struct phylink_config *config, in axienet_mac_link_down()
1697 static void axienet_mac_link_up(struct phylink_config *config, in axienet_mac_link_up()
2138 lp->phylink_config.dev = &ndev->dev; in axienet_probe()
2139 lp->phylink_config.type = PHYLINK_NETDEV; in axienet_probe()
2140 lp->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_ASYM_PAUSE | in axienet_probe()
2143 __set_bit(lp->phy_mode, lp->phylink_config.supported_interfaces); in axienet_probe()
2146 lp->phylink_config.supported_interfaces); in axienet_probe()
2148 lp->phylink_config in axienet_probe()
[all...]

Completed in 23 milliseconds

1234