Searched refs:pcaps (Results 1 – 10 of 10) sorted by relevance
| /src/sys/dev/ixgbe/ |
| H A D | ixgbe_e610.c | 1245 struct ixgbe_aci_cmd_get_phy_caps_data *pcaps) in ixgbe_aci_get_phy_caps() argument 1248 u16 pcaps_size = sizeof(*pcaps); in ixgbe_aci_get_phy_caps() 1254 if (!pcaps || (report_mode & ~IXGBE_ACI_REPORT_MODE_M)) in ixgbe_aci_get_phy_caps() 1263 status = ixgbe_aci_send_cmd(hw, &desc, pcaps, pcaps_size); in ixgbe_aci_get_phy_caps() 1267 hw->phy.phy_type_low = IXGBE_LE64_TO_CPU(pcaps->phy_type_low); in ixgbe_aci_get_phy_caps() 1268 hw->phy.phy_type_high = IXGBE_LE64_TO_CPU(pcaps->phy_type_high); in ixgbe_aci_get_phy_caps() 1269 memcpy(hw->link.link_info.module_type, &pcaps->module_type, in ixgbe_aci_get_phy_caps() 1499 struct ixgbe_aci_cmd_get_phy_caps_data *pcaps; in ixgbe_update_link_info() local 1513 pcaps = (struct ixgbe_aci_cmd_get_phy_caps_data *) in ixgbe_update_link_info() 1514 ixgbe_malloc(hw, sizeof(*pcaps)); in ixgbe_update_link_info() [all …]
|
| H A D | ixgbe_e610.h | 66 struct ixgbe_aci_cmd_get_phy_caps_data *pcaps);
|
| /src/sys/dev/bhnd/cores/chipc/ |
| H A D | bhnd_pmu_chipc.c | 66 uint32_t pcaps; in bhnd_pmu_chipc_probe() local 85 pcaps = bhnd_bus_read_4(chipc_sc->core, BHND_PMU_CAP); in bhnd_pmu_chipc_probe() 88 rev = BHND_PMU_GET_BITS(pcaps, BHND_PMU_CAP_REV); in bhnd_pmu_chipc_probe()
|
| /src/sys/dev/ice/ |
| H A D | ice_common.c | 524 struct ice_aqc_get_phy_caps_data *pcaps, in ice_aq_get_phy_caps() argument 528 u16 pcaps_size = sizeof(*pcaps); in ice_aq_get_phy_caps() 536 if (!pcaps || (report_mode & ~ICE_AQC_REPORT_MODE_M) || !pi) in ice_aq_get_phy_caps() 551 status = ice_aq_send_cmd(hw, &desc, pcaps, pcaps_size, cd); in ice_aq_get_phy_caps() 572 ice_dump_phy_type(hw, LE64_TO_CPU(pcaps->phy_type_low), in ice_aq_get_phy_caps() 573 LE64_TO_CPU(pcaps->phy_type_high), prefix); in ice_aq_get_phy_caps() 577 ice_debug(hw, ICE_DBG_LINK, "%s: caps = 0x%x\n", prefix, pcaps->caps); in ice_aq_get_phy_caps() 579 pcaps->low_power_ctrl_an); in ice_aq_get_phy_caps() 581 pcaps->eee_cap); in ice_aq_get_phy_caps() 583 pcaps->eeer_value); in ice_aq_get_phy_caps() [all …]
|
| H A D | ice_lib.c | 1295 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_add_media_types() local 1313 &pcaps, NULL); in ice_add_media_types() 1321 phy_low = le64toh(pcaps.phy_type_low); in ice_add_media_types() 1322 phy_high = le64toh(pcaps.phy_type_high); in ice_add_media_types() 3219 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_intersect_phy_types_and_speeds() local 3255 status = ice_aq_get_phy_caps(pi, false, phy_data->report_mode, &pcaps, NULL); in ice_intersect_phy_types_and_speeds() 3265 phy_data->phy_low_orig = le64toh(pcaps.phy_type_low); in ice_intersect_phy_types_and_speeds() 3266 phy_data->phy_high_orig = le64toh(pcaps.phy_type_high); in ice_intersect_phy_types_and_speeds() 3271 pcaps.module_type[0]); in ice_intersect_phy_types_and_speeds() 3476 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_sysctl_fc_config() local [all …]
|
| /src/usr.sbin/bsnmpd/modules/snmp_wlan/ |
| H A D | wlan_sys.c | 2130 wlan_peercaps_to_snmp(uint32_t pcaps) in wlan_peercaps_to_snmp() argument 2134 if ((pcaps & IEEE80211_CAPINFO_ESS) != 0) in wlan_peercaps_to_snmp() 2136 if ((pcaps & IEEE80211_CAPINFO_IBSS) != 0) in wlan_peercaps_to_snmp() 2138 if ((pcaps & IEEE80211_CAPINFO_CF_POLLABLE) != 0) in wlan_peercaps_to_snmp() 2140 if ((pcaps & IEEE80211_CAPINFO_CF_POLLREQ) != 0) in wlan_peercaps_to_snmp() 2142 if ((pcaps & IEEE80211_CAPINFO_PRIVACY) != 0) in wlan_peercaps_to_snmp() 2144 if ((pcaps & IEEE80211_CAPINFO_SHORT_PREAMBLE) != 0) in wlan_peercaps_to_snmp() 2146 if ((pcaps & IEEE80211_CAPINFO_PBCC) != 0) in wlan_peercaps_to_snmp() 2148 if ((pcaps & IEEE80211_CAPINFO_CHNL_AGILITY) != 0) in wlan_peercaps_to_snmp() 2150 if ((pcaps & IEEE80211_CAPINFO_SHORT_SLOTTIME) != 0) in wlan_peercaps_to_snmp() [all …]
|
| /src/sys/dev/sound/pcm/ |
| H A D | dsp.c | 922 struct pcmchan_caps *pcaps = NULL, *rcaps = NULL; in dsp_ioctl() local 947 pcaps = chn_getcaps(wrch); in dsp_ioctl() 950 pcaps? pcaps->minspeed : 0); in dsp_ioctl() 952 pcaps? pcaps->maxspeed : 1000000); in dsp_ioctl()
|
| /src/sys/dev/cxgbe/ |
| H A D | t4_main.c | 3573 if (!(lc->pcaps & FW_PORT_CAP32_ANEG)) { in cxgbe_media_change() 6229 lc->pcaps & FW_PORT_CAP32_ANEG) { in set_current_media() 6286 ss = G_FW_PORT_CAP32_SPEED(lc->pcaps); /* Supported Speeds */ in build_medialist() 6312 if (lc->pcaps & FW_PORT_CAP32_ANEG) in build_medialist() 6376 if ((fwspeed & lc->pcaps) == 0) { in fixup_link_config() 6387 !(lc->pcaps & FW_PORT_CAP32_ANEG)) { in fixup_link_config() 6395 !(lc->pcaps & FW_PORT_CAP32_FC_TX)) { in fixup_link_config() 6400 !(lc->pcaps & FW_PORT_CAP32_FC_RX)) { in fixup_link_config() 6405 !(lc->pcaps & FW_PORT_CAP32_FORCE_PAUSE)) { in fixup_link_config() 6412 !(lc->pcaps & FW_PORT_CAP32_FEC_RS)) || in fixup_link_config() [all …]
|
| /src/sys/dev/cxgbe/common/ |
| H A D | t4_hw.c | 4642 aneg = lc->pcaps & FW_PORT_CAP32_ANEG; in t4_link_l1cfg() 4645 speed = lc->pcaps & in t4_link_l1cfg() 4650 speed = fwcap_top_speed(lc->pcaps); in t4_link_l1cfg() 4656 if (lc->pcaps & FW_PORT_CAP32_FORCE_FEC) in t4_link_l1cfg() 4721 aneg = lc->pcaps & FW_PORT_CAP32_ANEG; in t4_link_l1cfg() 4724 if ((rcap | lc->pcaps) != lc->pcaps) { in t4_link_l1cfg() 4727 lc->pcaps, rcap & (rcap ^ lc->pcaps)); in t4_link_l1cfg() 4729 rcap &= lc->pcaps; in t4_link_l1cfg() 10748 lc->pcaps = fwcaps16_to_caps32(be16_to_cpu(p->u.info.pcap)); in handle_port_info() 10763 lc->pcaps = be32_to_cpu(p->u.info32.pcaps32); in handle_port_info() [all …]
|
| H A D | common.h | 514 uint32_t pcaps; /* link capabilities */ member 1076 return (fwcap_to_speed(pi->link_cfg.pcaps) / 1000); in port_top_speed()
|