Home
last modified time | relevance | path

Searched refs:mhi_state (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/drivers/bus/mhi/ep/
Dsm.c12 enum mhi_state cur_mhi_state, in mhi_ep_check_mhi_state()
13 enum mhi_state mhi_state) in mhi_ep_check_mhi_state() argument
15 if (mhi_state == MHI_STATE_SYS_ERR) in mhi_ep_check_mhi_state()
18 if (mhi_state == MHI_STATE_READY) in mhi_ep_check_mhi_state()
21 if (mhi_state == MHI_STATE_M0) in mhi_ep_check_mhi_state()
24 if (mhi_state == MHI_STATE_M3) in mhi_ep_check_mhi_state()
30 int mhi_ep_set_mhi_state(struct mhi_ep_cntrl *mhi_cntrl, enum mhi_state mhi_state) in mhi_ep_set_mhi_state() argument
34 if (!mhi_ep_check_mhi_state(mhi_cntrl, mhi_cntrl->mhi_state, mhi_state)) { in mhi_ep_set_mhi_state()
36 mhi_state_str(mhi_state), in mhi_ep_set_mhi_state()
37 mhi_state_str(mhi_cntrl->mhi_state)); in mhi_ep_set_mhi_state()
[all …]
Dinternal.h154 enum mhi_state state;
204 void mhi_ep_mmio_get_mhi_state(struct mhi_ep_cntrl *mhi_cntrl, enum mhi_state *state,
210 int mhi_ep_send_state_change_event(struct mhi_ep_cntrl *mhi_cntrl, enum mhi_state state);
212 bool mhi_ep_check_mhi_state(struct mhi_ep_cntrl *mhi_cntrl, enum mhi_state cur_mhi_state,
213 enum mhi_state mhi_state);
214 int mhi_ep_set_mhi_state(struct mhi_ep_cntrl *mhi_cntrl, enum mhi_state mhi_state);
Dmain.c107 int mhi_ep_send_state_change_event(struct mhi_ep_cntrl *mhi_cntrl, enum mhi_state state) in mhi_ep_send_state_change_event()
744 enum mhi_state state; in mhi_ep_enable()
975 enum mhi_state state) in mhi_ep_process_ctrl_interrupt()
1000 enum mhi_state state; in mhi_ep_irq()
1099 enum mhi_state cur_state; in mhi_ep_reset_worker()
1107 cur_state = mhi_cntrl->mhi_state; in mhi_ep_reset_worker()
1165 mhi_cntrl->mhi_state = MHI_STATE_RESET; in mhi_ep_power_up()
Dmmio.c44 void mhi_ep_mmio_get_mhi_state(struct mhi_ep_cntrl *mhi_cntrl, enum mhi_state *state, in mhi_ep_mmio_get_mhi_state()
/linux-6.12.1/drivers/net/wireless/ath/ath12k/
Dmhi.c416 static char *ath12k_mhi_state_to_str(enum ath12k_mhi_state mhi_state) in ath12k_mhi_state_to_str() argument
418 switch (mhi_state) { in ath12k_mhi_state_to_str()
445 enum ath12k_mhi_state mhi_state) in ath12k_mhi_set_state_bit() argument
449 switch (mhi_state) { in ath12k_mhi_set_state_bit()
451 set_bit(ATH12K_MHI_INIT, &ab_pci->mhi_state); in ath12k_mhi_set_state_bit()
454 clear_bit(ATH12K_MHI_INIT, &ab_pci->mhi_state); in ath12k_mhi_set_state_bit()
457 set_bit(ATH12K_MHI_POWER_ON, &ab_pci->mhi_state); in ath12k_mhi_set_state_bit()
462 clear_bit(ATH12K_MHI_POWER_ON, &ab_pci->mhi_state); in ath12k_mhi_set_state_bit()
463 clear_bit(ATH12K_MHI_TRIGGER_RDDM, &ab_pci->mhi_state); in ath12k_mhi_set_state_bit()
464 clear_bit(ATH12K_MHI_RDDM_DONE, &ab_pci->mhi_state); in ath12k_mhi_set_state_bit()
[all …]
Dpci.h106 unsigned long mhi_state; member
/linux-6.12.1/drivers/bus/mhi/
Dcommon.h301 mhi_state(RESET, "RESET") \
302 mhi_state(READY, "READY") \
303 mhi_state(M0, "M0") \
304 mhi_state(M1, "M1") \
305 mhi_state(M2, "M2") \
306 mhi_state(M3, "M3") \
307 mhi_state(M3_FAST, "M3_FAST") \
308 mhi_state(BHI, "BHI") \
311 #undef mhi_state
314 #define mhi_state(a, b) case MHI_STATE_##a: return b; macro
[all …]
/linux-6.12.1/include/linux/
Dmhi.h149 enum mhi_state { enum
413 enum mhi_state dev_state;
595 enum mhi_state state);
714 enum mhi_state mhi_get_mhi_state(struct mhi_controller *mhi_cntrl);
Dmhi_ep.h168 enum mhi_state mhi_state; member
/linux-6.12.1/drivers/bus/mhi/host/
Dtrace.h17 #undef mhi_state
20 #define mhi_state(a, b) TRACE_DEFINE_ENUM(MHI_STATE_##a); macro
25 #undef mhi_state
28 #define mhi_state(a, b) { MHI_STATE_##a, b }, macro
Dmain.c162 enum mhi_state mhi_get_mhi_state(struct mhi_controller *mhi_cntrl) in mhi_get_mhi_state()
485 enum mhi_state state; in mhi_intvec_threaded_handler()
859 enum mhi_state new_state; in mhi_process_ctrl_ev_ring()
1068 enum mhi_state state; in mhi_ctrl_ev_task()
Ddebugfs.c172 enum mhi_state state; in mhi_debugfs_regdump_show()
Dpm.c140 void mhi_set_mhi_state(struct mhi_controller *mhi_cntrl, enum mhi_state state) in mhi_set_mhi_state()
1102 enum mhi_state state; in mhi_async_power_up()
/linux-6.12.1/net/qrtr/
Dmhi.c124 enum mhi_state state; in qcom_mhi_qrtr_pm_suspend_late()
142 enum mhi_state state; in qcom_mhi_qrtr_pm_resume_early()