Home
last modified time | relevance | path

Searched refs:hwi (Results 1 - 16 of 16) sorted by relevance

/kernel/liteos_a/testsuites/kernel/sample/kernel_extend/cpup/
H A DIt_extend_cpup.c45 UINT32 TestGetSingleHwiCpup(UINT32 hwi, UINT32 mode) in TestGetSingleHwiCpup() argument
49 if (hwi > OS_HWI_MAX_NUM) { in TestGetSingleHwiCpup()
58 tempHwi = g_testPstHwiCpup1s[hwi].usage; in TestGetSingleHwiCpup()
63 tempHwi = g_testPstHwiCpup10s[hwi].usage; in TestGetSingleHwiCpup()
70 tempHwi = g_testPstHwiCpupAll[hwi].usage; in TestGetSingleHwiCpup()
H A DIt_extend_cpup.h90 extern UINT32 TestGetSingleHwiCpup(UINT32 hwi, UINT32 mode);
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/
H A DMakefile10 -I $(LITEOSTESTTOPDIR)/kernel/sample/kernel_base/core/hwi \
13 SRC_MODULES := task swtmr hwi hwi_nesting
16 SMP_MODULES := task/smp swtmr/smp hwi/smp task/float
/kernel/liteos_m/arch/arm/cortex-m33/iar/TZ/non_secure/
H A Dlos_exc.S175 MOV R12, #8 ; R12 is hwi check loop counter
178 LDR R3, [R2] ; R3 store active hwi register when exc
187 ADD R2, R2, R12, LSL #5 ; calculate R2 (hwi number) as pid
/kernel/liteos_m/arch/arm/cortex-m55/iar/TZ/non_secure/
H A Dlos_exc.S175 MOV R12, #8 ; R12 is hwi check loop counter
178 LDR R3, [R2] ; R3 store active hwi register when exc
187 ADD R2, R2, R12, LSL #5 ; calculate R2 (hwi number) as pid
/kernel/liteos_m/arch/arm/cortex-m3/keil/
H A Dlos_exc.S186 MOV R12, #8 ; R12 is hwi check loop counter
189 LDR R3, [R2] ; R3 store active hwi register when exc
198 ADD R2, R2, R12, LSL #5 ; calculate R2 (hwi number) as pid
/kernel/liteos_m/arch/arm/cortex-m33/iar/NTZ/
H A Dlos_exc.S186 MOV R12, #8 ; R12 is hwi check loop counter
189 LDR R3, [R2] ; R3 store active hwi register when exc
198 ADD R2, R2, R12, LSL #5 ; calculate R2 (hwi number) as uwPid
/kernel/liteos_m/arch/arm/cortex-m4/iar/
H A Dlos_exc.S186 MOV R12, #8 ; R12 is hwi check loop counter
189 LDR R3, [R2] ; R3 store active hwi register when exc
198 ADD R2, R2, R12, LSL #5 ; calculate R2 (hwi number) as pid
/kernel/liteos_m/arch/arm/cortex-m55/iar/NTZ/
H A Dlos_exc.S186 MOV R12, #8 ; R12 is hwi check loop counter
189 LDR R3, [R2] ; R3 store active hwi register when exc
198 ADD R2, R2, R12, LSL #5 ; calculate R2 (hwi number) as uwPid
/kernel/liteos_m/arch/arm/cortex-m7/iar/
H A Dlos_exc.S186 MOV R12, #8 ; R12 is hwi check loop counter
189 LDR R3, [R2] ; R3 store active hwi register when exc
198 ADD R2, R2, R12, LSL #5 ; calculate R2 (hwi number) as pid
/kernel/linux/linux-5.10/block/
H A Dblk-iocost.c1113 u32 hwa, hwi; in current_hweight() local
1133 hwa = hwi = WEIGHT_ONE; in current_hweight()
1150 hwi = div64_u64((u64)hwi * inuse, inuse_sum); in current_hweight()
1154 iocg->hweight_inuse = max_t(u32, hwi, 1); in current_hweight()
1928 * Calculate adjusted hwi, child_adjusted_sum and inuse for the inner in transfer_surpluses()
2433 u32 hwi, adj_step; in adjust_inuse_and_calc_cost() local
2438 current_hweight(iocg, NULL, &hwi); in adjust_inuse_and_calc_cost()
2439 old_hwi = hwi; in adjust_inuse_and_calc_cost()
2440 cost = abs_cost_to_cost(abs_cost, hwi); in adjust_inuse_and_calc_cost()
[all...]
/kernel/linux/linux-6.6/block/
H A Dblk-iocost.c1170 u32 hwa, hwi; in current_hweight() local
1190 hwa = hwi = WEIGHT_ONE; in current_hweight()
1207 hwi = div64_u64((u64)hwi * inuse, inuse_sum); in current_hweight()
1211 iocg->hweight_inuse = max_t(u32, hwi, 1); in current_hweight()
1979 * Calculate adjusted hwi, child_adjusted_sum and inuse for the inner in transfer_surpluses()
2462 u32 hwi, adj_step; in adjust_inuse_and_calc_cost() local
2467 current_hweight(iocg, NULL, &hwi); in adjust_inuse_and_calc_cost()
2468 old_hwi = hwi; in adjust_inuse_and_calc_cost()
2469 cost = abs_cost_to_cost(abs_cost, hwi); in adjust_inuse_and_calc_cost()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Datom.c1362 int hwi = CU16(ctx->data_table + ATOM_DATA_FWI_PTR); in amdgpu_atom_asic_init() local
1368 ps[0] = cpu_to_le32(CU32(hwi + ATOM_FWI_DEFSCLK_PTR)); in amdgpu_atom_asic_init()
1369 ps[1] = cpu_to_le32(CU32(hwi + ATOM_FWI_DEFMCLK_PTR)); in amdgpu_atom_asic_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Datom.c1328 int hwi = CU16(ctx->data_table + ATOM_DATA_FWI_PTR); in atom_asic_init() local
1334 ps[0] = cpu_to_le32(CU32(hwi + ATOM_FWI_DEFSCLK_PTR)); in atom_asic_init()
1335 ps[1] = cpu_to_le32(CU32(hwi + ATOM_FWI_DEFMCLK_PTR)); in atom_asic_init()
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Datom.c1325 int hwi = CU16(ctx->data_table + ATOM_DATA_FWI_PTR); in atom_asic_init() local
1331 ps[0] = cpu_to_le32(CU32(hwi + ATOM_FWI_DEFSCLK_PTR)); in atom_asic_init()
1332 ps[1] = cpu_to_le32(CU32(hwi + ATOM_FWI_DEFMCLK_PTR)); in atom_asic_init()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Datom.c1526 int hwi = CU16(ctx->data_table + ATOM_DATA_FWI_PTR); in amdgpu_atom_asic_init() local
1532 ps[0] = cpu_to_le32(CU32(hwi + ATOM_FWI_DEFSCLK_PTR)); in amdgpu_atom_asic_init()
1533 ps[1] = cpu_to_le32(CU32(hwi + ATOM_FWI_DEFMCLK_PTR)); in amdgpu_atom_asic_init()

Completed in 19 milliseconds