Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.1.9/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()
318 if (ctl->curr_state != FSM_STATE_INIT && ctl->curr_state != FSM_STATE_PRE_START && in fsm_routine_start()
319 ctl->curr_state != FSM_STATE_STOPPED) { in fsm_routine_start()
[all …]
Dt7xx_state_monitor.h85 unsigned int curr_state; member
Dt7xx_modem_ops.c108 if (ctl->curr_state == FSM_STATE_INIT || ctl->curr_state == FSM_STATE_PRE_START || in t7xx_pci_mhccif_isr()
109 ctl->curr_state == FSM_STATE_STOPPED) in t7xx_pci_mhccif_isr()
/linux-6.1.9/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.1.9/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-6.1.9/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-6.1.9/net/llc/
Dllc_s_st.c176 .curr_state = LLC_SAP_STATE_INACTIVE,
180 .curr_state = LLC_SAP_STATE_ACTIVE,
Dllc_conn.c393 struct llc_conn_state *curr_state = in llc_qualify_conn_ev() local
399 for (next_trans = curr_state->transitions + in llc_qualify_conn_ev()
643 struct llc_conn_state *curr_state; in llc_build_offset_table() local
647 curr_state = &llc_conn_state_table[state]; in llc_build_offset_table()
651 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.1.9/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.1.9/include/net/
Dllc_s_st.h32 u8 curr_state; member
/linux-6.1.9/drivers/firmware/
Dti_sci.c796 bool *r_state, bool *curr_state) in ti_sci_cmd_dev_is_stop() argument
801 if (!r_state && !curr_state) in ti_sci_cmd_dev_is_stop()
811 if (curr_state) in ti_sci_cmd_dev_is_stop()
812 *curr_state = (c_state == MSG_DEVICE_HW_STATE_OFF); in ti_sci_cmd_dev_is_stop()
827 bool *r_state, bool *curr_state) in ti_sci_cmd_dev_is_on() argument
832 if (!r_state && !curr_state) in ti_sci_cmd_dev_is_on()
842 if (curr_state) in ti_sci_cmd_dev_is_on()
843 *curr_state = (c_state == MSG_DEVICE_HW_STATE_ON); in ti_sci_cmd_dev_is_on()
857 bool *curr_state) in ti_sci_cmd_dev_is_trans() argument
862 if (!curr_state) in ti_sci_cmd_dev_is_trans()
[all …]
/linux-6.1.9/include/linux/
Drv.h18 unsigned int curr_state; member
Dvfio.h116 enum vfio_device_mig_state *curr_state);
/linux-6.1.9/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()
Den_main.c962 static int mlx5e_modify_rq_state(struct mlx5e_rq *rq, int curr_state, int next_state) in mlx5e_modify_rq_state() argument
976 if (curr_state == MLX5_RQC_STATE_RST && next_state == MLX5_RQC_STATE_RDY) in mlx5e_modify_rq_state()
981 MLX5_SET(modify_rq_in, in, rq_state, curr_state); in mlx5e_modify_rq_state()
991 static int mlx5e_rq_to_ready(struct mlx5e_rq *rq, int curr_state) in mlx5e_rq_to_ready() argument
996 err = mlx5e_modify_rq_state(rq, curr_state, MLX5_RQC_STATE_RST); in mlx5e_rq_to_ready()
1010 int mlx5e_flush_rq(struct mlx5e_rq *rq, int curr_state) in mlx5e_flush_rq() argument
1014 return mlx5e_rq_to_ready(rq, curr_state); in mlx5e_flush_rq()
1579 MLX5_SET(modify_sq_in, in, sq_state, p->curr_state); in mlx5e_modify_sq()
1616 msp.curr_state = MLX5_SQC_STATE_RST; in mlx5e_create_sq_rdy()
2155 msp.curr_state = MLX5_SQC_STATE_RDY; in mlx5e_set_sq_maxrate()
[all …]
/linux-6.1.9/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-6.1.9/drivers/gpu/drm/amd/display/dmub/inc/
Ddmub_subvp_state.h86 enum subvp_state curr_state; member
/linux-6.1.9/fs/ksmbd/
Doplock.h83 __le32 curr_state; member
Doplock.c762 if (br_info->curr_state & (SMB2_LEASE_WRITE_CACHING_LE | in __smb2_lease_break_noti()
767 rsp->CurrentLeaseState = br_info->curr_state; in __smb2_lease_break_noti()
813 br_info->curr_state = lease->state; in smb2_lease_break_noti()
/linux-6.1.9/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.1.9/drivers/vfio/pci/mlx5/
Dmain.c516 enum vfio_device_mig_state *curr_state) in mlx5vf_pci_get_device_state() argument
522 *curr_state = mvdev->mig_state; in mlx5vf_pci_get_device_state()

12