/freebsd-11-stable/contrib/wpa/src/common/ |
H A D | hw_features_common.c | 490 static int _ieee80211ac_cap_check(u32 hw, u32 conf, u32 cap, argument 493 u32 req_cap = conf & cap; 497 * NOTE: We assume that 'cap' represents a capability mask, 529 #define VHT_CAP_CHECK(cap) \ 531 if (!_ieee80211ac_cap_check(hw, conf, cap, #cap)) \ 535 #define VHT_CAP_CHECK_MAX(cap) \ 537 if (!ieee80211ac_cap_check_max(hw, conf, cap, cap ## _SHIFT, \ 538 #cap)) \ [all...] |
/freebsd-11-stable/contrib/wpa/src/ap/ |
H A D | wpa_auth_kay.c | 45 static int hapd_macsec_get_capability(void *priv, enum macsec_cap *cap) argument 51 return hapd->driver->macsec_get_capability(hapd->drv_priv, cap);
|
H A D | ieee802_11_vht.c | 25 struct ieee80211_vht_capabilities *cap; local 46 *pos++ = sizeof(*cap); 48 cap = (struct ieee80211_vht_capabilities *) pos; 49 os_memset(cap, 0, sizeof(*cap)); 50 cap->vht_capabilities_info = host_to_le32( 56 hapd_nsts = le_to_host32(cap->vht_capabilities_info); 58 cap->vht_capabilities_info &= 61 cap->vht_capabilities_info |= 66 os_memcpy(&cap 461 u32 cap, own_cap, sym_caps; local [all...] |
H A D | ieee802_11_ht.c | 26 struct ieee80211_ht_capabilities *cap; local 34 *pos++ = sizeof(*cap); 36 cap = (struct ieee80211_ht_capabilities *) pos; 37 os_memset(cap, 0, sizeof(*cap)); 38 cap->ht_capabilities_info = host_to_le16(hapd->iconf->ht_capab); 39 cap->a_mpdu_params = hapd->iface->current_mode->a_mpdu_params; 40 os_memcpy(cap->supported_mcs_set, hapd->iface->current_mode->mcs_set, 47 pos += sizeof(*cap); 520 u16 cap; local [all...] |
H A D | ieee802_11_he.c | 50 struct ieee80211_he_capabilities *cap; local 87 cap = (struct ieee80211_he_capabilities *) pos; 88 os_memset(cap, 0, sizeof(*cap)); 90 os_memcpy(cap->he_mac_capab_info, mode->he_capab[opmode].mac_cap, 92 os_memcpy(cap->he_phy_capab_info, mode->he_capab[opmode].phy_cap, 94 os_memcpy(cap->optional, mode->he_capab[opmode].mcs, mcs_nss_size); 96 os_memcpy(&cap->optional[mcs_nss_size], 100 cap->he_phy_capab_info[HE_PHYCAP_SU_BEAMFORMER_CAPAB_IDX] |= 103 cap [all...] |
/freebsd-11-stable/contrib/ofed/libibverbs/ |
H A D | verbs.h | 778 struct ibv_qp_cap cap; member in struct:ibv_qp_init_attr 813 struct ibv_qp_cap cap; member in struct:ibv_qp_init_attr_ex 894 struct ibv_qp_cap cap; member in struct:ibv_qp_attr
|
/freebsd-11-stable/sbin/camcontrol/ |
H A D | persist.c | 240 persist_print_cap(struct scsi_per_res_cap *cap, uint32_t valid_len) argument 246 length = scsi_2btoul(cap->length); 248 type_mask = scsi_2btoul(cap->type_mask); 259 (cap->flags1 & SPRI_RLR_C) ? 1 : 0); 261 (cap->flags1 & SPRI_CRH) ? 1 : 0); 263 (cap->flags1 & SPRI_SIP_C) ? 1 : 0); 265 (cap->flags1 & SPRI_ATP_C) ? 1 : 0); 267 (cap->flags1 & SPRI_PTPL_C) ? 1 : 0); 269 (cap->flags2 & SPRI_ALLOW_CMD_MASK) >> SPRI_ALLOW_CMD_SHIFT); 276 switch (cap 910 struct scsi_per_res_cap *cap; local [all...] |
/freebsd-11-stable/lib/libvmmapi/ |
H A D | vmmapi.h | 149 int vm_get_capability(struct vmctx *ctx, int vcpu, enum vm_cap_type cap, 151 int vm_set_capability(struct vmctx *ctx, int vcpu, enum vm_cap_type cap,
|
H A D | vmmapi.c | 818 vm_get_capability(struct vmctx *ctx, int vcpu, enum vm_cap_type cap, argument 826 vmcap.captype = cap; 834 vm_set_capability(struct vmctx *ctx, int vcpu, enum vm_cap_type cap, int val) argument 840 vmcap.captype = cap; 1169 struct vm_hpet_cap cap; local 1171 bzero(&cap, sizeof(struct vm_hpet_cap)); 1172 error = ioctl(ctx->fd, VM_GET_HPET_CAPABILITIES, &cap); 1174 *capabilities = cap.capabilities;
|
/freebsd-11-stable/usr.sbin/bhyve/ |
H A D | pci_passthru.c | 177 int i, ptr, capptr, cap, sts, caplen, table_size; local 195 cap = read_config(&sel, ptr + PCICAP_ID, 1); 196 if (cap == PCIY_MSI) { 213 } else if (cap == PCIY_MSIX) {
|
H A D | pci_ahci.c | 200 uint32_t cap; member in struct:pci_ahci_softc 2220 uint32_t *p = &sc->cap; 2400 sc->cap = AHCI_CAP_64BIT | AHCI_CAP_SNCQ | AHCI_CAP_SSNTF |
|
/freebsd-11-stable/sys/dev/mmc/ |
H A D | mmc.c | 1522 #define HOST_TIMING_CAP(host_caps, cap) ({ \ 1524 if (((host_caps) & (cap)) == (cap)) \
|
/freebsd-11-stable/lib/libpmc/ |
H A D | libpmc.c | 4228 pmc_name_of_capability(enum pmc_caps cap) argument 4233 * 'cap' should have a single bit set and should be in 4236 if ((cap & (cap - 1)) || cap < PMC_CAP_FIRST || 4237 cap > PMC_CAP_LAST) { 4242 i = ffs(cap);
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_marshall.c | 72 dst->max_send_wr = src->cap.max_send_wr; 73 dst->max_recv_wr = src->cap.max_recv_wr; 74 dst->max_send_sge = src->cap.max_send_sge; 75 dst->max_recv_sge = src->cap.max_recv_sge; 76 dst->max_inline_data = src->cap.max_inline_data;
|
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_os.c | 5465 qlnx_pci_find_capability(void *ecore_dev, int cap) argument
|
H A D | ecore_sriov.c | 448 &iov->cap); 455 "IOV info: nres %d, cap 0x%x, ctrl 0x%x, total %d, initial %d, num vfs %d, offset %d, stride %d, page size 0x%x\n", 456 iov->nres, iov->cap, iov->ctrl,
|
H A D | ecore_iov_api.h | 166 u32 cap; /* SR-IOV Capabilities */ member in struct:ecore_hw_sriov_info
|
H A D | bcm_osal.h | 64 extern int qlnx_pci_find_capability(void *ecore_dev, int cap); 387 #define OSAL_PCI_FIND_CAPABILITY(dev, cap) qlnx_pci_find_capability(dev, cap)
|
/freebsd-11-stable/contrib/ofed/libibverbs/examples/ |
H A D | xsrq_pingpong.c | 172 init.cap.max_send_wr = ctx.num_clients * ctx.num_tests; 173 init.cap.max_send_sge = 1;
|
H A D | ud_pingpong.c | 372 .cap = { 388 if (init_attr.cap.max_inline_data >= size) {
|
H A D | uc_pingpong.c | 361 .cap = { 376 if (init_attr.cap.max_inline_data >= size) {
|
H A D | srq_pingpong.c | 428 .cap = { 441 if (init_attr.cap.max_inline_data >= size) {
|
H A D | rc_pingpong.c | 430 .cap = { 446 if (init_attr.cap.max_inline_data >= size) {
|
/freebsd-11-stable/contrib/ofed/librdmacm/examples/ |
H A D | mckey.c | 151 init_qp_attr.cap.max_send_wr = message_count ? message_count : 1; 152 init_qp_attr.cap.max_recv_wr = message_count ? message_count : 1; 153 init_qp_attr.cap.max_send_sge = 1; 154 init_qp_attr.cap.max_recv_sge = 1;
|
/freebsd-11-stable/contrib/libpcap/ |
H A D | pcap-rdmasniff.c | 231 qp_init_attr.cap.max_recv_wr = RDMASNIFF_NUM_RECEIVES; 232 qp_init_attr.cap.max_recv_sge = 1;
|