/linux/drivers/net/phy/ |
H A D | bcm84881.c | 36 __set_bit(PHY_INTERFACE_MODE_SGMII, possible); in bcm84881_fill_possible_interfaces() 46 case PHY_INTERFACE_MODE_SGMII: in bcm84881_config_init() 212 phydev->interface = PHY_INTERFACE_MODE_SGMII; in bcm84881_read_status()
|
H A D | marvell10g.c | 654 else if (test_bit(PHY_INTERFACE_MODE_SGMII, interfaces) && in mv2110_select_mactype() 693 else if (test_bit(PHY_INTERFACE_MODE_SGMII, interfaces) && in mv3310_select_mactype() 696 else if (test_bit(PHY_INTERFACE_MODE_SGMII, interfaces) && in mv3310_select_mactype() 699 else if (test_bit(PHY_INTERFACE_MODE_SGMII, interfaces) && in mv3310_select_mactype() 708 else if (test_bit(PHY_INTERFACE_MODE_SGMII, interfaces)) in mv3310_select_mactype() 820 __set_bit(PHY_INTERFACE_MODE_SGMII, possible); in mv3310_fill_possible_interfaces() 1018 phydev->interface = PHY_INTERFACE_MODE_SGMII; in mv3310_update_interface() 1179 __set_bit(PHY_INTERFACE_MODE_SGMII, mask); in mv3310_init_supported_interfaces() 1190 __set_bit(PHY_INTERFACE_MODE_SGMII, mask); in mv3340_init_supported_interfaces() 1200 __set_bit(PHY_INTERFACE_MODE_SGMII, mask); in mv2110_init_supported_interfaces() [all …]
|
H A D | marvell-88x2222.c | 204 case PHY_INTERFACE_MODE_SGMII: in mv2222_config_line() 227 priv->line_interface = PHY_INTERFACE_MODE_SGMII; in mv2222_swap_line_type() 233 case PHY_INTERFACE_MODE_SGMII: in mv2222_swap_line_type() 267 if (priv->line_interface == PHY_INTERFACE_MODE_SGMII) { in mv2222_setup_forced() 498 sfp_interface != PHY_INTERFACE_MODE_SGMII) { in mv2222_sfp_insert()
|
H A D | dp83tc811.c | 313 if (phydev->interface == PHY_INTERFACE_MODE_SGMII) { in dp83811_config_aneg() 336 if (phydev->interface == PHY_INTERFACE_MODE_SGMII) { in dp83811_config_init()
|
H A D | dp83867.c | 796 phydev->interface == PHY_INTERFACE_MODE_SGMII) { in dp83867_config_init() 805 if (phydev->interface == PHY_INTERFACE_MODE_SGMII) { in dp83867_config_init() 877 if (phydev->interface == PHY_INTERFACE_MODE_SGMII) { in dp83867_config_init() 999 if (phydev->interface == PHY_INTERFACE_MODE_SGMII) { in dp83867_link_change_notify()
|
/linux/drivers/phy/freescale/ |
H A D | phy-fsl-lynx-28g.c | 202 case PHY_INTERFACE_MODE_SGMII: in lynx_28g_lane_set_nrate() 251 case PHY_INTERFACE_MODE_SGMII: in lynx_28g_cleanup_lane() 280 pll = lynx_28g_pll_get(priv, PHY_INTERFACE_MODE_SGMII); in lynx_28g_lane_set_sgmii() 284 lynx_28g_lane_set_nrate(lane, pll, PHY_INTERFACE_MODE_SGMII); in lynx_28g_lane_set_sgmii() 407 case PHY_INTERFACE_MODE_SGMII: in lynx_28g_set_mode() 494 __set_bit(PHY_INTERFACE_MODE_SGMII, pll->supported); in lynx_28g_pll_read_configuration() 548 lane->interface = PHY_INTERFACE_MODE_SGMII; in lynx_28g_lane_read_configuration()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac-ipq806x.c | 182 case PHY_INTERFACE_MODE_SGMII: in ipq806x_gmac_set_speed() 421 case PHY_INTERFACE_MODE_SGMII: in ipq806x_gmac_probe() 440 case PHY_INTERFACE_MODE_SGMII: in ipq806x_gmac_probe() 460 case PHY_INTERFACE_MODE_SGMII: in ipq806x_gmac_probe() 469 if (gmac->phy_mode == PHY_INTERFACE_MODE_SGMII) { in ipq806x_gmac_probe()
|
H A D | dwmac-socfpga.c | 260 case PHY_INTERFACE_MODE_SGMII: in socfpga_set_phy_mode_common() 303 phymode == PHY_INTERFACE_MODE_SGMII) { in socfpga_gen5_set_phy_mode() 324 if (phymode == PHY_INTERFACE_MODE_SGMII) in socfpga_gen5_set_phy_mode() 359 phymode == PHY_INTERFACE_MODE_SGMII) { in socfpga_gen10_set_phy_mode() 377 if (phymode == PHY_INTERFACE_MODE_SGMII) in socfpga_gen10_set_phy_mode()
|
H A D | dwmac-intel.c | 588 if (phy_mode == PHY_INTERFACE_MODE_SGMII || in intel_mgbe_common_data() 597 if (plat->phy_interface == PHY_INTERFACE_MODE_SGMII || in intel_mgbe_common_data() 649 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in ehl_sgmii_data() 708 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in ehl_pse0_sgmii1g_data() 749 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in ehl_pse1_sgmii1g_data() 785 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in tgl_sgmii_phy0_data() 799 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in tgl_sgmii_phy1_data() 813 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in adls_sgmii_phy0_data() 828 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in adls_sgmii_phy1_data()
|
/linux/drivers/phy/ti/ |
H A D | phy-gmii-sel.c | 112 case PHY_INTERFACE_MODE_SGMII: in phy_gmii_sel_mode() 113 if (!(soc_data->extra_modes & BIT(PHY_INTERFACE_MODE_SGMII))) in phy_gmii_sel_mode() 233 .extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII) | BIT(PHY_INTERFACE_MODE_SGMII), 242 .extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII) | BIT(PHY_INTERFACE_MODE_SGMII), 251 .extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII) | BIT(PHY_INTERFACE_MODE_SGMII) |
|
/linux/drivers/phy/renesas/ |
H A D | r8a779f0-ether-serdes.c | 96 case PHY_INTERFACE_MODE_SGMII: in r8a779f0_eth_serdes_common_setting() 114 case PHY_INTERFACE_MODE_SGMII: in r8a779f0_eth_serdes_chan_setting() 171 case PHY_INTERFACE_MODE_SGMII: in r8a779f0_eth_serdes_chan_speed() 310 case PHY_INTERFACE_MODE_SGMII: in r8a779f0_eth_serdes_set_mode()
|
/linux/drivers/phy/marvell/ |
H A D | phy-mvebu-cp110-comphy.c | 211 ETH_CONF(0, 1, PHY_INTERFACE_MODE_SGMII, 0x1, COMPHY_FW_MODE_SGMII), 219 ETH_CONF(1, 2, PHY_INTERFACE_MODE_SGMII, 0x1, COMPHY_FW_MODE_SGMII), 222 ETH_CONF(2, 0, PHY_INTERFACE_MODE_SGMII, 0x1, COMPHY_FW_MODE_SGMII), 232 ETH_CONF(3, 1, PHY_INTERFACE_MODE_SGMII, 0x2, COMPHY_FW_MODE_SGMII), 238 ETH_CONF(4, 0, PHY_INTERFACE_MODE_SGMII, 0x2, COMPHY_FW_MODE_SGMII), 246 ETH_CONF(4, 1, PHY_INTERFACE_MODE_SGMII, 0x1, COMPHY_FW_MODE_SGMII), 253 ETH_CONF(5, 2, PHY_INTERFACE_MODE_SGMII, 0x1, COMPHY_FW_MODE_SGMII), 372 case PHY_INTERFACE_MODE_SGMII: in mvebu_comphy_ethernet_init_reset() 744 case PHY_INTERFACE_MODE_SGMII: in mvebu_comphy_power_on_legacy() 788 case PHY_INTERFACE_MODE_SGMII: in mvebu_comphy_power_on() [all …]
|
/linux/drivers/net/pcs/ |
H A D | pcs-lynx.c | 89 case PHY_INTERFACE_MODE_SGMII: in lynx_pcs_get_state() 178 case PHY_INTERFACE_MODE_SGMII: in lynx_pcs_config() 291 case PHY_INTERFACE_MODE_SGMII: in lynx_pcs_link_up()
|
H A D | pcs-mtk-lynxi.c | 124 if (interface == PHY_INTERFACE_MODE_SGMII) in mtk_pcs_lynxi_config() 133 if (interface == PHY_INTERFACE_MODE_SGMII) in mtk_pcs_lynxi_config()
|
H A D | pcs-xpcs-wx.c | 167 xpcs->interface == PHY_INTERFACE_MODE_SGMII) in txgbe_xpcs_mode_quirk() 179 case PHY_INTERFACE_MODE_SGMII: in txgbe_xpcs_switch_mode()
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-mac.c | 52 *if_mode = PHY_INTERFACE_MODE_SGMII; in phy_mode() 79 case PHY_INTERFACE_MODE_SGMII: in dpmac_eth_if_mode() 311 case PHY_INTERFACE_MODE_SGMII: in dpaa2_mac_set_supported_interfaces() 314 __set_bit(PHY_INTERFACE_MODE_SGMII, in dpaa2_mac_set_supported_interfaces()
|
/linux/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_ethtool.c | 123 } else if (pdata->phy_mode == PHY_INTERFACE_MODE_SGMII) { in xgene_get_link_ksettings() 177 if (pdata->phy_mode == PHY_INTERFACE_MODE_SGMII) { in xgene_set_link_ksettings() 297 pdata->phy_mode == PHY_INTERFACE_MODE_SGMII) { in xgene_set_pauseparam()
|
/linux/drivers/net/dsa/b53/ |
H A D | b53_srab.c | 376 if (port->mode == PHY_INTERFACE_MODE_SGMII) in b53_srab_port_thread() 400 if (p->mode != PHY_INTERFACE_MODE_SGMII) in b53_srab_serdes_map_lane() 453 case PHY_INTERFACE_MODE_SGMII: in b53_srab_phylink_get_caps() 590 p->mode = PHY_INTERFACE_MODE_SGMII; in b53_srab_mux_init()
|
H A D | b53_serdes.c | 184 __set_bit(PHY_INTERFACE_MODE_SGMII, in b53_serdes_phylink_get_caps() 205 interface != PHY_INTERFACE_MODE_SGMII) in b53_serdes_phylink_mac_select_pcs()
|
/linux/drivers/net/dsa/qca/ |
H A D | qca8k-8xxx.c | 1177 case PHY_INTERFACE_MODE_SGMII: in qca8k_parse_port_config() 1295 case PHY_INTERFACE_MODE_SGMII: in qca8k_phylink_mac_select_pcs() 1334 state->interface != PHY_INTERFACE_MODE_SGMII) in qca8k_phylink_mac_config() 1352 state->interface != PHY_INTERFACE_MODE_SGMII && in qca8k_phylink_mac_config() 1388 case PHY_INTERFACE_MODE_SGMII: in qca8k_phylink_mac_config() 1406 __set_bit(PHY_INTERFACE_MODE_SGMII, in qca8k_phylink_get_caps() 1424 __set_bit(PHY_INTERFACE_MODE_SGMII, in qca8k_phylink_get_caps() 1583 } else if (interface == PHY_INTERFACE_MODE_SGMII) { in qca8k_pcs_config() 1596 if (interface == PHY_INTERFACE_MODE_SGMII) in qca8k_pcs_config()
|
/linux/drivers/net/ethernet/freescale/fman/ |
H A D | fman_memac.c | 650 case PHY_INTERFACE_MODE_SGMII: in memac_if_mode() 668 case PHY_INTERFACE_MODE_SGMII: in memac_select_pcs() 686 case PHY_INTERFACE_MODE_SGMII: in memac_prepare() 1173 (memac_supports(mac_dev, PHY_INTERFACE_MODE_SGMII) || in memac_initialization() 1175 __set_bit(PHY_INTERFACE_MODE_SGMII, supported); in memac_initialization()
|
/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_mac.c | 28 [PHY_INTERFACE_MODE_SGMII] = MAC_SPEED_1000, 46 [PHY_INTERFACE_MODE_SGMII] = MAC_MODE_SGMII_1000, 731 else if (!strcmp(phy_type, phy_modes(PHY_INTERFACE_MODE_SGMII))) in hns_mac_register_phydev() 850 if (mac_cb->phy_if == PHY_INTERFACE_MODE_SGMII) { in hns_mac_get_info() 988 case PHY_INTERFACE_MODE_SGMII: in hns_mac_get_mode()
|
H A D | hns_dsaf_misc.c | 522 return PHY_INTERFACE_MODE_SGMII; in hns_mac_get_phy_if() 539 phy_if = PHY_INTERFACE_MODE_SGMII; in hns_mac_get_phy_if() 565 PHY_INTERFACE_MODE_XGMII : PHY_INTERFACE_MODE_SGMII; in hns_mac_get_phy_if_acpi()
|
/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_port.c | 110 if (port->conf.portmode == PHY_INTERFACE_MODE_SGMII) { in sparx5_get_dev2g5_status() 171 case PHY_INTERFACE_MODE_SGMII: in sparx5_get_port_status() 243 case PHY_INTERFACE_MODE_SGMII: in sparx5_port_verify_speed() 735 if (conf->portmode == PHY_INTERFACE_MODE_SGMII || in sparx5_port_pcs_low_set() 1080 conf->portmode == PHY_INTERFACE_MODE_SGMII) { in sparx5_port_init()
|
/linux/drivers/net/phy/aquantia/ |
H A D | aquantia_main.c | 366 phydev->interface = PHY_INTERFACE_MODE_SGMII; in aqr107_read_status() 495 if (phydev->interface != PHY_INTERFACE_MODE_SGMII && in aqr107_config_init() 532 if (phydev->interface != PHY_INTERFACE_MODE_SGMII && in aqcs109_config_init() 692 interface = PHY_INTERFACE_MODE_SGMII; in aqr107_fill_interface_modes()
|