Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/bxe/
H A Dbxe_elink.h188 #define ELINK_XGXS_EXT_PHY_TYPE(ext_phy_config) \ argument
189 ((ext_phy_config) & PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK)
190 #define ELINK_XGXS_EXT_PHY_ADDR(ext_phy_config) \ argument
191 (((ext_phy_config) & PORT_HW_CFG_XGXS_EXT_PHY_ADDR_MASK) >> \
193 #define ELINK_SERDES_EXT_PHY_TYPE(ext_phy_config) \ argument
194 ((ext_phy_config) & PORT_HW_CFG_SERDES_EXT_PHY_TYPE_MASK)
H A Dbxe_elink.c13000 uint32_t ext_phy_config = 0; in elink_get_ext_phy_config() local
13003 ext_phy_config = REG_RD(sc, shmem_base + in elink_get_ext_phy_config()
13008 ext_phy_config = REG_RD(sc, shmem_base + in elink_get_ext_phy_config()
13017 return ext_phy_config; in elink_get_ext_phy_config()
13166 uint32_t ext_phy_config, phy_type, config2; in elink_populate_ext_phy() local
13168 ext_phy_config = elink_get_ext_phy_config(sc, shmem_base, in elink_populate_ext_phy()
13170 phy_type = ELINK_XGXS_EXT_PHY_TYPE(ext_phy_config); in elink_populate_ext_phy()
13234 phy->addr = ELINK_XGXS_EXT_PHY_ADDR(ext_phy_config); in elink_populate_ext_phy()
14629 uint32_t ext_phy_type, ext_phy_config; in elink_common_init_phy() local
14656 ext_phy_config = elink_get_ext_phy_config(sc, in elink_common_init_phy()
[all …]
H A Dbxe.c6973 uint32_t ext_phy_config; in bxe_fan_failure() local
6976 ext_phy_config = in bxe_fan_failure()
6979 ext_phy_config &= ~PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK; in bxe_fan_failure()
6980 ext_phy_config |= PORT_HW_CFG_XGXS_EXT_PHY_TYPE_FAILURE; in bxe_fan_failure()
6982 ext_phy_config); in bxe_fan_failure()
13726 sc->port.ext_phy_config = in bxe_get_shmem_info()
19236 uint32_t ext_phy_config; in bxe_get_settings() local
19263 ext_phy_config = SHMEM_RD(sc, in bxe_get_settings()
19265 if((ext_phy_config & PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK) == in bxe_get_settings()
19268 else if(((ext_phy_config & PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK) != in bxe_get_settings()
[all …]
H A Dbxe.h991 uint32_t ext_phy_config; member