Home
last modified time | relevance | path

Searched refs:pcaps (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_e610.c1241 struct ixgbe_aci_cmd_get_phy_caps_data *pcaps) in ixgbe_aci_get_phy_caps() argument
1244 u16 pcaps_size = sizeof(*pcaps); in ixgbe_aci_get_phy_caps()
1250 if (!pcaps || (report_mode & ~IXGBE_ACI_REPORT_MODE_M)) in ixgbe_aci_get_phy_caps()
1259 status = ixgbe_aci_send_cmd(hw, &desc, pcaps, pcaps_size); in ixgbe_aci_get_phy_caps()
1263 hw->phy.phy_type_low = IXGBE_LE64_TO_CPU(pcaps->phy_type_low); in ixgbe_aci_get_phy_caps()
1264 hw->phy.phy_type_high = IXGBE_LE64_TO_CPU(pcaps->phy_type_high); in ixgbe_aci_get_phy_caps()
1265 memcpy(hw->link.link_info.module_type, &pcaps->module_type, in ixgbe_aci_get_phy_caps()
1482 struct ixgbe_aci_cmd_get_phy_caps_data *pcaps; in ixgbe_update_link_info() local
1496 pcaps = (struct ixgbe_aci_cmd_get_phy_caps_data *) in ixgbe_update_link_info()
1497 ixgbe_malloc(hw, sizeof(*pcaps)); in ixgbe_update_link_info()
[all …]
H A Dixgbe_e610.h66 struct ixgbe_aci_cmd_get_phy_caps_data *pcaps);
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_mac.c472 *val = !!(lc->pcaps & FW_PORT_CAP32_SPEED_100G); in t4_mc_getstat()
476 *val = !!(lc->pcaps & FW_PORT_CAP32_SPEED_50G); in t4_mc_getstat()
480 *val = !!(lc->pcaps & FW_PORT_CAP32_SPEED_40G); in t4_mc_getstat()
484 *val = !!(lc->pcaps & FW_PORT_CAP32_SPEED_25G); in t4_mc_getstat()
488 *val = !!(lc->pcaps & FW_PORT_CAP32_SPEED_10G); in t4_mc_getstat()
492 *val = !!(lc->pcaps & FW_PORT_CAP32_SPEED_1G); in t4_mc_getstat()
496 *val = !!(lc->pcaps & FW_PORT_CAP32_SPEED_100M); in t4_mc_getstat()
506 *val = !!(lc->pcaps & FW_PORT_CAP32_FC_RX); in t4_mc_getstat()
510 *val = !!(lc->pcaps & FW_PORT_CAP32_FC_TX); in t4_mc_getstat()
514 *val = !!(lc->pcaps & FW_PORT_CAP32_ANEG); in t4_mc_getstat()
[all …]
H A Dt4_nexus.c2590 const uint32_t pcap = pi->link_cfg.pcaps; in t4_port_speed()
2608 const uint32_t pcap = pi->link_cfg.pcaps; in t4_port_speed_name()
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dt4_hw.c9073 if (!(lc->pcaps & FW_PORT_CAP32_ANEG)) in t4_link_set_autoneg()
9082 if (lc->pcaps & FW_PORT_CAP32_MDIAUTO) in t4_link_set_autoneg()
9100 if (lc->pcaps & FW_PORT_CAP32_802_3_PAUSE) in t4_link_set_pause()
9104 if (lc->pcaps & FW_PORT_CAP32_802_3_ASM_DIR) in t4_link_set_pause()
9108 if (lc->pcaps & FW_PORT_CAP32_802_3_PAUSE) in t4_link_set_pause()
9110 if (lc->pcaps & FW_PORT_CAP32_802_3_ASM_DIR) in t4_link_set_pause()
9202 if (!(lc->pcaps & T4_LINK_FEC_MASK)) in t4_link_set_fec()
9224 if (((lc->pcaps & T4_LINK_SPEED_MASK) & speed) != speed) in t4_link_set_speed()
9234 tcaps = CAP32_SPEED(lc->pcaps); in t4_link_set_speed()
9269 if (CAP32_FEC(lc->pcaps)) { in t4_link_sanitize_fec_caps()
[all …]
H A Dcommon.h502 fw_port_cap32_t pcaps; /* link capabilities */ member