Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/hwmon/
Dfam15h_power.c137 int cpu, cu; in do_read_registers_on_cu() local
145 cu = cpu_data(cpu).cpu_core_id; in do_read_registers_on_cu()
147 rdmsrl_safe(MSR_F15H_CU_PWR_ACCUMULATOR, &data->cu_acc_power[cu]); in do_read_registers_on_cu()
148 rdmsrl_safe(MSR_F15H_PTSC, &data->cpu_sw_pwr_ptsc[cu]); in do_read_registers_on_cu()
150 data->cu_on[cu] = 1; in do_read_registers_on_cu()
206 int cu, cu_num, ret; in power1_average_show() local
219 for (cu = 0; cu < cu_num; cu++) { in power1_average_show()
220 prev_cu_acc_power[cu] = data->cu_acc_power[cu]; in power1_average_show()
221 prev_ptsc[cu] = data->cpu_sw_pwr_ptsc[cu]; in power1_average_show()
232 for (cu = 0, avg_acc = 0; cu < cu_num; cu++) { in power1_average_show()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c798 struct crat_subtype_computeunit *cu) in kfd_populated_cu_info_cpu() argument
800 dev->node_props.cpu_cores_count = cu->num_cpu_cores; in kfd_populated_cu_info_cpu()
801 dev->node_props.cpu_core_id_base = cu->processor_id_low; in kfd_populated_cu_info_cpu()
802 if (cu->hsa_capability & CRAT_CU_FLAGS_IOMMU_PRESENT) in kfd_populated_cu_info_cpu()
805 pr_debug("CU CPU: cores=%d id_base=%d\n", cu->num_cpu_cores, in kfd_populated_cu_info_cpu()
806 cu->processor_id_low); in kfd_populated_cu_info_cpu()
810 struct crat_subtype_computeunit *cu) in kfd_populated_cu_info_gpu() argument
812 dev->node_props.simd_id_base = cu->processor_id_low; in kfd_populated_cu_info_gpu()
813 dev->node_props.simd_count = cu->num_simd_cores; in kfd_populated_cu_info_gpu()
814 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; in mqd_symmetrically_map_cu_mask() local
162 for (cu = 0; cu < 16; cu++) { in mqd_symmetrically_map_cu_mask()
165 if (cu_per_sh[se][sh] > cu) { in mqd_symmetrically_map_cu_mask()
167 se_mask[se] |= 1 << (cu + sh * 16); in mqd_symmetrically_map_cu_mask()
/Linux-v5.15/arch/m68k/fpsp040/
Dbugfix.S186 | cu src equal to xu dest or equal to nu dest. If so, go to
187 | op0. Else, or if opclass2, check for cu dest equal to
197 | Check for cu and nu register conflict. If one exists, this takes
198 | priority over a cu and xu conflict.
205 | Check for cu dest equal to nu dest. If so, go and fix the
212 | Check for cu and xu register conflict.
246 | We have the case in which a conflict exists between the cu src or
248 | the cu and restore the state, allowing the instruction in the
252 | restore the instruction from the cu to the frame and continue
262 | The cu savepc is set to zero, and the frame is restored to the
[all …]
Dfpsp.h110 .set CU_ONLY,LV+122 | cu-only flag
/Linux-v5.15/arch/s390/include/asm/
Dccwdev.h27 #define CCW_DEVICE(cu, cum) \ argument
28 .cu_type=(cu), .cu_model=(cum), \
32 #define CCW_DEVICE_DEVTYPE(cu, cum, dev, devm) \ argument
33 .cu_type=(cu), .cu_model=(cum), .dev_type=(dev), .dev_model=(devm),\
Dcio.h376 int chsc_scud(u16 cu, u64 *esm, u8 *esm_valid);
/Linux-v5.15/kernel/time/
Dclockevents.c402 struct ce_unbind *cu = arg; in __clockevents_unbind() local
406 res = __clockevents_try_unbind(cu->ce, smp_processor_id()); in __clockevents_unbind()
408 res = clockevents_replace(cu->ce); in __clockevents_unbind()
409 cu->res = res; in __clockevents_unbind()
419 struct ce_unbind cu = { .ce = ced, .res = -ENODEV }; in clockevents_unbind() local
421 smp_call_function_single(cpu, __clockevents_unbind, &cu, 1); in clockevents_unbind()
422 return cu.res; in clockevents_unbind()
/Linux-v5.15/sound/pci/asihpi/
Dhpicmn.c393 phr->u.cu.tuner.s_level = 0; in hpi_check_control_cache_single()
397 phr->u.cu.tuner.s_level = in hpi_check_control_cache_single()
497 if (tocopy > sizeof(phr->u.cu.chars8.sz_data)) in hpi_check_control_cache_single()
498 tocopy = sizeof(phr->u.cu.chars8. in hpi_check_control_cache_single()
501 memcpy(phr->u.cu.chars8.sz_data, in hpi_check_control_cache_single()
504 phr->u.cu.chars8.remaining_chars = in hpi_check_control_cache_single()
Dhpifunc.c1436 && (hr.u.cu.chars8.remaining_chars + 8) > in hpi_control_get_string()
1445 c = hr.u.cu.chars8.sz_data[j]; in hpi_control_get_string()
1457 if ((hr.u.cu.chars8.remaining_chars == 0) in hpi_control_get_string()
1743 *pstatus = hr.u.cu.cobranet.status.status; in hpi_cobranet_hmi_get_status()
1746 hr.u.cu.cobranet.status.readable_size; in hpi_cobranet_hmi_get_status()
1749 hr.u.cu.cobranet.status.writeable_size; in hpi_cobranet_hmi_get_status()
2564 hm.u.cu.attribute = HPI_TUNER_LEVEL_AVG; in hpi_tuner_get_rf_level()
2567 *pw_level = hr.u.cu.tuner.s_level; in hpi_tuner_get_rf_level()
2580 hm.u.cu.attribute = HPI_TUNER_LEVEL_RAW; in hpi_tuner_get_raw_rf_level()
2583 *pw_level = hr.u.cu.tuner.s_level; in hpi_tuner_get_raw_rf_level()
[all …]
Dhpi_internal.h1015 struct hpi_control_union_msg cu; member
1076 union hpi_control_union_res cu; member
1184 struct hpi_control_union_msg cu; member
1203 union hpi_control_union_res cu; member
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gfx.c149 unsigned se, sh, cu; in amdgpu_gfx_parse_disable_cu() local
160 int ret = sscanf(p, "%u.%u.%u", &se, &sh, &cu); in amdgpu_gfx_parse_disable_cu()
166 if (se < max_se && sh < max_sh && cu < 16) { in amdgpu_gfx_parse_disable_cu()
167 DRM_INFO("amdgpu: disabling CU %u.%u.%u\n", se, sh, cu); in amdgpu_gfx_parse_disable_cu()
168 mask[se * max_sh + sh] |= 1u << cu; in amdgpu_gfx_parse_disable_cu()
171 se, sh, cu); in amdgpu_gfx_parse_disable_cu()
Damdgpu_ras_eeprom.h103 unsigned char cu; member
Damdgpu_debugfs.c830 uint32_t offset, se, sh, cu, wave, simd, data[32]; in amdgpu_debugfs_wave_read() local
839 cu = (*pos & GENMASK_ULL(30, 23)) >> 23; in amdgpu_debugfs_wave_read()
857 amdgpu_gfx_select_se_sh(adev, se, sh, cu); in amdgpu_debugfs_wave_read()
922 uint32_t offset, se, sh, cu, wave, simd, thread, bank, *data; in amdgpu_debugfs_gpr_read() local
931 cu = (*pos & GENMASK_ULL(35, 28)) >> 28; in amdgpu_debugfs_gpr_read()
951 amdgpu_gfx_select_se_sh(adev, se, sh, cu); in amdgpu_debugfs_gpr_read()
Dgfx_v9_4_2.c422 uint32_t se, cu, simd, wave; in gfx_v9_4_2_log_wave_assignment() local
434 for (cu = 0; cu < CU_ID_MAX; cu++) { in gfx_v9_4_2_log_wave_assignment()
436 size = sprintf(str, "SE[%02d]CU[%02d]: ", se, cu); in gfx_v9_4_2_log_wave_assignment()
456 uint32_t se, cu, simd, wave; in gfx_v9_4_2_wait_for_waves_assigned() local
466 for (cu = 0; cu < CU_ID_MAX; cu++) in gfx_v9_4_2_wait_for_waves_assigned()
Dumc_v6_7.c255 err_rec->cu = 0; in umc_v6_7_query_error_address()
Dumc_v8_7.c249 err_rec->cu = 0; in umc_v8_7_query_error_address()
Dumc_v6_1.c357 err_rec->cu = 0; in umc_v6_1_query_error_address()
/Linux-v5.15/drivers/media/platform/qcom/venus/
Dpm_helpers.c628 struct hfi_videocores_usage_type cu; in decide_core() local
634 cu.video_core_enable_mask = VIDC_CORE_ID_1; in decide_core()
636 cu.video_core_enable_mask = VIDC_CORE_ID_2; in decide_core()
659 cu.video_core_enable_mask = min_coreid; in decide_core()
663 cu.video_core_enable_mask = min_coreid; in decide_core()
668 cu.video_core_enable_mask = min_lp_coreid; in decide_core()
676 ret = hfi_session_set_property(inst, ptype, &cu); in decide_core()
Dhfi_cmds.c1217 struct hfi_videocores_usage_type *in = pdata, *cu = prop_data; in pkt_session_set_property_4xx() local
1219 cu->video_core_enable_mask = in->video_core_enable_mask; in pkt_session_set_property_4xx()
1220 pkt->shdr.hdr.size += sizeof(u32) + sizeof(*cu); in pkt_session_set_property_4xx()
/Linux-v5.15/drivers/s390/cio/
Dchsc.c1480 u16 cu; member
1517 int chsc_scud(u16 cu, u64 *esm, u8 *esm_valid) in chsc_scud() argument
1528 scud->first_cu = cu; in chsc_scud()
1529 scud->last_cu = cu; in chsc_scud()
1537 || scud->cudb[0].cu != cu)) { in chsc_scud()
1542 scud->fmt_resp, scud->cudb[0].flags, scud->cudb[0].cu); in chsc_scud()
/Linux-v5.15/Documentation/admin-guide/
Ddevices.rst196 a serial port primary (``tty*``, not ``cu*``) device, depending on the
212 "cu" device (e.g. ``/dev/cudp#``).
/Linux-v5.15/drivers/net/vmxnet3/
Dvmxnet3_defs.h766 } cu; member
Dvmxnet3_ethtool.c911 union Vmxnet3_CmdInfo *cmdInfo = &shared->cu.cmdInfo; in vmxnet3_set_rss_hash_opt()
1100 union Vmxnet3_CmdInfo *cmdInfo = &shared->cu.cmdInfo; in vmxnet3_set_coalesce()
/Linux-v5.15/tools/perf/util/
Dunwind-libunwind-local.c447 unw_cursor_t __maybe_unused *cu, in resume() argument

12