Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/bhnd/cores/chipc/
H A Dbhnd_pmu_chipc.c66 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()
/freebsd-14.2/sys/dev/ice/
H A Dice_common.c572 pcaps->eee_cap); in ice_aq_get_phy_caps()
574 pcaps->eeer_value); in ice_aq_get_phy_caps()
1107 if (!pcaps) { in ice_init_hw()
1115 ice_free(hw, pcaps); in ice_init_hw()
3678 if (!pcaps) in ice_update_link_info()
3689 ice_free(hw, pcaps); in ice_update_link_info()
3801 if (!pcaps) in ice_cfg_phy_fc()
3871 if (!pcaps) in ice_set_fc()
3927 ice_free(hw, pcaps); in ice_set_fc()
4017 if (!pcaps) in ice_cfg_phy_fec()
[all …]
H A Dice_lib.c1305 &pcaps, NULL); in ice_add_media_types()
3244 pcaps.module_type[0]); in ice_intersect_phy_types_and_speeds()
3466 &pcaps, NULL); in ice_sysctl_fc_config()
3620 &pcaps, NULL); in __ice_sysctl_phy_type_handler()
3630 types = pcaps.phy_type_high; in __ice_sysctl_phy_type_handler()
3632 types = pcaps.phy_type_low; in __ice_sysctl_phy_type_handler()
3731 ret = sysctl_handle_opaque(oidp, &pcaps, sizeof(pcaps), req); in ice_sysctl_phy_caps()
7940 &pcaps, NULL); in ice_requested_fec_mode()
9753 &pcaps, NULL); in ice_apply_saved_phy_cfg()
9767 dflt_fec_mode = ice_caps_to_fec_mode(pcaps.caps, pcaps.link_fec_options); in ice_apply_saved_phy_cfg()
[all …]
/freebsd-14.2/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_sys.c2130 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()
2152 if ((pcaps & IEEE80211_CAPINFO_RSN) != 0) in wlan_peercaps_to_snmp()
[all …]
/freebsd-14.2/sys/dev/sound/pcm/
H A Ddsp.c860 struct pcmchan_caps *pcaps = NULL, *rcaps = NULL; in dsp_ioctl() local
870 pcaps = chn_getcaps(wrch); in dsp_ioctl()
873 pcaps? pcaps->minspeed : 0); in dsp_ioctl()
875 pcaps? pcaps->maxspeed : 1000000); in dsp_ioctl()
/freebsd-14.2/sys/dev/cxgbe/
H A Dt4_main.c5902 lc->pcaps & FW_PORT_CAP32_ANEG) { in set_current_media()
5985 if (lc->pcaps & FW_PORT_CAP32_ANEG) in build_medialist()
6049 if ((fwspeed & lc->pcaps) == 0) { in fixup_link_config()
6060 !(lc->pcaps & FW_PORT_CAP32_ANEG)) { in fixup_link_config()
6111 MPASS(lc->pcaps & FW_PORT_CAP32_ANEG); in apply_link_config()
6115 MPASS(lc->pcaps & FW_PORT_CAP32_FC_TX); in apply_link_config()
6117 MPASS(lc->pcaps & FW_PORT_CAP32_FC_RX); in apply_link_config()
8664 if ((lc->pcaps | in sysctl_requested_fec()
8666 lc->pcaps) { in sysctl_requested_fec()
8732 !fec_supported(lc->pcaps)) { in sysctl_module_fec()
[all …]
/freebsd-14.2/sys/dev/cxgbe/common/
H A Dt4_hw.c3898 aneg = lc->pcaps & FW_PORT_CAP32_ANEG; in t4_link_l1cfg()
3901 speed = lc->pcaps & in t4_link_l1cfg()
3906 speed = fwcap_top_speed(lc->pcaps); in t4_link_l1cfg()
3912 if (lc->pcaps & FW_PORT_CAP32_FORCE_FEC) in t4_link_l1cfg()
3983 aneg = lc->pcaps & FW_PORT_CAP32_ANEG; in t4_link_l1cfg()
3986 if ((rcap | lc->pcaps) != lc->pcaps) { in t4_link_l1cfg()
3989 lc->pcaps, rcap & (rcap ^ lc->pcaps)); in t4_link_l1cfg()
3991 rcap &= lc->pcaps; in t4_link_l1cfg()
8894 lc->pcaps = fwcaps16_to_caps32(be16_to_cpu(p->u.info.pcap)); in handle_port_info()
8909 lc->pcaps = be32_to_cpu(p->u.info32.pcaps32); in handle_port_info()
[all …]
H A Dcommon.h454 uint32_t pcaps; /* link capabilities */ member
964 return (fwcap_to_speed(pi->link_cfg.pcaps) / 1000); in port_top_speed()