Home
last modified time | relevance | path

Searched refs:core_id (Results 1 – 25 of 45) sorted by relevance

12

/drivers/media/platform/mediatek/vcodec/
Dmtk_vcodec_enc_drv.c97 mtk_v4l2_debug(1, "id=%d coreid:%d", ctx->id, dev->venc_pdata->core_id); in mtk_vcodec_enc_irq_handler()
98 addr = dev->reg_base[dev->venc_pdata->core_id] + in mtk_vcodec_enc_irq_handler()
101 ctx->irq_status = readl(dev->reg_base[dev->venc_pdata->core_id] + in mtk_vcodec_enc_irq_handler()
268 dev->reg_base[dev->venc_pdata->core_id] = in mtk_vcodec_probe()
270 if (IS_ERR(dev->reg_base[dev->venc_pdata->core_id])) { in mtk_vcodec_probe()
271 ret = PTR_ERR(dev->reg_base[dev->venc_pdata->core_id]); in mtk_vcodec_probe()
288 dev->enc_irq, ret, dev->venc_pdata->core_id); in mtk_vcodec_probe()
357 dev->venc_pdata->core_id, vfd_enc->num); in mtk_vcodec_probe()
383 .core_id = VENC_SYS,
393 .core_id = VENC_LT_SYS,
[all …]
Dvdec_vpu_if.h36 int core_id; member
Dvdec_vpu_if.c143 id = vpu->core_id; in vcodec_vpu_send_msg()
200 vpu->core_id, vpu->handler, in vpu_dec_init()
Dmtk_vcodec_drv.h417 int core_id; member
/drivers/virt/nitro_enclaves/
Dne_misc_dev.c181 int core_id = -1; in ne_setup_cpu_pool() local
318 core_id = topology_core_id(cpu); in ne_setup_cpu_pool()
319 if (core_id < 0 || core_id >= ne_cpu_pool.nr_parent_vm_cores) { in ne_setup_cpu_pool()
321 ne_misc_dev.name, core_id, cpu); in ne_setup_cpu_pool()
328 cpumask_set_cpu(cpu, ne_cpu_pool.avail_threads_per_core[core_id]); in ne_setup_cpu_pool()
501 int core_id = -1; in ne_get_unused_core_from_cpu_pool() local
506 core_id = i; in ne_get_unused_core_from_cpu_pool()
511 return core_id; in ne_get_unused_core_from_cpu_pool()
528 int core_id, u32 vcpu_id) in ne_set_enclave_threads_per_core() argument
532 if (core_id < 0 && vcpu_id == 0) { in ne_set_enclave_threads_per_core()
[all …]
/drivers/base/
Darch_topology.c520 int cluster_id, int core_id) in parse_core() argument
537 cpu_topology[cpu].core_id = core_id; in parse_core()
559 cpu_topology[cpu].core_id = core_id; in parse_core()
575 int core_id = 0; in parse_cluster() local
616 core_id++); in parse_cluster()
784 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks()
816 cpu_topo->core_id = -1; in reset_cpu_topology()
873 cpuid_topo->core_id = cpuid; in store_cpu_topology()
877 cpuid, cpuid_topo->package_id, cpuid_topo->core_id, in store_cpu_topology()
Dtopology.c58 define_id_show_func(core_id, "%d");
59 static DEVICE_ATTR_RO(core_id);
/drivers/misc/habanalabs/common/
Ddecoder.c46 static void dec_error_intr_work(struct hl_device *hdev, u32 base_addr, u32 core_id) in dec_error_intr_work() argument
53 dev_err(hdev->dev, "Decoder abnormal interrupt %#x, core %d\n", irq_status, core_id); in dec_error_intr_work()
75 dec_error_intr_work(hdev, dec->base_addr, dec->core_id); in dec_completion_abnrm()
102 dec->core_id = j; in hl_dec_init()
/drivers/media/platform/qcom/venus/
Dpm_helpers.c553 u32 core_id) in move_core_to_power_save_mode() argument
559 if (inst->clk_data.core_id == core_id && in move_core_to_power_save_mode()
594 coreid = inst_pos->clk_data.core_id; in min_loaded_core()
640 if (inst->clk_data.core_id != VIDC_CORE_ID_DEFAULT) in decide_core()
657 inst->clk_data.core_id = min_coreid; in decide_core()
661 inst->clk_data.core_id = min_coreid; in decide_core()
666 inst->clk_data.core_id = min_lp_coreid; in decide_core()
692 if (inst->clk_data.core_id & VIDC_CORE_ID_1) { in acquire_core()
699 if (inst->clk_data.core_id & VIDC_CORE_ID_2) { in acquire_core()
718 if (inst->clk_data.core_id & VIDC_CORE_ID_1) { in release_core()
[all …]
/drivers/input/joystick/iforce/
Diforce-ff.c341 int core_id = effect->id; in iforce_upload_periodic() local
342 struct iforce_core_effect* core_effect = iforce->core_effects + core_id; in iforce_upload_periodic()
343 struct resource* mod1_chunk = &(iforce->core_effects[core_id].mod1_chunk); in iforce_upload_periodic()
344 struct resource* mod2_chunk = &(iforce->core_effects[core_id].mod2_chunk); in iforce_upload_periodic()
411 int core_id = effect->id; in iforce_upload_constant() local
412 struct iforce_core_effect* core_effect = iforce->core_effects + core_id; in iforce_upload_constant()
413 struct resource* mod1_chunk = &(iforce->core_effects[core_id].mod1_chunk); in iforce_upload_constant()
414 struct resource* mod2_chunk = &(iforce->core_effects[core_id].mod2_chunk); in iforce_upload_constant()
467 int core_id = effect->id; in iforce_upload_condition() local
468 struct iforce_core_effect* core_effect = iforce->core_effects + core_id; in iforce_upload_condition()
/drivers/gpu/drm/arm/display/komeda/
Dkomeda_dev.c65 return sysfs_emit(buf, "0x%08x\n", mdev->chip.core_id); in core_id_show()
67 static DEVICE_ATTR_RO(core_id);
228 MALIDP_CORE_ID_PRODUCT_ID(mdev->chip.core_id), in komeda_dev_create()
229 MALIDP_CORE_ID_MAJOR(mdev->chip.core_id), in komeda_dev_create()
230 MALIDP_CORE_ID_MINOR(mdev->chip.core_id)); in komeda_dev_create()
Dkomeda_dev.h72 u32 core_id; member
224 return MALIDP_CORE_ID_PRODUCT_ID(mdev->chip.core_id) == target; in komeda_product_match()
/drivers/gpu/drm/arm/
Dmalidp_drv.c600 u32 core_id; in malidp_is_compatible_hw_id() local
610 core_id = malidp_hw_read(hwdev, MALIDP500_DC_BASE + MALIDP_DE_CORE_ID); in malidp_is_compatible_hw_id()
612 is_dp500 = (MALIDP_PRODUCT_ID(core_id) == 0x500); in malidp_is_compatible_hw_id()
623 core_id = malidp_hw_read(hwdev, in malidp_is_compatible_hw_id()
625 product_id = MALIDP_PRODUCT_ID(core_id); in malidp_is_compatible_hw_id()
657 return snprintf(buf, PAGE_SIZE, "%08x\n", malidp->core_id); in core_id_show()
660 static DEVICE_ATTR_RO(core_id);
801 malidp->core_id = version; in malidp_bind()
Dmalidp_drv.h38 u32 core_id; member
/drivers/pci/controller/
Dpcie-hisi-error.c52 u8 core_id; member
219 dev_info(dev, "Core ID = core%d\n", edata->core_id); in hisi_pcie_handle_error()
244 HISI_PCIE_PORT_ID(edata->core_id, edata->port_id)); in hisi_pcie_handle_error()
/drivers/media/platform/amphion/
Dvpu_imx8q.c100 int vpu_imx8q_set_system_cfg_common(struct vpu_rpc_system_config *config, u32 regs, u32 core_id) in vpu_imx8q_set_system_cfg_common() argument
105 switch (core_id) { in vpu_imx8q_set_system_cfg_common()
Dvpu_windsor.h14 u32 regs_base, void __iomem *regs, u32 core_id);
Dvpu_malone.h15 u32 regs_base, void __iomem *regs, u32 core_id);
Dvpu_imx8q.h107 int vpu_imx8q_set_system_cfg_common(struct vpu_rpc_system_config *config, u32 regs, u32 core_id);
/drivers/net/wireless/ath/ath10k/
Dahb.c309 u32 core_id, glb_cfg_reg, haltreq_reg, haltack_reg; in ath10k_ahb_halt_chip() local
322 core_id = ath10k_ahb_read32(ar, ATH10K_AHB_WLAN_CORE_ID_REG); in ath10k_ahb_halt_chip()
324 switch (core_id) { in ath10k_ahb_halt_chip()
337 core_id); in ath10k_ahb_halt_chip()
387 ath10k_dbg(ar, ATH10K_DBG_AHB, "core %d reset done\n", core_id); in ath10k_ahb_halt_chip()
/drivers/net/wireless/broadcom/b43/
Dbus.c117 dev->core_id = core->id.id; in b43_bus_dev_bcma_init()
216 dev->core_id = sdev->id.coreid; in b43_bus_dev_ssb_init()
Dbus.h53 u16 core_id; member
/drivers/perf/hisilicon/
Dhisi_pcie_pmu.c764 u16 sicl_id, core_id; in hisi_pcie_alloc_pmu() local
773 core_id = regs.lo; in hisi_pcie_alloc_pmu()
775 name = devm_kasprintf(&pdev->dev, GFP_KERNEL, "hisi_pcie%u_core%u", sicl_id, core_id); in hisi_pcie_alloc_pmu()
/drivers/s390/char/
Dsclp_early.c84 if (boot_cpu_address != cpue->core_id) in sclp_early_facilities_detect()
/drivers/hwtracing/ptt/
Dhisi_ptt.c859 u16 core_id, sicl_id; in hisi_ptt_register_pmu() local
894 core_id = FIELD_GET(HISI_PTT_CORE_ID, reg); in hisi_ptt_register_pmu()
898 sicl_id, core_id); in hisi_ptt_register_pmu()

12