Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.h74 #define XGXS_EXT_PHY_TYPE(ext_phy_config) \ argument
75 ((ext_phy_config) & PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK)
76 #define XGXS_EXT_PHY_ADDR(ext_phy_config) \ argument
77 (((ext_phy_config) & PORT_HW_CFG_XGXS_EXT_PHY_ADDR_MASK) >> \
79 #define SERDES_EXT_PHY_TYPE(ext_phy_config) \ argument
80 ((ext_phy_config) & PORT_HW_CFG_SERDES_EXT_PHY_TYPE_MASK)
Dbnx2x_ethtool.c1801 u32 ext_phy_config; in bnx2x_set_eeprom() local
1824 ext_phy_config = in bnx2x_set_eeprom()
1835 if (XGXS_EXT_PHY_TYPE(ext_phy_config) == in bnx2x_set_eeprom()
1856 if (XGXS_EXT_PHY_TYPE(ext_phy_config) == in bnx2x_set_eeprom()
Dbnx2x_link.c12184 u32 ext_phy_config = 0; in bnx2x_get_ext_phy_config() local
12187 ext_phy_config = REG_RD(bp, shmem_base + in bnx2x_get_ext_phy_config()
12192 ext_phy_config = REG_RD(bp, shmem_base + in bnx2x_get_ext_phy_config()
12201 return ext_phy_config; in bnx2x_get_ext_phy_config()
12347 u32 ext_phy_config, phy_type, config2; in bnx2x_populate_ext_phy() local
12349 ext_phy_config = bnx2x_get_ext_phy_config(bp, shmem_base, in bnx2x_populate_ext_phy()
12351 phy_type = XGXS_EXT_PHY_TYPE(ext_phy_config); in bnx2x_populate_ext_phy()
12415 phy->addr = XGXS_EXT_PHY_ADDR(ext_phy_config); in bnx2x_populate_ext_phy()
13577 u32 ext_phy_type, ext_phy_config; in bnx2x_common_init_phy() local
13600 ext_phy_config = bnx2x_get_ext_phy_config(bp, in bnx2x_common_init_phy()
[all …]
Dbnx2x_main.c4130 u32 ext_phy_config; in bnx2x_fan_failure() local
4132 ext_phy_config = in bnx2x_fan_failure()
4136 ext_phy_config &= ~PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK; in bnx2x_fan_failure()
4137 ext_phy_config |= PORT_HW_CFG_XGXS_EXT_PHY_TYPE_FAILURE; in bnx2x_fan_failure()
4139 ext_phy_config); in bnx2x_fan_failure()
11485 u32 ext_phy_type, ext_phy_config, eee_mode; in bnx2x_get_port_hwinfo() local
11539 ext_phy_config = in bnx2x_get_port_hwinfo()
11542 ext_phy_type = XGXS_EXT_PHY_TYPE(ext_phy_config); in bnx2x_get_port_hwinfo()
11549 XGXS_EXT_PHY_ADDR(ext_phy_config); in bnx2x_get_port_hwinfo()