Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/bnx2x/
Dbnx2x_link.h51 #define XGXS_EXT_PHY_TYPE(ext_phy_config) \ argument
52 ((ext_phy_config) & PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK)
53 #define XGXS_EXT_PHY_ADDR(ext_phy_config) \ argument
54 (((ext_phy_config) & PORT_HW_CFG_XGXS_EXT_PHY_ADDR_MASK) >> \
56 #define SERDES_EXT_PHY_TYPE(ext_phy_config) \ argument
57 ((ext_phy_config) & PORT_HW_CFG_SERDES_EXT_PHY_TYPE_MASK)
Dbnx2x_ethtool.c1082 u32 ext_phy_config; in bnx2x_set_eeprom() local
1098 ext_phy_config = in bnx2x_set_eeprom()
1109 if (XGXS_EXT_PHY_TYPE(ext_phy_config) == in bnx2x_set_eeprom()
1130 if (XGXS_EXT_PHY_TYPE(ext_phy_config) == in bnx2x_set_eeprom()
Dbnx2x_link.c7245 u32 ext_phy_config = 0; in bnx2x_get_ext_phy_config() local
7248 ext_phy_config = REG_RD(bp, shmem_base + in bnx2x_get_ext_phy_config()
7253 ext_phy_config = REG_RD(bp, shmem_base + in bnx2x_get_ext_phy_config()
7262 return ext_phy_config; in bnx2x_get_ext_phy_config()
7314 u32 ext_phy_config, phy_type, config2; in bnx2x_populate_ext_phy() local
7316 ext_phy_config = bnx2x_get_ext_phy_config(bp, shmem_base, in bnx2x_populate_ext_phy()
7318 phy_type = XGXS_EXT_PHY_TYPE(ext_phy_config); in bnx2x_populate_ext_phy()
7365 phy->addr = XGXS_EXT_PHY_ADDR(ext_phy_config); in bnx2x_populate_ext_phy()
8180 u32 ext_phy_type, ext_phy_config; in bnx2x_common_init_phy() local
8196 ext_phy_config = bnx2x_get_ext_phy_config(bp, in bnx2x_common_init_phy()
[all …]
Dbnx2x_main.c2969 u32 ext_phy_config; in bnx2x_fan_failure() local
2971 ext_phy_config = in bnx2x_fan_failure()
2975 ext_phy_config &= ~PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK; in bnx2x_fan_failure()
2976 ext_phy_config |= PORT_HW_CFG_XGXS_EXT_PHY_TYPE_FAILURE; in bnx2x_fan_failure()
2978 ext_phy_config); in bnx2x_fan_failure()
8438 u32 ext_phy_type, ext_phy_config; in bnx2x_get_port_hwinfo() local
8484 ext_phy_config = in bnx2x_get_port_hwinfo()
8487 ext_phy_type = XGXS_EXT_PHY_TYPE(ext_phy_config); in bnx2x_get_port_hwinfo()
8494 XGXS_EXT_PHY_ADDR(ext_phy_config); in bnx2x_get_port_hwinfo()