Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/nouveau/dispnv50/
Dcrc.c91 u8 new_idx = crc->ctx_idx ^ 1; in nv50_crc_ctx_flip_work()
104 crtc->name, crc->ctx_idx, new_idx); in nv50_crc_ctx_flip_work()
141 output_crc = func->get_entry(head, &crc->ctx[crc->ctx_idx], in nv50_crc_get_entries()
175 ctx = &crc->ctx[crc->ctx_idx]; in nv50_crc_handle_vblank()
179 crc->ctx_idx ^= 1; in nv50_crc_handle_vblank()
304 struct nv50_crc_notifier_ctx *ctx = &crc->ctx[crc->ctx_idx]; in nv50_crc_atomic_release_notifier_contexts()
311 ctx = &crc->ctx[crc->ctx_idx ^ 1]; in nv50_crc_atomic_release_notifier_contexts()
467 &crc->ctx[crc->ctx_idx]); in nv50_crc_atomic_set()
Dcrc.h72 u8 ctx_idx : 1; member
/linux-6.6.21/drivers/infiniband/hw/irdma/
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-6.6.21/drivers/scsi/lpfc/
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()
Dlpfc.h1429 uint32_t ctx_idx; member
/linux-6.6.21/arch/sparc/include/asm/
Dhypervisor.h493 unsigned int ctx_idx; member
/linux-6.6.21/arch/sparc/mm/
Dtsb.c308 hp->ctx_idx = 0; in setup_tsb_params()
Dinit_64.c2172 ktsb_descr[0].ctx_idx = 0; in sun4v_ktsb_init()
2189 ktsb_descr[1].ctx_idx = 0; in sun4v_ktsb_init()
/linux-6.6.21/arch/powerpc/net/
Dbpf_jit_comp64.c245 unsigned int i, ctx_idx = ctx->idx; in bpf_jit_emit_func_call_rel() local
267 for (i = ctx->idx - ctx_idx; i < 5; i++) in bpf_jit_emit_func_call_rel()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c5400 u16 ctx_idx) in bnxt_hwrm_vnic_ctx_free_one() argument
5408 cpu_to_le16(bp->vnic_info[vnic_id].fw_rss_cos_lb_ctx[ctx_idx]); in bnxt_hwrm_vnic_ctx_free_one()
5411 bp->vnic_info[vnic_id].fw_rss_cos_lb_ctx[ctx_idx] = INVALID_HW_RING_ID; in bnxt_hwrm_vnic_ctx_free_one()
5429 static int bnxt_hwrm_vnic_ctx_alloc(struct bnxt *bp, u16 vnic_id, u16 ctx_idx) in bnxt_hwrm_vnic_ctx_alloc() argument
5442 bp->vnic_info[vnic_id].fw_rss_cos_lb_ctx[ctx_idx] = in bnxt_hwrm_vnic_ctx_alloc()