Home
last modified time | relevance | path

Searched refs:curr_state (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v6.6/include/rv/
Dda_monitor.h23 static inline char *format_react_msg_##name(type curr_state, type event) \
29 model_get_state_name_##name(curr_state)); \
47 static inline char *format_react_msg_##name(type curr_state, type event) \
76 da_mon->curr_state = model_get_initial_state_##name(); \
84 return da_mon->curr_state; \
93 da_mon->curr_state = state; \
104 da_mon->curr_state = model_get_initial_state_##name(); \
158 type curr_state = da_monitor_curr_state_##name(da_mon); \
159 type next_state = model_get_next_state_##name(curr_state, event); \
164 trace_event_##name(model_get_state_name_##name(curr_state), \
[all …]
Dautomata.h54 static inline type model_get_next_state_##name(enum states_##name curr_state, \
57 if ((curr_state < 0) || (curr_state >= state_max_##name)) \
63 return automaton_##name.function[curr_state][event]; \
/Linux-v6.6/drivers/net/wwan/t7xx/
Dt7xx_state_monitor.c174 if (ctl->curr_state != FSM_STATE_READY && ctl->curr_state != FSM_STATE_STARTING) { in fsm_routine_exception()
181 ctl->curr_state = FSM_STATE_EXCEPTION; in fsm_routine_exception()
211 ctl->curr_state = FSM_STATE_STOPPED; in fsm_stopped_handler()
219 if (ctl->curr_state == FSM_STATE_STOPPED) { in fsm_routine_stopped()
233 if (ctl->curr_state == FSM_STATE_STOPPED || ctl->curr_state == FSM_STATE_STOPPING) { in fsm_routine_stopping()
241 ctl->curr_state = FSM_STATE_STOPPING; in fsm_routine_stopping()
273 ctl->curr_state = FSM_STATE_READY; in fsm_routine_ready()
283 ctl->curr_state = FSM_STATE_STARTING; in fsm_routine_starting()
326 if (ctl->curr_state != FSM_STATE_INIT && ctl->curr_state != FSM_STATE_PRE_START && in fsm_routine_start()
327 ctl->curr_state != FSM_STATE_STOPPED) { in fsm_routine_start()
[all …]
Dt7xx_state_monitor.h87 unsigned int curr_state; member
Dt7xx_modem_ops.c109 if (ctl->curr_state == FSM_STATE_INIT || ctl->curr_state == FSM_STATE_PRE_START || in t7xx_pci_mhccif_isr()
110 ctl->curr_state == FSM_STATE_STOPPED) in t7xx_pci_mhccif_isr()
/Linux-v6.6/tools/laptop/dslm/
Ddslm.c71 int curr_state; in measure() local
89 curr_state = check_powermode(fd); in measure()
91 if (curr_state != last_state || endit) { in measure()
100 last_state = curr_state; in measure()
104 state_name(curr_state)); in measure()
/Linux-v6.6/drivers/soc/qcom/
Dpdr_internal.h227 enum servreg_service_state curr_state; member
257 curr_state),
298 enum servreg_service_state curr_state; member
311 curr_state),
Dpdr_interface.c66 enum servreg_service_state curr_state; member
159 pds->state = resp.curr_state; in pdr_register_listener()
284 pds->state = ind->curr_state; in pdr_indack_work()
327 ind_msg->service_path, ind_msg->curr_state, in pdr_indication_cb()
335 ind->curr_state = ind_msg->curr_state; in pdr_indication_cb()
/Linux-v6.6/include/trace/events/
Dufs.h107 u32 prev_state, u32 curr_state),
109 TP_ARGS(dev_name, state, clk, prev_state, curr_state),
116 __field(u32, curr_state)
124 __entry->curr_state = curr_state;
129 __entry->prev_state, __entry->curr_state)
/Linux-v6.6/net/llc/
Dllc_s_st.c176 .curr_state = LLC_SAP_STATE_INACTIVE,
180 .curr_state = LLC_SAP_STATE_ACTIVE,
Dllc_conn.c394 struct llc_conn_state *curr_state = in llc_qualify_conn_ev() local
400 for (next_trans = curr_state->transitions + in llc_qualify_conn_ev()
655 struct llc_conn_state *curr_state; in llc_build_offset_table() local
659 curr_state = &llc_conn_state_table[state]; in llc_build_offset_table()
663 next_offset += llc_find_next_offset(curr_state, in llc_build_offset_table()
Dllc_sap.c123 struct llc_sap_state *curr_state = &llc_sap_state_table[sap->state - 1]; in llc_find_sap_trans() local
128 for (next_trans = curr_state->transitions; next_trans[i]->ev; i++) in llc_find_sap_trans()
/Linux-v6.6/tools/tracing/rtla/src/
Dtimerlat_aa.c26 int curr_state; member
153 taa_data->curr_state = TIMERLAT_WAITING_THREAD; in timerlat_aa_irq_latency()
221 taa_data->curr_state = TIMERLAT_WAITING_IRQ; in timerlat_aa_thread_latency()
272 if (taa_data->curr_state == TIMERLAT_WAITING_IRQ) { in timerlat_aa_nmi_handler()
321 if (taa_data->curr_state == TIMERLAT_WAITING_IRQ) { in timerlat_aa_irq_handler()
402 if (taa_data->curr_state == TIMERLAT_WAITING_IRQ) in timerlat_aa_softirq_handler()
435 if (taa_data->curr_state == TIMERLAT_WAITING_IRQ) in timerlat_aa_thread_handler()
/Linux-v6.6/arch/powerpc/platforms/83xx/
Dsuspend.c122 u32 curr_state; in mpc83xx_change_state() local
128 curr_state = reg_cfg1 & PMCCR1_CURR_STATE; in mpc83xx_change_state()
130 if (curr_state != pci_pm_state) { in mpc83xx_change_state()
/Linux-v6.6/include/net/
Dllc_s_st.h32 u8 curr_state; member
/Linux-v6.6/drivers/firmware/
Dti_sci.c794 bool *r_state, bool *curr_state) in ti_sci_cmd_dev_is_stop() argument
799 if (!r_state && !curr_state) in ti_sci_cmd_dev_is_stop()
809 if (curr_state) in ti_sci_cmd_dev_is_stop()
810 *curr_state = (c_state == MSG_DEVICE_HW_STATE_OFF); in ti_sci_cmd_dev_is_stop()
825 bool *r_state, bool *curr_state) in ti_sci_cmd_dev_is_on() argument
830 if (!r_state && !curr_state) in ti_sci_cmd_dev_is_on()
840 if (curr_state) in ti_sci_cmd_dev_is_on()
841 *curr_state = (c_state == MSG_DEVICE_HW_STATE_ON); in ti_sci_cmd_dev_is_on()
855 bool *curr_state) in ti_sci_cmd_dev_is_trans() argument
860 if (!curr_state) in ti_sci_cmd_dev_is_trans()
[all …]
/Linux-v6.6/include/linux/
Drv.h18 unsigned int curr_state; member
Dvfio.h199 enum vfio_device_mig_state *curr_state);
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Dtransobj.c352 int curr_state, int next_state, in mlx5_hairpin_modify_rq() argument
365 MLX5_SET(modify_rq_in, in, rq_state, curr_state); in mlx5_hairpin_modify_rq()
372 int curr_state, int next_state, in mlx5_hairpin_modify_sq() argument
385 MLX5_SET(modify_sq_in, in, sq_state, curr_state); in mlx5_hairpin_modify_sq()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhealth.c165 msp.curr_state = MLX5_SQC_STATE_ERR; in mlx5e_health_sq_to_ready()
175 msp.curr_state = MLX5_SQC_STATE_RST; in mlx5e_health_sq_to_ready()
/Linux-v6.6/fs/smb/server/
Doplock.h83 __le32 curr_state; member
Doplock.c770 if (br_info->curr_state & (SMB2_LEASE_WRITE_CACHING_LE | in __smb2_lease_break_noti()
775 rsp->CurrentLeaseState = br_info->curr_state; in __smb2_lease_break_noti()
816 br_info->curr_state = lease->state; in smb2_lease_break_noti()
/Linux-v6.6/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_init.c146 cur = adapter->ahw->idc.curr_state; in qlcnic_83xx_idc_log_state_history()
985 cur = adapter->ahw->idc.curr_state; in qlcnic_83xx_idc_check_state_validity()
1115 adapter->ahw->idc.curr_state = QLC_83XX_IDC_DEV_UNKNOWN; in qlcnic_83xx_idc_poll_dev_state()
1117 adapter->ahw->idc.curr_state = state; in qlcnic_83xx_idc_poll_dev_state()
1120 switch (adapter->ahw->idc.curr_state) { in qlcnic_83xx_idc_poll_dev_state()
1143 adapter->ahw->idc.prev_state = adapter->ahw->idc.curr_state; in qlcnic_83xx_idc_poll_dev_state()
1167 adapter->ahw->idc.curr_state = QLC_83XX_IDC_DEV_UNKNOWN; in qlcnic_83xx_setup_idc_parameters()
1213 adapter->ahw->idc.curr_state = state; in qlcnic_83xx_idc_first_to_load_function_handler()
/Linux-v6.6/drivers/vfio/
Dvfio_main.c864 enum vfio_device_mig_state curr_state; in vfio_ioctl_device_feature_mig_device_state() local
867 &curr_state); in vfio_ioctl_device_feature_mig_device_state()
870 mig.device_state = curr_state; in vfio_ioctl_device_feature_mig_device_state()
/Linux-v6.6/Documentation/trace/rv/
Ddeterministic_automata.rst104 next_state = automaton_wip.function[curr_state][event];

12