/linux/arch/powerpc/crypto/ |
H A D | aesp10-ppc.pl | 122 my ($stage,$outperm,$outmask,$outhead,$outtail)=map("v$_",(7..11)); 204 vsel $stage,$outhead,$outtail,$outmask 207 stvx $stage,0,$out 224 vsel $stage,$outhead,$outtail,$outmask 227 stvx $stage,0,$out 241 vsel $stage,$outhead,$outtail,$outmask 244 stvx $stage,0,$out 254 vsel $stage,$outhead,$outtail,$outmask 256 stvx $stage,0,$out 269 vsel $stage,$outhead,$outtail,$outmask [all …]
|
/linux/tools/testing/selftests/kvm/s390x/ |
H A D | tprot.c | 63 enum stage { enum 73 enum stage stage; member 139 static enum stage perform_next_stage(int *i, bool mapped_0) in perform_next_stage() 141 enum stage stage = tests[*i].stage; in perform_next_stage() local 145 for (; tests[*i].stage == stage; (*i)++) { in perform_next_stage() 163 return stage; in perform_next_stage() 185 #define HOST_SYNC_NO_TAP(vcpup, stage) \ argument 189 int __stage = (stage); \ 199 #define HOST_SYNC(vcpu, stage) \ argument 201 HOST_SYNC_NO_TAP(vcpu, stage); \ [all …]
|
/linux/drivers/watchdog/ |
H A D | kempld_wdt.c | 77 struct kempld_wdt_stage stage[KEMPLD_WDT_MAX_STAGES]; member 103 struct kempld_wdt_stage *stage, in kempld_wdt_set_stage_action() argument 109 if (!stage || !stage->mask) in kempld_wdt_set_stage_action() 113 stage_cfg = kempld_read8(pld, KEMPLD_WDT_STAGE_CFG(stage->id)); in kempld_wdt_set_stage_action() 122 kempld_write8(pld, KEMPLD_WDT_STAGE_CFG(stage->id), stage_cfg); in kempld_wdt_set_stage_action() 129 struct kempld_wdt_stage *stage, in kempld_wdt_set_stage_timeout() argument 141 if (!stage) in kempld_wdt_set_stage_timeout() 149 if (stage_timeout64 > stage->mask) in kempld_wdt_set_stage_timeout() 152 stage_timeout = stage_timeout64 & stage->mask; in kempld_wdt_set_stage_timeout() 155 stage_cfg = kempld_read8(pld, KEMPLD_WDT_STAGE_CFG(stage->id)); in kempld_wdt_set_stage_timeout() [all …]
|
/linux/drivers/thermal/qcom/ |
H A D | qcom-spmi-temp-alarm.c | 76 unsigned int stage; member 115 static long qpnp_tm_decode_temp(struct qpnp_tm_chip *chip, unsigned int stage) in qpnp_tm_decode_temp() argument 117 if (!chip->temp_map || chip->thresh >= THRESH_COUNT || stage == 0 || in qpnp_tm_decode_temp() 118 stage > STAGE_COUNT) in qpnp_tm_decode_temp() 121 return (*chip->temp_map)[chip->thresh][stage - 1]; in qpnp_tm_decode_temp() 153 unsigned int stage, stage_new, stage_old; in qpnp_tm_update_temp_no_adc() local 161 stage = ret; in qpnp_tm_update_temp_no_adc() 164 stage_new = stage; in qpnp_tm_update_temp_no_adc() 165 stage_old = chip->stage; in qpnp_tm_update_temp_no_adc() 167 stage_new = alarm_state_map[stage]; in qpnp_tm_update_temp_no_adc() [all …]
|
/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | hyperv_ipi.c | 90 int stage = 1, ipis_expected[2] = {0}; in sender_guest_code() local 93 GUEST_SYNC(stage++); in sender_guest_code() 107 GUEST_SYNC(stage++); in sender_guest_code() 114 GUEST_SYNC(stage++); in sender_guest_code() 127 GUEST_SYNC(stage++); in sender_guest_code() 136 GUEST_SYNC(stage++); in sender_guest_code() 149 GUEST_SYNC(stage++); in sender_guest_code() 158 GUEST_SYNC(stage++); in sender_guest_code() 172 GUEST_SYNC(stage++); in sender_guest_code() 181 GUEST_SYNC(stage++); in sender_guest_code() [all …]
|
H A D | hyperv_tlb_flush.c | 205 int i, stage = 1; in sender_guest_code() local 212 GUEST_SYNC(stage++); in sender_guest_code() 224 GUEST_SYNC(stage++); in sender_guest_code() 238 GUEST_SYNC(stage++); in sender_guest_code() 251 GUEST_SYNC(stage++); in sender_guest_code() 266 GUEST_SYNC(stage++); in sender_guest_code() 281 GUEST_SYNC(stage++); in sender_guest_code() 299 GUEST_SYNC(stage++); in sender_guest_code() 317 GUEST_SYNC(stage++); in sender_guest_code() 338 GUEST_SYNC(stage++); in sender_guest_code() [all …]
|
H A D | set_boot_cpu_id.c | 61 int stage; in run_vcpu() local 63 for (stage = 0; stage < 2; stage++) { in run_vcpu() 70 uc.args[1] == stage + 1, in run_vcpu() 72 stage + 1, (ulong)uc.args[1]); in run_vcpu() 76 TEST_ASSERT(stage == 1, in run_vcpu() 78 stage); in run_vcpu()
|
H A D | vmx_preemption_timer_test.c | 162 int stage; in main() local 180 for (stage = 1;; stage++) { in main() 198 uc.args[1] == stage, "Stage %d: Unexpected register values vmexit, got %lx", in main() 199 stage, (ulong)uc.args[1]); in main() 208 if (stage == 2) { in main() 211 stage, uc.args[2], uc.args[3]); in main() 214 stage, uc.args[4], uc.args[5]); in main() 218 stage, uc.args[2], uc.args[3]); in main() 222 stage, uc.args[4], uc.args[5]); in main()
|
H A D | hyperv_clock.c | 212 int stage; in main() local 229 for (stage = 1;; stage++) { in main() 241 TEST_ASSERT(stage == 11, "Testing ended prematurely, stage %d", in main() 242 stage); in main() 249 uc.args[1] == stage, in main() 251 stage, (ulong)uc.args[1]); in main() 254 if (stage == 7 || stage == 8 || stage == 10) { in main()
|
H A D | smm_test.c | 136 int stage, stage_reported; in main() local 166 for (stage = 1;; stage++) { in main() 178 TEST_ASSERT(stage_reported == stage || in main() 181 stage, stage_reported); in main() 187 if (stage == 8) { in main() 196 if (stage == 10) in main()
|
H A D | cpuid_test.c | 120 static void run_vcpu(struct kvm_vcpu *vcpu, int stage) in run_vcpu() 129 uc.args[1] == stage + 1, in vcpu_alloc_cpuid() 131 stage + 1, (ulong)uc.args[1]); in vcpu_alloc_cpuid() 207 int stage; in main() 217 for (stage = 0; stage < 3; stage++) 218 run_vcpu(vcpu, stage); 103 run_vcpu(struct kvm_vcpu * vcpu,int stage) run_vcpu() argument 190 int stage; main() local
|
H A D | hyperv_evmcs.c | 240 int stage; in main() local 265 for (stage = 1;; stage++) { in main() 283 uc.args[1] == stage, "Stage %d: Unexpected register values vmexit, got %lx", in main() 284 stage, (ulong)uc.args[1]); in main() 289 if (stage == 8) { in main() 299 if (stage == 9) { in main()
|
H A D | tsc_msrs_test.c | 67 static void run_vcpu(struct kvm_vcpu *vcpu, int stage) in run_vcpu() argument 76 uc.args[1] == stage + 1) in run_vcpu() 77 ksft_test_result_pass("stage %d passed\n", stage + 1); in run_vcpu() 81 stage + 1, (ulong)uc.args[1]); in run_vcpu() 84 ksft_test_result_pass("stage %d passed\n", stage + 1); in run_vcpu()
|
H A D | hyperv_svm_test.c | 157 int stage; in main() local 174 for (stage = 1;; stage++) { in main() 192 uc.args[1] == stage, "Stage %d: Unexpected register values vmexit, got %lx", in main() 193 stage, (ulong)uc.args[1]); in main()
|
/linux/tools/testing/selftests/kvm/aarch64/ |
H A D | hypercalls.c | 50 static int stage = TEST_STAGE_REG_IFACE; variable 104 switch (stage) { in guest_test_hvc() 109 res.a0, hc_info->func_id, hc_info->arg1, stage); in guest_test_hvc() 114 res.a0, hc_info->func_id, hc_info->arg1, stage); in guest_test_hvc() 117 GUEST_FAIL("Unexpected stage = %u", stage); in guest_test_hvc() 124 while (stage != TEST_STAGE_END) { in guest_code() 125 switch (stage) { in guest_code() 136 GUEST_FAIL("Unexpected stage = %u", stage); in guest_code() 139 GUEST_SYNC(stage); in guest_code() 247 int prev_stage = stage; in test_guest_stage() [all …]
|
/linux/Documentation/leds/ |
H A D | leds-sc27xx.rst | 16 for the high stage. To be compatible with the hardware pattern 17 format, we should set brightness as 0 for rise stage, fall 18 stage and low stage. 20 - Min stage duration: 125 ms 21 - Max stage duration: 31875 ms 23 Since the stage duration step is 125 ms, the duration should be
|
/linux/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_ctl.c | 289 enum mdp_mixer_stage_id stage) in mdp_ctl_blend_mask() argument 292 case SSPP_VIG0: return MDP5_CTL_LAYER_REG_VIG0(stage); in mdp_ctl_blend_mask() 293 case SSPP_VIG1: return MDP5_CTL_LAYER_REG_VIG1(stage); in mdp_ctl_blend_mask() 294 case SSPP_VIG2: return MDP5_CTL_LAYER_REG_VIG2(stage); in mdp_ctl_blend_mask() 295 case SSPP_RGB0: return MDP5_CTL_LAYER_REG_RGB0(stage); in mdp_ctl_blend_mask() 296 case SSPP_RGB1: return MDP5_CTL_LAYER_REG_RGB1(stage); in mdp_ctl_blend_mask() 297 case SSPP_RGB2: return MDP5_CTL_LAYER_REG_RGB2(stage); in mdp_ctl_blend_mask() 298 case SSPP_DMA0: return MDP5_CTL_LAYER_REG_DMA0(stage); in mdp_ctl_blend_mask() 299 case SSPP_DMA1: return MDP5_CTL_LAYER_REG_DMA1(stage); in mdp_ctl_blend_mask() 300 case SSPP_VIG3: return MDP5_CTL_LAYER_REG_VIG3(stage); in mdp_ctl_blend_mask() [all …]
|
/linux/tools/testing/selftests/tc-testing/plugin-lib/ |
H A D | nsPlugin.py | 86 def adjust_command(self, stage, command): argument 87 super().adjust_command(stage, command) 99 if stage == 'setup' or stage == 'execute' or stage == 'verify' or stage == 'teardown': 101 …nd: stage is {}; inserting netns stuff in command [{}] list [{}]'.format(stage, command, cmdlist)) 221 def _exec_cmd(self, stage, command): argument 240 def _exec_cmd_batched(self, stage, commands): argument 242 self._exec_cmd(stage, cmd)
|
/linux/drivers/gpu/drm/msm/disp/mdp4/ |
H A D | mdp4_kms.h | 96 enum mdp4_pipe pipe, enum mdp_mixer_stage_id stage) in mixercfg() argument 102 mixer_cfg |= MDP4_LAYERMIXER_IN_CFG_PIPE0(stage) | in mixercfg() 108 mixer_cfg |= MDP4_LAYERMIXER_IN_CFG_PIPE1(stage) | in mixercfg() 114 mixer_cfg |= MDP4_LAYERMIXER_IN_CFG_PIPE2(stage) | in mixercfg() 120 mixer_cfg |= MDP4_LAYERMIXER_IN_CFG_PIPE3(stage) | in mixercfg() 126 mixer_cfg |= MDP4_LAYERMIXER_IN_CFG_PIPE4(stage) | in mixercfg() 132 mixer_cfg |= MDP4_LAYERMIXER_IN_CFG_PIPE5(stage) | in mixercfg() 138 mixer_cfg |= MDP4_LAYERMIXER_IN_CFG_PIPE6(stage) | in mixercfg()
|
/linux/tools/testing/selftests/damon/ |
H A D | _damon_sysfs.py | 58 def stage(self): member in DamosAccessPattern 104 def stage(self): member in DamosQuotaGoal 138 def stage(self): member in DamosQuota 159 err = goal.stage() 210 def stage(self): member in Damos 214 err = self.access_pattern.stage() 222 err = self.quota.stage() 251 def stage(self): member in DamonTarget 283 def stage(self): member in DamonAttrs 337 def stage(self): member in DamonCtx [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-iio-health-afe440x | 7 specific stage number corresponding to datasheet stage names 19 calculated difference in the value of stage 1 - 2 and 3 - 4. 21 The LED current for the stage is controlled via 39 Transimpedance Amplifier during the associated stage.
|
/linux/arch/riscv/include/asm/ |
H A D | alternative.h | 50 unsigned int stage); 53 unsigned int stage); 56 unsigned int stage); 59 unsigned int stage);
|
/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_mmio.c | 52 static bool ipc_mmio_is_valid_exec_stage(enum ipc_mem_exec_stage stage) in ipc_mmio_is_valid_exec_stage() argument 54 switch (stage) { in ipc_mmio_is_valid_exec_stage() 87 enum ipc_mem_exec_stage stage; in ipc_mmio_init() local 102 stage = ipc_mmio_get_exec_stage(ipc_mmio); in ipc_mmio_init() 103 if (ipc_mmio_is_valid_exec_stage(stage)) in ipc_mmio_init() 110 dev_err(ipc_mmio->dev, "invalid exec stage %X", stage); in ipc_mmio_init()
|
/linux/drivers/input/misc/ |
H A D | keyspan_remote.c | 117 int stage; member 185 switch(remote->stage) { in keyspan_check_data() 199 remote->stage = 1; in keyspan_check_data() 215 remote->stage = 0; in keyspan_check_data() 232 remote->stage = 0; in keyspan_check_data() 235 remote->stage = 2; in keyspan_check_data() 264 remote->stage = 0; in keyspan_check_data() 285 remote->stage = 0; in keyspan_check_data() 303 remote->stage = 0; in keyspan_check_data() 326 remote->stage = 0; in keyspan_check_data()
|
/linux/tools/testing/selftests/kvm/include/ |
H A D | ucall_common.h | 53 #define GUEST_SYNC_ARGS(stage, arg1, arg2, arg3, arg4) \ argument 54 ucall(UCALL_SYNC, 6, "hello", stage, arg1, arg2, arg3, arg4) 55 #define GUEST_SYNC(stage) ucall(UCALL_SYNC, 2, "hello", stage) argument
|