Home
last modified time | relevance | path

Searched refs:next_state (Results 1 – 25 of 61) sorted by relevance

123

/linux/arch/arm/mach-omap2/
H A Dpm34xx.c57 u32 next_state; member
319 if (omap_set_pwrdm_state(pwrst->pwrdm, pwrst->next_state)) in omap3_pm_suspend()
333 if (state > pwrst->next_state) { in omap3_pm_suspend()
335 pwrst->pwrdm->name, pwrst->next_state); in omap3_pm_suspend()
372 pwrst->next_state = PWRDM_POWER_RET; in omap3_pm_off_mode_enable()
376 pwrst->next_state = state; in omap3_pm_off_mode_enable()
378 omap_set_pwrdm_state(pwrst->pwrdm, pwrst->next_state); in omap3_pm_off_mode_enable()
388 return pwrst->next_state; in omap3_pm_get_suspend_state()
399 pwrst->next_state = state; in omap3_pm_set_suspend_state()
419 pwrst->next_state = PWRDM_POWER_OFF; in pwrdms_setup()
[all …]
H A Dpm44xx.c28 u32 next_state; member
66 omap_set_pwrdm_state(pwrst->pwrdm, pwrst->next_state); in omap4_pm_suspend()
84 if (state > pwrst->next_state) { in omap4_pm_suspend()
86 pwrst->pwrdm->name, pwrst->next_state); in omap4_pm_suspend()
140 pwrst->next_state = pwrdm_get_valid_lp_state(pwrdm, false, in pwrdms_setup()
147 return omap_set_pwrdm_state(pwrst->pwrdm, pwrst->next_state); in pwrdms_setup()
/linux/drivers/usb/gadget/function/
H A Df_midi.c452 uint8_t next_state = STATE_INITIAL; in f_midi_transmit_byte() local
459 next_state = port->state; in f_midi_transmit_byte()
469 next_state = STATE_FINISHED; in f_midi_transmit_byte()
475 next_state = STATE_FINISHED; in f_midi_transmit_byte()
482 next_state = STATE_FINISHED; in f_midi_transmit_byte()
486 next_state = port->state; in f_midi_transmit_byte()
499 next_state = STATE_SYSEX_1; in f_midi_transmit_byte()
504 next_state = STATE_1PARAM; in f_midi_transmit_byte()
508 next_state = STATE_2PARAM_1; in f_midi_transmit_byte()
512 next_state = STATE_INITIAL; in f_midi_transmit_byte()
[all …]
/linux/drivers/cpuidle/
H A Dcpuidle.h19 struct cpuidle_driver *drv, int next_state);
44 struct cpuidle_driver *drv, int next_state);
60 struct cpuidle_driver *drv, int next_state) in cpuidle_enter_state_coupled() argument
H A Dcoupled.c367 struct cpuidle_coupled *coupled, int next_state) in cpuidle_coupled_set_waiting() argument
369 coupled->requested_state[cpu] = next_state; in cpuidle_coupled_set_waiting()
466 struct cpuidle_driver *drv, int next_state) in cpuidle_enter_state_coupled() argument
492 w = cpuidle_coupled_set_waiting(dev->cpu, coupled, next_state); in cpuidle_enter_state_coupled()
588 next_state = cpuidle_coupled_get_state(dev, coupled); in cpuidle_enter_state_coupled()
590 entered_state = cpuidle_enter_state(dev, drv, next_state); in cpuidle_enter_state_coupled()
/linux/kernel/sched/
H A Didle.c144 int next_state) in call_cpuidle() argument
161 return cpuidle_enter(drv, dev, next_state); in call_cpuidle()
185 int next_state, entered_state; in cpuidle_idle_call() local
230 next_state = cpuidle_find_deepest_state(drv, dev, max_latency_ns); in cpuidle_idle_call()
231 call_cpuidle(drv, dev, next_state); in cpuidle_idle_call()
243 next_state = cpuidle_select(drv, dev, &stop_tick); in cpuidle_idle_call()
247 entered_state = call_cpuidle(drv, dev, next_state); in cpuidle_idle_call()
/linux/kernel/trace/rv/monitors/wip/
H A Dwip_trace.h9 TP_PROTO(char *state, char *event, char *next_state, bool final_state),
10 TP_ARGS(state, event, next_state, final_state));
/linux/kernel/trace/rv/monitors/snep/
H A Dsnep_trace.h9 TP_PROTO(char *state, char *event, char *next_state, bool final_state),
10 TP_ARGS(state, event, next_state, final_state));
/linux/kernel/trace/rv/monitors/scpd/
H A Dscpd_trace.h9 TP_PROTO(char *state, char *event, char *next_state, bool final_state),
10 TP_ARGS(state, event, next_state, final_state));
/linux/kernel/trace/rv/monitors/sco/
H A Dsco_trace.h9 TP_PROTO(char *state, char *event, char *next_state, bool final_state),
10 TP_ARGS(state, event, next_state, final_state));
/linux/kernel/trace/rv/monitors/sts/
H A Dsts_trace.h9 TP_PROTO(char *state, char *event, char *next_state, bool final_state),
10 TP_ARGS(state, event, next_state, final_state));
/linux/kernel/trace/rv/monitors/wwnr/
H A Dwwnr_trace.h10 TP_PROTO(int id, char *state, char *event, char *next_state, bool final_state),
11 TP_ARGS(id, state, event, next_state, final_state));
/linux/kernel/trace/rv/monitors/snroc/
H A Dsnroc_trace.h9 TP_PROTO(int id, char *state, char *event, char *next_state, bool final_state),
10 TP_ARGS(id, state, event, next_state, final_state));
/linux/kernel/trace/rv/monitors/sssw/
H A Dsssw_trace.h9 TP_PROTO(int id, char *state, char *event, char *next_state, bool final_state),
10 TP_ARGS(id, state, event, next_state, final_state));
/linux/kernel/trace/rv/monitors/nrp/
H A Dnrp_trace.h9 TP_PROTO(int id, char *state, char *event, char *next_state, bool final_state),
10 TP_ARGS(id, state, event, next_state, final_state));
/linux/tools/verification/rvgen/rvgen/
H A Ddot2c.py177 next_state = self.function[x][y]
178 if next_state != self.invalid_state_str:
179 next_state = self.function[x][y] + self.enum_suffix
182 line += f"\t\t\t{next_state}"
184 line += f"{next_state:>{maxlen}}"
/linux/drivers/vfio/pci/pds/
H A Dvfio_dev.c57 enum vfio_device_mig_state next_state; in pds_vfio_set_device_state() local
60 new_state, &next_state); in pds_vfio_set_device_state()
66 res = pds_vfio_step_device_state_locked(pds_vfio, next_state); in pds_vfio_set_device_state()
70 pds_vfio->state = next_state; in pds_vfio_set_device_state()
/linux/drivers/pwm/
H A Dpwm-gpio.c30 struct pwm_state next_state; member
86 gpwm->state = gpwm->next_state; in pwm_gpio_timer()
136 pwm_gpio_round(&gpwm->next_state, state); in pwm_gpio_apply()
161 *state = gpwm->next_state; in pwm_gpio_get_state()
/linux/drivers/clk/keystone/
H A Dgate.c72 u32 next_state, u32 domain_id) in psc_config() argument
79 mdctl |= next_state; in psc_config()
81 if (next_state == PSC_STATE_DISABLE) in psc_config()
101 } while (!((mdstat & MDSTAT_STATE_MASK) == next_state) && count--); in psc_config()
/linux/drivers/md/dm-vdo/
H A Dadmin-state.c210 vdo_set_admin_state_code(state, state->next_state); in vdo_finish_operation()
233 const struct admin_state_code *next_state = get_next_state(state, operation); in begin_operation() local
235 if (next_state == NULL) { in begin_operation()
246 state->next_state = next_state; in begin_operation()
/linux/net/netfilter/ipvs/
H A Dip_vs_proto_sctp.c383 int event, next_state; in set_sctp_state() local
428 next_state = sctp_states[direction][event][cp->state]; in set_sctp_state()
430 if (next_state != cp->state) { in set_sctp_state()
443 sctp_state_name(next_state), in set_sctp_state()
447 (next_state != IP_VS_SCTP_S_ESTABLISHED)) { in set_sctp_state()
451 (next_state == IP_VS_SCTP_S_ESTABLISHED)) { in set_sctp_state()
456 if (next_state == IP_VS_SCTP_S_ESTABLISHED) in set_sctp_state()
460 cp->timeout = pd->timeout_table[cp->state = next_state]; in set_sctp_state()
462 cp->timeout = sctp_timeouts[cp->state = next_state]; in set_sctp_state()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sp.c4683 o->next_state = BNX2X_Q_STATE_MAX; in bnx2x_queue_state_change()
4744 o->state, cur_pending, o->next_state); in bnx2x_queue_comp_cmd()
4757 cmd, o->cids[BNX2X_PRIMARY_CID_INDEX], o->next_state); in bnx2x_queue_comp_cmd()
4763 o->state = o->next_state; in bnx2x_queue_comp_cmd()
4765 o->next_state = BNX2X_Q_STATE_MAX; in bnx2x_queue_comp_cmd()
5498 enum bnx2x_q_state state = o->state, next_state = BNX2X_Q_STATE_MAX; in bnx2x_queue_chk_transition() local
5509 o->next_state = BNX2X_Q_STATE_MAX; in bnx2x_queue_chk_transition()
5524 next_state = BNX2X_Q_STATE_INITIALIZED; in bnx2x_queue_chk_transition()
5531 next_state = BNX2X_Q_STATE_ACTIVE; in bnx2x_queue_chk_transition()
5533 next_state = BNX2X_Q_STATE_INACTIVE; in bnx2x_queue_chk_transition()
[all …]
/linux/fs/btrfs/
H A Dextent-io-tree.c209 static inline struct extent_state *next_state(struct extent_state *state) in next_state() function
275 entry = next_state(entry); in tree_search_for_insert()
318 entry = next_state(entry); in tree_search_prev_next()
376 next = next_state(state); in merge_next_state()
588 return next_state(state); in next_search_state()
938 state = next_state(state); in wait_extent_bit()
988 state = next_state(state); in find_first_extent_bit_state()
1012 while ((state = next_state(state)) != NULL) { in btrfs_find_first_extent_bit()
1078 while ((state = next_state(state)) != NULL) { in btrfs_find_contiguous_extent_bit()
1137 state = next_state(state); in btrfs_find_delalloc_range()
[all …]
/linux/drivers/scsi/isci/
H A Dremote_node_context.c425 u32 next_state; in sci_remote_node_context_event_handler() local
441 next_state = SCI_RNC_INITIAL; in sci_remote_node_context_event_handler()
443 next_state = SCI_RNC_POSTING; in sci_remote_node_context_event_handler()
444 sci_change_state(&sci_rnc->sm, next_state); in sci_remote_node_context_event_handler()
497 next_state = SCI_RNC_TX_SUSPENDED; in sci_remote_node_context_event_handler()
500 next_state = SCI_RNC_TX_RX_SUSPENDED; in sci_remote_node_context_event_handler()
506 sci_change_state(&sci_rnc->sm, next_state); in sci_remote_node_context_event_handler()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dtransobj.c352 int curr_state, int next_state, in mlx5_hairpin_modify_rq() argument
360 if (next_state == MLX5_RQC_STATE_RDY) { in mlx5_hairpin_modify_rq()
366 MLX5_SET(rqc, rqc, state, next_state); in mlx5_hairpin_modify_rq()
372 int curr_state, int next_state, in mlx5_hairpin_modify_sq() argument
380 if (next_state == MLX5_SQC_STATE_RDY) { in mlx5_hairpin_modify_sq()
386 MLX5_SET(sqc, sqc, state, next_state); in mlx5_hairpin_modify_sq()

123