Home
last modified time | relevance | path

Searched refs:portmode (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/microchip/sparx5/
Dsparx5_port.c97 if (port->conf.portmode == PHY_INTERFACE_MODE_1000BASEX) in sparx5_get_dev2g5_status()
99 else if (port->conf.portmode == PHY_INTERFACE_MODE_2500BASEX) in sparx5_get_dev2g5_status()
110 if (port->conf.portmode == PHY_INTERFACE_MODE_SGMII) { in sparx5_get_dev2g5_status()
125 bool high_speed_dev = sparx5_is_baser(port->conf.portmode); in sparx5_get_sfi_status()
148 if (port->conf.portmode == PHY_INTERFACE_MODE_5GBASER) in sparx5_get_sfi_status()
150 else if (port->conf.portmode == PHY_INTERFACE_MODE_10GBASER) in sparx5_get_sfi_status()
170 switch (port->conf.portmode) { in sparx5_get_port_status()
197 conf->speed, phy_modes(conf->portmode)); in sparx5_port_error()
202 phy_modes(conf->portmode)); in sparx5_port_error()
224 switch (conf->portmode) { in sparx5_port_verify_speed()
[all …]
Dsparx5_phylink.c20 a->portmode != b->portmode || in port_conf_has_changed()
105 conf.portmode = interface; in sparx5_pcs_config()
Dsparx5_ethtool.c821 if (sparx5_is_baser(port->conf.portmode)) { in sparx5_get_eth_phy_stats()
846 if (sparx5_is_baser(port->conf.portmode)) { in sparx5_get_eth_mac_stats()
914 if (sparx5_is_baser(port->conf.portmode)) { in sparx5_get_eth_mac_ctrl_stats()
946 if (sparx5_is_baser(port->conf.portmode)) { in sparx5_get_eth_rmon_stats()
1029 if (sparx5_is_baser(port->conf.portmode)) { in sparx5_get_sset_data()
1113 if (sparx5_is_baser(sparx5->ports[portno]->conf.portmode)) in sparx5_update_port_stats()
Dsparx5_main.h130 phy_interface_t portmode; member
Dsparx5_main.c834 conf->portmode = conf->phy_mode; in mchp_sparx5_probe()
/linux-6.12.1/drivers/net/ethernet/microchip/lan966x/
Dlan966x_port.c173 if (phy_interface_num_ports(config->portmode) == 4 || in lan966x_port_link_up()
174 config->portmode == PHY_INTERFACE_MODE_SGMII) in lan966x_port_link_up()
194 if (config->portmode == PHY_INTERFACE_MODE_GMII) { in lan966x_port_link_up()
339 if (config->portmode == PHY_INTERFACE_MODE_QUSGMII) in lan966x_port_pcs_set()
343 if (config->portmode == PHY_INTERFACE_MODE_SGMII || in lan966x_port_pcs_set()
344 phy_interface_num_ports(config->portmode) == 4) in lan966x_port_pcs_set()
346 else if (config->portmode == PHY_INTERFACE_MODE_1000BASEX && in lan966x_port_pcs_set()
371 int adv = phylink_mii_c22_pcs_encode_advertisement(config->portmode, in lan966x_port_pcs_set()
561 if (phy_interface_num_ports(config->portmode) != 4) in lan966x_port_init()
Dlan966x_phylink.c108 config.portmode = interface; in lan966x_pcs_config()
Dlan966x_main.h342 phy_interface_t portmode; member
Dlan966x_main.c1201 lan966x->ports[p]->config.portmode = phy_mode; in lan966x_probe()
/linux-6.12.1/drivers/phy/microchip/
Dsparx5_serdes.h42 phy_interface_t portmode; member
Dsparx5_serdes.c2198 static int sparx5_serdes_get_serdesmode(phy_interface_t portmode, int speed) in sparx5_serdes_get_serdesmode() argument
2200 switch (portmode) { in sparx5_serdes_get_serdesmode()
2226 serdesmode = sparx5_serdes_get_serdesmode(macro->portmode, macro->speed); in sparx5_serdes_config()
2230 phy_modes(macro->portmode)); in sparx5_serdes_config()
2276 macro->portmode = submode; in sparx5_serdes_set_mode()