Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.h58 #define XGXS_EXT_PHY_TYPE(ext_phy_config) \ argument
59 ((ext_phy_config) & PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK)
60 #define XGXS_EXT_PHY_ADDR(ext_phy_config) \ argument
61 (((ext_phy_config) & PORT_HW_CFG_XGXS_EXT_PHY_ADDR_MASK) >> \
63 #define SERDES_EXT_PHY_TYPE(ext_phy_config) \ argument
64 ((ext_phy_config) & PORT_HW_CFG_SERDES_EXT_PHY_TYPE_MASK)
Dbnx2x_ethtool.c1314 u32 ext_phy_config; in bnx2x_set_eeprom() local
1336 ext_phy_config = in bnx2x_set_eeprom()
1347 if (XGXS_EXT_PHY_TYPE(ext_phy_config) == in bnx2x_set_eeprom()
1368 if (XGXS_EXT_PHY_TYPE(ext_phy_config) == in bnx2x_set_eeprom()
Dbnx2x_link.c11503 u32 ext_phy_config = 0; in bnx2x_get_ext_phy_config() local
11506 ext_phy_config = REG_RD(bp, shmem_base + in bnx2x_get_ext_phy_config()
11511 ext_phy_config = REG_RD(bp, shmem_base + in bnx2x_get_ext_phy_config()
11520 return ext_phy_config; in bnx2x_get_ext_phy_config()
11659 u32 ext_phy_config, phy_type, config2; in bnx2x_populate_ext_phy() local
11661 ext_phy_config = bnx2x_get_ext_phy_config(bp, shmem_base, in bnx2x_populate_ext_phy()
11663 phy_type = XGXS_EXT_PHY_TYPE(ext_phy_config); in bnx2x_populate_ext_phy()
11719 phy->addr = XGXS_EXT_PHY_ADDR(ext_phy_config); in bnx2x_populate_ext_phy()
12713 u32 ext_phy_type, ext_phy_config; in bnx2x_common_init_phy() local
12735 ext_phy_config = bnx2x_get_ext_phy_config(bp, in bnx2x_common_init_phy()
[all …]
Dbnx2x_main.c3457 u32 ext_phy_config; in bnx2x_fan_failure() local
3459 ext_phy_config = in bnx2x_fan_failure()
3463 ext_phy_config &= ~PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK; in bnx2x_fan_failure()
3464 ext_phy_config |= PORT_HW_CFG_XGXS_EXT_PHY_TYPE_FAILURE; in bnx2x_fan_failure()
3466 ext_phy_config); in bnx2x_fan_failure()
9712 u32 ext_phy_type, ext_phy_config; in bnx2x_get_port_hwinfo() local
9757 ext_phy_config = in bnx2x_get_port_hwinfo()
9760 ext_phy_type = XGXS_EXT_PHY_TYPE(ext_phy_config); in bnx2x_get_port_hwinfo()
9767 XGXS_EXT_PHY_ADDR(ext_phy_config); in bnx2x_get_port_hwinfo()