Home
last modified time | relevance | path

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

12

/linux/include/rv/
H A Dda_monitor.h24 static inline char *format_react_msg_##name(type curr_state, type event) \
30 model_get_state_name_##name(curr_state)); \
48 static inline char *format_react_msg_##name(type curr_state, type event) \
77 da_mon->curr_state = model_get_initial_state_##name(); \
85 return da_mon->curr_state; \
94 da_mon->curr_state = state; \
105 da_mon->curr_state = model_get_initial_state_##name(); \
159 type curr_state = da_monitor_curr_state_##name(da_mon); \
160 type next_state = model_get_next_state_##name(curr_state, event); \
165 trace_event_##name(model_get_state_name_##name(curr_state), \
[all …]
H A 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/drivers/net/wwan/t7xx/
H A Dt7xx_state_monitor.c188 if (ctl->curr_state != FSM_STATE_READY && ctl->curr_state != FSM_STATE_STARTING) { in fsm_routine_exception()
195 ctl->curr_state = FSM_STATE_EXCEPTION; in fsm_routine_exception()
266 ctl->curr_state = FSM_STATE_STOPPED; in fsm_stopped_handler()
278 if (ctl->curr_state == FSM_STATE_STOPPED) { in fsm_routine_stopped()
291 if (ctl->curr_state == FSM_STATE_STOPPED || ctl->curr_state == FSM_STATE_STOPPING) { in fsm_routine_stopping()
296 ctl->curr_state = FSM_STATE_STOPPING; in fsm_routine_stopping()
322 ctl->curr_state = FSM_STATE_READY; in fsm_routine_ready()
333 ctl->curr_state = FSM_STATE_STARTING; in fsm_routine_starting()
377 if (ctl->curr_state != FSM_STATE_INIT && ctl->curr_state != FSM_STATE_PRE_START && in fsm_routine_start()
378 ctl->curr_state != FSM_STATE_STOPPED) { in fsm_routine_start()
[all …]
H A Dt7xx_state_monitor.h87 unsigned int curr_state; member
H A 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/tools/laptop/dslm/
H A 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/drivers/ufs/core/
H A 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/drivers/soc/qcom/
H A Dpdr_internal.h59 enum servreg_service_state curr_state; member
71 enum servreg_service_state curr_state; member
H A 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()
H A Dqcom_pdr_msg.c213 curr_state),
256 curr_state),
/linux/net/llc/
H A Dllc_s_st.c176 .curr_state = LLC_SAP_STATE_INACTIVE,
180 .curr_state = LLC_SAP_STATE_ACTIVE,
H A 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()
H A 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/tools/tracing/rtla/src/
H A 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/arch/powerpc/platforms/83xx/
H A 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/include/net/
H A Dllc_s_st.h32 u8 curr_state; member
/linux/include/linux/
H A Drv.h18 unsigned int curr_state; member
H A Dvfio.h207 enum vfio_device_mig_state *curr_state);
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A 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/drivers/net/ethernet/mellanox/mlx5/core/
H A 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/drivers/crypto/intel/qat/qat_common/
H A Dadf_tl_debugfs.c484 u8 curr_state; in get_rp_index_from_file()
503 curr_state = atomic_read(&telemetry->state); in adf_tl_dbg_change_rp_index()
505 if (curr_state) { in adf_tl_dbg_change_rp_index()
512 ret = adf_tl_run(accel_dev, curr_state); in adf_tl_dbg_change_rp_index()
500 u8 curr_state; adf_tl_dbg_change_rp_index() local
/linux/fs/smb/server/
H A Doplock.h78 __le32 curr_state; member
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A 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/drivers/vfio/pci/qat/
H A 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()
/linux/drivers/vfio/
H A Dvfio_main.c910 enum vfio_device_mig_state curr_state; in vfio_ioctl_device_feature_mig_device_state() local
913 &curr_state); in vfio_ioctl_device_feature_mig_device_state()
916 mig.device_state = curr_state; in vfio_ioctl_device_feature_mig_device_state()

12