Searched refs:mhi_state (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/drivers/bus/mhi/ep/ |
H A D | sm.c | 12 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 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() 42 if (mhi_state == MHI_STATE_M1 || mhi_state == MHI_STATE_M2) { in mhi_ep_set_mhi_state() 48 mhi_cntrl->mhi_state = mhi_state; in mhi_ep_set_mhi_state() 62 enum mhi_state old_state; in mhi_ep_set_m0_state() [all …]
|
H A D | internal.h | 151 enum mhi_state state; 201 void mhi_ep_mmio_get_mhi_state(struct mhi_ep_cntrl *mhi_cntrl, enum mhi_state *state, 207 int mhi_ep_send_state_change_event(struct mhi_ep_cntrl *mhi_cntrl, enum mhi_state state); 209 bool mhi_ep_check_mhi_state(struct mhi_ep_cntrl *mhi_cntrl, enum mhi_state cur_mhi_state, 210 enum mhi_state mhi_state); 211 int mhi_ep_set_mhi_state(struct mhi_ep_cntrl *mhi_cntrl, enum mhi_state mhi_state);
|
H A D | main.c | 91 int mhi_ep_send_state_change_event(struct mhi_ep_cntrl *mhi_cntrl, enum mhi_state state) in mhi_ep_send_state_change_event() 728 enum mhi_state state; in mhi_ep_enable() 959 enum mhi_state state) in mhi_ep_process_ctrl_interrupt() 984 enum mhi_state state; in mhi_ep_irq() 1083 enum mhi_state cur_state; in mhi_ep_reset_worker() 1091 cur_state = mhi_cntrl->mhi_state; in mhi_ep_reset_worker() 1148 mhi_cntrl->mhi_state = MHI_STATE_RESET; in mhi_ep_power_up()
|
H A D | mmio.c | 44 void mhi_ep_mmio_get_mhi_state(struct mhi_ep_cntrl *mhi_cntrl, enum mhi_state *state, in mhi_ep_mmio_get_mhi_state()
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | mhi.c | 413 switch (mhi_state) { in ath12k_mhi_state_to_str() 438 enum ath12k_mhi_state mhi_state) in ath12k_mhi_set_state_bit() argument 442 switch (mhi_state) { in ath12k_mhi_set_state_bit() 480 switch (mhi_state) { in ath12k_mhi_check_state_bit() 514 ath12k_mhi_state_to_str(mhi_state), mhi_state); in ath12k_mhi_check_state_bit() 518 ath12k_mhi_state_to_str(mhi_state), mhi_state, in ath12k_mhi_check_state_bit() 519 ab_pci->mhi_state); in ath12k_mhi_check_state_bit() 525 enum ath12k_mhi_state mhi_state) in ath12k_mhi_set_state() argument 535 ath12k_mhi_state_to_str(mhi_state), mhi_state); in ath12k_mhi_set_state() 537 switch (mhi_state) { in ath12k_mhi_set_state() [all …]
|
H A D | pci.h | 102 unsigned long mhi_state; member
|
/openbmc/linux/include/linux/ |
H A D | mhi.h | 149 enum mhi_state { enum 425 enum mhi_state dev_state; 606 enum mhi_state state); 709 enum mhi_state mhi_get_mhi_state(struct mhi_controller *mhi_cntrl);
|
H A D | mhi_ep.h | 168 enum mhi_state mhi_state; member
|
/openbmc/linux/drivers/bus/mhi/ |
H A D | common.h | 300 static inline const char *mhi_state_str(enum mhi_state state) in mhi_state_str()
|
/openbmc/linux/drivers/bus/mhi/host/ |
H A D | main.c | 160 enum mhi_state mhi_get_mhi_state(struct mhi_controller *mhi_cntrl) in mhi_get_mhi_state() 483 enum mhi_state state; in mhi_intvec_threaded_handler() 858 enum mhi_state new_state; in mhi_process_ctrl_ev_ring() 1065 enum mhi_state state; in mhi_ctrl_ev_task()
|
H A D | debugfs.c | 172 enum mhi_state state; in mhi_debugfs_regdump_show()
|
H A D | pm.c | 138 void mhi_set_mhi_state(struct mhi_controller *mhi_cntrl, enum mhi_state state) in mhi_set_mhi_state() 1084 enum mhi_state state; in mhi_async_power_up()
|