Home
last modified time | relevance | path

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

12

/linux-6.12.1/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-6.12.1/drivers/net/wwan/t7xx/
Dt7xx_state_monitor.c181 if (ctl->curr_state != FSM_STATE_READY && ctl->curr_state != FSM_STATE_STARTING) { in fsm_routine_exception()
188 ctl->curr_state = FSM_STATE_EXCEPTION; in fsm_routine_exception()
259 ctl->curr_state = FSM_STATE_STOPPED; in fsm_stopped_handler()
271 if (ctl->curr_state == FSM_STATE_STOPPED) { in fsm_routine_stopped()
284 if (ctl->curr_state == FSM_STATE_STOPPED || ctl->curr_state == FSM_STATE_STOPPING) { in fsm_routine_stopping()
289 ctl->curr_state = FSM_STATE_STOPPING; in fsm_routine_stopping()
315 ctl->curr_state = FSM_STATE_READY; in fsm_routine_ready()
326 ctl->curr_state = FSM_STATE_STARTING; in fsm_routine_starting()
370 if (ctl->curr_state != FSM_STATE_INIT && ctl->curr_state != FSM_STATE_PRE_START && in fsm_routine_start()
371 ctl->curr_state != FSM_STATE_STOPPED) { in fsm_routine_start()
[all …]
Dt7xx_state_monitor.h87 unsigned int curr_state; member
Dt7xx_modem_ops.c110 if (ctl->curr_state == FSM_STATE_INIT || ctl->curr_state == FSM_STATE_PRE_START || in t7xx_pci_mhccif_isr()
111 ctl->curr_state == FSM_STATE_STOPPED) in t7xx_pci_mhccif_isr()
/linux-6.12.1/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-6.12.1/drivers/ufs/core/
Dufs_trace.h108 u32 prev_state, u32 curr_state),
110 TP_ARGS(dev_name, state, clk, prev_state, curr_state),
117 __field(u32, curr_state)
125 __entry->curr_state = curr_state;
130 __entry->prev_state, __entry->curr_state)
/linux-6.12.1/drivers/soc/qcom/
Dpdr_internal.h59 enum servreg_service_state curr_state; member
71 enum servreg_service_state curr_state; member
Dpdr_interface.c67 enum servreg_service_state curr_state; member
160 pds->state = resp.curr_state; in pdr_register_listener()
285 pds->state = ind->curr_state; in pdr_indack_work()
328 ind_msg->service_path, ind_msg->curr_state, in pdr_indication_cb()
336 ind->curr_state = ind_msg->curr_state; in pdr_indication_cb()
Dqcom_pdr_msg.c213 curr_state),
256 curr_state),
/linux-6.12.1/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-6.12.1/tools/tracing/rtla/src/
Dtimerlat_aa.c29 int curr_state; member
156 taa_data->curr_state = TIMERLAT_WAITING_THREAD; in timerlat_aa_irq_latency()
224 taa_data->curr_state = TIMERLAT_WAITING_IRQ; in timerlat_aa_thread_latency()
275 if (taa_data->curr_state == TIMERLAT_WAITING_IRQ) { in timerlat_aa_nmi_handler()
327 if (taa_data->curr_state == TIMERLAT_WAITING_IRQ) { in timerlat_aa_irq_handler()
412 if (taa_data->curr_state == TIMERLAT_WAITING_IRQ) in timerlat_aa_softirq_handler()
447 if (taa_data->curr_state == TIMERLAT_WAITING_IRQ) in timerlat_aa_thread_handler()
/linux-6.12.1/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-6.12.1/include/net/
Dllc_s_st.h32 u8 curr_state; member
/linux-6.12.1/drivers/firmware/
Dti_sci.c781 bool *r_state, bool *curr_state) in ti_sci_cmd_dev_is_stop() argument
786 if (!r_state && !curr_state) in ti_sci_cmd_dev_is_stop()
796 if (curr_state) in ti_sci_cmd_dev_is_stop()
797 *curr_state = (c_state == MSG_DEVICE_HW_STATE_OFF); in ti_sci_cmd_dev_is_stop()
812 bool *r_state, bool *curr_state) in ti_sci_cmd_dev_is_on() argument
817 if (!r_state && !curr_state) in ti_sci_cmd_dev_is_on()
827 if (curr_state) in ti_sci_cmd_dev_is_on()
828 *curr_state = (c_state == MSG_DEVICE_HW_STATE_ON); in ti_sci_cmd_dev_is_on()
842 bool *curr_state) in ti_sci_cmd_dev_is_trans() argument
847 if (!curr_state) in ti_sci_cmd_dev_is_trans()
[all …]
/linux-6.12.1/include/linux/
Drv.h18 unsigned int curr_state; member
Dvfio.h207 enum vfio_device_mig_state *curr_state);
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhealth.c90 msp.curr_state = MLX5_SQC_STATE_ERR; in mlx5e_health_sq_to_ready()
100 msp.curr_state = MLX5_SQC_STATE_RST; in mlx5e_health_sq_to_ready()
/linux-6.12.1/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-6.12.1/drivers/crypto/intel/qat/qat_common/
Dadf_tl_debugfs.c500 u8 curr_state; in adf_tl_dbg_change_rp_index() local
519 curr_state = atomic_read(&telemetry->state); in adf_tl_dbg_change_rp_index()
521 if (curr_state) { in adf_tl_dbg_change_rp_index()
528 ret = adf_tl_run(accel_dev, curr_state); in adf_tl_dbg_change_rp_index()
/linux-6.12.1/fs/smb/server/
Doplock.h79 __le32 curr_state; member
/linux-6.12.1/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-6.12.1/drivers/vfio/pci/qat/
Dmain.c517 enum vfio_device_mig_state *curr_state) in qat_vf_pci_get_device_state() argument
523 *curr_state = qat_vdev->mig_state; in qat_vf_pci_get_device_state()

12