Home
last modified time | relevance | path

Searched refs:cu (Results 1 – 13 of 13) sorted by relevance

/drivers/hwmon/
Dfam15h_power.c141 int cpu, cu; in do_read_registers_on_cu() local
149 cu = cpu_data(cpu).cpu_core_id; in do_read_registers_on_cu()
151 rdmsrl_safe(MSR_F15H_CU_PWR_ACCUMULATOR, &data->cu_acc_power[cu]); in do_read_registers_on_cu()
152 rdmsrl_safe(MSR_F15H_PTSC, &data->cpu_sw_pwr_ptsc[cu]); in do_read_registers_on_cu()
154 data->cu_on[cu] = 1; in do_read_registers_on_cu()
210 int cu, cu_num, ret; in power1_average_show() local
223 for (cu = 0; cu < cu_num; cu++) { in power1_average_show()
224 prev_cu_acc_power[cu] = data->cu_acc_power[cu]; in power1_average_show()
225 prev_ptsc[cu] = data->cpu_sw_pwr_ptsc[cu]; in power1_average_show()
236 for (cu = 0, avg_acc = 0; cu < cu_num; cu++) { in power1_average_show()
[all …]
/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c145 struct crat_subtype_computeunit *cu) in kfd_populated_cu_info_cpu() argument
147 dev->node_props.cpu_cores_count = cu->num_cpu_cores; in kfd_populated_cu_info_cpu()
148 dev->node_props.cpu_core_id_base = cu->processor_id_low; in kfd_populated_cu_info_cpu()
149 if (cu->hsa_capability & CRAT_CU_FLAGS_IOMMU_PRESENT) in kfd_populated_cu_info_cpu()
152 pr_debug("CU CPU: cores=%d id_base=%d\n", cu->num_cpu_cores, in kfd_populated_cu_info_cpu()
153 cu->processor_id_low); in kfd_populated_cu_info_cpu()
157 struct crat_subtype_computeunit *cu) in kfd_populated_cu_info_gpu() argument
159 dev->node_props.simd_id_base = cu->processor_id_low; in kfd_populated_cu_info_gpu()
160 dev->node_props.simd_count = cu->num_simd_cores; in kfd_populated_cu_info_gpu()
161 dev->node_props.lds_size_in_kb = cu->lds_size_in_kb; in kfd_populated_cu_info_gpu()
[all …]
Dkfd_mqd_manager.c102 int i, se, sh, cu = 0; in mqd_symmetrically_map_cu_mask() local
123 se_mask[se] |= 1 << cu; in mqd_symmetrically_map_cu_mask()
129 cu++; in mqd_symmetrically_map_cu_mask()
131 } while (cu >= cu_per_se[se] && cu < 32); in mqd_symmetrically_map_cu_mask()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gfx.c146 unsigned se, sh, cu; in amdgpu_gfx_parse_disable_cu() local
157 int ret = sscanf(p, "%u.%u.%u", &se, &sh, &cu); in amdgpu_gfx_parse_disable_cu()
163 if (se < max_se && sh < max_sh && cu < 16) { in amdgpu_gfx_parse_disable_cu()
164 DRM_INFO("amdgpu: disabling CU %u.%u.%u\n", se, sh, cu); in amdgpu_gfx_parse_disable_cu()
165 mask[se * max_sh + sh] |= 1u << cu; in amdgpu_gfx_parse_disable_cu()
168 se, sh, cu); in amdgpu_gfx_parse_disable_cu()
Damdgpu_debugfs.c623 uint32_t offset, se, sh, cu, wave, simd, data[32]; in amdgpu_debugfs_wave_read() local
632 cu = (*pos & GENMASK_ULL(30, 23)) >> 23; in amdgpu_debugfs_wave_read()
638 amdgpu_gfx_select_se_sh(adev, se, sh, cu); in amdgpu_debugfs_wave_read()
695 uint32_t offset, se, sh, cu, wave, simd, thread, bank, *data; in amdgpu_debugfs_gpr_read() local
704 cu = (*pos & GENMASK_ULL(35, 28)) >> 28; in amdgpu_debugfs_gpr_read()
716 amdgpu_gfx_select_se_sh(adev, se, sh, cu); in amdgpu_debugfs_gpr_read()
Damdgpu_ras_eeprom.h73 unsigned char cu; member
/drivers/media/platform/qcom/venus/
Dhelpers.c810 struct hfi_videocores_usage_type cu; in venus_helper_set_core_usage() local
815 cu.video_core_enable_mask = usage; in venus_helper_set_core_usage()
817 return hfi_session_set_property(inst, ptype, &cu); in venus_helper_set_core_usage()
Dhfi_cmds.c1201 struct hfi_videocores_usage_type *in = pdata, *cu = prop_data; in pkt_session_set_property_4xx() local
1203 cu->video_core_enable_mask = in->video_core_enable_mask; in pkt_session_set_property_4xx()
1204 pkt->shdr.hdr.size += sizeof(u32) + sizeof(*cu); in pkt_session_set_property_4xx()
/drivers/net/vmxnet3/
Dvmxnet3_defs.h721 } cu; member
Dvmxnet3_ethtool.c779 union Vmxnet3_CmdInfo *cmdInfo = &shared->cu.cmdInfo; in vmxnet3_set_coalesce()
Dvmxnet3_drv.c2537 union Vmxnet3_CmdInfo *cmdInfo = &shared->cu.cmdInfo; in vmxnet3_init_coalesce()
/drivers/infiniband/hw/hfi1/
Ddriver.c83 module_param_named(cu, hfi1_cu, uint, S_IRUGO);
84 MODULE_PARM_DESC(cu, "Credit return units");
Dchip.c6466 static u8 cu_to_vcu(u32 cu) in cu_to_vcu() argument
6468 return ilog2(cu); in cu_to_vcu()
14517 static void assign_cm_au_table(struct hfi1_devdata *dd, u32 cu, in assign_cm_au_table() argument
14523 2ull * cu << in assign_cm_au_table()
14525 4ull * cu << in assign_cm_au_table()
14528 8ull * cu << in assign_cm_au_table()
14530 16ull * cu << in assign_cm_au_table()
14532 32ull * cu << in assign_cm_au_table()
14534 64ull * cu << in assign_cm_au_table()