Home
last modified time | relevance | path

Searched refs:stage (Results 1 – 25 of 207) sorted by relevance

123456789

/Linux-v5.15/drivers/staging/media/atomisp/pci/css_2401_system/hive/
Dia_css_isp_params.c72 const struct ia_css_pipeline_stage *stage, in ia_css_process_aa() argument
76 stage->binary->info->mem_offsets.offsets.param->dmem.aa.size; in ia_css_process_aa()
78 stage->binary->info->mem_offsets.offsets.param->dmem.aa.offset; in ia_css_process_aa()
82 … &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset]; in ia_css_process_aa()
92 const struct ia_css_pipeline_stage *stage, in ia_css_process_anr() argument
99 stage->binary->info->mem_offsets.offsets.param->dmem.anr.size; in ia_css_process_anr()
102 stage->binary->info->mem_offsets.offsets.param->dmem.anr.offset; in ia_css_process_anr()
109 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset], in ia_css_process_anr()
113 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = in ia_css_process_anr()
127 const struct ia_css_pipeline_stage *stage, in ia_css_process_anr2() argument
[all …]
/Linux-v5.15/drivers/staging/media/atomisp/pci/runtime/pipeline/src/
Dpipeline.c49 static void pipeline_stage_destroy(struct ia_css_pipeline_stage *stage);
275 struct ia_css_pipeline_stage **stage) in ia_css_pipeline_create_and_add_stage() argument
328 if (stage) in ia_css_pipeline_create_and_add_stage()
329 *stage = new_stage; in ia_css_pipeline_create_and_add_stage()
340 struct ia_css_pipeline_stage *stage; in ia_css_pipeline_finalize_stages() local
343 for (stage = pipeline->stages; stage; stage = stage->next) { in ia_css_pipeline_finalize_stages()
344 stage->stage_num = i; in ia_css_pipeline_finalize_stages()
355 struct ia_css_pipeline_stage **stage) in ia_css_pipeline_get_stage() argument
360 assert(stage); in ia_css_pipeline_get_stage()
365 *stage = s; in ia_css_pipeline_get_stage()
[all …]
/Linux-v5.15/drivers/staging/media/atomisp/pci/css_2400_system/hive/
Dia_css_isp_params.c71 const struct ia_css_pipeline_stage *stage, in ia_css_process_aa() argument
75 stage->binary->info->mem_offsets.offsets.param->dmem.aa.size; in ia_css_process_aa()
77 stage->binary->info->mem_offsets.offsets.param->dmem.aa.offset; in ia_css_process_aa()
81 … &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset]; in ia_css_process_aa()
85 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = in ia_css_process_aa()
94 const struct ia_css_pipeline_stage *stage, in ia_css_process_anr() argument
101 stage->binary->info->mem_offsets.offsets.param->dmem.anr.size; in ia_css_process_anr()
104 stage->binary->info->mem_offsets.offsets.param->dmem.anr.offset; in ia_css_process_anr()
111 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset], in ia_css_process_anr()
115 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = in ia_css_process_anr()
[all …]
/Linux-v5.15/drivers/watchdog/
Dkempld_wdt.c77 struct kempld_wdt_stage stage[KEMPLD_WDT_MAX_STAGES]; member
105 struct kempld_wdt_stage *stage, in kempld_wdt_set_stage_action() argument
111 if (!stage || !stage->mask) in kempld_wdt_set_stage_action()
115 stage_cfg = kempld_read8(pld, KEMPLD_WDT_STAGE_CFG(stage->id)); in kempld_wdt_set_stage_action()
124 kempld_write8(pld, KEMPLD_WDT_STAGE_CFG(stage->id), stage_cfg); in kempld_wdt_set_stage_action()
131 struct kempld_wdt_stage *stage, in kempld_wdt_set_stage_timeout() argument
143 if (!stage) in kempld_wdt_set_stage_timeout()
151 if (stage_timeout64 > stage->mask) in kempld_wdt_set_stage_timeout()
154 stage_timeout = stage_timeout64 & stage->mask; in kempld_wdt_set_stage_timeout()
157 stage_cfg = kempld_read8(pld, KEMPLD_WDT_STAGE_CFG(stage->id)); in kempld_wdt_set_stage_timeout()
[all …]
/Linux-v5.15/drivers/thermal/qcom/
Dqcom-spmi-temp-alarm.c77 unsigned int stage; member
117 static long qpnp_tm_decode_temp(struct qpnp_tm_chip *chip, unsigned int stage) in qpnp_tm_decode_temp() argument
119 if (!chip->temp_map || chip->thresh >= THRESH_COUNT || stage == 0 || in qpnp_tm_decode_temp()
120 stage > STAGE_COUNT) in qpnp_tm_decode_temp()
123 return (*chip->temp_map)[chip->thresh][stage - 1]; in qpnp_tm_decode_temp()
155 unsigned int stage, stage_new, stage_old; in qpnp_tm_update_temp_no_adc() local
163 stage = ret; in qpnp_tm_update_temp_no_adc()
166 stage_new = stage; in qpnp_tm_update_temp_no_adc()
167 stage_old = chip->stage; in qpnp_tm_update_temp_no_adc()
169 stage_new = alarm_state_map[stage]; in qpnp_tm_update_temp_no_adc()
[all …]
/Linux-v5.15/tools/testing/selftests/kvm/x86_64/
Dvmx_preemption_timer_test.c164 int stage; in main() local
186 for (stage = 1;; stage++) { in main()
190 stage, run->exit_reason, in main()
208 uc.args[1] == stage, "Stage %d: Unexpected register values vmexit, got %lx", in main()
209 stage, (ulong)uc.args[1]); in main()
218 if (stage == 2) { in main()
221 stage, uc.args[2], uc.args[3]); in main()
224 stage, uc.args[4], uc.args[5]); in main()
228 stage, uc.args[2], uc.args[3]); in main()
232 stage, uc.args[4], uc.args[5]); in main()
Dset_boot_cpu_id.c53 int stage; in run_vcpu() local
55 for (stage = 0; stage < 2; stage++) { in run_vcpu()
62 uc.args[1] == stage + 1, in run_vcpu()
64 stage + 1, (ulong)uc.args[1]); in run_vcpu()
68 TEST_ASSERT(stage == 1, in run_vcpu()
70 stage); in run_vcpu()
Dhyperv_clock.c210 int stage; in main() local
225 for (stage = 1;; stage++) { in main()
229 stage, run->exit_reason, in main()
241 TEST_ASSERT(stage == 11, "Testing ended prematurely, stage %d\n", 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()
Dsmm_test.c142 int stage, stage_reported; in main() local
172 for (stage = 1;; stage++) { in main()
176 stage, run->exit_reason, in main()
187 TEST_ASSERT(stage_reported == stage || in main()
190 stage, stage_reported); in main()
196 if (stage == 8) { in main()
205 if (stage == 10) in main()
Devmcs_test.c148 int stage; in main() local
173 for (stage = 1;; stage++) { in main()
178 stage, run->exit_reason, in main()
196 uc.args[1] == stage, "Stage %d: Unexpected register values vmexit, got %lx", in main()
197 stage, (ulong)uc.args[1]); in main()
202 if (stage == 8) { in main()
212 if (stage == 9) { in main()
Dget_cpuid_test.c121 static void run_vcpu(struct kvm_vm *vm, uint32_t vcpuid, int stage) in run_vcpu() argument
130 uc.args[1] == stage + 1, in run_vcpu()
132 stage + 1, (ulong)uc.args[1]); in run_vcpu()
162 int stage; in main() local
175 for (stage = 0; stage < 3; stage++) in main()
176 run_vcpu(vm, VCPU_ID, stage); in main()
Dhyperv_features.c173 int stage = 0, r; in guest_test_msrs_access() local
188 switch (stage) { in guest_test_msrs_access()
451 pr_debug("Stage %d: testing msr: 0x%x for %s\n", stage, in guest_test_msrs_access()
454 pr_debug("Stage %d: finish\n", stage); in guest_test_msrs_access()
464 TEST_ASSERT(uc.args[1] == stage, in guest_test_msrs_access()
466 uc.args[1], stage); in guest_test_msrs_access()
476 stage++; in guest_test_msrs_access()
485 int stage = 0, r; in guest_test_hcalls_access() local
500 switch (stage) { in guest_test_hcalls_access()
596 pr_debug("Stage %d: testing hcall: 0x%lx\n", stage, in guest_test_hcalls_access()
[all …]
/Linux-v5.15/Documentation/leds/
Dleds-sc27xx.rst16 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-v5.15/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_lm.c54 static inline int _stage_offset(struct dpu_hw_mixer *ctx, enum dpu_stage stage) in _stage_offset() argument
57 if (stage != DPU_STAGE_BASE && stage <= sblk->maxblendstages) in _stage_offset()
58 return sblk->blendstage_base[stage - DPU_STAGE_0]; in _stage_offset()
100 u32 stage, u32 fg_alpha, u32 bg_alpha, u32 blend_op) in dpu_hw_lm_setup_blend_config_sdm845() argument
106 if (stage == DPU_STAGE_BASE) in dpu_hw_lm_setup_blend_config_sdm845()
109 stage_off = _stage_offset(ctx, stage); in dpu_hw_lm_setup_blend_config_sdm845()
119 u32 stage, u32 fg_alpha, u32 bg_alpha, u32 blend_op) in dpu_hw_lm_setup_blend_config() argument
124 if (stage == DPU_STAGE_BASE) in dpu_hw_lm_setup_blend_config()
127 stage_off = _stage_offset(ctx, stage); in dpu_hw_lm_setup_blend_config()
/Linux-v5.15/tools/testing/selftests/tc-testing/plugin-lib/
DnsPlugin.py45 def adjust_command(self, stage, command): argument
46 super().adjust_command(stage, command)
61 if stage == 'setup' or stage == 'execute' or stage == 'verify' or stage == 'teardown':
63 …nd: stage is {}; inserting netns stuff in command [{}] list [{}]'.format(stage, command, cmdlist))
121 def _exec_cmd(self, stage, command): argument
129 self.adjust_command(stage, command)
/Linux-v5.15/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_ctl.c289 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-v5.15/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_kms.h102 enum mdp4_pipe pipe, enum mdp_mixer_stage_id stage) in mixercfg() argument
108 mixer_cfg |= MDP4_LAYERMIXER_IN_CFG_PIPE0(stage) | in mixercfg()
114 mixer_cfg |= MDP4_LAYERMIXER_IN_CFG_PIPE1(stage) | in mixercfg()
120 mixer_cfg |= MDP4_LAYERMIXER_IN_CFG_PIPE2(stage) | in mixercfg()
126 mixer_cfg |= MDP4_LAYERMIXER_IN_CFG_PIPE3(stage) | in mixercfg()
132 mixer_cfg |= MDP4_LAYERMIXER_IN_CFG_PIPE4(stage) | in mixercfg()
138 mixer_cfg |= MDP4_LAYERMIXER_IN_CFG_PIPE5(stage) | in mixercfg()
144 mixer_cfg |= MDP4_LAYERMIXER_IN_CFG_PIPE6(stage) | in mixercfg()
/Linux-v5.15/drivers/staging/media/atomisp/pci/
Dsh_css_sp.c123 unsigned int stage) in store_sp_stage_data() argument
131 sh_css_store_isp_stage_to_ddr(pipe_num, stage); in store_sp_stage_data()
132 sh_css_sp_group.pipe[thread_id].sp_stage_addr[stage] = in store_sp_stage_data()
133 sh_css_store_sp_stage_to_ddr(pipe_num, stage); in store_sp_stage_data()
809 is_sp_stage(struct ia_css_pipeline_stage *stage) in is_sp_stage() argument
811 assert(stage); in is_sp_stage()
812 return stage->sp_func != IA_CSS_PIPELINE_NO_FUNC; in is_sp_stage()
897 unsigned int stage, in sh_css_sp_init_stage() argument
935 sh_css_sp_group.pipe[thread_id].sp_stage_addr[stage] = mmgr_NULL; in sh_css_sp_init_stage()
943 sh_css_sp_stage.deinterleaved = ((stage == 0) && continuous); in sh_css_sp_init_stage()
[all …]
Dsh_css_params.c711 const struct ia_css_pipeline_stage *stage,
877 const struct ia_css_pipeline_stage *stage, in ia_css_process_kernel() argument
885 struct ia_css_pipeline_stage *stage; in ia_css_process_kernel() local
888 for (stage = pipeline->stages; stage; stage = stage->next) { in ia_css_process_kernel()
889 if (!stage || !stage->binary) continue; in ia_css_process_kernel()
890 process(pipeline->pipe_id, stage, params); in ia_css_process_kernel()
1091 const struct ia_css_pipeline_stage *stage, in ia_css_params_alloc_convert_sctbl() argument
1094 const struct ia_css_binary *binary = stage->binary; in ia_css_params_alloc_convert_sctbl()
1138 const struct ia_css_pipeline_stage *stage, in ia_css_params_store_sctbl() argument
1151 isp_sc_tbl = ia_css_params_alloc_convert_sctbl(stage, sc_config); in ia_css_params_store_sctbl()
[all …]
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-bus-iio-health-afe440x7 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-v5.15/drivers/net/wwan/iosm/
Diosm_ipc_mmio.c51 static bool ipc_mmio_is_valid_exec_stage(enum ipc_mem_exec_stage stage) in ipc_mmio_is_valid_exec_stage() argument
53 switch (stage) { in ipc_mmio_is_valid_exec_stage()
85 enum ipc_mem_exec_stage stage; in ipc_mmio_init() local
100 stage = ipc_mmio_get_exec_stage(ipc_mmio); in ipc_mmio_init()
101 if (ipc_mmio_is_valid_exec_stage(stage)) in ipc_mmio_init()
108 dev_err(ipc_mmio->dev, "invalid exec stage %X", stage); in ipc_mmio_init()
/Linux-v5.15/tools/testing/selftests/kvm/aarch64/
Ddebug-exceptions.c201 int stage; in main() local
226 for (stage = 0; stage < 7; stage++) { in main()
231 TEST_ASSERT(uc.args[1] == stage, in main()
233 stage, (ulong)uc.args[1]); in main()
/Linux-v5.15/tools/testing/selftests/tc-testing/
Dtdc.py33 def __init__(self, stage, output, message): argument
34 self.stage = stage
157 def call_adjust_command(self, stage, command): argument
159 command = pgn_inst.adjust_command(stage, command)
180 def exec_cmd(args, pm, stage, command): argument
190 command = pm.call_adjust_command(stage, command)
214 def prepare_env(args, pm, stage, prefix, cmdlist, output = None): argument
232 (proc, foutput) = exec_cmd(args, pm, stage, cmd)
246 stage, output,
334 stage = None
[all …]
/Linux-v5.15/drivers/media/radio/wl128x/
Dfmdrv_common.c172 fmdev->irq_info.handlers[fmdev->irq_info.stage](fmdev); in fm_irq_call()
176 static inline void fm_irq_call_stage(struct fmdev *fmdev, u8 stage) in fm_irq_call_stage() argument
178 fmdev->irq_info.stage = stage; in fm_irq_call_stage()
182 static inline void fm_irq_timeout_stage(struct fmdev *fmdev, u8 stage) in fm_irq_timeout_stage() argument
184 fmdev->irq_info.stage = stage; in fm_irq_timeout_stage()
278 if (irq_info->stage != 0) { in recv_tasklet()
280 irq_info->stage = 0; in recv_tasklet()
287 irq_info->handlers[irq_info->stage](fmdev); in recv_tasklet()
314 irq_info->handlers[irq_info->stage](fmdev); in recv_tasklet()
525 static inline void fm_irq_common_cmd_resp_helper(struct fmdev *fmdev, u8 stage) in fm_irq_common_cmd_resp_helper() argument
[all …]
/Linux-v5.15/drivers/staging/media/atomisp/pci/runtime/pipeline/interface/
Dia_css_pipeline.h165 struct ia_css_pipeline_stage **stage);
185 struct ia_css_pipeline_stage **stage);
199 struct ia_css_pipeline_stage **stage);
224 struct ia_css_pipeline_stage **stage);

123456789