Searched refs:cap (Results 76 - 100 of 895) sorted by relevance

1234567891011>>

/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/
H A Deeprom.c161 phy->mt76->cap.has_5ghz = true;
164 phy->mt76->cap.has_6ghz = true;
167 phy->mt76->cap.has_5ghz = true;
168 phy->mt76->cap.has_6ghz = true;
171 phy->mt76->cap.has_2ghz = true;
180 phy->mt76->cap.has_5ghz = true;
183 phy->mt76->cap.has_2ghz = true;
186 phy->mt76->cap.has_2ghz = true;
187 phy->mt76->cap.has_5ghz = true;
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_qp.c442 static int set_rq_size(struct hns_roce_dev *hr_dev, struct ib_qp_cap *cap, argument
452 cap->max_recv_wr = 0;
453 cap->max_recv_sge = 0;
459 if (!cap->max_recv_wr || cap->max_recv_wr > hr_dev->caps.max_wqes ||
460 cap->max_recv_sge > max_sge) {
463 cap->max_recv_wr, cap->max_recv_sge);
467 cnt = roundup_pow_of_two(max(cap->max_recv_wr, hr_dev->caps.min_wqes));
470 cap
488 get_max_inline_data(struct hns_roce_dev *hr_dev, struct ib_qp_cap *cap) argument
500 update_inline_data(struct hns_roce_qp *hr_qp, struct ib_qp_cap *cap) argument
547 set_ext_sge_param(struct hns_roce_dev *hr_dev, u32 sq_wqe_cnt, struct hns_roce_qp *hr_qp, struct ib_qp_cap *cap) argument
593 check_sq_size_with_integrity(struct hns_roce_dev *hr_dev, struct ib_qp_cap *cap, struct hns_roce_ib_create_qp *ucmd) argument
616 set_user_sq_size(struct hns_roce_dev *hr_dev, struct ib_qp_cap *cap, struct hns_roce_qp *hr_qp, struct hns_roce_ib_create_qp *ucmd) argument
695 set_kernel_sq_size(struct hns_roce_dev *hr_dev, struct ib_qp_cap *cap, struct hns_roce_qp *hr_qp) argument
[all...]
/linux-master/drivers/power/supply/
H A Dsc27xx_fuel_gauge.c126 int cap, bool int_mode);
127 static void sc27xx_fgu_adjust_cap(struct sc27xx_fgu_data *data, int cap);
154 int ret, status, cap, mode; local
166 cap = status & SC27XX_FGU_CAP_AREA_MASK;
173 if (mode == SC27XX_FGU_FIRST_POWERTON || cap == SC27XX_FGU_DEFAULT_CAP)
224 static int sc27xx_fgu_save_last_cap(struct sc27xx_fgu_data *data, int cap) argument
245 SC27XX_FGU_CAP_AREA_MASK, cap);
267 static int sc27xx_fgu_read_last_cap(struct sc27xx_fgu_data *data, int *cap) argument
276 *cap = value & SC27XX_FGU_CAP_AREA_MASK;
286 static int sc27xx_fgu_get_boot_capacity(struct sc27xx_fgu_data *data, int *cap) argument
423 sc27xx_fgu_get_capacity(struct sc27xx_fgu_data *data, int *cap) argument
775 sc27xx_fgu_adjust_cap(struct sc27xx_fgu_data *data, int cap) argument
785 sc27xx_fgu_capacity_calibration(struct sc27xx_fgu_data *data, int cap, bool int_mode) argument
878 int ret, cap; local
[all...]
/linux-master/fs/ceph/
H A Dmetric.c21 struct ceph_metric_cap *cap; local
48 len = sizeof(*head) + sizeof(*cap) + sizeof(*read) + sizeof(*write)
62 /* encode the cap metric */
63 cap = (struct ceph_metric_cap *)(head + 1);
64 cap->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_CAP_INFO);
65 cap->header.ver = 1;
66 cap->header.compat = 1;
67 cap->header.data_len = cpu_to_le32(sizeof(*cap) - header_len);
68 cap
[all...]
/linux-master/security/
H A Dcommoncap.c56 * @cap: The capability to check for
68 int cap, unsigned int opts)
79 return cap_raised(cred->cap_effective, cap) ? 0 : -EPERM;
356 static bool is_v2header(int size, const struct vfs_cap_data *cap) argument
360 return sansflags(le32_to_cpu(cap->magic_etc)) == VFS_CAP_REVISION_2;
363 static bool is_v3header(int size, const struct vfs_cap_data *cap) argument
367 return sansflags(le32_to_cpu(cap->magic_etc)) == VFS_CAP_REVISION_3;
391 struct vfs_cap_data *cap; local
410 cap = (struct vfs_cap_data *) tmpbuf;
411 if (is_v2header(size, cap)) {
67 cap_capable(const struct cred *cred, struct user_namespace *targ_ns, int cap, unsigned int opts) argument
506 validheader(size_t size, const struct vfs_cap_data *cap) argument
535 const struct vfs_cap_data *cap = *ivalue; local
1235 cap_prctl_drop(unsigned long cap) argument
[all...]
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_dspp.c38 base = ctx->cap->sblk->pcc.base;
91 c->cap = cfg;
92 _setup_dspp_ops(c, c->cap->features);
H A Ddpu_hw_sspp.c173 const struct dpu_sspp_sub_blks *sblk = ctx->cap->sblk;
176 if (!test_bit(DPU_SSPP_SCALER_QSEED2, &ctx->cap->features) ||
177 !test_bit(DPU_SSPP_CSC, &ctx->cap->features))
193 const struct dpu_sspp_sub_blks *sblk = ctx->cap->sblk;
313 if (test_bit(DPU_SSPP_CSC, &ctx->cap->features))
316 else if (test_bit(DPU_SSPP_CSC_10BIT, &ctx->cap->features))
394 ctx->cap->sblk->scaler_blk.base,
395 ctx->cap->sblk->scaler_blk.version,
507 offset = ctx->cap->sblk->csc_blk.base;
509 if (test_bit(DPU_SSPP_CSC_10BIT, &ctx->cap
[all...]
H A Ddpu_hw_vbif.h102 const struct dpu_vbif_cfg *cap; member in struct:dpu_hw_vbif
/linux-master/include/uapi/linux/
H A Dvirtio_pci.h133 struct virtio_pci_cap cap; member in struct:virtio_pci_cap64
139 struct virtio_pci_cap cap; member in struct:virtio_pci_notify_cap
185 struct virtio_pci_cap cap; member in struct:virtio_pci_cfg_cap
H A Dif_arcnet.h125 struct arc_cap cap; member in union:archdr::__anon536
/linux-master/drivers/cxl/core/
H A Dregs.c41 int cap, cap_count; local
63 for (cap = 1; cap <= cap_count; cap++) {
69 hdr = readl(base + cap * 0x4);
96 dev_dbg(dev, "Unknown CM cap ID: %d (0x%x)\n", cap_id,
122 int cap, cap_count; local
134 for (cap = 1; cap <= cap_count; cap
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_common.c937 if (nn->cap & NFP_NET_CFG_CTRL_RINGCFG)
1031 if (nn->cap & NFP_NET_CFG_CTRL_RINGCFG)
1478 new_ctrl |= nn->cap & NFP_NET_CFG_CTRL_L2MC;
1488 if (nn->cap & NFP_NET_CFG_CTRL_PROMISC)
2004 new_ctrl |= nn->cap & NFP_NET_CFG_CTRL_RXCSUM_ANY;
2018 new_ctrl |= nn->cap & NFP_NET_CFG_CTRL_LSO2 ?:
2026 new_ctrl |= nn->cap & NFP_NET_CFG_CTRL_RXVLAN_V2 ?:
2034 new_ctrl |= nn->cap & NFP_NET_CFG_CTRL_TXVLAN_V2 ?:
2266 if (!(nn->cap & NFP_NET_CFG_CTRL_VEPA))
2285 if (!(nn->cap
[all...]
/linux-master/drivers/usb/typec/
H A Dclass.c898 partner->svdm_version = port->cap->svdm_version;
1420 if (port->cap->type != TYPEC_PORT_DRP) {
1452 if (port->cap->type != TYPEC_PORT_DRP)
1479 if (port->cap->data != TYPEC_PORT_DRD) {
1499 if (port->cap->data == TYPEC_PORT_DRD)
1551 if (port->cap->type == TYPEC_PORT_DRP)
1567 if (port->cap->type != TYPEC_PORT_DRP ||
1603 if (port->cap->type == TYPEC_PORT_DRP)
1607 return sprintf(buf, "[%s]\n", typec_port_power_roles[port->cap->type]);
1636 if (!port->cap
2189 typec_get_fw_cap(struct typec_capability *cap, struct fwnode_handle *fwnode) argument
2356 typec_register_port(struct device *parent, const struct typec_capability *cap) argument
[all...]
/linux-master/drivers/spi/
H A Dspi-fsl-spi.h24 __be32 cap; /* TYPE_GRLIB specific */ member in struct:fsl_spi_reg
/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-vbi-cap.h3 * vivid-vbi-cap.h - vbi capture support functions.
22 int vidioc_g_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_sliced_vbi_cap *cap);
H A Dvivid-vid-common.h34 int vidioc_dv_timings_cap(struct file *file, void *_fh, struct v4l2_dv_timings_cap *cap);
/linux-master/drivers/dma/dw/
H A Dof.c23 dma_cap_mask_t cap; local
42 dma_cap_zero(cap);
43 dma_cap_set(DMA_SLAVE, cap);
46 return dma_request_channel(cap, dw_dma_filter, &slave);
/linux-master/drivers/media/dvb-frontends/
H A Dmxl5xx.h25 u32 cap; member in struct:mxl5xx_cfg
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Ddcbnl.h26 u8 cap; member in struct:mlx5e_dcbx
/linux-master/drivers/char/tpm/
H A Dtpm1-cmd.c344 cap_t cap; local
349 rc = tpm1_getcap(chip, TPM_CAP_PROP_TIS_TIMEOUT, &cap, NULL,
350 sizeof(cap.timeout));
355 rc = tpm1_getcap(chip, TPM_CAP_PROP_TIS_TIMEOUT, &cap,
357 sizeof(cap.timeout));
370 timeout_chip[0] = be32_to_cpu(cap.timeout.a);
371 timeout_chip[1] = be32_to_cpu(cap.timeout.b);
372 timeout_chip[2] = be32_to_cpu(cap.timeout.c);
373 timeout_chip[3] = be32_to_cpu(cap.timeout.d);
417 rc = tpm1_getcap(chip, TPM_CAP_PROP_TIS_DURATION, &cap,
482 tpm1_getcap(struct tpm_chip *chip, u32 subcap_id, cap_t *cap, const char *desc, size_t min_cap_length) argument
[all...]
/linux-master/include/sound/
H A Ddesignware_i2s.h31 unsigned int cap; member in struct:i2s_platform_data
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_eeprom.c78 dev->mphy.cap.has_5ghz = true;
81 dev->mphy.cap.has_2ghz = true;
84 dev->mphy.cap.has_2ghz = true;
85 dev->mphy.cap.has_5ghz = true;
/linux-master/tools/testing/selftests/capabilities/
H A Dvalidate_cap.c2 #include <cap-ng.h>
/linux-master/tools/testing/selftests/clone3/
H A Dclone3_cap_checkpoint_restore.c100 struct libcap *cap; local
119 cap = (struct libcap *) caps;
122 cap->data[1].effective |= 1 << (40 - 32);
123 cap->data[1].permitted |= 1 << (40 - 32);
/linux-master/drivers/thunderbolt/
H A DMakefile4 thunderbolt-objs := nhi.o nhi_ops.o ctl.o tb.o switch.o cap.o path.o tunnel.o eeprom.o

Completed in 231 milliseconds

1234567891011>>