/linux-master/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-eeprom-parse.c | 704 ht_info->cap = IEEE80211_HT_CAP_DSSSCCK40; 707 ht_info->cap |= (1 << IEEE80211_HT_CAP_RX_STBC_SHIFT); 710 ht_info->cap |= IEEE80211_HT_CAP_TX_STBC; 714 ht_info->cap |= IEEE80211_HT_CAP_LDPC_CODING; 718 ht_info->cap |= IEEE80211_HT_CAP_MAX_AMSDU; 733 ht_info->cap |= IEEE80211_HT_CAP_GRN_FLD; 734 ht_info->cap |= IEEE80211_HT_CAP_SGI_20; 739 ht_info->cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40; 740 ht_info->cap |= IEEE80211_HT_CAP_SGI_40;
|
/linux-master/arch/mips/kvm/ |
H A D | mips.c | 875 struct kvm_enable_cap *cap) 879 if (!kvm_vm_ioctl_check_extension(vcpu->kvm, cap->cap)) 881 if (cap->flags) 883 if (cap->args[0]) 886 switch (cap->cap) { 963 struct kvm_enable_cap cap; local 966 if (copy_from_user(&cap, argp, sizeof(cap))) 874 kvm_vcpu_ioctl_enable_cap(struct kvm_vcpu *vcpu, struct kvm_enable_cap *cap) argument [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | mcu.c | 796 const struct ieee80211_sta_he_cap *cap; local 800 cap = mt76_connac_get_he_phy_cap(phy->mt76, vif); 813 he->max_nss_mcs[CMD_HE_MCS_BW80] = cap->he_mcs_nss_supp.tx_mcs_80; 814 he->max_nss_mcs[CMD_HE_MCS_BW160] = cap->he_mcs_nss_supp.tx_mcs_160; 815 he->max_nss_mcs[CMD_HE_MCS_BW8080] = cap->he_mcs_nss_supp.tx_mcs_80p80; 1296 ht->ht_cap = cpu_to_le16(sta->deflink.ht_cap.cap); 1316 vht->vht_cap = cpu_to_le32(sta->deflink.vht_cap.cap); 1381 !!(sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE); 1450 u32 cap = sta->deflink.vht_cap.cap; local 1998 u32 cap = sta->wme ? STA_CAP_WMM : 0; local 3613 mt7996_mcu_get_chip_config(struct mt7996_dev *dev, u32 *cap) argument [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cxgb2.c | 599 int cap = 0; local 604 cap = SUPPORTED_10baseT_Full; 606 cap = SUPPORTED_10baseT_Half; 610 cap = SUPPORTED_100baseT_Full; 612 cap = SUPPORTED_100baseT_Half; 616 cap = SUPPORTED_1000baseT_Full; 618 cap = SUPPORTED_1000baseT_Half; 622 cap = SUPPORTED_10000baseT_Full; 624 return cap; 648 int cap local [all...] |
/linux-master/arch/powerpc/kernel/ |
H A D | eeh.c | 171 int cap, i; local 202 cap = edev->pcix_cap; 203 if (cap) { 204 eeh_ops->read_config(edev, cap, 4, &cfg); 208 eeh_ops->read_config(edev, cap+4, 4, &cfg); 213 /* If PCI-E capable, dump PCI-E cap 10 */ 214 cap = edev->pcie_cap; 215 if (cap) { 220 eeh_ops->read_config(edev, cap+4*i, 4, &cfg); 241 cap [all...] |
/linux-master/drivers/bus/ |
H A D | ti-sysc.c | 119 * @cap: interconnect target module capabilities 151 const struct sysc_capabilities *cap; member in struct:sysc 283 sysc_mask = BIT(ddata->cap->regbits->srst_shift); 308 if (ddata->cap->regbits->srst_shift < 0) 1092 regbits = ddata->cap->regbits; 1203 regbits = ddata->cap->regbits; 2155 ddata->cap->regbits->srst_shift < 0) 2158 sysc_mask = BIT(ddata->cap->regbits->srst_shift); 2285 ddata->cfg.sysc_val = val & ddata->cap->sysc_mask; 2341 if ((ddata->cap 2902 const struct sysc_capabilities *cap; local [all...] |
/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | qp.c | 336 static int set_rq_size(struct mlx4_ib_dev *dev, struct ib_qp_cap *cap, argument 341 if (cap->max_recv_wr > dev->dev->caps.max_wqes - MLX4_IB_SQ_MAX_SPARE || 342 cap->max_recv_sge > min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg)) 346 if (cap->max_recv_wr || inl_recv_sz) 356 if (is_user && (!cap->max_recv_wr || !cap->max_recv_sge || 360 qp->rq.wqe_cnt = roundup_pow_of_two(max(1U, cap->max_recv_wr)); 361 qp->rq.max_gs = roundup_pow_of_two(max(1U, cap->max_recv_sge)); 368 cap->max_recv_wr = qp->rq.max_post = qp->rq.wqe_cnt; 369 cap 381 set_kernel_sq_size(struct mlx4_ib_dev *dev, struct ib_qp_cap *cap, enum mlx4_ib_qp_type type, struct mlx4_ib_qp *qp) argument [all...] |
/linux-master/drivers/scsi/cxlflash/ |
H A D | common.h | 267 static inline bool afu_has_cap(struct afu *afu, u64 cap) argument 271 return afu_cap & cap;
|
/linux-master/drivers/net/wireless/ti/wl18xx/ |
H A D | acx.c | 146 "acx set cap ht_supp: %d ht_cap: %d rates: 0x%x", 147 ht_cap->ht_supported, ht_cap->cap, rate_set); 157 ht_capabilites = ht_cap->cap;
|
/linux-master/drivers/most/ |
H A D | most_usb.c | 88 * @cap: channel capabilities 106 struct most_channel_capability *cap; member in struct:most_dev 1003 mdev->cap = kcalloc(num_endpoints, sizeof(*mdev->cap), GFP_KERNEL); 1004 if (!mdev->cap) 1007 mdev->iface.channel_vector = mdev->cap; 1018 tmp_cap = mdev->cap; 1092 kfree(mdev->cap); 1126 kfree(mdev->cap);
|
/linux-master/drivers/staging/most/dim2/ |
H A D | dim2.c | 845 struct most_channel_capability *cap = dev->capabilities + i; local 853 cap->name_suffix = hdm_ch->name; 854 cap->direction = MOST_CH_RX | MOST_CH_TX; 855 cap->data_type = MOST_CH_CONTROL | MOST_CH_ASYNC | 857 cap->num_buffers_packet = MAX_BUFFERS_PACKET; 858 cap->buffer_size_packet = MAX_BUF_SIZE_PACKET; 859 cap->num_buffers_streaming = MAX_BUFFERS_STREAMING; 860 cap->buffer_size_streaming = MAX_BUF_SIZE_STREAMING;
|
/linux-master/include/linux/spi/ |
H A D | spi-mem.h | 306 #define spi_mem_controller_is_capable(ctlr, cap) \ 307 ((ctlr)->mem_caps && (ctlr)->mem_caps->cap)
|
/linux-master/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_dsc.c | 184 unsigned long cap) 189 if (cap & BIT(DPU_DSC_OUTPUT_CTRL)) 183 _setup_dsc_ops(struct dpu_hw_dsc_ops *ops, unsigned long cap) argument
|
/linux-master/drivers/mtd/spi-nor/ |
H A D | debugfs.c | 165 static void spi_nor_print_read_cmd(struct seq_file *s, u32 cap, argument 169 cap == SNOR_HWCAPS_READ_FAST ? " (fast read)" : "");
|
/linux-master/include/linux/usb/ |
H A D | typec.h | 296 const struct typec_capability *cap); 327 int typec_get_fw_cap(struct typec_capability *cap,
|
/linux-master/tools/testing/selftests/mm/ |
H A D | memfd_secret.c | 253 cap_t cap = cap_init(); local 263 if (cap_set_proc(cap)) {
|
/linux-master/drivers/cxl/ |
H A D | pci.c | 388 const int cap = readl(cxlds->regs.mbox + CXLDEV_MBOX_CAPS_OFFSET); local 422 1 << FIELD_GET(CXLDEV_MBOX_CAP_PAYLOAD_SIZE_MASK, cap); 444 if (!(cap & CXLDEV_MBOX_CAP_BG_CMD_IRQ) || !irq_avail) 447 msgnum = FIELD_GET(CXLDEV_MBOX_CAP_IRQ_MSGNUM_MASK, cap); 529 u16 cap; local 541 rc = pcie_capability_read_word(pdev, PCI_EXP_DEVCTL, &cap); 545 if (cap & PCI_EXP_DEVCTL_URRE) { 558 if (cap & PCI_EXP_DEVCTL_CERE) {
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_common.c | 2081 u16 cap = le16_to_cpu(elem->cap); local 2084 switch (cap) { 2232 * @cap: pointer to the capability element to parse 2238 struct ice_aqc_list_caps_elem *cap) 2240 u32 logical_id = le32_to_cpu(cap->logical_id); 2241 u32 number = le32_to_cpu(cap->number); 2255 * @cap: pointer to the capability element to parse 2261 struct ice_aqc_list_caps_elem *cap) 2265 le32_to_cpu(cap 2237 ice_parse_vf_func_caps(struct ice_hw *hw, struct ice_hw_func_caps *func_p, struct ice_aqc_list_caps_elem *cap) argument 2260 ice_parse_vsi_func_caps(struct ice_hw *hw, struct ice_hw_func_caps *func_p, struct ice_aqc_list_caps_elem *cap) argument 2279 ice_parse_1588_func_caps(struct ice_hw *hw, struct ice_hw_func_caps *func_p, struct ice_aqc_list_caps_elem *cap) argument 2382 u16 cap = le16_to_cpu(cap_resp[i].cap); local 2422 ice_parse_valid_functions_cap(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, struct ice_aqc_list_caps_elem *cap) argument 2441 ice_parse_vf_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, struct ice_aqc_list_caps_elem *cap) argument 2460 ice_parse_vsi_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, struct ice_aqc_list_caps_elem *cap) argument 2479 ice_parse_1588_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, struct ice_aqc_list_caps_elem *cap) argument 2537 ice_parse_fdir_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, struct ice_aqc_list_caps_elem *cap) argument 2557 ice_parse_sensor_reading_cap(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, struct ice_aqc_list_caps_elem *cap) argument 2593 u16 cap = le16_to_cpu(cap_resp[i].cap); local [all...] |
/linux-master/drivers/media/platform/qcom/venus/ |
H A D | vdec.c | 436 vdec_querycap(struct file *file, void *fh, struct v4l2_capability *cap) argument 438 strscpy(cap->driver, "qcom-venus", sizeof(cap->driver)); 439 strscpy(cap->card, "Qualcomm Venus video decoder", sizeof(cap->card)); 440 strscpy(cap->bus_info, "platform:qcom-venus", sizeof(cap->bus_info)); 465 struct v4l2_captureparm *cap = &a->parm.capture; local 466 struct v4l2_fract *timeperframe = &cap->timeperframe; 473 memset(cap [all...] |
/linux-master/drivers/ata/ |
H A D | ahci.c | 1048 if (hpriv->cap & HOST_CAP_64) { 1580 hpriv->cap = 0xC734FF02; 1625 u32 cap; local 1636 cap = readq(hpriv->mmio + AHCI_REMAP_CAP); 1638 if ((cap & (1 << i)) == 0) 1719 if (((tmp & PORT_CMD_ESP) && (hpriv->cap & HOST_CAP_SXS)) || 1745 if (hpriv->cap & HOST_CAP_PART) 1747 else if (hpriv->cap & HOST_CAP_SSC) 1909 if (hpriv->cap & HOST_CAP_NCQ) { 1929 if (hpriv->cap [all...] |
H A D | sata_highbank.c | 505 if (hpriv->cap & HOST_CAP_NCQ) 508 if (hpriv->cap & HOST_CAP_PMP) 511 if (hpriv->cap & HOST_CAP_64) 519 n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); 533 if (!(hpriv->cap & HOST_CAP_SSS) || ahci_ignore_sss)
|
H A D | libahci_platform.c | 416 if (!of_property_read_u32(dev->of_node, "hba-cap", &hpriv->saved_cap)) 431 if (!of_property_read_u32(child, "hba-port-cap", &hpriv->saved_port_cap[port])) 705 if (hpriv->cap & HOST_CAP_NCQ) 708 if (hpriv->cap & HOST_CAP_PMP) 718 n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); 726 if (!(hpriv->cap & HOST_CAP_SSS) || ahci_ignore_sss) 750 if (hpriv->cap & HOST_CAP_64) {
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_dcb_nl.c | 88 static u8 mlx4_en_dcbnl_getcap(struct net_device *dev, int capid, u8 *cap) argument 94 *cap = true; 97 *cap = priv->dcbx_cap; 100 *cap = 1 << mlx4_max_tc(priv->mdev->dev); 103 *cap = false; 420 en_dbg(DRV, priv, "cap: 0x%x en: 0x%x mbc: 0x%x delay: %d\n",
|
/linux-master/drivers/firmware/efi/test/ |
H A D | efi_test.c | 282 efi_time_cap_t cap; local 290 gettime.capabilities ? &cap : NULL); 302 if (put_user(cap.resolution, &(cap_local->resolution)) || 303 put_user(cap.accuracy, &(cap_local->accuracy)) || 304 put_user(cap.sets_to_zero, &(cap_local->sets_to_zero)))
|
/linux-master/drivers/media/pci/solo6x10/ |
H A D | solo6x10-v4l2.c | 373 struct v4l2_capability *cap) 375 strscpy(cap->driver, SOLO6X10_NAME, sizeof(cap->driver)); 376 strscpy(cap->card, "Softlogic 6x10", sizeof(cap->card)); 372 solo_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument
|