| /linux/drivers/staging/media/atomisp/pci/runtime/pipeline/src/ |
| H A D | pipeline.c | 40 static void pipeline_stage_destroy(struct ia_css_pipeline_stage *stage); 264 struct ia_css_pipeline_stage **stage) in ia_css_pipeline_create_and_add_stage() argument 317 if (stage) in ia_css_pipeline_create_and_add_stage() 318 *stage = new_stage; in ia_css_pipeline_create_and_add_stage() 329 struct ia_css_pipeline_stage *stage; in ia_css_pipeline_finalize_stages() local 332 for (stage = pipeline->stages; stage; stage = stage->next) { in ia_css_pipeline_finalize_stages() 333 stage->stage_num = i; in ia_css_pipeline_finalize_stages() 344 struct ia_css_pipeline_stage **stage) in ia_css_pipeline_get_stage() argument 349 assert(stage); in ia_css_pipeline_get_stage() 354 *stage = s; in ia_css_pipeline_get_stage() [all …]
|
| /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/tools/testing/selftests/kvm/s390/ |
| 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/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 | 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 | state_test.c | 229 void svm_check_nested_state(int stage, struct kvm_x86_state *state) in svm_check_nested_state() argument 234 if (stage == 4) in svm_check_nested_state() 236 if (stage == 6) in svm_check_nested_state() 247 if (stage == 6) in svm_check_nested_state() 252 void check_nested_state(int stage, struct kvm_x86_state *state) in check_nested_state() argument 255 svm_check_nested_state(stage, state); in check_nested_state() 268 int stage; in main() local 287 for (stage = 1;; stage++) { in main() 305 uc.args[1] == stage, "Stage %d: Unexpected register values vmexit, got %lx", in main() 306 stage, (ulong)uc.args[1]); in main() [all …]
|
| H A D | smm_test.c | 122 int stage, stage_reported; in main() local 143 for (stage = 1;; stage++) { in main() 155 TEST_ASSERT(stage_reported == stage || in main() 158 stage, stage_reported); in main() 164 if (stage == 8) { in main() 173 if (stage == 10) 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 | 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 | cpuid_test.c | 120 static void run_vcpu(struct kvm_vcpu *vcpu, int stage) in run_vcpu() argument 129 uc.args[1] == stage + 1, in run_vcpu() 131 stage + 1, (ulong)uc.args[1]); in run_vcpu() 222 int stage; in main() local 232 for (stage = 0; stage < 3; stage++) in main() 233 run_vcpu(vcpu, stage); in main()
|
| 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()
|
| /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/kvm/arm64/ |
| H A D | hypercalls.c | 59 static int stage = TEST_STAGE_REG_IFACE; variable 113 switch (stage) { in guest_test_hvc() 118 res.a0, hc_info->func_id, hc_info->arg1, stage); in guest_test_hvc() 123 res.a0, hc_info->func_id, hc_info->arg1, stage); in guest_test_hvc() 126 GUEST_FAIL("Unexpected stage = %u", stage); in guest_test_hvc() 133 while (stage != TEST_STAGE_END) { in guest_code() 134 switch (stage) { in guest_code() 145 GUEST_FAIL("Unexpected stage = %u", stage); in guest_code() 148 GUEST_SYNC(stage); in guest_code() 273 int prev_stage = stage; in test_guest_stage() [all …]
|
| /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 158 def stage(self): 193 err = goal.stage() 220 def stage(self): 267 def stage(self): 317 def stage(self): 323 err = filter_.stage() 341 def stage(self): 363 def stage(sel 156 def stage(self): global() member in DamosQuota 214 def stage(self): global() member in DamosWatermarks 261 def stage(self): global() member in DamosFilter 311 def stage(self): global() member in DamosFilters 335 def stage(self): global() member in DamosDest 357 def stage(self): global() member in DamosDests 437 def stage(self): global() member in Damos 491 def stage(self): global() member in DamonTarget 520 def stage(self): global() member in IntervalsGoal 566 def stage(self): global() member in DamonAttrs 623 def stage(self): global() member in DamonCtx [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/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()
|
| /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/staging/media/atomisp/pci/ |
| H A D | sh_css_params.c | 702 const struct ia_css_pipeline_stage *stage, 866 const struct ia_css_pipeline_stage *stage, in ia_css_process_kernel() argument 874 struct ia_css_pipeline_stage *stage; in ia_css_process_kernel() local 877 for (stage = pipeline->stages; stage; stage = stage->next) { in ia_css_process_kernel() 878 if (!stage || !stage->binary) continue; in ia_css_process_kernel() 879 process(pipeline->pipe_id, stage, params); in ia_css_process_kernel() 1069 const struct ia_css_pipeline_stage *stage, in ia_css_params_alloc_convert_sctbl() argument 1072 const struct ia_css_binary *binary = stage->binary; in ia_css_params_alloc_convert_sctbl() 1116 const struct ia_css_pipeline_stage *stage, in ia_css_params_store_sctbl() argument 1129 isp_sc_tbl = ia_css_params_alloc_convert_sctbl(stage, sc_config); in ia_css_params_store_sctbl() [all …]
|
| /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()
|