Home
last modified time | relevance | path

Searched refs:curr_state (Results 1 - 25 of 52) sorted by relevance

123

/kernel/linux/linux-6.6/include/rv/
H A 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...]
H A Dautomata.h51 * Given the current state (curr_state) and the event (event), returns \
54 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]; \
/kernel/linux/linux-6.6/drivers/net/wwan/t7xx/
H A 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 in fsm_routine_starting()
[all...]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/include/trace/events/
H A Dufs.h73 u32 prev_state, u32 curr_state),
75 TP_ARGS(dev_name, state, clk, prev_state, curr_state),
82 __field(u32, curr_state)
90 __entry->curr_state = curr_state;
95 __entry->prev_state, __entry->curr_state)
/kernel/linux/linux-6.6/include/trace/events/
H A 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)
/kernel/linux/linux-6.6/tools/tracing/rtla/src/
H A 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()
/kernel/linux/linux-5.10/drivers/soc/qcom/
H A Dpdr_internal.h227 enum servreg_service_state curr_state; member
257 curr_state),
298 enum servreg_service_state curr_state; member
311 curr_state),
H A 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()
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()
/kernel/linux/linux-6.6/drivers/soc/qcom/
H A Dpdr_internal.h227 enum servreg_service_state curr_state; member
257 curr_state),
298 enum servreg_service_state curr_state; member
311 curr_state),
H A 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()
/kernel/linux/linux-5.10/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.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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/include/net/
H A Dllc_s_st.h26 u8 curr_state; member
/kernel/linux/linux-6.6/include/net/
H A Dllc_s_st.h32 u8 curr_state; member
/kernel/linux/linux-5.10/drivers/firmware/
H A Dti_sci.c760 * @curr_state: true if currently stopped.
765 bool *r_state, bool *curr_state) in ti_sci_cmd_dev_is_stop()
770 if (!r_state && !curr_state) in ti_sci_cmd_dev_is_stop()
780 if (curr_state) in ti_sci_cmd_dev_is_stop()
781 *curr_state = (c_state == MSG_DEVICE_HW_STATE_OFF); in ti_sci_cmd_dev_is_stop()
791 * @curr_state: true if currently ON and active
796 bool *r_state, bool *curr_state) in ti_sci_cmd_dev_is_on()
801 if (!r_state && !curr_state) in ti_sci_cmd_dev_is_on()
811 if (curr_state) in ti_sci_cmd_dev_is_on()
812 *curr_state in ti_sci_cmd_dev_is_on()
764 ti_sci_cmd_dev_is_stop(const struct ti_sci_handle *handle, u32 id, bool *r_state, bool *curr_state) ti_sci_cmd_dev_is_stop() argument
795 ti_sci_cmd_dev_is_on(const struct ti_sci_handle *handle, u32 id, bool *r_state, bool *curr_state) ti_sci_cmd_dev_is_on() argument
825 ti_sci_cmd_dev_is_trans(const struct ti_sci_handle *handle, u32 id, bool *curr_state) ti_sci_cmd_dev_is_trans() argument
1161 ti_sci_cmd_clk_is_on(const struct ti_sci_handle *handle, u32 dev_id, u32 clk_id, bool *req_state, bool *curr_state) ti_sci_cmd_clk_is_on() argument
1194 ti_sci_cmd_clk_is_off(const struct ti_sci_handle *handle, u32 dev_id, u32 clk_id, bool *req_state, bool *curr_state) ti_sci_cmd_clk_is_off() argument
[all...]
/kernel/linux/linux-6.6/drivers/firmware/
H A Dti_sci.c776 * @curr_state: true if currently stopped.
781 bool *r_state, bool *curr_state) in ti_sci_cmd_dev_is_stop()
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()
807 * @curr_state: true if currently ON and active
812 bool *r_state, bool *curr_state) in ti_sci_cmd_dev_is_on()
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 in ti_sci_cmd_dev_is_on()
780 ti_sci_cmd_dev_is_stop(const struct ti_sci_handle *handle, u32 id, bool *r_state, bool *curr_state) ti_sci_cmd_dev_is_stop() argument
811 ti_sci_cmd_dev_is_on(const struct ti_sci_handle *handle, u32 id, bool *r_state, bool *curr_state) ti_sci_cmd_dev_is_on() argument
841 ti_sci_cmd_dev_is_trans(const struct ti_sci_handle *handle, u32 id, bool *curr_state) ti_sci_cmd_dev_is_trans() argument
1177 ti_sci_cmd_clk_is_on(const struct ti_sci_handle *handle, u32 dev_id, u32 clk_id, bool *req_state, bool *curr_state) ti_sci_cmd_clk_is_on() argument
1210 ti_sci_cmd_clk_is_off(const struct ti_sci_handle *handle, u32 dev_id, u32 clk_id, bool *req_state, bool *curr_state) ti_sci_cmd_clk_is_off() argument
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/83xx/
H A Dsuspend.c123 u32 curr_state; in mpc83xx_change_state() local
129 curr_state = reg_cfg1 & PMCCR1_CURR_STATE; in mpc83xx_change_state()
131 if (curr_state != pci_pm_state) { in mpc83xx_change_state()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/include/linux/
H A Drv.h18 unsigned int curr_state; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Dtransobj.c352 int curr_state, int next_state, in mlx5_hairpin_modify_rq()
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()
385 MLX5_SET(modify_sq_in, in, sq_state, curr_state); in mlx5_hairpin_modify_sq()
351 mlx5_hairpin_modify_rq(struct mlx5_core_dev *func_mdev, u32 rqn, int curr_state, int next_state, u16 peer_vhca, u32 peer_sq) mlx5_hairpin_modify_rq() argument
371 mlx5_hairpin_modify_sq(struct mlx5_core_dev *peer_mdev, u32 sqn, int curr_state, int next_state, u16 peer_vhca, u32 peer_rq) mlx5_hairpin_modify_sq() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Dtransobj.c352 int curr_state, int next_state, in mlx5_hairpin_modify_rq()
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()
385 MLX5_SET(modify_sq_in, in, sq_state, curr_state); in mlx5_hairpin_modify_sq()
351 mlx5_hairpin_modify_rq(struct mlx5_core_dev *func_mdev, u32 rqn, int curr_state, int next_state, u16 peer_vhca, u32 peer_sq) mlx5_hairpin_modify_rq() argument
371 mlx5_hairpin_modify_sq(struct mlx5_core_dev *peer_mdev, u32 sqn, int curr_state, int next_state, u16 peer_vhca, u32 peer_rq) mlx5_hairpin_modify_sq() argument

Completed in 20 milliseconds

123