Home
last modified time | relevance | path

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

12

/drivers/virt/nitro_enclaves/
Dne_misc_dev.c170 int core_id = -1; in ne_setup_cpu_pool() local
307 core_id = topology_core_id(cpu); in ne_setup_cpu_pool()
308 if (core_id < 0 || core_id >= ne_cpu_pool.nr_parent_vm_cores) { in ne_setup_cpu_pool()
310 ne_misc_dev.name, core_id, cpu); in ne_setup_cpu_pool()
317 cpumask_set_cpu(cpu, ne_cpu_pool.avail_threads_per_core[core_id]); in ne_setup_cpu_pool()
490 int core_id = -1; in ne_get_unused_core_from_cpu_pool() local
495 core_id = i; in ne_get_unused_core_from_cpu_pool()
500 return core_id; in ne_get_unused_core_from_cpu_pool()
517 int core_id, u32 vcpu_id) in ne_set_enclave_threads_per_core() argument
521 if (core_id < 0 && vcpu_id == 0) { in ne_set_enclave_threads_per_core()
[all …]
/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_enc_drv.c116 mtk_v4l2_debug(1, "id=%d coreid:%d", ctx->id, dev->venc_pdata->core_id); in mtk_vcodec_enc_irq_handler()
117 addr = dev->reg_base[dev->venc_pdata->core_id] + in mtk_vcodec_enc_irq_handler()
120 ctx->irq_status = readl(dev->reg_base[dev->venc_pdata->core_id] + in mtk_vcodec_enc_irq_handler()
283 dev->reg_base[dev->venc_pdata->core_id] = in mtk_vcodec_probe()
285 if (IS_ERR(dev->reg_base[dev->venc_pdata->core_id])) { in mtk_vcodec_probe()
286 ret = PTR_ERR(dev->reg_base[dev->venc_pdata->core_id]); in mtk_vcodec_probe()
305 dev->enc_irq, ret, dev->venc_pdata->core_id); in mtk_vcodec_probe()
374 dev->venc_pdata->core_id, vfd_enc->num); in mtk_vcodec_probe()
401 .core_id = VENC_SYS,
412 .core_id = VENC_LT_SYS,
[all …]
Dmtk_vcodec_drv.h333 int core_id; member
/drivers/base/
Darch_topology.c441 int core_id) in parse_core() argument
457 cpu_topology[cpu].core_id = core_id; in parse_core()
478 cpu_topology[cpu].core_id = core_id; in parse_core()
494 int core_id = 0; in parse_cluster() local
532 ret = parse_core(c, package_id, core_id++); in parse_cluster()
640 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks()
669 cpu_topo->core_id = -1; in reset_cpu_topology()
719 cpuid_topo->core_id = cpuid; in store_cpu_topology()
723 cpuid, cpuid_topo->package_id, cpuid_topo->core_id, in store_cpu_topology()
Dtopology.c51 define_id_show_func(core_id);
52 static DEVICE_ATTR_RO(core_id);
/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 …]
Dcore.h293 u32 core_id; member
/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/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/s390/char/
Dsclp_early.c78 if (boot_cpu_address != cpue->core_id) in sclp_early_facilities_detect()
/drivers/bcma/
Dmain.c128 static bool bcma_is_core_needed_early(u16 core_id) in bcma_is_core_needed_early() argument
130 switch (core_id) { in bcma_is_core_needed_early()
/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_dev.c624 chip->core_id = malidp_read32(reg_base, GLB_CORE_ID); in d71_identify()
626 product_id = MALIDP_CORE_ID_PRODUCT_ID(chip->core_id); in d71_identify()
/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_dev.h443 u8 core_id; member
Dhinic_devlink.c392 err = devlink_fmsg_u8_pair_put(fmsg, "core_id", event->event.ucode.core_id); in fault_report_show()
/drivers/scsi/lpfc/
Dlpfc_init.c12106 uint16_t phys_id, uint16_t core_id) in lpfc_find_hyper() argument
12115 (cpup->core_id == core_id) && in lpfc_find_hyper()
12163 cpup->core_id = LPFC_VECTOR_MAP_EMPTY; in lpfc_cpu_map_array_init()
12228 cpup->core_id = cpuinfo->cpu_core_id; in lpfc_cpu_affinity_check()
12229 if (lpfc_find_hyper(phba, cpu, cpup->phys_id, cpup->core_id)) in lpfc_cpu_affinity_check()
12234 cpup->core_id = cpu; in lpfc_cpu_affinity_check()
12239 cpu, cpup->phys_id, cpup->core_id, cpup->flag); in lpfc_cpu_affinity_check()
12246 if (cpup->core_id > max_core_id) in lpfc_cpu_affinity_check()
12247 max_core_id = cpup->core_id; in lpfc_cpu_affinity_check()
12248 if (cpup->core_id < min_core_id) in lpfc_cpu_affinity_check()
[all …]
Dlpfc_sli4.h604 uint16_t core_id; member
/drivers/irqchip/
Dirq-gic.c1178 u32 core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in gic_init_bases() local
1179 unsigned long offset = gic->percpu_offset * core_id; in gic_init_bases()
/drivers/gpu/drm/i915/gvt/
Dcmd_parser.c1601 int core_id = (cmd_val(s, 2) & (1 << 0)) ? 1 : 0; in cmd_handler_mi_store_data_imm() local
1624 core_id = (cmd_val(s, 1) & (1 << 0)) ? 1 : 0; in cmd_handler_mi_store_data_imm()
1626 ret = cmd_address_audit(s, gma + op_size * core_id, op_size, false); in cmd_handler_mi_store_data_imm()

12