Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/bus/mhi/core/
Dpm.c111 enum mhi_pm_state __must_check mhi_tryset_pm_state(struct mhi_controller *mhi_cntrl, in mhi_tryset_pm_state()
130 void mhi_set_mhi_state(struct mhi_controller *mhi_cntrl, enum mhi_state state) in mhi_set_mhi_state()
143 static void mhi_toggle_dev_wake_nop(struct mhi_controller *mhi_cntrl) in mhi_toggle_dev_wake_nop()
147 static void mhi_toggle_dev_wake(struct mhi_controller *mhi_cntrl) in mhi_toggle_dev_wake()
154 int mhi_ready_state_transition(struct mhi_controller *mhi_cntrl) in mhi_ready_state_transition()
243 int mhi_pm_m0_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_m0_transition()
317 void mhi_pm_m1_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_m1_transition()
353 int mhi_pm_m3_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_m3_transition()
374 static int mhi_pm_mission_mode_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_mission_mode_transition()
451 static void mhi_pm_disable_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_disable_transition()
[all …]
Dmain.c19 int __must_check mhi_read_reg(struct mhi_controller *mhi_cntrl, in mhi_read_reg()
25 int __must_check mhi_read_reg_field(struct mhi_controller *mhi_cntrl, in mhi_read_reg_field()
41 int __must_check mhi_poll_reg_field(struct mhi_controller *mhi_cntrl, in mhi_poll_reg_field()
63 void mhi_write_reg(struct mhi_controller *mhi_cntrl, void __iomem *base, in mhi_write_reg()
69 void mhi_write_reg_field(struct mhi_controller *mhi_cntrl, void __iomem *base, in mhi_write_reg_field()
84 void mhi_write_db(struct mhi_controller *mhi_cntrl, void __iomem *db_addr, in mhi_write_db()
91 void mhi_db_brstmode(struct mhi_controller *mhi_cntrl, in mhi_db_brstmode()
103 void mhi_db_brstmode_disable(struct mhi_controller *mhi_cntrl, in mhi_db_brstmode_disable()
120 void mhi_ring_cmd_db(struct mhi_controller *mhi_cntrl, struct mhi_cmd *mhi_cmd) in mhi_ring_cmd_db()
130 void mhi_ring_chan_db(struct mhi_controller *mhi_cntrl, in mhi_ring_chan_db()
[all …]
Dinit.c95 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in serial_number_show() local
107 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in oem_pk_hash_show() local
127 static int mhi_alloc_aligned_ring(struct mhi_controller *mhi_cntrl, in mhi_alloc_aligned_ring()
143 void mhi_deinit_free_irq(struct mhi_controller *mhi_cntrl) in mhi_deinit_free_irq()
158 int mhi_init_irq_setup(struct mhi_controller *mhi_cntrl) in mhi_init_irq_setup()
213 void mhi_deinit_dev_ctxt(struct mhi_controller *mhi_cntrl) in mhi_deinit_dev_ctxt()
258 int mhi_init_dev_ctxt(struct mhi_controller *mhi_cntrl) in mhi_init_dev_ctxt()
426 int mhi_init_mmio(struct mhi_controller *mhi_cntrl) in mhi_init_mmio()
555 void mhi_deinit_chan_ctxt(struct mhi_controller *mhi_cntrl, in mhi_deinit_chan_ctxt()
590 int mhi_init_chan_ctxt(struct mhi_controller *mhi_cntrl, in mhi_init_chan_ctxt()
[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()
155 int mhi_download_rddm_image(struct mhi_controller *mhi_cntrl, bool in_panic) in mhi_download_rddm_image()
179 static int mhi_fw_load_bhie(struct mhi_controller *mhi_cntrl, in mhi_fw_load_bhie()
226 static int mhi_fw_load_bhi(struct mhi_controller *mhi_cntrl, in mhi_fw_load_bhi()
298 void mhi_free_bhie_table(struct mhi_controller *mhi_cntrl, in mhi_free_bhie_table()
312 int mhi_alloc_bhie_table(struct mhi_controller *mhi_cntrl, in mhi_alloc_bhie_table()
366 static void mhi_firmware_copy(struct mhi_controller *mhi_cntrl, in mhi_firmware_copy()
389 void mhi_fw_load_handler(struct mhi_controller *mhi_cntrl) in mhi_fw_load_handler()
514 int mhi_download_amss_image(struct mhi_controller *mhi_cntrl) in mhi_download_amss_image()
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
171 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_regdump_show() local
233 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_device_wake_show() local
253 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_device_wake_write() local
273 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_timeout_ms_show() local
285 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_timeout_ms_write() local
377 void mhi_create_debugfs(struct mhi_controller *mhi_cntrl) in mhi_create_debugfs()
[all …]
Dinternal.h455 #define MHI_DB_ACCESS_VALID(mhi_cntrl) (mhi_cntrl->pm_state & \ argument
532 struct mhi_controller *mhi_cntrl; member
593 static inline void mhi_create_debugfs(struct mhi_controller *mhi_cntrl) in mhi_create_debugfs()
597 static inline void mhi_destroy_debugfs(struct mhi_controller *mhi_cntrl) in mhi_destroy_debugfs()
637 static inline bool mhi_is_active(struct mhi_controller *mhi_cntrl) in mhi_is_active()
643 static inline void mhi_trigger_resume(struct mhi_controller *mhi_cntrl) in mhi_trigger_resume()
/Linux-v5.15/drivers/bus/mhi/
Dpci_generic.c439 struct mhi_controller mhi_cntrl; member
446 static int mhi_pci_read_reg(struct mhi_controller *mhi_cntrl, in mhi_pci_read_reg()
453 static void mhi_pci_write_reg(struct mhi_controller *mhi_cntrl, in mhi_pci_write_reg()
459 static void mhi_pci_status_cb(struct mhi_controller *mhi_cntrl, in mhi_pci_status_cb()
479 static void mhi_pci_wake_get_nop(struct mhi_controller *mhi_cntrl, bool force) in mhi_pci_wake_get_nop()
484 static void mhi_pci_wake_put_nop(struct mhi_controller *mhi_cntrl, bool override) in mhi_pci_wake_put_nop()
489 static void mhi_pci_wake_toggle_nop(struct mhi_controller *mhi_cntrl) in mhi_pci_wake_toggle_nop()
494 static bool mhi_pci_is_alive(struct mhi_controller *mhi_cntrl) in mhi_pci_is_alive()
508 static int mhi_pci_claim(struct mhi_controller *mhi_cntrl, in mhi_pci_claim()
549 static int mhi_pci_get_irqs(struct mhi_controller *mhi_cntrl, in mhi_pci_get_irqs()
[all …]
/Linux-v5.15/drivers/net/wireless/ath/ath11k/
Dmhi.c275 static int ath11k_mhi_op_runtime_get(struct mhi_controller *mhi_cntrl) in ath11k_mhi_op_runtime_get()
280 static void ath11k_mhi_op_runtime_put(struct mhi_controller *mhi_cntrl) in ath11k_mhi_op_runtime_put()
284 static void ath11k_mhi_op_status_cb(struct mhi_controller *mhi_cntrl, in ath11k_mhi_op_status_cb()
298 static int ath11k_mhi_op_read_reg(struct mhi_controller *mhi_cntrl, in ath11k_mhi_op_read_reg()
307 static void ath11k_mhi_op_write_reg(struct mhi_controller *mhi_cntrl, in ath11k_mhi_op_write_reg()
/Linux-v5.15/include/linux/
Dmhi.h474 struct mhi_controller *mhi_cntrl; member