/drivers/virt/nitro_enclaves/ |
D | ne_misc_dev.c | 170 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/ |
D | mtk_vcodec_enc_drv.c | 116 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 …]
|
D | mtk_vcodec_drv.h | 333 int core_id; member
|
/drivers/base/ |
D | arch_topology.c | 441 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()
|
D | topology.c | 51 define_id_show_func(core_id); 52 static DEVICE_ATTR_RO(core_id);
|
/drivers/media/platform/qcom/venus/ |
D | pm_helpers.c | 553 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 …]
|
D | core.h | 293 u32 core_id; member
|
/drivers/input/joystick/iforce/ |
D | iforce-ff.c | 341 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/ |
D | komeda_dev.c | 65 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()
|
D | komeda_dev.h | 72 u32 core_id; member 224 return MALIDP_CORE_ID_PRODUCT_ID(mdev->chip.core_id) == target; in komeda_product_match()
|
/drivers/gpu/drm/arm/ |
D | malidp_drv.c | 600 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()
|
D | malidp_drv.h | 38 u32 core_id; member
|
/drivers/pci/controller/ |
D | pcie-hisi-error.c | 52 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/ |
D | ahb.c | 309 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/ |
D | bus.c | 117 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()
|
D | bus.h | 53 u16 core_id; member
|
/drivers/s390/char/ |
D | sclp_early.c | 78 if (boot_cpu_address != cpue->core_id) in sclp_early_facilities_detect()
|
/drivers/bcma/ |
D | main.c | 128 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/ |
D | d71_dev.c | 624 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/ |
D | hinic_hw_dev.h | 443 u8 core_id; member
|
D | hinic_devlink.c | 392 err = devlink_fmsg_u8_pair_put(fmsg, "core_id", event->event.ucode.core_id); in fault_report_show()
|
/drivers/scsi/lpfc/ |
D | lpfc_init.c | 12106 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 …]
|
D | lpfc_sli4.h | 604 uint16_t core_id; member
|
/drivers/irqchip/ |
D | irq-gic.c | 1178 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/ |
D | cmd_parser.c | 1601 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()
|