Home
last modified time | relevance | path

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

/freebsd/sys/dev/bxe/
H A Dbxe_elink.h186 #define ELINK_XGXS_EXT_PHY_TYPE(ext_phy_config) \ argument
187 ((ext_phy_config) & PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK)
188 #define ELINK_XGXS_EXT_PHY_ADDR(ext_phy_config) \ argument
189 (((ext_phy_config) & PORT_HW_CFG_XGXS_EXT_PHY_ADDR_MASK) >> \
191 #define ELINK_SERDES_EXT_PHY_TYPE(ext_phy_config) \ argument
192 ((ext_phy_config) & PORT_HW_CFG_SERDES_EXT_PHY_TYPE_MASK)
H A Dbxe_elink.c12998 uint32_t ext_phy_config = 0; in elink_get_ext_phy_config() local
13001 ext_phy_config = REG_RD(sc, shmem_base + in elink_get_ext_phy_config()
13006 ext_phy_config = REG_RD(sc, shmem_base + in elink_get_ext_phy_config()
13015 return ext_phy_config; in elink_get_ext_phy_config()
13164 uint32_t ext_phy_config, phy_type, config2; in elink_populate_ext_phy() local
13166 ext_phy_config = elink_get_ext_phy_config(sc, shmem_base, in elink_populate_ext_phy()
13168 phy_type = ELINK_XGXS_EXT_PHY_TYPE(ext_phy_config); in elink_populate_ext_phy()
13232 phy->addr = ELINK_XGXS_EXT_PHY_ADDR(ext_phy_config); in elink_populate_ext_phy()
14627 uint32_t ext_phy_type, ext_phy_config; in elink_common_init_phy() local
14654 ext_phy_config = elink_get_ext_phy_config(sc, in elink_common_init_phy()
[all …]
H A Dbxe.c6948 uint32_t ext_phy_config; in bxe_fan_failure() local
6951 ext_phy_config = in bxe_fan_failure()
6954 ext_phy_config &= ~PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK; in bxe_fan_failure()
6955 ext_phy_config |= PORT_HW_CFG_XGXS_EXT_PHY_TYPE_FAILURE; in bxe_fan_failure()
6957 ext_phy_config); in bxe_fan_failure()
13695 sc->port.ext_phy_config = in bxe_get_shmem_info()
19200 uint32_t ext_phy_config; in bxe_get_settings() local
19227 ext_phy_config = SHMEM_RD(sc, in bxe_get_settings()
19229 if((ext_phy_config & PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK) == in bxe_get_settings()
19232 else if(((ext_phy_config & PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK) != in bxe_get_settings()
[all …]