| /linux-6.15/drivers/hwmon/ |
| H A D | fam15h_power.c | 138 int cu; in do_read_registers_on_cu() local 149 data->cu_on[cu] = 1; in do_read_registers_on_cu() 218 for (cu = 0; cu < cu_num; cu++) { in power1_average_show() 219 prev_cu_acc_power[cu] = data->cu_acc_power[cu]; in power1_average_show() 220 prev_ptsc[cu] = data->cpu_sw_pwr_ptsc[cu]; in power1_average_show() 231 for (cu = 0, avg_acc = 0; cu < cu_num; cu++) { in power1_average_show() 236 if (data->cu_acc_power[cu] < prev_cu_acc_power[cu]) { in power1_average_show() 237 jdelta[cu] = data->max_cu_acc_power + data->cu_acc_power[cu]; in power1_average_show() 238 jdelta[cu] -= prev_cu_acc_power[cu]; in power1_average_show() 240 jdelta[cu] = data->cu_acc_power[cu] - prev_cu_acc_power[cu]; in power1_average_show() [all …]
|
| /linux-6.15/arch/csky/lib/ |
| H A D | string.c | 112 unsigned long cu = (unsigned long)c; in memset() local 115 cu |= cu << 8; in memset() 116 cu |= cu << 16; in memset() 118 cu |= (cu << 16) << 16; in memset() 125 *dest.as_ulong++ = cu; in memset()
|
| /linux-6.15/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_crat.c | 1022 struct crat_subtype_computeunit *cu) in kfd_populated_cu_info_cpu() argument 1030 cu->processor_id_low); in kfd_populated_cu_info_cpu() 1034 struct crat_subtype_computeunit *cu) in kfd_populated_cu_info_gpu() argument 1059 cu->proximity_domain, cu->hsa_capability); in kfd_parse_subtype_cu() 1063 kfd_populated_cu_info_cpu(dev, cu); in kfd_parse_subtype_cu() 1066 kfd_populated_cu_info_gpu(dev, cu); in kfd_parse_subtype_cu() 1310 struct crat_subtype_computeunit *cu; in kfd_parse_subtype() local 2242 struct crat_subtype_computeunit *cu; in kfd_create_vcrat_image_gpu() local 2277 cu->flags |= CRAT_CU_FLAGS_GPU_PRESENT; in kfd_create_vcrat_image_gpu() 2293 cu->lds_size_in_kb = cu_info->lds_size; in kfd_create_vcrat_image_gpu() [all …]
|
| H A D | kfd_mqd_manager.c | 107 int i, se, sh, cu, cu_bitmap_sh_mul, cu_inc = wgp_mode_req ? 2 : 1; in mqd_symmetrically_map_cu_mask() local 193 for (cu = 0; cu < 16; cu += cu_inc) { in mqd_symmetrically_map_cu_mask() 196 if (cu_per_sh[se][sh] > cu) { in mqd_symmetrically_map_cu_mask() 198 se_mask[se] |= en_mask << (cu + sh * 16); in mqd_symmetrically_map_cu_mask()
|
| /linux-6.15/arch/m68k/fpsp040/ |
| H A D | bugfix.S | 186 | 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 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. 248 | the cu and restore the state, allowing the instruction in the 252 | restore the instruction from the cu to the frame and continue 305 | the cu state information and setup etemp. 356 | Check for cu dest equal to nu dest or equal to xu dest, with 370 | the cu and restore the state, allowing the instruction in the [all …]
|
| /linux-6.15/scripts/gendwarfksyms/ |
| H A D | gendwarfksyms.c | 55 Dwarf_CU *cu = NULL; in process_module() local 68 res = dwarf_get_units(dbg, cu, &cu, NULL, NULL, &cudie, NULL); in process_module() 75 } while (cu); in process_module()
|
| H A D | dwarf.c | 130 if (!dwarf_cu_die(die->cu, &cudie, NULL, NULL, NULL, NULL, NULL, NULL)) in is_definition_private() 809 if (!dwarf_die_addr_die(dwarf_cu_getdwarf(die->cu), in process_cached() 1168 symbol_for_each(process_symbol_ptr, dwarf_cu_getdwarf(cudie->cu)); in process_cu()
|
| /linux-6.15/lib/ |
| H A D | hexdump.c | 48 unsigned char cu = ch & 0xdf; in hex_to_bin() local 51 ((cu - 'A' + 11) & (unsigned)((cu - 'F' - 1) & ('A' - 1 - cu)) >> 8); in hex_to_bin()
|
| /linux-6.15/arch/s390/include/asm/ |
| H A D | ccwdev.h | 28 #define CCW_DEVICE(cu, cum) \ argument 29 .cu_type=(cu), .cu_model=(cum), \ 33 #define CCW_DEVICE_DEVTYPE(cu, cum, dev, devm) \ argument 34 .cu_type=(cu), .cu_model=(cum), .dev_type=(dev), .dev_model=(devm),\
|
| H A D | cio.h | 379 int chsc_scud(u16 cu, u64 *esm, u8 *esm_valid);
|
| /linux-6.15/kernel/time/ |
| H A D | clockevents.c | 410 struct ce_unbind *cu = arg; in __clockevents_unbind() local 414 res = __clockevents_try_unbind(cu->ce, smp_processor_id()); in __clockevents_unbind() 416 res = clockevents_replace(cu->ce); in __clockevents_unbind() 417 cu->res = res; in __clockevents_unbind() 427 struct ce_unbind cu = { .ce = ced, .res = -ENODEV }; in clockevents_unbind() local 429 smp_call_function_single(cpu, __clockevents_unbind, &cu, 1); in clockevents_unbind() 430 return cu.res; in clockevents_unbind()
|
| /linux-6.15/tools/perf/tests/shell/ |
| H A D | test_uprobe_from_different_cu.sh | 19 temp_dir=$(mktemp -d /tmp/perf-uprobe-different-cu-sh.XXXXXXXXXX) 24 if [[ "${temp_dir}" =~ ^/tmp/perf-uprobe-different-cu-sh.*$ ]]; then
|
| /linux-6.15/sound/pci/asihpi/ |
| H A D | hpicmn.c | 393 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()
|
| H A D | hpifunc.c | 1436 && (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() 2563 hm.u.cu.attribute = HPI_TUNER_LEVEL_AVG; in hpi_tuner_get_rf_level() 2566 *pw_level = hr.u.cu.tuner.s_level; in hpi_tuner_get_rf_level() 2579 hm.u.cu.attribute = HPI_TUNER_LEVEL_RAW; in hpi_tuner_get_raw_rf_level() 2582 *pw_level = hr.u.cu.tuner.s_level; in hpi_tuner_get_raw_rf_level() [all …]
|
| H A D | hpi_internal.h | 1015 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-6.15/drivers/media/platform/qcom/iris/ |
| H A D | iris_hfi_gen1_command.c | 416 struct hfi_videocores_usage_type *in = pdata, *cu = prop_data; in iris_hfi_gen1_packet_session_set_property() local 418 cu->video_core_enable_mask = in->video_core_enable_mask; in iris_hfi_gen1_packet_session_set_property() 419 packet->shdr.hdr.size += sizeof(u32) + sizeof(*cu); in iris_hfi_gen1_packet_session_set_property() 567 struct hfi_videocores_usage_type cu; in iris_hfi_gen1_decide_core() local 569 cu.video_core_enable_mask = HFI_CORE_ID_1; in iris_hfi_gen1_decide_core() 571 return hfi_gen1_set_property(inst, ptype, &cu, sizeof(cu)); in iris_hfi_gen1_decide_core()
|
| /linux-6.15/drivers/media/platform/qcom/venus/ |
| H A D | pm_helpers.c | 634 struct hfi_videocores_usage_type cu; in decide_core() local 640 cu.video_core_enable_mask = VIDC_CORE_ID_1; in decide_core() 642 cu.video_core_enable_mask = VIDC_CORE_ID_2; in decide_core() 665 cu.video_core_enable_mask = min_coreid; in decide_core() 669 cu.video_core_enable_mask = min_coreid; in decide_core() 674 cu.video_core_enable_mask = min_lp_coreid; in decide_core() 682 ret = hfi_session_set_property(inst, ptype, &cu); in decide_core()
|
| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_umr.h | 50 u32 gpr_or_wave, se, sh, cu, wave, simd, xcc_id; member
|
| H A D | amdgpu_ras_eeprom.h | 137 unsigned char cu; member
|
| H A D | gfx_v9_4_2.c | 422 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()
|
| H A D | amdgpu_debugfs.c | 429 amdgpu_gfx_select_se_sh(adev, rd->id.se, rd->id.sh, rd->id.cu, rd->id.xcc_id); in amdgpu_debugfs_gprwave_read() 1061 uint32_t offset, se, sh, cu, wave, simd, data[32]; in amdgpu_debugfs_wave_read() local 1070 cu = (*pos & GENMASK_ULL(30, 23)) >> 23; in amdgpu_debugfs_wave_read() 1088 amdgpu_gfx_select_se_sh(adev, se, sh, cu, 0); in amdgpu_debugfs_wave_read() 1153 uint32_t offset, se, sh, cu, wave, simd, thread, bank, *data; in amdgpu_debugfs_gpr_read() local 1162 cu = (*pos & GENMASK_ULL(35, 28)) >> 28; in amdgpu_debugfs_gpr_read() 1182 amdgpu_gfx_select_se_sh(adev, se, sh, cu, 0); in amdgpu_debugfs_gpr_read()
|
| H A D | amdgpu_gfx.c | 109 unsigned int se, sh, cu; in amdgpu_gfx_parse_disable_cu() local 120 int ret = sscanf(p, "%u.%u.%u", &se, &sh, &cu); in amdgpu_gfx_parse_disable_cu() 127 if (se < max_se && sh < max_sh && cu < 16) { in amdgpu_gfx_parse_disable_cu() 128 DRM_INFO("amdgpu: disabling CU %u.%u.%u\n", se, sh, cu); in amdgpu_gfx_parse_disable_cu() 129 mask[se * max_sh + sh] |= 1u << cu; in amdgpu_gfx_parse_disable_cu() 132 se, sh, cu); in amdgpu_gfx_parse_disable_cu()
|
| /linux-6.15/drivers/accel/amdxdna/ |
| H A D | aie2_message.c | 396 struct amdxdna_cu_config *cu = &hwctx->cus->cu_configs[i]; in aie2_config_cu() local 398 if (XDNA_MBZ_DBG(xdna, cu->pad, sizeof(cu->pad))) in aie2_config_cu() 401 gobj = drm_gem_object_lookup(hwctx->client->filp, cu->cu_bo); in aie2_config_cu() 416 req.cfgs[i] |= FIELD_PREP(AIE2_MSG_CFG_CU_FUNC, cu->cu_func); in aie2_config_cu()
|
| /linux-6.15/drivers/s390/cio/ |
| H A D | chsc.c | 1531 u16 cu; member 1568 int chsc_scud(u16 cu, u64 *esm, u8 *esm_valid) in chsc_scud() argument 1579 scud->first_cu = cu; in chsc_scud() 1580 scud->last_cu = cu; in chsc_scud() 1588 || scud->cudb[0].cu != cu)) { in chsc_scud() 1593 scud->fmt_resp, scud->cudb[0].flags, scud->cudb[0].cu); in chsc_scud()
|
| /linux-6.15/Documentation/translations/sp_SP/process/ |
| H A D | programming-language.rst | 40 ``__attribute__((__pure__))``) con el fin de detectar cuáles se pueden
|