Home
last modified time | relevance | path

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

12

/openbmc/linux/include/rv/
H A Dda_monitor.h29 model_get_state_name_##name(curr_state)); \
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); \
164 trace_event_##name(model_get_state_name_##name(curr_state), \
175 trace_error_##name(model_get_state_name_##name(curr_state), \
189 type curr_state = da_monitor_curr_state_##name(da_mon); \
196 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]; \
/openbmc/linux/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()
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()
491 return ctl->curr_state; in t7xx_fsm_get_ctl_state()
517 ctl->curr_state = FSM_STATE_STOPPED; in t7xx_fsm_reset()
[all …]
H A Dt7xx_state_monitor.h87 unsigned int curr_state; member
H A 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()
/openbmc/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()
/openbmc/u-boot/drivers/firmware/
H A Dti_sci.c638 if (!r_state && !curr_state) in ti_sci_cmd_dev_is_stop()
648 if (curr_state) in ti_sci_cmd_dev_is_stop()
664 bool *r_state, bool *curr_state) in ti_sci_cmd_dev_is_on() argument
669 if (!r_state && !curr_state) in ti_sci_cmd_dev_is_on()
679 if (curr_state) in ti_sci_cmd_dev_is_on()
694 bool *curr_state) in ti_sci_cmd_dev_is_trans() argument
699 if (!curr_state) in ti_sci_cmd_dev_is_trans()
1005 if (!req_state && !curr_state) in ti_sci_cmd_clk_is_on()
1015 if (curr_state) in ti_sci_cmd_clk_is_on()
1038 if (!req_state && !curr_state) in ti_sci_cmd_clk_is_off()
[all …]
/openbmc/linux/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()
/openbmc/linux/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)
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/linux/include/net/
H A Dllc_s_st.h32 u8 curr_state; member
/openbmc/linux/include/linux/
H A Drv.h18 unsigned int curr_state; member
H A Dvfio.h199 enum vfio_device_mig_state *curr_state);
/openbmc/linux/drivers/firmware/
H A Dti_sci.c786 if (!r_state && !curr_state) in ti_sci_cmd_dev_is_stop()
796 if (curr_state) 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()
842 bool *curr_state) in ti_sci_cmd_dev_is_trans() argument
847 if (!curr_state) in ti_sci_cmd_dev_is_trans()
1183 if (!req_state && !curr_state) in ti_sci_cmd_clk_is_on()
1193 if (curr_state) in ti_sci_cmd_clk_is_on()
1216 if (!req_state && !curr_state) in ti_sci_cmd_clk_is_off()
[all …]
/openbmc/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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A 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()
/openbmc/openbmc/poky/meta/recipes-extended/mdadm/files/
H A Dmdadm-3.3.2_x32_abi_time_t.patch36 array_states[a->curr_state],
/openbmc/linux/fs/smb/server/
H A Doplock.h86 __le32 curr_state; member
/openbmc/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()
/openbmc/linux/drivers/vfio/
H A 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()

12