Searched refs:portmode (Results 1 – 11 of 11) sorted by relevance
97 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 …]
20 a->portmode != b->portmode || in port_conf_has_changed()105 conf.portmode = interface; in sparx5_pcs_config()
821 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()
130 phy_interface_t portmode; member
834 conf->portmode = conf->phy_mode; in mchp_sparx5_probe()
173 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()
108 config.portmode = interface; in lan966x_pcs_config()
342 phy_interface_t portmode; member
1201 lan966x->ports[p]->config.portmode = phy_mode; in lan966x_probe()
42 phy_interface_t portmode; member
2198 static int sparx5_serdes_get_serdesmode(phy_interface_t portmode, int speed) in sparx5_serdes_get_serdesmode() argument2200 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()