Home
last modified time | relevance | path

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

/freebsd/sys/dev/ice/
H A Dice_common.c508 * @pcaps: structure for PHY capabilities to be filled in ice_aq_get_phy_caps()
515 struct ice_aqc_get_phy_caps_data *pcaps, in ice_aq_get_phy_caps()
519 u16 pcaps_size = sizeof(*pcaps); in ice_aq_get_phy_caps()
527 if (!pcaps || (report_mode & ~ICE_AQC_REPORT_MODE_M) || !pi)
542 status = ice_aq_send_cmd(hw, &desc, pcaps, pcaps_size, cd); in ice_aq_get_netlist_node()
563 ice_dump_phy_type(hw, LE64_TO_CPU(pcaps->phy_type_low),
564 LE64_TO_CPU(pcaps->phy_type_high), prefix);
568 ice_debug(hw, ICE_DBG_LINK, "%s: caps = 0x%x\n", prefix, pcaps->caps); in ice_find_netlist_node()
570 pcaps->low_power_ctrl_an); in ice_find_netlist_node()
572 pcaps in ice_find_netlist_node()
440 ice_aq_get_phy_caps(struct ice_port_info * pi,bool qual_mods,u8 report_mode,struct ice_aqc_get_phy_caps_data * pcaps,struct ice_sq_cd * cd) ice_aq_get_phy_caps() argument
939 struct ice_aqc_get_phy_caps_data *pcaps; ice_init_hw() local
3371 struct ice_aqc_get_phy_caps_data *pcaps; ice_update_link_info() local
3495 struct ice_aqc_get_phy_caps_data *pcaps; ice_cfg_phy_fc() local
3558 struct ice_aqc_get_phy_caps_data *pcaps; ice_set_fc() local
3705 struct ice_aqc_get_phy_caps_data *pcaps; ice_cfg_phy_fec() local
[all...]
H A Dice_lib.c1287 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_add_media_types()
1305 &pcaps, NULL); in ice_add_media_types()
1313 phy_low = le64toh(pcaps.phy_type_low);
1314 phy_high = le64toh(pcaps.phy_type_high);
3192 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_sysctl_advertise_speed()
3228 status = ice_aq_get_phy_caps(pi, false, phy_data->report_mode, &pcaps, NULL);
3238 phy_data->phy_low_orig = le64toh(pcaps.phy_type_low);
3239 phy_data->phy_high_orig = le64toh(pcaps.phy_type_high);
3244 pcaps.module_type[0]); in ice_sysctl_fec_config()
3449 struct ice_aqc_get_phy_caps_data pcaps in ice_sysctl_fc_config()
1232 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; ice_add_media_types() local
3098 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; ice_intersect_phy_types_and_speeds() local
3354 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; ice_sysctl_fc_config() local
3511 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; __ice_sysctl_phy_type_handler() local
3611 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; ice_sysctl_phy_caps() local
7763 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; ice_requested_fec_mode() local
9537 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; ice_apply_saved_phy_cfg() local
9755 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; ice_init_saved_phy_cfg() local
[all...]
/freebsd/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()
2150 if ((pcaps & IEEE80211_CAPINFO_SHORT_SLOTTIME) != 0) in wlan_peercaps_to_snmp()
[all …]
/freebsd/sys/dev/sound/pcm/
H A Ddsp.c883 struct pcmchan_caps *pcaps = NULL, *rcaps = NULL; in dsp_ioctl() local
893 pcaps = chn_getcaps(wrch); in dsp_ioctl()
896 pcaps? pcaps->minspeed : 0); in dsp_ioctl()
898 pcaps? pcaps->maxspeed : 1000000); in dsp_ioctl()
/freebsd/sys/dev/cxgbe/
H A Dt4_main.c3441 if (!(lc->pcaps & FW_PORT_CAP32_ANEG)) { in cxgbe_media_change()
6001 lc->pcaps & FW_PORT_CAP32_ANEG) { in set_current_media()
6058 ss = G_FW_PORT_CAP32_SPEED(lc->pcaps); /* Supported Speeds */ in build_medialist()
6084 if (lc->pcaps & FW_PORT_CAP32_ANEG) in build_medialist()
6148 if ((fwspeed & lc->pcaps) == 0) { in fixup_link_config()
6159 !(lc->pcaps & FW_PORT_CAP32_ANEG)) { in fixup_link_config()
6167 !(lc->pcaps & FW_PORT_CAP32_FC_TX)) { in fixup_link_config()
6172 !(lc->pcaps & FW_PORT_CAP32_FC_RX)) { in fixup_link_config()
6177 !(lc->pcaps & FW_PORT_CAP32_FORCE_PAUSE)) { in fixup_link_config()
6184 !(lc->pcaps & FW_PORT_CAP32_FEC_RS)) || in fixup_link_config()
[all …]
/freebsd/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()