Home
last modified time | relevance | path

Searched refs:ctx_idx (Results 1 – 12 of 12) sorted by relevance

/linux/net/ethtool/
H A Drss.c218 unsigned long ctx_idx; member
247 ctx->ctx_idx = ctx->start_ctx; in ethnl_rss_dump_start()
317 if (!ctx->ctx_idx) { in rss_dump_one_dev()
321 ctx->ctx_idx++; in rss_dump_one_dev()
324 for (; xa_find(&dev->ethtool->rss_ctx, &ctx->ctx_idx, in rss_dump_one_dev()
325 ULONG_MAX, XA_PRESENT); ctx->ctx_idx++) { in rss_dump_one_dev()
326 ret = rss_dump_one_ctx(skb, cb, dev, ctx->ctx_idx); in rss_dump_one_dev()
330 ctx->ctx_idx = ctx->start_ctx; in rss_dump_one_dev()
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Dcrc.c93 u8 new_idx = crc->ctx_idx ^ 1; in nv50_crc_ctx_flip_work()
106 crtc->name, crc->ctx_idx, new_idx); in nv50_crc_ctx_flip_work()
143 output_crc = func->get_entry(head, &crc->ctx[crc->ctx_idx], in nv50_crc_get_entries()
177 ctx = &crc->ctx[crc->ctx_idx]; in nv50_crc_handle_vblank()
181 crc->ctx_idx ^= 1; in nv50_crc_handle_vblank()
306 struct nv50_crc_notifier_ctx *ctx = &crc->ctx[crc->ctx_idx]; in nv50_crc_atomic_release_notifier_contexts()
313 ctx = &crc->ctx[crc->ctx_idx ^ 1]; in nv50_crc_atomic_release_notifier_contexts()
469 &crc->ctx[crc->ctx_idx]); in nv50_crc_atomic_set()
H A Dcrc.h72 u8 ctx_idx : 1; member
/linux/drivers/infiniband/hw/irdma/
H A Duda.c91 u8 ctx_idx = 0; /* index in the MG context */ in irdma_create_mg_ctx() local
99 ctx_idx * sizeof(u64), in irdma_create_mg_ctx()
103 ctx_idx++; in irdma_create_mg_ctx()
/linux/drivers/scsi/lpfc/
H A Dlpfc_bsg.c1058 evt_dat->immed_dat = phba->ctx_idx; in lpfc_bsg_ct_unsol_event()
1059 phba->ctx_idx = (phba->ctx_idx + 1) % LPFC_CT_CTX_MAX; in lpfc_bsg_ct_unsol_event()
1066 "sid:x%x\n", phba->ctx_idx, in lpfc_bsg_ct_unsol_event()
1137 int ctx_idx, handled = 0; in lpfc_bsg_ct_unsol_abort() local
1146 for (ctx_idx = 0; ctx_idx < LPFC_CT_CTX_MAX; ctx_idx++) { in lpfc_bsg_ct_unsol_abort()
1147 if (phba->ct_ctx[ctx_idx].valid != UNSOL_VALID) in lpfc_bsg_ct_unsol_abort()
1149 if (phba->ct_ctx[ctx_idx].rxid != rxid) in lpfc_bsg_ct_unsol_abort()
1151 if (phba->ct_ctx[ctx_idx].oxid != oxid) in lpfc_bsg_ct_unsol_abort()
1153 if (phba->ct_ctx[ctx_idx].SID != sid) in lpfc_bsg_ct_unsol_abort()
1155 phba->ct_ctx[ctx_idx].valid = UNSOL_INVALID; in lpfc_bsg_ct_unsol_abort()
H A Dlpfc.h1446 uint32_t ctx_idx; member
/linux/arch/sparc/include/asm/
H A Dhypervisor.h493 unsigned int ctx_idx; member
/linux/arch/sparc/mm/
H A Dtsb.c308 hp->ctx_idx = 0; in setup_tsb_params()
H A Dinit_64.c2165 ktsb_descr[0].ctx_idx = 0; in sun4v_ktsb_init()
2182 ktsb_descr[1].ctx_idx = 0; in sun4v_ktsb_init()
/linux/arch/powerpc/net/
H A Dbpf_jit_comp64.c288 unsigned int i, ctx_idx = ctx->idx; in bpf_jit_emit_func_call_rel() local
310 for (i = ctx->idx - ctx_idx; i < 5; i++) in bpf_jit_emit_func_call_rel()
/linux/Documentation/admin-guide/mm/damon/
H A Dusage.rst594 …kdamond.0 47293 [000] 80801.060214: damon:damos_before_apply: ctx_idx=0 scheme_idx=0 target_idx=0 …
599 fields are as usual. It shows the index of the DAMON context (``ctx_idx=X``)
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c6438 u16 ctx_idx) in bnxt_hwrm_vnic_ctx_free_one() argument
6446 cpu_to_le16(vnic->fw_rss_cos_lb_ctx[ctx_idx]); in bnxt_hwrm_vnic_ctx_free_one()
6449 vnic->fw_rss_cos_lb_ctx[ctx_idx] = INVALID_HW_RING_ID; in bnxt_hwrm_vnic_ctx_free_one()
6468 struct bnxt_vnic_info *vnic, u16 ctx_idx) in bnxt_hwrm_vnic_ctx_alloc() argument
6481 vnic->fw_rss_cos_lb_ctx[ctx_idx] = in bnxt_hwrm_vnic_ctx_alloc()