Searched refs:cap (Results 226 - 250 of 901) sorted by relevance

1234567891011>>

/linux-master/drivers/hwmon/
H A Djc42.c425 int i, config, cap, manid, devid; local
431 cap = i2c_smbus_read_word_swapped(client, JC42_REG_CAP);
436 if (cap < 0 || config < 0 || manid < 0 || devid < 0)
439 if ((cap & 0xff00) || (config & 0xf800))
507 unsigned int config, cap; local
522 ret = regmap_read(data->regmap, JC42_REG_CAP, &cap);
526 data->extended = !!(cap & JC42_CAP_RANGE);
/linux-master/sound/soc/ux500/
H A Dux500_msp_dai.c583 unsigned int cap; local
587 cap = 0x01;
590 cap = 0x03;
593 cap = 0xFF;
596 cap = 0xFFFF;
612 drvdata->tx_mask = tx_mask & cap;
613 drvdata->rx_mask = rx_mask & cap;
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_execlists_submission.c2224 struct execlists_capture *cap = container_of(work, typeof(*cap), work); local
2227 struct intel_engine_cs *engine = cap->rq->engine;
2228 struct intel_gt_coredump *gt = cap->error->gt;
2232 vma = intel_engine_coredump_add_request(gt->engine, cap->rq, gfp);
2242 cap->error->simulated = gt->simulated;
2245 i915_error_state_store(cap->error);
2246 i915_gpu_coredump_put(cap->error);
2249 execlists_unhold(engine, cap->rq);
2250 i915_request_put(cap
2258 struct execlists_capture *cap; local
2331 struct execlists_capture *cap; local
[all...]
/linux-master/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_qp.c303 &init_attr->cap, qp);
308 &init_attr->cap, qp);
354 init_attr->cap.max_inline_data = 0;
365 cmd->max_send_wr = init_attr->cap.max_send_wr;
366 cmd->max_recv_wr = init_attr->cap.max_recv_wr;
367 cmd->max_send_sge = init_attr->cap.max_send_sge;
368 cmd->max_recv_sge = init_attr->cap.max_recv_sge;
369 cmd->max_inline_data = init_attr->cap.max_inline_data;
611 ib_qp_cap_to_pvrdma(&cmd->attrs.cap, &attr->cap);
[all...]
/linux-master/drivers/dma/
H A Ddmaengine.c264 enum dma_transaction_type cap; local
277 for_each_dma_cap_mask(cap, dma_cap_mask_all) {
278 channel_table[cap] = alloc_percpu(struct dma_chan_tbl_ent);
279 if (!channel_table[cap]) {
287 for_each_dma_cap_mask(cap, dma_cap_mask_all)
288 free_percpu(channel_table[cap]);
311 * @cap: capability to match
320 static struct dma_chan *min_chan(enum dma_transaction_type cap, int cpu) argument
328 if (!dma_has_cap(cap, device->cap_mask) ||
366 int cap; local
[all...]
/linux-master/net/wireless/
H A Dchan.c1229 u32 width, control_freq, cap; local
1292 if (!(ht_cap->cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40) ||
1293 ht_cap->cap & IEEE80211_HT_CAP_40MHZ_INTOLERANT)
1303 cap = vht_cap->cap;
1305 (cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ) ||
1306 (cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ &&
1307 cap & IEEE80211_VHT_CAP_EXT_NSS_BW_MASK) ||
1309 u32_get_bits(cap, IEEE80211_VHT_CAP_EXT_NSS_BW_MASK) > 1);
1328 cap
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmain.c163 u16 cap; local
165 cap = u16_encode_bits(ht_cap->ampdu_density,
167 exp = u32_get_bits(vht_cap->cap,
169 cap |= u16_encode_bits(exp,
171 exp = u32_get_bits(vht_cap->cap,
173 cap |= u16_encode_bits(exp,
175 if (vht_cap->cap & IEEE80211_VHT_CAP_TX_ANTENNA_PATTERN)
176 cap |= IEEE80211_HE_6GHZ_CAP_TX_ANTPAT_CONS;
177 if (vht_cap->cap & IEEE80211_VHT_CAP_RX_ANTENNA_PATTERN)
178 cap |
[all...]
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_qp.c505 qp_attr->cap.max_send_wr = qp->sq.max;
506 qp_attr->cap.max_recv_wr = qp->rq.max;
507 qp_attr->cap.max_send_sge = qp->sq.max_gs;
508 qp_attr->cap.max_recv_sge = qp->rq.max_gs;
509 qp_attr->cap.max_inline_data = qp->max_inline_data;
511 qp_init_attr->cap = qp_attr->cap;
1252 static int mthca_set_qp_size(struct mthca_dev *dev, struct ib_qp_cap *cap, argument
1258 if (cap->max_send_wr > dev->limits.max_wqes ||
1259 cap
1291 mthca_alloc_qp(struct mthca_dev *dev, struct mthca_pd *pd, struct mthca_cq *send_cq, struct mthca_cq *recv_cq, enum ib_qp_type type, enum ib_sig_type send_policy, struct ib_qp_cap *cap, struct mthca_qp *qp, struct ib_udata *udata) argument
1366 mthca_alloc_sqp(struct mthca_dev *dev, struct mthca_pd *pd, struct mthca_cq *send_cq, struct mthca_cq *recv_cq, enum ib_sig_type send_policy, struct ib_qp_cap *cap, int qpn, u32 port, struct mthca_qp *qp, struct ib_udata *udata) argument
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mcu.c634 u32 cap = 0; local
641 cap |= STA_REC_HE_CAP_HTC;
644 cap |= STA_REC_HE_CAP_BSR;
647 cap |= STA_REC_HE_CAP_OM;
650 cap |= STA_REC_HE_CAP_AMSDU_IN_AMPDU;
653 cap |= STA_REC_HE_CAP_BQR;
658 cap |= STA_REC_HE_CAP_BW20_RU242_SUPPORT;
662 cap |= STA_REC_HE_CAP_LDPC;
666 cap |= STA_REC_HE_CAP_SU_PPDU_1LTF_8US_GI;
670 cap |
1427 const struct ieee80211_sta_he_cap *cap; local
[all...]
/linux-master/arch/powerpc/kvm/
H A Dpowerpc.c1892 struct kvm_enable_cap *cap)
1896 if (cap->flags)
1899 switch (cap->cap) {
1910 if (cap->args[0])
1924 void __user *user_ptr = (void __user *)(uintptr_t)cap->args[0];
1940 f = fdget(cap->args[0]);
1947 r = kvmppc_mpic_connect_vcpu(dev, vcpu, cap->args[1]);
1959 f = fdget(cap->args[0]);
1967 r = kvmppc_xive_connect_vcpu(dev, vcpu, cap
1891 kvm_vcpu_ioctl_enable_cap(struct kvm_vcpu *vcpu, struct kvm_enable_cap *cap) argument
2070 struct kvm_enable_cap cap; local
2182 kvm_vm_ioctl_enable_cap(struct kvm *kvm, struct kvm_enable_cap *cap) argument
[all...]
/linux-master/drivers/infiniband/hw/efa/
H A Defa_verbs.c175 #define EFA_DEV_CAP(dev, cap) \
177 EFA_ADMIN_FEATURE_DEVICE_ATTR_DESC_##cap##_MASK)
341 qp_attr->cap.max_send_wr = qp->max_send_wr;
342 qp_attr->cap.max_recv_wr = qp->max_recv_wr;
343 qp_attr->cap.max_send_sge = qp->max_send_sge;
344 qp_attr->cap.max_recv_sge = qp->max_recv_sge;
345 qp_attr->cap.max_inline_data = qp->max_inline_data;
351 qp_init_attr->cap = qp_attr->cap;
575 if (init_attr->cap
[all...]
/linux-master/drivers/infiniband/sw/siw/
H A Dsiw_verbs.c330 if ((attrs->cap.max_send_wr > SIW_MAX_QP_WR) ||
331 (attrs->cap.max_recv_wr > SIW_MAX_QP_WR) ||
332 (attrs->cap.max_send_sge > SIW_MAX_SGE) ||
333 (attrs->cap.max_recv_sge > SIW_MAX_SGE)) {
338 if (attrs->cap.max_inline_data > SIW_MAX_INLINE) {
340 attrs->cap.max_inline_data, (int)SIW_MAX_INLINE);
347 if (attrs->cap.max_send_wr == 0) {
374 num_sqe = roundup_pow_of_two(attrs->cap.max_send_wr);
375 num_rqe = attrs->cap.max_recv_wr;
424 qp->attrs.sq_max_sges = attrs->cap
[all...]
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_nl.c383 static u8 ixgbe_dcbnl_getcap(struct net_device *netdev, int capid, u8 *cap) argument
389 *cap = true;
392 *cap = true;
395 *cap = false;
398 *cap = 0x80;
401 *cap = 0x80;
404 *cap = true;
407 *cap = false;
410 *cap = adapter->dcbx_cap;
413 *cap
[all...]
/linux-master/drivers/infiniband/hw/qedr/
H A Dqedr_roce_cm.c156 if (attrs->cap.max_recv_sge > QEDR_GSI_MAX_RECV_SGE) {
159 attrs->cap.max_recv_sge, QEDR_GSI_MAX_RECV_SGE);
163 if (attrs->cap.max_recv_wr > QEDR_GSI_MAX_RECV_WR) {
166 attrs->cap.max_recv_wr, QEDR_GSI_MAX_RECV_WR);
170 if (attrs->cap.max_send_wr > QEDR_GSI_MAX_SEND_WR) {
173 attrs->cap.max_send_wr, QEDR_GSI_MAX_SEND_WR);
279 data.input.rx_num_desc = attrs->cap.max_recv_wr;
282 data.input.tx_num_desc = attrs->cap.max_send_wr;
339 qp->rq.max_wr = attrs->cap.max_recv_wr;
340 qp->sq.max_wr = attrs->cap
[all...]
/linux-master/drivers/media/platform/renesas/rcar-vin/
H A Drcar-v4l2.c311 struct v4l2_capability *cap)
313 strscpy(cap->driver, KBUILD_MODNAME, sizeof(cap->driver));
314 strscpy(cap->card, "R_Car_VIN", sizeof(cap->card));
763 struct v4l2_dv_timings_cap *cap)
769 if (cap->pad)
772 cap->pad = vin->parallel.sink_pad;
774 ret = v4l2_subdev_call(sd, pad, dv_timings_cap, cap);
776 cap
310 rvin_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument
762 rvin_dv_timings_cap(struct file *file, void *priv_fh, struct v4l2_dv_timings_cap *cap) argument
[all...]
/linux-master/drivers/dma/ioat/
H A Dinit.c1074 if (ioat_dma->cap & IOAT_CAP_DWBES) {
1106 ioat_dma->cap = readl(ioat_dma->reg_base + IOAT_DMA_CAP_OFFSET);
1109 ioat_dma->cap &=
1113 if (dca_en && (ioat_dma->cap & (IOAT_CAP_XOR|IOAT_CAP_PQ)))
1114 ioat_dma->cap &= ~(IOAT_CAP_XOR|IOAT_CAP_PQ);
1116 if (ioat_dma->cap & IOAT_CAP_XOR) {
1126 if (ioat_dma->cap & IOAT_CAP_PQ) {
1133 if (ioat_dma->cap & IOAT_CAP_RAID16SS)
1138 if (!(ioat_dma->cap & IOAT_CAP_XOR)) {
1144 if (ioat_dma->cap
[all...]
/linux-master/drivers/staging/media/ipu3/
H A Dipu3-v4l2.c602 struct v4l2_capability *cap)
606 strscpy(cap->driver, IMGU_NAME, sizeof(cap->driver));
607 strscpy(cap->card, IMGU_NAME, sizeof(cap->card));
608 snprintf(cap->bus_info, sizeof(cap->bus_info), "PCI:%s",
1029 u32 cap; local
1036 cap = V4L2_CAP_VIDEO_OUTPUT_MPLANE;
1041 cap
601 imgu_vidioc_querycap(struct file *file, void *fh, struct v4l2_capability *cap) argument
[all...]
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw.c441 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
446 *left = cap->bounds.left;
452 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
457 *left = cap->bounds.left;
458 if (cap->bounds.width > cptr->hdw->cropw_val) {
459 *left += cap->bounds.width - cptr->hdw->cropw_val;
466 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
471 *top = cap->bounds.top;
477 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
482 *top = cap
491 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
507 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
523 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
534 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
545 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
556 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
567 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
578 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
589 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
600 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
611 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
622 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; local
[all...]
/linux-master/drivers/media/pci/saa7164/
H A Dsaa7164-vbi.c195 struct v4l2_capability *cap)
201 strscpy(cap->driver, dev->name, sizeof(cap->driver));
202 strscpy(cap->card, saa7164_boards[dev->board].name,
203 sizeof(cap->card));
204 cap->capabilities = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_READWRITE |
194 vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dinit.c411 phy->mt76->sband_2g.sband.ht_cap.cap |= IEEE80211_HT_CAP_LDPC_CODING;
412 phy->mt76->sband_5g.sband.ht_cap.cap |= IEEE80211_HT_CAP_LDPC_CODING;
413 phy->mt76->sband_5g.sband.vht_cap.cap |=
420 dev->mphy.sband_5g.sband.vht_cap.cap &=
436 dev->mphy.sband_5g.sband.vht_cap.cap |=
573 mphy->cap.has_5ghz = true;
/linux-master/fs/ceph/
H A Ddebugfs.c255 struct ceph_cap *cap; local
258 cap = __get_cap_for_mds(ci, mds);
259 if (cap)
261 cap->session->s_mds,
262 ceph_cap_string(cap->issued),
263 ceph_cap_string(cap->implemented));
/linux-master/drivers/media/platform/renesas/vsp1/
H A Dvsp1_histo.c423 struct v4l2_capability *cap)
428 cap->capabilities = V4L2_CAP_DEVICE_CAPS | V4L2_CAP_STREAMING
433 strscpy(cap->driver, "vsp1", sizeof(cap->driver));
434 strscpy(cap->card, histo->video.name, sizeof(cap->card));
422 histo_v4l2_querycap(struct file *file, void *fh, struct v4l2_capability *cap) argument
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dnvm.c471 resp_cp->cap = mcc_resp_v8->cap;
497 resp_cp->cap = cpu_to_le32(le16_to_cpu(mcc_resp_v4->cap));
522 resp_cp->cap = cpu_to_le32(mcc_resp_v3->cap);
/linux-master/drivers/acpi/
H A Dpfr_update.c271 static bool applicable_image(const void *data, struct pfru_update_cap_info *cap, argument
311 return payload_hdr->rt_ver >= cap->code_rt_version;
313 return payload_hdr->rt_ver >= cap->drv_rt_version;
441 struct pfru_update_cap_info cap; local
472 ret = query_capability(&cap, pfru_dev);
476 if (!applicable_image(buf_ptr, &cap, pfru_dev))
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_encoder_phys_vid.c91 if (phys_enc->hw_intf->cap->type == INTF_DSI) {
97 if (phys_enc->hw_intf->cap->type == INTF_DP) {
111 if (phys_enc->hw_intf->cap->type == INTF_DP && timing->wide_bus_en) {
157 phys_enc->hw_intf->cap->prog_fetch_lines_worst_case;
740 phys_enc->irq[INTR_IDX_VSYNC] = phys_enc->hw_intf->cap->intr_vsync;
741 phys_enc->irq[INTR_IDX_UNDERRUN] = phys_enc->hw_intf->cap->intr_underrun;

Completed in 534 milliseconds

1234567891011>>