Home
last modified time | relevance | path

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

1234567

/Linux-v5.4/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.4/drivers/thermal/qcom/
Dqcom-spmi-temp-alarm.c72 unsigned int stage; member
132 unsigned int stage, stage_new, stage_old; in qpnp_tm_update_temp_no_adc() local
140 stage = ret; in qpnp_tm_update_temp_no_adc()
143 stage_new = stage; in qpnp_tm_update_temp_no_adc()
144 stage_old = chip->stage; in qpnp_tm_update_temp_no_adc()
146 stage_new = alarm_state_map[stage]; in qpnp_tm_update_temp_no_adc()
147 stage_old = alarm_state_map[chip->stage]; in qpnp_tm_update_temp_no_adc()
162 chip->stage = stage; in qpnp_tm_update_temp_no_adc()
306 unsigned int stage; in qpnp_tm_init() local
323 chip->stage = ret; in qpnp_tm_init()
[all …]
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-class-led-driver-sc27xx11 for the high stage. To be compatible with the hardware pattern
12 format, we should set brightness as 0 for rise stage, fall
13 stage and low stage.
15 Min stage duration: 125 ms
16 Max stage duration: 31875 ms
18 Since the stage duration step is 125 ms, the duration should be
Dsysfs-bus-iio-health-afe440x7 specific stage number corresponding to datasheet stage names
15 calculated difference in the value of stage 1 - 2 and 3 - 4.
33 Transimpedance Amplifier during the associated stage.
41 this stage. Y is the specific stage number.
/Linux-v5.4/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()
Ddpu_crtc.c81 lm->ops.setup_blend_config(lm, pstate->stage, in _dpu_crtc_setup_blend_cfg()
144 pstate->stage, in _dpu_crtc_blend_setup_mixer()
151 if (pstate->stage == DPU_STAGE_BASE && format->alpha_enable) in _dpu_crtc_blend_setup_mixer()
154 stage_idx = zpos_cnt[pstate->stage]++; in _dpu_crtc_blend_setup_mixer()
155 stage_cfg->stage[pstate->stage][stage_idx] = in _dpu_crtc_blend_setup_mixer()
157 stage_cfg->multirect_index[pstate->stage][stage_idx] = in _dpu_crtc_blend_setup_mixer()
177 1 << pstate->stage; in _dpu_crtc_blend_setup_mixer()
807 int stage; member
877 pstates[cnt].stage = pstate->normalized_zpos; in dpu_crtc_atomic_check()
921 if (pstates[i].stage != z_pos) { in dpu_crtc_atomic_check()
[all …]
/Linux-v5.4/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)
DvalgrindPlugin.py62 def adjust_command(self, stage, command): argument
63 super().adjust_command(stage, command)
79 if stage == 'execute':
82 format(stage, command, cmdlist))
/Linux-v5.4/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_ctl.c287 enum mdp_mixer_stage_id stage) in mdp_ctl_blend_mask() argument
290 case SSPP_VIG0: return MDP5_CTL_LAYER_REG_VIG0(stage); in mdp_ctl_blend_mask()
291 case SSPP_VIG1: return MDP5_CTL_LAYER_REG_VIG1(stage); in mdp_ctl_blend_mask()
292 case SSPP_VIG2: return MDP5_CTL_LAYER_REG_VIG2(stage); in mdp_ctl_blend_mask()
293 case SSPP_RGB0: return MDP5_CTL_LAYER_REG_RGB0(stage); in mdp_ctl_blend_mask()
294 case SSPP_RGB1: return MDP5_CTL_LAYER_REG_RGB1(stage); in mdp_ctl_blend_mask()
295 case SSPP_RGB2: return MDP5_CTL_LAYER_REG_RGB2(stage); in mdp_ctl_blend_mask()
296 case SSPP_DMA0: return MDP5_CTL_LAYER_REG_DMA0(stage); in mdp_ctl_blend_mask()
297 case SSPP_DMA1: return MDP5_CTL_LAYER_REG_DMA1(stage); in mdp_ctl_blend_mask()
298 case SSPP_VIG3: return MDP5_CTL_LAYER_REG_VIG3(stage); in mdp_ctl_blend_mask()
[all …]
Dmdp5_crtc.c182 static inline u32 mdp5_lm_use_fg_alpha_mask(enum mdp_mixer_stage_id stage) in mdp5_lm_use_fg_alpha_mask() argument
184 switch (stage) { in mdp5_lm_use_fg_alpha_mask()
227 enum mdp5_pipe stage[STAGE_MAX + 1][MAX_PIPE_STAGE] = { { SSPP_NONE } }; in blend_setup() enum
233 #define blender(stage) ((stage) - STAGE0) in blend_setup() argument
252 pstates[pstate->stage] = pstate; in blend_setup()
253 stage[pstate->stage][PIPE_LEFT] = mdp5_plane_pipe(plane); in blend_setup()
259 r_stage[pstate->stage][PIPE_LEFT] = in blend_setup()
268 stage[pstate->stage][PIPE_RIGHT] = right_pipe; in blend_setup()
269 r_stage[pstate->stage][PIPE_RIGHT] = right_pipe; in blend_setup()
356 mdp5_ctl_blend(ctl, pipeline, stage, r_stage, plane_cnt, in blend_setup()
[all …]
/Linux-v5.4/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.4/tools/testing/selftests/kvm/x86_64/
Dsmm_test.c96 int stage, stage_reported; in main() local
124 for (stage = 1;; stage++) { in main()
128 stage, run->exit_reason, in main()
139 TEST_ASSERT(stage_reported == stage || in main()
142 stage, stage_reported); in main()
Devmcs_test.c81 int stage; in main() local
103 for (stage = 1;; stage++) { in main()
107 stage, run->exit_reason, in main()
125 uc.args[1] == stage, "Unexpected register values vmexit #%lx, got %lx", in main()
126 stage, (ulong)uc.args[1]); in main()
Dstate_test.c129 int stage; in main() local
146 for (stage = 1;; stage++) { in main()
150 stage, run->exit_reason, in main()
168 uc.args[1] == stage, "Unexpected register values vmexit #%lx, got %lx", in main()
169 stage, (ulong)uc.args[1]); in main()
/Linux-v5.4/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 …]
DREADME87 stage does some setup if the test needs it. The teardown stage undoes
92 The execute and verify stages each run one command. The execute stage
94 verify stage checks the return code for success, and also compares
97 Each of the commands in any stage will run in a shell instance.
134 -P, --pause Pause execution just before post-suite stage
200 pre- and post-execute stage
201 adjust-command (runs in all stages and receives the stage name)
205 failure during setup or teardown stage.
209 The adjust-command hook receives the stage id (see list below) and the
236 runs each command in the execute stage under valgrind,
DTdcPlugin.py43 def adjust_command(self, stage, command): argument
46 print(' -- {}.adjust_command {}'.format(self.sub_class, stage))
/Linux-v5.4/drivers/media/radio/wl128x/
Dfmdrv_common.c170 fmdev->irq_info.handlers[fmdev->irq_info.stage](fmdev); in fm_irq_call()
174 static inline void fm_irq_call_stage(struct fmdev *fmdev, u8 stage) in fm_irq_call_stage() argument
176 fmdev->irq_info.stage = stage; in fm_irq_call_stage()
180 static inline void fm_irq_timeout_stage(struct fmdev *fmdev, u8 stage) in fm_irq_timeout_stage() argument
182 fmdev->irq_info.stage = stage; in fm_irq_timeout_stage()
276 if (irq_info->stage != 0) { in recv_tasklet()
278 irq_info->stage = 0; in recv_tasklet()
285 irq_info->handlers[irq_info->stage](fmdev); in recv_tasklet()
312 irq_info->handlers[irq_info->stage](fmdev); in recv_tasklet()
523 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.4/drivers/gpu/drm/tiny/
Drepaper.c201 enum repaper_stage stage) in repaper_even_pixels() argument
216 switch (stage) { in repaper_even_pixels()
247 enum repaper_stage stage) in repaper_odd_pixels() argument
261 switch (stage) { in repaper_odd_pixels()
297 enum repaper_stage stage) in repaper_all_pixels() argument
313 switch (stage) { in repaper_all_pixels()
341 enum repaper_stage stage) in repaper_one_line() argument
353 repaper_odd_pixels(epd, &p, data, fixed_value, mask, stage); in repaper_one_line()
364 repaper_even_pixels(epd, &p, data, fixed_value, mask, stage); in repaper_one_line()
378 repaper_all_pixels(epd, &p, data, fixed_value, mask, stage); in repaper_one_line()
[all …]
/Linux-v5.4/drivers/input/misc/
Dkeyspan_remote.c117 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-v5.4/tools/testing/selftests/tc-testing/creating-plugins/
DAddingPlugins.txt18 pre (the pre-suite stage)
23 post (the post-suite stage)
36 def adjust_command(self, stage, command) # see "ADJUST" below
71 the execution stage and a string which is the actual command to be
72 executed. The plugin can adjust the command, based on the stage of
/Linux-v5.4/drivers/staging/octeon-usb/
Docteon-hcd.c285 enum cvmx_usb_stage stage; member
1366 switch (transaction->stage) { in cvmx_usb_start_channel_control()
1608 if ((transaction->stage & 1) == 0) { in cvmx_usb_start_channel()
1622 usbc_hcsplt.s.compsplt = (transaction->stage == in cvmx_usb_start_channel()
2086 transaction->stage = CVMX_USB_STAGE_NON_CONTROL; in cvmx_usb_complete()
2155 transaction->stage = CVMX_USB_STAGE_SETUP; in cvmx_usb_submit_transaction()
2157 transaction->stage = CVMX_USB_STAGE_NON_CONTROL; in cvmx_usb_submit_transaction()
2401 switch (transaction->stage) { in cvmx_usb_transfer_control()
2411 transaction->stage = in cvmx_usb_transfer_control()
2417 transaction->stage = CVMX_USB_STAGE_DATA; in cvmx_usb_transfer_control()
[all …]
/Linux-v5.4/lib/zstd/
Ddecompress.c90 ZSTD_dStage stage; member
109 dctx->stage = ZSTDds_getFrameHeaderSize; in ZSTD_decompressBegin()
1725 switch (dctx->stage) { in ZSTD_nextInputType()
1738 int ZSTD_isSkipFrame(ZSTD_DCtx *dctx) { return dctx->stage == ZSTDds_skipFrame; } /* for zbuff */ in ZSTD_isSkipFrame()
1751 switch (dctx->stage) { in ZSTD_decompressContinue()
1758 dctx->stage = ZSTDds_decodeSkippableHeader; in ZSTD_decompressContinue()
1767 dctx->stage = ZSTDds_decodeFrameHeader; in ZSTD_decompressContinue()
1777 dctx->stage = ZSTDds_decodeBlockHeader; in ZSTD_decompressContinue()
1789 dctx->stage = bp.lastBlock ? ZSTDds_decompressLastBlock : ZSTDds_decompressBlock; in ZSTD_decompressContinue()
1796 dctx->stage = ZSTDds_checkChecksum; in ZSTD_decompressContinue()
[all …]
/Linux-v5.4/drivers/scsi/ufs/
Dufs-mediatek.c200 enum ufs_notify_change_status stage, in ufs_mtk_pwr_change_notify() argument
206 switch (stage) { in ufs_mtk_pwr_change_notify()
250 enum ufs_notify_change_status stage) in ufs_mtk_link_startup_notify() argument
254 switch (stage) { in ufs_mtk_link_startup_notify()
/Linux-v5.4/include/trace/events/
Dnilfs2.h33 __field(int, stage)
38 __entry->stage = sci->sc_stage.scnt;
43 show_collection_stage(__entry->stage))

1234567