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

/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.h73 #define XGXS_EXT_PHY_TYPE(ext_phy_config) \
74 ((ext_phy_config) & PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK)
75 #define XGXS_EXT_PHY_ADDR(ext_phy_config) \
76 (((ext_phy_config) & PORT_HW_CFG_XGXS_EXT_PHY_ADDR_MASK) >> \
78 #define SERDES_EXT_PHY_TYPE(ext_phy_config) \
79 ((ext_phy_config) & PORT_HW_CFG_SERDES_EXT_PHY_TYPE_MASK)
H A Dbnx2x_ethtool.c1754 u32 ext_phy_config; bnx2x_set_eeprom() local
1777 ext_phy_config = bnx2x_set_eeprom()
1788 if (XGXS_EXT_PHY_TYPE(ext_phy_config) == bnx2x_set_eeprom()
1809 if (XGXS_EXT_PHY_TYPE(ext_phy_config) == bnx2x_set_eeprom()
H A Dbnx2x_link.c12070 u32 ext_phy_config = 0; bnx2x_get_ext_phy_config() local
12073 ext_phy_config = REG_RD(bp, shmem_base + bnx2x_get_ext_phy_config()
12078 ext_phy_config = REG_RD(bp, shmem_base + bnx2x_get_ext_phy_config()
12087 return ext_phy_config; bnx2x_get_ext_phy_config()
12233 u32 ext_phy_config, phy_type, config2; bnx2x_populate_ext_phy() local
12235 ext_phy_config = bnx2x_get_ext_phy_config(bp, shmem_base, bnx2x_populate_ext_phy()
12237 phy_type = XGXS_EXT_PHY_TYPE(ext_phy_config); bnx2x_populate_ext_phy()
12301 phy->addr = XGXS_EXT_PHY_ADDR(ext_phy_config); bnx2x_populate_ext_phy()
13462 u32 ext_phy_type, ext_phy_config; bnx2x_common_init_phy() local
13485 ext_phy_config = bnx2x_get_ext_phy_config(bp, bnx2x_common_init_phy()
13488 ext_phy_type = XGXS_EXT_PHY_TYPE(ext_phy_config); bnx2x_common_init_phy()
H A Dbnx2x_main.c4115 u32 ext_phy_config; bnx2x_fan_failure() local
4117 ext_phy_config = bnx2x_fan_failure()
4121 ext_phy_config &= ~PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK; bnx2x_fan_failure()
4122 ext_phy_config |= PORT_HW_CFG_XGXS_EXT_PHY_TYPE_FAILURE; bnx2x_fan_failure()
4124 ext_phy_config); bnx2x_fan_failure()
11439 u32 ext_phy_type, ext_phy_config, eee_mode; bnx2x_get_port_hwinfo() local
11493 ext_phy_config = bnx2x_get_port_hwinfo()
11496 ext_phy_type = XGXS_EXT_PHY_TYPE(ext_phy_config); bnx2x_get_port_hwinfo()
11503 XGXS_EXT_PHY_ADDR(ext_phy_config); bnx2x_get_port_hwinfo()

Completed in 229 milliseconds