Home
last modified time | relevance | path

Searched defs:mhi_cntrl (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/bus/mhi/core/
Dpm.c110 enum mhi_pm_state __must_check mhi_tryset_pm_state(struct mhi_controller *mhi_cntrl, in mhi_tryset_pm_state()
129 void mhi_set_mhi_state(struct mhi_controller *mhi_cntrl, enum mhi_state state) in mhi_set_mhi_state()
142 static void mhi_toggle_dev_wake_nop(struct mhi_controller *mhi_cntrl) in mhi_toggle_dev_wake_nop()
146 static void mhi_toggle_dev_wake(struct mhi_controller *mhi_cntrl) in mhi_toggle_dev_wake()
153 int mhi_ready_state_transition(struct mhi_controller *mhi_cntrl) in mhi_ready_state_transition()
244 int mhi_pm_m0_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_m0_transition()
318 void mhi_pm_m1_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_m1_transition()
354 int mhi_pm_m3_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_m3_transition()
375 static int mhi_pm_mission_mode_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_mission_mode_transition()
444 static void mhi_pm_disable_transition(struct mhi_controller *mhi_cntrl, in mhi_pm_disable_transition()
[all …]
Dmain.c18 int __must_check mhi_read_reg(struct mhi_controller *mhi_cntrl, in mhi_read_reg()
24 int __must_check mhi_read_reg_field(struct mhi_controller *mhi_cntrl, in mhi_read_reg_field()
40 void mhi_write_reg(struct mhi_controller *mhi_cntrl, void __iomem *base, in mhi_write_reg()
46 void mhi_write_reg_field(struct mhi_controller *mhi_cntrl, void __iomem *base, in mhi_write_reg_field()
61 void mhi_write_db(struct mhi_controller *mhi_cntrl, void __iomem *db_addr, in mhi_write_db()
68 void mhi_db_brstmode(struct mhi_controller *mhi_cntrl, in mhi_db_brstmode()
80 void mhi_db_brstmode_disable(struct mhi_controller *mhi_cntrl, in mhi_db_brstmode_disable()
97 void mhi_ring_cmd_db(struct mhi_controller *mhi_cntrl, struct mhi_cmd *mhi_cmd) in mhi_ring_cmd_db()
107 void mhi_ring_chan_db(struct mhi_controller *mhi_cntrl, in mhi_ring_chan_db()
119 enum mhi_ee_type mhi_get_exec_env(struct mhi_controller *mhi_cntrl) in mhi_get_exec_env()
[all …]
Dinit.c84 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in serial_number_show() local
96 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in oem_pk_hash_show() local
116 static int mhi_alloc_aligned_ring(struct mhi_controller *mhi_cntrl, in mhi_alloc_aligned_ring()
132 void mhi_deinit_free_irq(struct mhi_controller *mhi_cntrl) in mhi_deinit_free_irq()
147 int mhi_init_irq_setup(struct mhi_controller *mhi_cntrl) in mhi_init_irq_setup()
197 void mhi_deinit_dev_ctxt(struct mhi_controller *mhi_cntrl) in mhi_deinit_dev_ctxt()
242 int mhi_init_dev_ctxt(struct mhi_controller *mhi_cntrl) in mhi_init_dev_ctxt()
410 int mhi_init_mmio(struct mhi_controller *mhi_cntrl) in mhi_init_mmio()
541 void mhi_deinit_chan_ctxt(struct mhi_controller *mhi_cntrl, in mhi_deinit_chan_ctxt()
560 int mhi_init_chan_ctxt(struct mhi_controller *mhi_cntrl, in mhi_init_chan_ctxt()
[all …]
Ddebugfs.c17 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_states_show() local
40 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_events_show() local
83 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_channels_show() local
155 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_devices_show() local
169 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_regdump_show() local
231 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_device_wake_show() local
251 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_device_wake_write() local
271 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_timeout_ms_show() local
283 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_timeout_ms_write() local
375 void mhi_create_debugfs(struct mhi_controller *mhi_cntrl) in mhi_create_debugfs()
[all …]
Dboot.c22 void mhi_rddm_prepare(struct mhi_controller *mhi_cntrl, in mhi_rddm_prepare()
57 static int __mhi_download_rddm_in_panic(struct mhi_controller *mhi_cntrl) in __mhi_download_rddm_in_panic()
150 int mhi_download_rddm_img(struct mhi_controller *mhi_cntrl, bool in_panic) in mhi_download_rddm_img()
174 static int mhi_fw_load_amss(struct mhi_controller *mhi_cntrl, in mhi_fw_load_amss()
221 static int mhi_fw_load_sbl(struct mhi_controller *mhi_cntrl, in mhi_fw_load_sbl()
293 void mhi_free_bhie_table(struct mhi_controller *mhi_cntrl, in mhi_free_bhie_table()
307 int mhi_alloc_bhie_table(struct mhi_controller *mhi_cntrl, in mhi_alloc_bhie_table()
361 static void mhi_firmware_copy(struct mhi_controller *mhi_cntrl, in mhi_firmware_copy()
386 void mhi_fw_load_handler(struct mhi_controller *mhi_cntrl) in mhi_fw_load_handler()
Dinternal.h441 #define MHI_DB_ACCESS_VALID(mhi_cntrl) (mhi_cntrl->pm_state & \ argument
518 struct mhi_controller *mhi_cntrl; member
580 static inline void mhi_create_debugfs(struct mhi_controller *mhi_cntrl) in mhi_create_debugfs()
584 static inline void mhi_destroy_debugfs(struct mhi_controller *mhi_cntrl) in mhi_destroy_debugfs()
625 static inline bool mhi_is_active(struct mhi_controller *mhi_cntrl) in mhi_is_active()
631 static inline void mhi_trigger_resume(struct mhi_controller *mhi_cntrl) in mhi_trigger_resume()
679 static inline void *mhi_alloc_coherent(struct mhi_controller *mhi_cntrl, in mhi_alloc_coherent()
690 static inline void mhi_free_coherent(struct mhi_controller *mhi_cntrl, in mhi_free_coherent()
/Linux-v5.10/drivers/net/wireless/ath/ath11k/
Dmhi.c185 static int ath11k_mhi_op_runtime_get(struct mhi_controller *mhi_cntrl) in ath11k_mhi_op_runtime_get()
190 static void ath11k_mhi_op_runtime_put(struct mhi_controller *mhi_cntrl) in ath11k_mhi_op_runtime_put()
194 static void ath11k_mhi_op_status_cb(struct mhi_controller *mhi_cntrl, in ath11k_mhi_op_status_cb()
199 static int ath11k_mhi_op_read_reg(struct mhi_controller *mhi_cntrl, in ath11k_mhi_op_read_reg()
208 static void ath11k_mhi_op_write_reg(struct mhi_controller *mhi_cntrl, in ath11k_mhi_op_write_reg()
/Linux-v5.10/include/linux/
Dmhi.h464 struct mhi_controller *mhi_cntrl; member