| /linux/arch/riscv/errata/thead/ |
| H A D | errata.c | 27 static bool errata_probe_mae(unsigned int stage, in errata_probe_mae() argument 36 if (stage != RISCV_ALTERNATIVES_EARLY_BOOT && in errata_probe_mae() 37 stage != RISCV_ALTERNATIVES_MODULE) in errata_probe_mae() 109 static bool errata_probe_cmo(unsigned int stage, in errata_probe_cmo() argument 118 if (stage == RISCV_ALTERNATIVES_EARLY_BOOT) in errata_probe_cmo() 121 if (stage == RISCV_ALTERNATIVES_BOOT) { in errata_probe_cmo() 130 static bool errata_probe_pmu(unsigned int stage, in errata_probe_pmu() argument 140 if (stage == RISCV_ALTERNATIVES_EARLY_BOOT) in errata_probe_pmu() 146 static bool errata_probe_ghostwrite(unsigned int stage, in errata_probe_ghostwrite() argument 163 if (stage != RISCV_ALTERNATIVES_EARLY_BOOT) in errata_probe_ghostwrite() [all …]
|
| /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/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/tools/testing/selftests/kvm/x86/ |
| H A D | hyperv_ipi.c | 92 int stage = 1, ipis_expected[2] = {0}; in sender_guest_code() local 95 GUEST_SYNC(stage++); in sender_guest_code() 109 GUEST_SYNC(stage++); in sender_guest_code() 116 GUEST_SYNC(stage++); in sender_guest_code() 129 GUEST_SYNC(stage++); in sender_guest_code() 138 GUEST_SYNC(stage++); in sender_guest_code() 151 GUEST_SYNC(stage++); in sender_guest_code() 160 GUEST_SYNC(stage++); in sender_guest_code() 174 GUEST_SYNC(stage++); in sender_guest_code() 183 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 | vmx_nested_la57_state_test.c | 81 int stage; in main() local 98 for (stage = 1;; stage++) { in main() 114 TEST_ASSERT(uc.args[1] == stage, in main() 115 "Expected stage %d, got stage %lu", stage, (ulong)uc.args[1]); in main() 116 if (stage == 1) { in main()
|
| H A D | hyperv_features.c | 136 int stage = 0; in guest_test_msrs_access() local 160 if (stage >= 21) in guest_test_msrs_access() 163 switch (stage) { in guest_test_msrs_access() 496 pr_debug("Stage %d: testing msr: 0x%x for %s\n", stage, in guest_test_msrs_access() 514 stage++; in guest_test_msrs_access() 525 int stage = 0; in guest_test_hcalls_access() local 551 switch (stage) { in guest_test_hcalls_access() 665 pr_debug("Stage %d: testing hcall: 0x%lx\n", stage, hcall->control); in guest_test_hcalls_access() 681 stage++; in guest_test_hcalls_access()
|
| H A D | state_test.c | 235 int stage; in main() local 254 for (stage = 1;; stage++) { in main() 272 uc.args[1] == stage, "Stage %d: Unexpected register values vmexit, got %lx", in main() 273 stage, (ulong)uc.args[1]); in main()
|
| /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/tools/testing/selftests/damon/ |
| H A D | _damon_sysfs.py | 62 def stage(self): member in DamosAccessPattern 110 def stage(self): member in DamosQuotaGoal 156 def stage(self): member in DamosQuota 191 err = goal.stage() 214 def stage(self): member in DamosWatermarks 261 def stage(self): member in DamosFilter 311 def stage(self): member in DamosFilters 317 err = filter_.stage() 335 def stage(self): member in DamosDest 357 def stage(self): member in DamosDests [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)
|
| H A D | valgrindPlugin.py | 63 def adjust_command(self, stage, command): argument 64 super().adjust_command(stage, command) 80 if stage == 'execute': 83 format(stage, command, cmdlist))
|
| /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); 62 unsigned int stage);
|
| /linux/tools/testing/selftests/liveupdate/ |
| H A D | luo_test_utils.c | 156 void restore_and_read_stage(int state_session_fd, int token, int *stage) in restore_and_read_stage() argument 168 *stage = atoi(buf); in restore_and_read_stage() 212 int stage = 1; in parse_stage_args() local 219 stage = atoi(optarg); in parse_stage_args() 220 if (stage != 1 && stage != 2) in parse_stage_args() 227 return stage; in parse_stage_args()
|
| H A D | luo_kexec_simple.c | 50 int session_fd, mfd, stage; in run_stage_2() local 54 restore_and_read_stage(state_session_fd, STATE_MEMFD_TOKEN, &stage); in run_stage_2() 55 if (stage != 2) in run_stage_2() 56 fail_exit("Expected stage 2, but state file contains %d", stage); in run_stage_2()
|
| H A D | luo_multi_session.c | 84 int mfd1, mfd2, mfd3, stage; in run_stage_2() local 88 restore_and_read_stage(state_session_fd, STATE_MEMFD_TOKEN, &stage); in run_stage_2() 89 if (stage != 2) { in run_stage_2() 91 stage); in run_stage_2()
|
| /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/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
|
| /linux/tools/testing/selftests/tc-testing/ |
| H A D | tdc.py | 35 def __init__(self, stage, output, message): argument 36 self.stage = stage 176 def call_adjust_command(self, caseinfo, stage, command): argument 180 command = pgn_inst.adjust_command(stage, command) 201 def exec_cmd(caseinfo, args, pm, stage, command): argument 211 command = pm.call_adjust_command(caseinfo, stage, command) 236 def prepare_env(caseinfo, args, pm, stage, prefix, cmdlist, output = None): argument 254 (proc, foutput) = exec_cmd(caseinfo, args, pm, stage, cmd) 268 stage, output, 516 stage = None [all …]
|
| H A D | README | 86 stage does some setup if the test needs it. The teardown stage undoes 91 The execute and verify stages each run one command. The execute stage 93 verify stage checks the return code for success, and also compares 96 Each of the commands in any stage will run in a shell instance. 155 pre- and post-execute stage 156 adjust-command (runs in all stages and receives the stage name) 160 failure during setup or teardown stage. 164 The adjust-command hook receives the stage id (see list below) and the 191 runs each command in the execute stage under valgrind,
|
| /linux/tools/testing/selftests/kvm/ |
| H A D | kvm_page_table_test.c | 189 enum test_stage stage; in vcpu_worker() local 211 stage = READ_ONCE(*current_stage); in vcpu_worker() 219 vcpu->id, test_stage_string[stage], in vcpu_worker() 316 static void vcpus_complete_new_stage(enum test_stage stage) in vcpus_complete_new_stage() argument 334 vcpus + 1, test_stage_string[stage]); in vcpus_complete_new_stage() 338 test_stage_string[stage]); in vcpus_complete_new_stage()
|
| /linux/arch/riscv/kernel/ |
| H A D | alternative.c | 29 unsigned int stage); 159 unsigned int stage) in _apply_alternatives() argument 165 riscv_cpufeature_patch_func(begin, end, stage); in _apply_alternatives() 173 stage); in _apply_alternatives()
|
| /linux/drivers/thermal/qcom/ |
| H A D | qcom-spmi-temp-alarm.c | 140 unsigned int stage; member 181 static long qpnp_tm_decode_temp(struct qpnp_tm_chip *chip, unsigned int stage) in qpnp_tm_decode_temp() argument 183 if (stage == 0 || stage > STAGE_COUNT) in qpnp_tm_decode_temp() 186 return chip->temp_thresh_map[stage - 1]; in qpnp_tm_decode_temp() 260 stage_old = chip->stage; in qpnp_tm_update_temp_no_adc() 272 chip->stage = stage_new; in qpnp_tm_update_temp_no_adc() 730 chip->stage = ret; in qpnp_tm_threshold_init() 733 if (chip->stage) in qpnp_tm_threshold_init() 734 chip->temp = qpnp_tm_decode_temp(chip, chip->stage); in qpnp_tm_threshold_init()
|