Home
last modified time | relevance | path

Searched full:cu (Results 1 – 25 of 205) sorted by relevance

123456789

/kernel/linux/linux-4.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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c63 /* TCP L1 Cache per CU */
97 /* TCP L1 Cache per CU */
140 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()
[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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c64 /* TCP L1 Cache per CU */
98 /* TCP L1 Cache per CU */
146 struct crat_subtype_computeunit *cu) in kfd_populated_cu_info_cpu() argument
148 dev->node_props.cpu_cores_count = cu->num_cpu_cores; in kfd_populated_cu_info_cpu()
149 dev->node_props.cpu_core_id_base = cu->processor_id_low; in kfd_populated_cu_info_cpu()
150 if (cu->hsa_capability & CRAT_CU_FLAGS_IOMMU_PRESENT) in kfd_populated_cu_info_cpu()
153 pr_debug("CU CPU: cores=%d id_base=%d\n", cu->num_cpu_cores, in kfd_populated_cu_info_cpu()
154 cu->processor_id_low); in kfd_populated_cu_info_cpu()
158 struct crat_subtype_computeunit *cu) in kfd_populated_cu_info_gpu() argument
160 dev->node_props.simd_id_base = cu->processor_id_low; in kfd_populated_cu_info_gpu()
[all …]
Dkfd_mqd_manager.c102 int i, se, sh, cu; in mqd_symmetrically_map_cu_mask() local
109 * Returning with no CU's enabled will hang the queue, which should be in mqd_symmetrically_map_cu_mask()
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()
/kernel/linux/linux-4.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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/drivers/gpu/drm/amd/display/include/
Ddal_asic_id.h46 /* KV1 with Spectre GFX core, 8-8-1-2 (CU-Pix-Primitive-RB) */
50 * 3-4-1-1 (CU-Pix-Primitive-RB) */
53 /* KB with Kalindi GFX core, 2-4-1-1 (CU-Pix-Primitive-RB) */
56 /* KB with Kalindi GFX core, 2-4-1-1 (CU-Pix-Primitive-RB) */
59 /* BV with Kalindi GFX core, 2-4-1-1 (CU-Pix-Primitive-RB) */
62 /* ML with Godavari GFX core, 2-4-1-1 (CU-Pix-Primitive-RB) */
65 /* ML with Godavari GFX core, 2-4-1-1 (CU-Pix-Primitive-RB) */
/kernel/linux/linux-4.19/drivers/net/ethernet/i825xx/
Dsun3_82586.h75 unsigned char cmd_cuc; /* command word: CU part & ACK */
94 #define CUC_MASK 0x07 /* mask for CU command */
98 #define CUC_SUSPEND 0x03 /* Suspend CU */
111 #define STAT_CX 0x80 /* CU finished cmd with its I bit set */
113 #define STAT_CNA 0x20 /* CU left active state */
116 #define CU_STATUS 0x7 /* CU status, 0=idle */
117 #define CU_SUSPEND 0x1 /* CU is suspended */
118 #define CU_ACTIVE 0x2 /* CU is active */
198 #define CMD_SUSPEND 0x4000 /* suspend CU after this CB */
/kernel/linux/linux-5.10/drivers/net/ethernet/i825xx/
Dsun3_82586.h75 unsigned char cmd_cuc; /* command word: CU part & ACK */
94 #define CUC_MASK 0x07 /* mask for CU command */
98 #define CUC_SUSPEND 0x03 /* Suspend CU */
111 #define STAT_CX 0x80 /* CU finished cmd with its I bit set */
113 #define STAT_CNA 0x20 /* CU left active state */
116 #define CU_STATUS 0x7 /* CU status, 0=idle */
117 #define CU_SUSPEND 0x1 /* CU is suspended */
118 #define CU_ACTIVE 0x2 /* CU is active */
198 #define CMD_SUSPEND 0x4000 /* suspend CU after this CB */
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/
Ddal_asic_id.h74 /* KV1 with Spectre GFX core, 8-8-1-2 (CU-Pix-Primitive-RB) */
78 * 3-4-1-1 (CU-Pix-Primitive-RB) */
81 /* KB with Kalindi GFX core, 2-4-1-1 (CU-Pix-Primitive-RB) */
84 /* KB with Kalindi GFX core, 2-4-1-1 (CU-Pix-Primitive-RB) */
87 /* BV with Kalindi GFX core, 2-4-1-1 (CU-Pix-Primitive-RB) */
90 /* ML with Godavari GFX core, 2-4-1-1 (CU-Pix-Primitive-RB) */
93 /* ML with Godavari GFX core, 2-4-1-1 (CU-Pix-Primitive-RB) */
/kernel/linux/linux-4.19/tools/perf/util/
Ddwarf-aux.c30 * @cu_die: A DIE(dwarf information entry) of CU(compilation Unit)
61 * @cu_die: a CU DIE
77 * @cu_die: a CU DIE
106 * @cu_die: A CU DIE
402 /* Get the call file index number in CU DIE */
413 /* Get the declared file index number in CU DIE */
510 * @cu_die: a CU DIE which including @addr
549 * @cu_die: a CU DIE which including @addr
785 * @rt_die: a root DIE (CU, subprogram or inlined_subroutine)
791 * otherwise @rt_die must be a CU DIE.
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Ddwarf-aux.c17 * @cu_die: A DIE(dwarf information entry) of CU(compilation Unit)
48 * @cu_die: a CU DIE
109 * @cu_die: a CU DIE
147 * @cu_die: A CU DIE
467 /* Get the call file index number in CU DIE */
478 /* Get the declared file index number in CU DIE */
575 * @cu_die: a CU DIE which including @addr
614 * @cu_die: a CU DIE which including @addr
850 * @rt_die: a root DIE (CU, subprogram or inlined_subroutine)
856 * otherwise @rt_die must be a CU DIE.
[all …]
/kernel/linux/linux-4.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.c89 * Bits 44..53: The INSTANCE (or CU/WGP) or QUEUE selector if needed
609 * Bits 23..30: CU/{WGP+SIMD} selector
623 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()
636 /* switch to the specific se/sh/cu */ in amdgpu_debugfs_wave_read()
638 amdgpu_gfx_select_se_sh(adev, se, sh, cu); in amdgpu_debugfs_wave_read()
680 * Bits 28..35: CU/{WGP+SIMD} selector
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()
714 /* switch to the specific se/sh/cu */ in amdgpu_debugfs_gpr_read()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dsw.c263 /****** 8188CU ********/
268 /* 8188cu 1*1 dongle */
270 /* 8188cu 1*1 dongle, (b/g mode only) */
272 /* 8188cu Slim Solo */
274 /* 8188cu Slim Combo */
288 /****** 8192CU ********/
289 /* 8192cu 2*2 */
295 /****** 8188CU ********/
344 /****** 8192CU ********/
/kernel/linux/linux-4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dsw.c288 /****** 8188CU ********/
293 /* 8188cu 1*1 dongle */
295 /* 8188cu 1*1 dongle, (b/g mode only) */
297 /* 8188cu Slim Solo */
299 /* 8188cu Slim Combo */
313 /****** 8192CU ********/
314 /* 8192cu 2*2 */
320 /****** 8188CU ********/
369 /****** 8192CU ********/
/kernel/linux/linux-4.19/drivers/s390/char/
Dtape_34xx.c274 * Handle data overrun between cu and drive. The channel speed might
298 * cu detected incorrect block-id sequence on tape. in tape_34xx_erp_sequence()
420 // cu-recovery, so this should *never* happen. in tape_34xx_unit_check()
424 /* data check is permanent, CU recovery has failed */ in tape_34xx_unit_check()
434 // cu-recovery, so this should *never* happen. in tape_34xx_unit_check()
438 // data check is permanent, cu-recovery has failed in tape_34xx_unit_check()
483 * Data streaming not operational. CU will switch to in tape_34xx_unit_check()
515 * subsystem func is issued and the CU is not on-line. in tape_34xx_unit_check()
538 * Permanent equipment check. CU has tried recovery, but in tape_34xx_unit_check()
589 * - cu cannot recover from a drive detected error in tape_34xx_unit_check()
[all …]
Dtape_3590.c1038 snprintf(exception, BUFSIZE, "CU Exception - no performance " in tape_3590_print_io_sim_msg_f1()
1042 snprintf(exception, BUFSIZE, "CU Exception on channel " in tape_3590_print_io_sim_msg_f1()
1046 snprintf(exception, BUFSIZE, "CU Exception on device path " in tape_3590_print_io_sim_msg_f1()
1050 snprintf(exception, BUFSIZE, "CU Exception on library path " in tape_3590_print_io_sim_msg_f1()
1054 snprintf(exception, BUFSIZE, "CU Exception on node 0x%02x", in tape_3590_print_io_sim_msg_f1()
1058 snprintf(exception, BUFSIZE, "CU Exception on partition " in tape_3590_print_io_sim_msg_f1()
1071 snprintf(service, BUFSIZE, "Repair will not impact cu " in tape_3590_print_io_sim_msg_f1()
1077 "0x%x on CU", sense->fmt.f71.md[1]); in tape_3590_print_io_sim_msg_f1()
1080 "nodes (0x%x-0x%x) on CU", sense->fmt.f71.md[1], in tape_3590_print_io_sim_msg_f1()
1086 "channel path 0x%x on CU", in tape_3590_print_io_sim_msg_f1()
[all …]
/kernel/linux/linux-5.10/drivers/s390/char/
Dtape_34xx.c274 * Handle data overrun between cu and drive. The channel speed might
298 * cu detected incorrect block-id sequence on tape. in tape_34xx_erp_sequence()
420 // cu-recovery, so this should *never* happen. in tape_34xx_unit_check()
424 /* data check is permanent, CU recovery has failed */ in tape_34xx_unit_check()
434 // cu-recovery, so this should *never* happen. in tape_34xx_unit_check()
438 // data check is permanent, cu-recovery has failed in tape_34xx_unit_check()
483 * Data streaming not operational. CU will switch to in tape_34xx_unit_check()
515 * subsystem func is issued and the CU is not on-line. in tape_34xx_unit_check()
538 * Permanent equipment check. CU has tried recovery, but in tape_34xx_unit_check()
589 * - cu cannot recover from a drive detected error in tape_34xx_unit_check()
[all …]
Dtape_3590.c1038 snprintf(exception, BUFSIZE, "CU Exception - no performance " in tape_3590_print_io_sim_msg_f1()
1042 snprintf(exception, BUFSIZE, "CU Exception on channel " in tape_3590_print_io_sim_msg_f1()
1046 snprintf(exception, BUFSIZE, "CU Exception on device path " in tape_3590_print_io_sim_msg_f1()
1050 snprintf(exception, BUFSIZE, "CU Exception on library path " in tape_3590_print_io_sim_msg_f1()
1054 snprintf(exception, BUFSIZE, "CU Exception on node 0x%02x", in tape_3590_print_io_sim_msg_f1()
1058 snprintf(exception, BUFSIZE, "CU Exception on partition " in tape_3590_print_io_sim_msg_f1()
1071 snprintf(service, BUFSIZE, "Repair will not impact cu " in tape_3590_print_io_sim_msg_f1()
1077 "0x%x on CU", sense->fmt.f71.md[1]); in tape_3590_print_io_sim_msg_f1()
1080 "nodes (0x%x-0x%x) on CU", sense->fmt.f71.md[1], in tape_3590_print_io_sim_msg_f1()
1086 "channel path 0x%x on CU", in tape_3590_print_io_sim_msg_f1()
[all …]
/kernel/linux/linux-5.10/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),\
/kernel/linux/linux-4.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),\
/kernel/linux/linux-4.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()

123456789