/openbmc/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | hw_ops.c | 26 struct spu *spu = ctx->spu; in spu_hw_mbox_read() 48 struct spu *spu = ctx->spu; in spu_hw_mbox_stat_poll() 84 struct spu *spu = ctx->spu; in spu_hw_ibox_read() 105 struct spu *spu = ctx->spu; in spu_hw_wbox_write() 136 struct spu *spu = ctx->spu; in spu_hw_signal1_type_set() 157 struct spu *spu = ctx->spu; in spu_hw_signal2_type_set() 193 return ctx->spu->local_store; in spu_hw_get_ls() 208 spin_lock_irq(&ctx->spu->register_lock); in spu_hw_runcntl_write() 210 spu_hw_privcntl_write(ctx, in spu_hw_runcntl_write() 227 struct spu *spu = ctx->spu; in spu_hw_master_start() [all …]
|
/openbmc/linux/drivers/media/platform/st/sti/bdisp/ |
H A D | bdisp-v4l2.c | 243 ctx); in __bdisp_job_abort() 319 if (bdisp->m2m.ctx != ctx) { in bdisp_device_run() 321 bdisp->m2m.ctx, ctx); in bdisp_device_run() 323 bdisp->m2m.ctx = ctx; in bdisp_device_run() 585 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL); in bdisp_open() 586 if (!ctx) { in bdisp_open() 607 ctx->fh.ctrl_handler = &ctx->ctrl_handler; in bdisp_open() 640 kfree(ctx); in bdisp_open() 813 &ctx->src : &ctx->dst; in bdisp_s_fmt() 1112 if (!ctx || !ctx->fh.m2m_ctx) in bdisp_irq_thread() [all …]
|
/openbmc/linux/drivers/scsi/elx/libefc/ |
H A D | efc_fabric.h | 18 __efc_fabric_init(struct efc_sm_ctx *ctx, 31 __efc_vport_fabric_init(struct efc_sm_ctx *ctx, 43 __efc_ns_plogi_wait_rsp(struct efc_sm_ctx *ctx, 46 __efc_ns_rftid_wait_rsp(struct efc_sm_ctx *ctx, 49 __efc_ns_rffid_wait_rsp(struct efc_sm_ctx *ctx, 58 __efc_ns_logo_wait_rsp(struct efc_sm_ctx *ctx, 66 __efc_ns_gidpt_delay(struct efc_sm_ctx *ctx, 69 __efc_fabctl_init(struct efc_sm_ctx *ctx, 78 __efc_fabctl_ready(struct efc_sm_ctx *ctx, 84 __efc_fabric_idle(struct efc_sm_ctx *ctx, [all …]
|
/openbmc/qemu/target/avr/ |
H A D | translate.c | 175 return translator_lduw(ctx->env, &ctx->base, ctx->npc++ * 2); in next_word() 1023 gen_jmp_z(ctx); in trans_IJMP() 1096 gen_jmp_z(ctx); in trans_ICALL() 1366 gen_goto_tb(ctx, 0, ctx->npc + a->imm); in trans_BRBC() 1415 gen_goto_tb(ctx, 0, ctx->npc + a->imm); in trans_BRBS() 2646 ctx->skip_var0, ctx->skip_var1); in canonicalize_skip() 2661 ctx->cs = cs; in avr_tr_init_disas_context() 2663 ctx->npc = ctx->base.pc_first / 2; in avr_tr_init_disas_context() 2712 tcg_gen_brcond_tl(ctx->skip_cond, ctx->skip_var0, in avr_tr_translate_insn() 2722 ctx->base.pc_next = ctx->npc * 2; in avr_tr_translate_insn() [all …]
|
/openbmc/linux/drivers/gpu/drm/panel/ |
H A D | panel-samsung-s6e88a0-ams452ef01.c | 118 if (ctx->prepared) in s6e88a0_ams452ef01_prepare() 121 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in s6e88a0_ams452ef01_prepare() 134 ctx->supplies); in s6e88a0_ams452ef01_prepare() 138 ctx->prepared = true; in s6e88a0_ams452ef01_prepare() 148 if (!ctx->prepared) in s6e88a0_ams452ef01_unprepare() 156 regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in s6e88a0_ams452ef01_unprepare() 158 ctx->prepared = false; in s6e88a0_ams452ef01_unprepare() 207 ctx = devm_kzalloc(dev, sizeof(*ctx), GFP_KERNEL); in s6e88a0_ams452ef01_probe() 208 if (!ctx) in s6e88a0_ams452ef01_probe() 214 ctx->supplies); in s6e88a0_ams452ef01_probe() [all …]
|
H A D | panel-leadtek-ltk500hd1829.c | 275 if (!ctx->prepared) in ltk500hd1829_unprepare() 293 ctx->prepared = false; in ltk500hd1829_unprepare() 305 if (ctx->prepared) in ltk500hd1829_prepare() 351 ctx->prepared = true; in ltk500hd1829_prepare() 408 struct ltk500hd1829 *ctx; in ltk500hd1829_probe() local 412 ctx = devm_kzalloc(&dsi->dev, sizeof(*ctx), GFP_KERNEL); in ltk500hd1829_probe() 413 if (!ctx) in ltk500hd1829_probe() 423 if (IS_ERR(ctx->vcc)) { in ltk500hd1829_probe() 424 ret = PTR_ERR(ctx->vcc); in ltk500hd1829_probe() 431 if (IS_ERR(ctx->iovcc)) { in ltk500hd1829_probe() [all …]
|
H A D | panel-feiyang-fy07024di26a30d.c | 68 gpiod_set_value(ctx->reset, 0); in feiyang_prepare() 131 regulator_disable(ctx->avdd); in feiyang_unprepare() 136 regulator_disable(ctx->dvdd); in feiyang_unprepare() 189 struct feiyang *ctx; in feiyang_dsi_probe() local 192 ctx = devm_kzalloc(&dsi->dev, sizeof(*ctx), GFP_KERNEL); in feiyang_dsi_probe() 193 if (!ctx) in feiyang_dsi_probe() 197 ctx->dsi = dsi; in feiyang_dsi_probe() 203 if (IS_ERR(ctx->dvdd)) in feiyang_dsi_probe() 208 if (IS_ERR(ctx->avdd)) in feiyang_dsi_probe() 213 if (IS_ERR(ctx->reset)) in feiyang_dsi_probe() [all …]
|
H A D | panel-samsung-s6d27a1.c | 105 ctx->regulators); in s6d27a1_power_on() 158 s6d27a1_read_mtp_id(ctx); in s6d27a1_power_on() 168 ctx->regulators); in s6d27a1_power_off() 247 struct s6d27a1 *ctx; in s6d27a1_probe() local 250 ctx = devm_kzalloc(dev, sizeof(*ctx), GFP_KERNEL); in s6d27a1_probe() 251 if (!ctx) in s6d27a1_probe() 254 ctx->dev = dev; in s6d27a1_probe() 264 ctx->regulators); in s6d27a1_probe() 269 if (IS_ERR(ctx->reset)) { in s6d27a1_probe() 270 ret = PTR_ERR(ctx->reset); in s6d27a1_probe() [all …]
|
/openbmc/linux/sound/soc/intel/skylake/ |
H A D | cnl-sst.c | 51 stream_tag = ctx->dsp_ops.prepare(ctx->dev, 0x40, fwsize, &ctx->dmab); in cnl_prepare_fw() 103 ctx->dsp_ops.cleanup(ctx->dev, &ctx->dmab, stream_tag); in cnl_prepare_fw() 113 ctx->dsp_ops.trigger(ctx->dev, true, ctx->dsp_ops.stream_tag); in sst_transfer_fw_host_dma() 118 ctx->dsp_ops.trigger(ctx->dev, false, ctx->dsp_ops.stream_tag); in sst_transfer_fw_host_dma() 119 ctx->dsp_ops.cleanup(ctx->dev, &ctx->dmab, ctx->dsp_ops.stream_tag); in sst_transfer_fw_host_dma() 130 if (!ctx->fw) { in cnl_load_base_firmware() 131 ret = request_firmware(&ctx->fw, ctx->fw_name, ctx->dev); in cnl_load_base_firmware() 140 ret = snd_skl_parse_uuids(ctx, ctx->fw, in cnl_load_base_firmware() 183 ctx->fw = NULL; in cnl_load_base_firmware() 223 dev_err(ctx->dev, in cnl_set_dsp_D0() [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_submitqueue.c | 33 switch (ctx->sysprof) { in msm_file_private_set_sysprof() 44 ctx->sysprof = sysprof; in msm_file_private_set_sysprof() 56 if (!ctx->entities[i]) in __msm_file_private_destroy() 64 kfree(ctx->comm); in __msm_file_private_destroy() 65 kfree(ctx->cmdline); in __msm_file_private_destroy() 66 kfree(ctx); in __msm_file_private_destroy() 86 if (!ctx) in msm_submitqueue_get() 108 if (!ctx) in msm_submitqueue_close() 167 if (!ctx) in msm_submitqueue_create() 196 queue->ctx = msm_file_private_get(ctx); in msm_submitqueue_create() [all …]
|
/openbmc/linux/sound/soc/intel/atom/sst/ |
H A D | sst_pci.c | 45 dev_err(ctx->dev, in sst_platform_get_resources() 54 if (!ctx->ddr) { in sst_platform_get_resources() 58 dev_dbg(ctx->dev, "sst: DDR Ptr %p\n", ctx->ddr); in sst_platform_get_resources() 60 ctx->ddr = NULL; in sst_platform_get_resources() 65 if (!ctx->shim) { in sst_platform_get_resources() 69 dev_dbg(ctx->dev, "SST Shim Ptr %p\n", ctx->shim); in sst_platform_get_resources() 78 dev_dbg(ctx->dev, "SRAM Ptr %p\n", ctx->mailbox); in sst_platform_get_resources() 84 if (!ctx->iram) { in sst_platform_get_resources() 88 dev_dbg(ctx->dev, "IRAM Ptr %p\n", ctx->iram); in sst_platform_get_resources() 94 if (!ctx->dram) { in sst_platform_get_resources() [all …]
|
/openbmc/linux/fs/ |
H A D | aio.c | 348 if (ctx->ring_pages && ctx->ring_pages != ctx->internal_pages) { in aio_free_ring() 371 if (ctx && ctx->aio_ring_file == file) { in aio_ring_mremap() 373 ctx->user_id = ctx->mmap_base = vma->vm_start; in aio_ring_mremap() 520 ctx->ring_pages = ctx->internal_pages; in aio_setup_ring() 559 ctx->mmap_base = do_mmap(ctx->aio_ring_file, 0, ctx->mmap_size, in aio_setup_ring() 571 ctx->user_id = ctx->mmap_base; in aio_setup_ring() 830 ctx, ctx->user_id, mm, ctx->nr_events); in ioctx_alloc() 838 vm_munmap(ctx->mmap_base, ctx->mmap_size); in ioctx_alloc() 884 vm_munmap(ctx->mmap_base, ctx->mmap_size); in kill_ioctx() 1040 refill_reqs_available(ctx, head, ctx->tail); in user_refill_reqs_available() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ctx.c | 145 ctx->init_priority : ctx->override_priority; in amdgpu_ctx_get_hw_prio() 220 ctx->init_priority : ctx->override_priority; in amdgpu_ctx_init_entity() 330 memset(ctx, 0, sizeof(*ctx)); in amdgpu_ctx_init() 337 ctx->reset_counter_query = ctx->reset_counter; in amdgpu_ctx_init() 430 kfree(ctx); in amdgpu_ctx_fini() 482 ctx = kmalloc(sizeof(*ctx), GFP_KERNEL); in amdgpu_ctx_alloc() 483 if (!ctx) in amdgpu_ctx_alloc() 530 if (ctx) in amdgpu_ctx_free() 550 if (!ctx) { in amdgpu_ctx_query() 741 if (ctx) in amdgpu_ctx_get() [all …]
|
/openbmc/linux/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-m2m.c | 101 if (!ctx) { in mxc_isi_m2m_frame_write_done() 158 m2m->last_ctx = ctx; in mxc_isi_m2m_device_run() 165 mxc_isi_channel_set_flip(m2m->pipe, ctx->ctrls.hflip, ctx->ctrls.vflip); in mxc_isi_m2m_device_run() 653 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL); in mxc_isi_m2m_open() 654 if (!ctx) in mxc_isi_m2m_open() 657 ctx->m2m = m2m; in mxc_isi_m2m_open() 663 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(m2m->m2m_dev, ctx, in mxc_isi_m2m_open() 671 mxc_isi_m2m_init_format(ctx, &ctx->queues.out, MXC_ISI_VIDEO_M2M_OUT); in mxc_isi_m2m_open() 672 mxc_isi_m2m_init_format(ctx, &ctx->queues.cap, MXC_ISI_VIDEO_M2M_CAP); in mxc_isi_m2m_open() 693 kfree(ctx); in mxc_isi_m2m_open() [all …]
|
/openbmc/linux/drivers/vfio/pci/ |
H A D | vfio_pci_intrs.c | 62 kfree(ctx); in vfio_irq_ctx_free() 71 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL_ACCOUNT); in vfio_irq_ctx_alloc() 72 if (!ctx) in vfio_irq_ctx_alloc() 77 kfree(ctx); in vfio_irq_ctx_alloc() 81 return ctx; in vfio_irq_ctx_alloc() 280 if (!ctx) { in vfio_intx_enable() 360 if (ctx) { in vfio_intx_disable() 460 if (ctx) { in vfio_msi_set_vector_signal() 483 if (!ctx) in vfio_msi_set_vector_signal() 566 xa_for_each(&vdev->ctx, i, ctx) { in vfio_msi_disable() [all …]
|
/openbmc/libpldm/tests/ |
H A D | msgbuf.cpp | 18 struct pldm_msgbuf* ctx = &_ctx; in TEST() local 28 struct pldm_msgbuf* ctx = &_ctx; in TEST() local 38 struct pldm_msgbuf* ctx = &_ctx; in TEST() local 48 struct pldm_msgbuf* ctx = &_ctx; in TEST() local 58 struct pldm_msgbuf* ctx = &_ctx; in TEST() local 69 struct pldm_msgbuf* ctx = &_ctx; in TEST() local 83 struct pldm_msgbuf* ctx = &_ctx; in TEST() local 144 ctx->remaining = INTMAX_MIN; in TEST() 184 ctx->remaining = INTMAX_MIN; in TEST() 444 ctx->remaining = INTMAX_MIN; in TEST() [all …]
|
H A D | msgbuf_generic.c | 32 struct pldm_msgbuf* ctx = &_ctx; in test_msgbuf_extract_generic_uint8() local 46 struct pldm_msgbuf* ctx = &_ctx; in test_msgbuf_extract_generic_int8() local 60 struct pldm_msgbuf* ctx = &_ctx; in test_msgbuf_extract_generic_uint16() local 74 struct pldm_msgbuf* ctx = &_ctx; in test_msgbuf_extract_generic_int16() local 88 struct pldm_msgbuf* ctx = &_ctx; in test_msgbuf_extract_generic_uint32() local 102 struct pldm_msgbuf* ctx = &_ctx; in test_msgbuf_extract_generic_int32() local 116 struct pldm_msgbuf* ctx = &_ctx; in test_msgbuf_extract_generic_real32() local 136 struct pldm_msgbuf* ctx = &_ctx; in test_msgbuf_extract_array_generic_uint8() local 150 struct pldm_msgbuf* ctx = &_ctx; in test_msgbuf_insert_generic_int32() local 173 struct pldm_msgbuf* ctx = &_ctx; in test_msgbuf_insert_generic_uint32() local [all …]
|
/openbmc/linux/fs/smb/server/ |
H A D | crypto_ctx.c | 108 kfree(ctx); in ctx_free() 123 return ctx; in ksmbd_find_crypto_ctx() 137 if (!ctx) { in ksmbd_find_crypto_ctx() 147 return ctx; in ksmbd_find_crypto_ctx() 152 if (!ctx) in ksmbd_release_crypto_ctx() 165 ctx_free(ctx); in ksmbd_release_crypto_ctx() 177 return ctx; in ____crypto_shash_ctx_find() 181 return ctx; in ____crypto_shash_ctx_find() 220 return ctx; in ____crypto_aead_ctx_find() 224 return ctx; in ____crypto_aead_ctx_find() [all …]
|
/openbmc/linux/drivers/gpu/ipu-v3/ |
H A D | ipu-image-convert.c | 1259 if (run->ctx == ctx) in get_run_count() 1268 struct ipu_image_convert_ctx *ctx = run->ctx; in convert_stop() local 1381 struct ipu_image_convert_ctx *ctx = run->ctx; in convert_start() local 1496 struct ipu_image_convert_ctx *ctx = run->ctx; in do_run() local 1662 if (ctx->next_tile == ctx->num_tiles) { in do_tile_complete() 1747 ctx = run->ctx; in eof_irq() 1794 if (run && run->ctx == ctx) { in force_abort() 2099 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL); in ipu_image_convert_prepare() 2276 ctx = run->ctx; in ipu_image_convert_queue() 2318 if (run->ctx != ctx) in __ipu_image_convert_abort() [all …]
|
/openbmc/linux/drivers/misc/ocxl/ |
H A D | afu_irq.c | 38 mutex_lock(&ctx->irq_lock); in ocxl_irq_set_handler() 53 mutex_unlock(&ctx->irq_lock); in ocxl_irq_set_handler() 119 mutex_lock(&ctx->irq_lock); in ocxl_afu_irq_alloc() 132 rc = setup_afu_irq(ctx, irq); in ocxl_afu_irq_alloc() 137 mutex_unlock(&ctx->irq_lock); in ocxl_afu_irq_alloc() 157 if (ctx->mapping) in afu_irq_free() 172 mutex_lock(&ctx->irq_lock); in ocxl_afu_irq_free() 180 afu_irq_free(irq, ctx); in ocxl_afu_irq_free() 191 mutex_lock(&ctx->irq_lock); in ocxl_afu_irq_free_all() 193 afu_irq_free(irq, ctx); in ocxl_afu_irq_free_all() [all …]
|
H A D | file.c | 53 struct ocxl_context *ctx; in afu_open() local 68 file->private_data = ctx; in afu_open() 102 arg.pasid = ctx->pasid; in afu_ioctl_get_metadata() 125 if (!ctx->tidr) { in afu_ioctl_enable_p9_wait() 134 status = ctx->status; in afu_ioctl_enable_p9_wait() 139 ctx->pasid, ctx->tidr); in afu_ioctl_enable_p9_wait() 319 if (has_xsl_error(ctx)) in afu_events_pending() 372 ctx->xsl_error.addr = 0; in append_xsl_error() 373 ctx->xsl_error.dsisr = 0; in append_xsl_error() 465 ctx->mapping = NULL; in afu_release() [all …]
|
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/ |
H A D | draw.py | 184 ctx.move_to(x, y) 190 ctx.fill() 195 ctx.stroke() 205 ctx.fill() 250 ctx.stroke() 269 ctx.set_dash([]) 316 ctx.fill() 318 ctx.stroke() 909 ctx.stroke() 910 ctx.set_dash([]) [all …]
|
/openbmc/linux/drivers/gpu/drm/sprd/ |
H A D | sprd_dpu.c | 130 struct dpu_context *ctx = &dpu->ctx; in dpu_wait_stop_done() local 152 struct dpu_context *ctx = &dpu->ctx; in dpu_wait_update_done() local 322 struct dpu_context *ctx = &dpu->ctx; in sprd_dpu_layer() local 379 struct dpu_context *ctx = &dpu->ctx; in sprd_dpu_flip() local 406 struct dpu_context *ctx = &dpu->ctx; in sprd_dpu_init() local 454 struct dpu_context *ctx = &dpu->ctx; in sprd_dpu_fini() local 462 struct dpu_context *ctx = &dpu->ctx; in sprd_dpi_init() local 486 struct dpu_context *ctx = &dpu->ctx; in sprd_dpu_run() local 495 struct dpu_context *ctx = &dpu->ctx; in sprd_dpu_stop() local 750 struct dpu_context *ctx = &dpu->ctx; in sprd_dpu_isr() local [all …]
|
/openbmc/linux/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_gsc.c | 965 DRM_DEV_DEBUG_KMS(ctx->dev, "gsc id[%d]\n", ctx->id); in gsc_get_src_buf_index() 995 DRM_DEV_DEBUG_KMS(ctx->dev, "gsc id[%d]\n", ctx->id); in gsc_get_dst_buf_index() 1026 DRM_DEV_DEBUG_KMS(ctx->dev, "gsc id[%d]\n", ctx->id); in gsc_irq_handler() 1076 memset(&ctx->sc, 0x0, sizeof(ctx->sc)); in gsc_reset() 1106 gsc_set_scaler(ctx, &ctx->sc); in gsc_start() 1142 gsc_start(ctx); in gsc_commit() 1153 gsc_reset(ctx); in gsc_abort() 1182 ctx->formats, ctx->num_formats, "gsc"); in gsc_bind() 1225 ctx = devm_kzalloc(dev, sizeof(*ctx), GFP_KERNEL); in gsc_probe() 1226 if (!ctx) in gsc_probe() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/benchs/ |
H A D | bench_bloom_filter_map.c | 11 static struct ctx { struct 29 } ctx = { argument 159 if (ctx.use_hashmap) { in map_prepare_thread() 183 if (ctx.use_hashmap && !ctx.hashmap_use_bloom) in map_prepare_thread() 196 ctx.map_done = true; in map_prepare_thread() 212 ctx.bloom_fd = bpf_map__fd(ctx.skel->maps.bloom_map); in populate_maps() 213 ctx.hashmap_fd = bpf_map__fd(ctx.skel->maps.hashmap); in populate_maps() 214 ctx.array_map_fd = bpf_map__fd(ctx.skel->maps.array_map); in populate_maps() 226 while (!ctx.map_done) in populate_maps() 227 pthread_cond_wait(&ctx.map_done_cv, &ctx.map_done_mtx); in populate_maps() [all …]
|