Home
last modified time | relevance | path

Searched refs:ext_phy_config (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.h73 #define XGXS_EXT_PHY_TYPE(ext_phy_config) \ argument
74 ((ext_phy_config) & PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK)
75 #define XGXS_EXT_PHY_ADDR(ext_phy_config) \ argument
76 (((ext_phy_config) & PORT_HW_CFG_XGXS_EXT_PHY_ADDR_MASK) >> \
78 #define SERDES_EXT_PHY_TYPE(ext_phy_config) \ argument
79 ((ext_phy_config) & PORT_HW_CFG_SERDES_EXT_PHY_TYPE_MASK)
Dbnx2x_ethtool.c1776 u32 ext_phy_config; in bnx2x_set_eeprom() local
1799 ext_phy_config = in bnx2x_set_eeprom()
1810 if (XGXS_EXT_PHY_TYPE(ext_phy_config) == in bnx2x_set_eeprom()
1831 if (XGXS_EXT_PHY_TYPE(ext_phy_config) == in bnx2x_set_eeprom()
Dbnx2x_link.c12198 u32 ext_phy_config = 0; in bnx2x_get_ext_phy_config() local
12201 ext_phy_config = REG_RD(bp, shmem_base + in bnx2x_get_ext_phy_config()
12206 ext_phy_config = REG_RD(bp, shmem_base + in bnx2x_get_ext_phy_config()
12215 return ext_phy_config; in bnx2x_get_ext_phy_config()
12361 u32 ext_phy_config, phy_type, config2; in bnx2x_populate_ext_phy() local
12363 ext_phy_config = bnx2x_get_ext_phy_config(bp, shmem_base, in bnx2x_populate_ext_phy()
12365 phy_type = XGXS_EXT_PHY_TYPE(ext_phy_config); in bnx2x_populate_ext_phy()
12429 phy->addr = XGXS_EXT_PHY_ADDR(ext_phy_config); in bnx2x_populate_ext_phy()
13591 u32 ext_phy_type, ext_phy_config; in bnx2x_common_init_phy() local
13614 ext_phy_config = bnx2x_get_ext_phy_config(bp, in bnx2x_common_init_phy()
[all …]
Dbnx2x_main.c4119 u32 ext_phy_config; in bnx2x_fan_failure() local
4121 ext_phy_config = in bnx2x_fan_failure()
4125 ext_phy_config &= ~PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK; in bnx2x_fan_failure()
4126 ext_phy_config |= PORT_HW_CFG_XGXS_EXT_PHY_TYPE_FAILURE; in bnx2x_fan_failure()
4128 ext_phy_config); in bnx2x_fan_failure()
11515 u32 ext_phy_type, ext_phy_config, eee_mode; in bnx2x_get_port_hwinfo() local
11569 ext_phy_config = in bnx2x_get_port_hwinfo()
11572 ext_phy_type = XGXS_EXT_PHY_TYPE(ext_phy_config); in bnx2x_get_port_hwinfo()
11579 XGXS_EXT_PHY_ADDR(ext_phy_config); in bnx2x_get_port_hwinfo()