Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/hwmon/
Dfam15h_power.c153 int cpu, cu; in do_read_registers_on_cu() local
161 cu = cpu_data(cpu).cpu_core_id; in do_read_registers_on_cu()
163 rdmsrl_safe(MSR_F15H_CU_PWR_ACCUMULATOR, &data->cu_acc_power[cu]); in do_read_registers_on_cu()
164 rdmsrl_safe(MSR_F15H_PTSC, &data->cpu_sw_pwr_ptsc[cu]); in do_read_registers_on_cu()
166 data->cu_on[cu] = 1; in do_read_registers_on_cu()
222 int cu, cu_num, ret; in power1_average_show() local
235 for (cu = 0; cu < cu_num; cu++) { in power1_average_show()
236 prev_cu_acc_power[cu] = data->cu_acc_power[cu]; in power1_average_show()
237 prev_ptsc[cu] = data->cpu_sw_pwr_ptsc[cu]; in power1_average_show()
248 for (cu = 0, avg_acc = 0; cu < cu_num; cu++) { in power1_average_show()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c140 struct crat_subtype_computeunit *cu) in kfd_populated_cu_info_cpu() argument
142 dev->node_props.cpu_cores_count = cu->num_cpu_cores; in kfd_populated_cu_info_cpu()
143 dev->node_props.cpu_core_id_base = cu->processor_id_low; in kfd_populated_cu_info_cpu()
144 if (cu->hsa_capability & CRAT_CU_FLAGS_IOMMU_PRESENT) in kfd_populated_cu_info_cpu()
147 pr_debug("CU CPU: cores=%d id_base=%d\n", cu->num_cpu_cores, in kfd_populated_cu_info_cpu()
148 cu->processor_id_low); in kfd_populated_cu_info_cpu()
152 struct crat_subtype_computeunit *cu) in kfd_populated_cu_info_gpu() argument
154 dev->node_props.simd_id_base = cu->processor_id_low; in kfd_populated_cu_info_gpu()
155 dev->node_props.simd_count = cu->num_simd_cores; in kfd_populated_cu_info_gpu()
156 dev->node_props.lds_size_in_kb = cu->lds_size_in_kb; in kfd_populated_cu_info_gpu()
[all …]
Dkfd_mqd_manager.c58 int i, se, cu = 0; in mqd_symmetrically_map_cu_mask() local
79 se_mask[se] |= 1 << cu; in mqd_symmetrically_map_cu_mask()
85 cu++; in mqd_symmetrically_map_cu_mask()
87 } while (cu >= cu_per_sh[se] && cu < 32); in mqd_symmetrically_map_cu_mask()
/Linux-v4.19/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
Dgen_except.S264 tstb CU_ONLY(%a6) |test if inst is cu-only
Dutil.S104 beql ovf_e1_exc |it is cu exception
Dres_func.S115 st CU_ONLY(%a6) |set cu-only inst flag
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gfx.c80 unsigned se, sh, cu; in amdgpu_gfx_parse_disable_cu() local
91 int ret = sscanf(p, "%u.%u.%u", &se, &sh, &cu); in amdgpu_gfx_parse_disable_cu()
97 if (se < max_se && sh < max_sh && cu < 16) { in amdgpu_gfx_parse_disable_cu()
98 DRM_INFO("amdgpu: disabling CU %u.%u.%u\n", se, sh, cu); in amdgpu_gfx_parse_disable_cu()
99 mask[se * max_sh + sh] |= 1u << cu; in amdgpu_gfx_parse_disable_cu()
102 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()
/Linux-v4.19/arch/s390/include/asm/
Dccwdev.h26 #define CCW_DEVICE(cu, cum) \ argument
27 .cu_type=(cu), .cu_model=(cum), \
31 #define CCW_DEVICE_DEVTYPE(cu, cum, dev, devm) \ argument
32 .cu_type=(cu), .cu_model=(cum), .dev_type=(dev), .dev_model=(devm),\
/Linux-v4.19/kernel/time/
Dclockevents.c413 struct ce_unbind *cu = arg; in __clockevents_unbind() local
417 res = __clockevents_try_unbind(cu->ce, smp_processor_id()); in __clockevents_unbind()
419 res = clockevents_replace(cu->ce); in __clockevents_unbind()
420 cu->res = res; in __clockevents_unbind()
430 struct ce_unbind cu = { .ce = ced, .res = -ENODEV }; in clockevents_unbind() local
432 smp_call_function_single(cpu, __clockevents_unbind, &cu, 1); in clockevents_unbind()
433 return cu.res; in clockevents_unbind()
/Linux-v4.19/sound/pci/asihpi/
Dhpicmn.c402 phr->u.cu.tuner.s_level = 0; in hpi_check_control_cache_single()
406 phr->u.cu.tuner.s_level = in hpi_check_control_cache_single()
506 if (tocopy > sizeof(phr->u.cu.chars8.sz_data)) in hpi_check_control_cache_single()
507 tocopy = sizeof(phr->u.cu.chars8. in hpi_check_control_cache_single()
510 memcpy(phr->u.cu.chars8.sz_data, in hpi_check_control_cache_single()
513 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.h1026 struct hpi_control_union_msg cu; member
1087 union hpi_control_union_res cu; member
1195 struct hpi_control_union_msg cu; member
1214 union hpi_control_union_res cu; member
/Linux-v4.19/drivers/media/platform/qcom/venus/
Dhelpers.c710 struct hfi_videocores_usage_type cu; in venus_helper_set_core_usage() local
715 cu.video_core_enable_mask = usage; in venus_helper_set_core_usage()
717 return hfi_session_set_property(inst, ptype, &cu); in venus_helper_set_core_usage()
Dhfi_cmds.c1210 struct hfi_videocores_usage_type *in = pdata, *cu = prop_data; in pkt_session_set_property_4xx() local
1212 cu->video_core_enable_mask = in->video_core_enable_mask; in pkt_session_set_property_4xx()
1213 pkt->shdr.hdr.size += sizeof(u32) + sizeof(*cu); in pkt_session_set_property_4xx()
/Linux-v4.19/drivers/net/vmxnet3/
Dvmxnet3_defs.h721 } cu; member
Dvmxnet3_ethtool.c769 union Vmxnet3_CmdInfo *cmdInfo = &shared->cu.cmdInfo; in vmxnet3_set_coalesce()
/Linux-v4.19/Documentation/admin-guide/
Ddevices.rst195 a serial port primary (``tty*``, not ``cu*``) device, depending on the
211 "cu" device (e.g. ``/dev/cudp#``).
/Linux-v4.19/tools/perf/util/
Dunwind-libunwind-local.c446 unw_cursor_t __maybe_unused *cu, in resume() argument
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Ddriver.c85 module_param_named(cu, hfi1_cu, uint, S_IRUGO);
86 MODULE_PARM_DESC(cu, "Credit return units");
Dchip.c6448 static u8 cu_to_vcu(u32 cu) in cu_to_vcu() argument
6450 return ilog2(cu); in cu_to_vcu()
14631 static void assign_cm_au_table(struct hfi1_devdata *dd, u32 cu, in assign_cm_au_table() argument
14637 2ull * cu << in assign_cm_au_table()
14639 4ull * cu << in assign_cm_au_table()
14642 8ull * cu << in assign_cm_au_table()
14644 16ull * cu << in assign_cm_au_table()
14646 32ull * cu << in assign_cm_au_table()
14648 64ull * cu << in assign_cm_au_table()
/Linux-v4.19/Documentation/powerpc/
Dhvcs.txt225 For this reason kermit and cu are two of the recommended applications for
505 kermit or cu or some other program that doesn't provide terminal emulation.
/Linux-v4.19/Documentation/usb/
Dusb-serial.txt152 basic input/output (tested with 'cu')

12