Home
last modified time | relevance | path

Searched refs:ctx_id (Results 1 – 25 of 28) sorted by relevance

12

/drivers/gpu/drm/virtio/
Dvirtgpu_kms.c77 uint32_t *ctx_id) in virtio_gpu_context_create() argument
79 virtio_gpu_ctx_id_get(vgdev, ctx_id); in virtio_gpu_context_create()
80 virtio_gpu_cmd_context_create(vgdev, *ctx_id, nlen, name); in virtio_gpu_context_create()
84 uint32_t ctx_id) in virtio_gpu_context_destroy() argument
86 virtio_gpu_cmd_context_destroy(vgdev, ctx_id); in virtio_gpu_context_destroy()
87 virtio_gpu_ctx_id_put(vgdev, ctx_id); in virtio_gpu_context_destroy()
291 vfpriv->ctx_id = id; in virtio_gpu_driver_open()
306 virtio_gpu_context_destroy(vgdev, vfpriv->ctx_id); in virtio_gpu_driver_postclose()
Dvirtgpu_vq.c711 cmd_p->hdr.ctx_id = cpu_to_le32(id); in virtio_gpu_cmd_context_create()
728 cmd_p->hdr.ctx_id = cpu_to_le32(id); in virtio_gpu_cmd_context_destroy()
733 uint32_t ctx_id, in virtio_gpu_cmd_context_attach_resource() argument
743 cmd_p->hdr.ctx_id = cpu_to_le32(ctx_id); in virtio_gpu_cmd_context_attach_resource()
750 uint32_t ctx_id, in virtio_gpu_cmd_context_detach_resource() argument
760 cmd_p->hdr.ctx_id = cpu_to_le32(ctx_id); in virtio_gpu_cmd_context_detach_resource()
784 uint32_t resource_id, uint32_t ctx_id, in virtio_gpu_cmd_transfer_to_host_3d() argument
796 cmd_p->hdr.ctx_id = cpu_to_le32(ctx_id); in virtio_gpu_cmd_transfer_to_host_3d()
806 uint32_t resource_id, uint32_t ctx_id, in virtio_gpu_cmd_transfer_from_host_3d() argument
818 cmd_p->hdr.ctx_id = cpu_to_le32(ctx_id); in virtio_gpu_cmd_transfer_from_host_3d()
[all …]
Dvirtgpu_drv.h207 uint32_t ctx_id; member
296 uint32_t ctx_id,
299 uint32_t ctx_id,
303 uint32_t ctx_id, struct virtio_gpu_fence **fence);
305 uint32_t resource_id, uint32_t ctx_id,
310 uint32_t resource_id, uint32_t ctx_id,
Dvirtgpu_gem.c152 virtio_gpu_cmd_context_attach_resource(vgdev, vfpriv->ctx_id, in virtio_gpu_gem_object_open()
173 virtio_gpu_cmd_context_detach_resource(vgdev, vfpriv->ctx_id, in virtio_gpu_gem_object_close()
Dvirtgpu_ioctl.c170 vfpriv->ctx_id, &fence); in virtio_gpu_execbuffer_ioctl()
386 vfpriv->ctx_id, offset, args->level, in virtio_gpu_transfer_from_host_ioctl()
435 vfpriv ? vfpriv->ctx_id : 0, offset, in virtio_gpu_transfer_to_host_ioctl()
/drivers/media/platform/sti/hva/
Dhva-hw.c120 u8 ctx_id = 0; in hva_hw_its_irq_thread() local
130 ctx_id = (hva->sts_reg & 0xFF00) >> 8; in hva_hw_its_irq_thread()
131 if (ctx_id >= HVA_MAX_INSTANCES) { in hva_hw_its_irq_thread()
133 ctx->name, __func__, ctx_id); in hva_hw_its_irq_thread()
138 ctx = hva->instances[ctx_id]; in hva_hw_its_irq_thread()
224 u8 ctx_id = 0; in hva_hw_err_irq_thread() local
234 ctx_id = (hva->sts_reg & 0xFF00) >> 8; in hva_hw_err_irq_thread()
235 if (ctx_id >= HVA_MAX_INSTANCES) { in hva_hw_err_irq_thread()
237 ctx_id); in hva_hw_err_irq_thread()
241 ctx = hva->instances[ctx_id]; in hva_hw_err_irq_thread()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_hw.h173 u16 ctx_id; member
179 u16 ctx_id;
195 u16 ctx_id; member
197 u16 ctx_id;
239 u16 ctx_id; member
245 u16 ctx_id; member
Dqlcnic_sriov_pf.c902 vf->rx_ctx_id = mbx_out->ctx_id; in qlcnic_sriov_pf_create_rx_ctx_cmd()
961 vf->tx_ctx_id = mbx_out->ctx_id; in qlcnic_sriov_pf_create_tx_ctx_cmd()
1201 u16 ctx_id, pkts, time; in qlcnic_sriov_validate_cfg_intrcoal() local
1206 ctx_id = cmd->req.arg[1] >> 16; in qlcnic_sriov_validate_cfg_intrcoal()
1212 if (ctx_id != vf->rx_ctx_id || pkts > coal->rx_packets || in qlcnic_sriov_validate_cfg_intrcoal()
1217 if (ctx_id != vf->tx_ctx_id || pkts > coal->tx_packets || in qlcnic_sriov_validate_cfg_intrcoal()
1234 ctx_id, pkts, time, type); in qlcnic_sriov_validate_cfg_intrcoal()
Dqlcnic_ctx.c497 tx_ring->ctx_id = le16_to_cpu(prsp->context_id); in qlcnic_82xx_fw_cmd_create_tx_ctx()
507 tx_ring->ctx_id, tx_ring->state); in qlcnic_82xx_fw_cmd_create_tx_ctx()
534 cmd.req.arg[1] = tx_ring->ctx_id; in qlcnic_82xx_fw_cmd_del_tx_ctx()
Dqlcnic_83xx_hw.c1258 recv_ctx->context_id = mbx_out->ctx_id; in qlcnic_83xx_create_rx_ctx()
1306 cmd.req.arg[1] = tx_ring->ctx_id | temp; in qlcnic_83xx_del_tx_ctx()
1378 tx->ctx_id = mbx_out->ctx_id; in qlcnic_83xx_create_tx_ctx()
1386 tx->ctx_id, mbx_out->state); in qlcnic_83xx_create_tx_ctx()
2227 temp = adapter->tx_ring->ctx_id; in qlcnic_83xx_set_tx_intr_coal()
3532 cmd.req.arg[1] = BIT_1 | (adapter->tx_ring->ctx_id << 16); in qlcnic_83xx_get_stats()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf.c1000 int ctx_id, in vmw_cmdbuf_reserve_cur() argument
1012 ctx_id != cur->cb_header->dxContext))) in vmw_cmdbuf_reserve_cur()
1027 if (ctx_id != SVGA3D_INVALID_ID) { in vmw_cmdbuf_reserve_cur()
1029 cur->cb_header->dxContext = ctx_id; in vmw_cmdbuf_reserve_cur()
1074 int ctx_id, bool interruptible, in vmw_cmdbuf_reserve() argument
1078 return vmw_cmdbuf_reserve_cur(man, size, ctx_id, interruptible); in vmw_cmdbuf_reserve()
1083 if (ctx_id != SVGA3D_INVALID_ID) { in vmw_cmdbuf_reserve()
1085 header->cb_header->dxContext = ctx_id; in vmw_cmdbuf_reserve()
Dvmwgfx_fifo.c385 int ctx_id) in vmw_fifo_reserve_dx() argument
391 ctx_id, false, NULL); in vmw_fifo_reserve_dx()
392 else if (ctx_id == SVGA3D_INVALID_ID) in vmw_fifo_reserve_dx()
Dvmwgfx_drv.h731 vmw_fifo_reserve_dx(struct vmw_private *dev_priv, uint32_t bytes, int ctx_id);
1156 int ctx_id, bool interruptible,
/drivers/scsi/cxlflash/
Dsislite.h31 u16 ctx_id; /* ctx_hndl_t */ member
301 #define SISL_RHT_CNT_ID(cnt, ctx_id) (((cnt) << 48) | ((ctx_id) << 32)) argument
Dmain.c504 cmd->rcb.ctx_id = hwq->ctx_hndl; in send_tmf()
624 cmd->rcb.ctx_id = hwq->ctx_hndl; in cxlflash_queuecommand()
2301 cmd->rcb.ctx_id = hwq->ctx_hndl; in send_afu_cmd()
/drivers/gpu/drm/i915/
Di915_gem_context.c976 args->ctx_id = ctx->user_handle; in i915_gem_context_create_ioctl()
977 DRM_DEBUG("HW context %d created\n", args->ctx_id); in i915_gem_context_create_ioctl()
993 if (args->ctx_id == DEFAULT_CONTEXT_HANDLE) in i915_gem_context_destroy_ioctl()
1000 ctx = i915_gem_context_lookup(file_priv, args->ctx_id); in i915_gem_context_destroy_ioctl()
1021 ctx = i915_gem_context_lookup(file_priv, args->ctx_id); in i915_gem_context_getparam_ioctl()
1064 ctx = i915_gem_context_lookup(file_priv, args->ctx_id); in i915_gem_context_setparam_ioctl()
1126 ctx = __i915_gem_context_lookup_rcu(file->driver_priv, args->ctx_id); in i915_gem_context_reset_stats_ioctl()
Di915_perf.c702 u32 ctx_id; in gen8_append_oa_reports() local
741 ctx_id = report32[2] & 0x1fffff; in gen8_append_oa_reports()
752 ctx_id = report32[2] = INVALID_CTX_ID; in gen8_append_oa_reports()
786 dev_priv->perf.oa.specific_ctx_id == ctx_id || in gen8_append_oa_reports()
796 dev_priv->perf.oa.specific_ctx_id != ctx_id) { in gen8_append_oa_reports()
805 dev_priv->perf.oa.oa_buffer.last_ctx_id = ctx_id; in gen8_append_oa_reports()
1891 u32 ctx_id = dev_priv->perf.oa.specific_ctx_id; in gen7_oa_enable() local
1898 (ctx_id & GEN7_OACONTROL_CTX_MASK) | in gen7_oa_enable()
/drivers/gpu/drm/
Ddrm_ioc32.c496 unsigned int ctx_id; /**< Context requesting private mapping */ member
510 request.ctx_id = req32.ctx_id; in compat_drm_setsareactx()
527 req.ctx_id = req32.ctx_id; in compat_drm_getsareactx()
Ddrm_context.c185 map = idr_find(&dev->ctx_idr, request->ctx_id); in drm_legacy_getsareactx()
246 if (IS_ERR(idr_replace(&dev->ctx_idr, map, request->ctx_id))) in drm_legacy_setsareactx()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ctx.c202 id = args->in.ctx_id; in amdgpu_ctx_ioctl()
207 args->out.alloc.ctx_id = id; in amdgpu_ctx_ioctl()
Damdgpu_cs.c93 p->ctx = amdgpu_ctx_get(fpriv, cs->in.ctx_id); in amdgpu_cs_parser_init()
1013 ctx = amdgpu_ctx_get(fpriv, deps[i].ctx_id); in amdgpu_cs_process_fence_dep()
1254 ctx = amdgpu_ctx_get(filp->driver_priv, wait->in.ctx_id); in amdgpu_cs_wait_ioctl()
1301 ctx = amdgpu_ctx_get(filp->driver_priv, user->ctx_id); in amdgpu_cs_get_fence()
/drivers/gpu/drm/amd/powerplay/inc/
Dpower_state.h167 unsigned long ctx_id; member
/drivers/crypto/
Dpicoxcell_crypto.c98 unsigned ctx_id; member
579 req->ctx_id = spacc_load_ctx(&ctx->generic, ctx->cipher_key, in spacc_aead_submit()
604 ctrl = spacc_alg->ctrl_default | (req->ctx_id << SPA_CTRL_CTX_IDX) | in spacc_aead_submit()
885 req->ctx_id = spacc_load_ctx(&ctx->generic, ctx->key, in spacc_ablk_submit()
898 ctrl = spacc_alg->ctrl_default | (req->ctx_id << SPA_CTRL_CTX_IDX) | in spacc_ablk_submit()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ctx.c778 recv_ctx->hwctx->ctx_id = cpu_to_le32(port); in netxen_alloc_hw_resources()
Dnetxen_nic.h284 __le32 ctx_id; member

12