Home
last modified time | relevance | path

Searched refs:mhi_controller (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.1/drivers/bus/mhi/host/
Dinternal.h145 void (*process_db)(struct mhi_controller *mhi_cntrl,
193 struct mhi_controller *mhi_cntrl;
205 int (*process_event)(struct mhi_controller *mhi_cntrl,
249 void mhi_create_debugfs(struct mhi_controller *mhi_cntrl);
250 void mhi_destroy_debugfs(struct mhi_controller *mhi_cntrl);
254 static inline void mhi_create_debugfs(struct mhi_controller *mhi_cntrl) in mhi_create_debugfs()
258 static inline void mhi_destroy_debugfs(struct mhi_controller *mhi_cntrl) in mhi_destroy_debugfs()
271 struct mhi_device *mhi_alloc_device(struct mhi_controller *mhi_cntrl);
274 void mhi_create_devices(struct mhi_controller *mhi_cntrl);
276 int mhi_alloc_bhie_table(struct mhi_controller *mhi_cntrl,
[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()
62 void mhi_write_reg(struct mhi_controller *mhi_cntrl, void __iomem *base, in mhi_write_reg()
68 int __must_check mhi_write_reg_field(struct mhi_controller *mhi_cntrl, in mhi_write_reg_field()
86 void mhi_write_db(struct mhi_controller *mhi_cntrl, void __iomem *db_addr, in mhi_write_db()
93 void mhi_db_brstmode(struct mhi_controller *mhi_cntrl, in mhi_db_brstmode()
105 void mhi_db_brstmode_disable(struct mhi_controller *mhi_cntrl, in mhi_db_brstmode_disable()
122 void mhi_ring_cmd_db(struct mhi_controller *mhi_cntrl, struct mhi_cmd *mhi_cmd) in mhi_ring_cmd_db()
132 void mhi_ring_chan_db(struct mhi_controller *mhi_cntrl, in mhi_ring_chan_db()
[all …]
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()
149 static void mhi_toggle_dev_wake_nop(struct mhi_controller *mhi_cntrl) in mhi_toggle_dev_wake_nop()
153 static void mhi_toggle_dev_wake(struct mhi_controller *mhi_cntrl) in mhi_toggle_dev_wake()
160 int mhi_ready_state_transition(struct mhi_controller *mhi_cntrl) in mhi_ready_state_transition()
247 int mhi_pm_m0_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_m0_transition()
321 void mhi_pm_m1_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_m1_transition()
357 int mhi_pm_m3_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_m3_transition()
378 static int mhi_pm_mission_mode_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_mission_mode_transition()
455 static void mhi_pm_disable_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_disable_transition()
[all …]
Ddebugfs.c17 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_states_show()
40 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_events_show()
83 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_channels_show()
155 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_devices_show()
171 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_regdump_show()
233 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_device_wake_show()
253 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_device_wake_write()
273 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_timeout_ms_show()
285 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_timeout_ms_write()
377 void mhi_create_debugfs(struct mhi_controller *mhi_cntrl) in mhi_create_debugfs()
[all …]
Dpci_generic.c607 struct mhi_controller mhi_cntrl;
614 static int mhi_pci_read_reg(struct mhi_controller *mhi_cntrl, in mhi_pci_read_reg()
621 static void mhi_pci_write_reg(struct mhi_controller *mhi_cntrl, in mhi_pci_write_reg()
627 static void mhi_pci_status_cb(struct mhi_controller *mhi_cntrl, in mhi_pci_status_cb()
647 static void mhi_pci_wake_get_nop(struct mhi_controller *mhi_cntrl, bool force) in mhi_pci_wake_get_nop()
652 static void mhi_pci_wake_put_nop(struct mhi_controller *mhi_cntrl, bool override) in mhi_pci_wake_put_nop()
657 static void mhi_pci_wake_toggle_nop(struct mhi_controller *mhi_cntrl) in mhi_pci_wake_toggle_nop()
662 static bool mhi_pci_is_alive(struct mhi_controller *mhi_cntrl) in mhi_pci_is_alive()
676 static int mhi_pci_claim(struct mhi_controller *mhi_cntrl, in mhi_pci_claim()
711 static int mhi_pci_get_irqs(struct mhi_controller *mhi_cntrl, in mhi_pci_get_irqs()
[all …]
Dinit.c87 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in serial_number_show()
99 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in oem_pk_hash_show()
116 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in soc_reset_store()
132 static int mhi_alloc_aligned_ring(struct mhi_controller *mhi_cntrl, in mhi_alloc_aligned_ring()
148 void mhi_deinit_free_irq(struct mhi_controller *mhi_cntrl) in mhi_deinit_free_irq()
163 int mhi_init_irq_setup(struct mhi_controller *mhi_cntrl) in mhi_init_irq_setup()
226 void mhi_deinit_dev_ctxt(struct mhi_controller *mhi_cntrl) in mhi_deinit_dev_ctxt()
271 int mhi_init_dev_ctxt(struct mhi_controller *mhi_cntrl) in mhi_init_dev_ctxt()
439 int mhi_init_mmio(struct mhi_controller *mhi_cntrl) in mhi_init_mmio()
569 void mhi_deinit_chan_ctxt(struct mhi_controller *mhi_cntrl, in mhi_deinit_chan_ctxt()
[all …]
Dboot.c22 int mhi_rddm_prepare(struct mhi_controller *mhi_cntrl, in mhi_rddm_prepare()
63 static int __mhi_download_rddm_in_panic(struct mhi_controller *mhi_cntrl) in __mhi_download_rddm_in_panic()
159 int mhi_download_rddm_image(struct mhi_controller *mhi_cntrl, bool in_panic) in mhi_download_rddm_image()
182 static int mhi_fw_load_bhie(struct mhi_controller *mhi_cntrl, in mhi_fw_load_bhie()
230 static int mhi_fw_load_bhi(struct mhi_controller *mhi_cntrl, in mhi_fw_load_bhi()
301 void mhi_free_bhie_table(struct mhi_controller *mhi_cntrl, in mhi_free_bhie_table()
315 int mhi_alloc_bhie_table(struct mhi_controller *mhi_cntrl, in mhi_alloc_bhie_table()
369 static void mhi_firmware_copy(struct mhi_controller *mhi_cntrl, in mhi_firmware_copy()
392 void mhi_fw_load_handler(struct mhi_controller *mhi_cntrl) in mhi_fw_load_handler()
517 int mhi_download_amss_image(struct mhi_controller *mhi_cntrl) in mhi_download_amss_image()
/Linux-v6.1/include/linux/
Dmhi.h375 struct mhi_controller { struct
431 void (*status_cb)(struct mhi_controller *mhi_cntrl, argument
433 void (*wake_get)(struct mhi_controller *mhi_cntrl, bool override); argument
434 void (*wake_put)(struct mhi_controller *mhi_cntrl, bool override); argument
435 void (*wake_toggle)(struct mhi_controller *mhi_cntrl); argument
436 int (*runtime_get)(struct mhi_controller *mhi_cntrl); argument
437 void (*runtime_put)(struct mhi_controller *mhi_cntrl); argument
438 int (*map_single)(struct mhi_controller *mhi_cntrl, argument
440 void (*unmap_single)(struct mhi_controller *mhi_cntrl, argument
442 int (*read_reg)(struct mhi_controller *mhi_cntrl, void __iomem *addr, argument
[all …]
/Linux-v6.1/drivers/net/wireless/ath/ath11k/
Dmhi.c288 static int ath11k_mhi_op_runtime_get(struct mhi_controller *mhi_cntrl) in ath11k_mhi_op_runtime_get()
293 static void ath11k_mhi_op_runtime_put(struct mhi_controller *mhi_cntrl) in ath11k_mhi_op_runtime_put()
323 static void ath11k_mhi_op_status_cb(struct mhi_controller *mhi_cntrl, in ath11k_mhi_op_status_cb()
344 static int ath11k_mhi_op_read_reg(struct mhi_controller *mhi_cntrl, in ath11k_mhi_op_read_reg()
353 static void ath11k_mhi_op_write_reg(struct mhi_controller *mhi_cntrl, in ath11k_mhi_op_write_reg()
360 static int ath11k_mhi_read_addr_from_dt(struct mhi_controller *mhi_ctrl) in ath11k_mhi_read_addr_from_dt()
384 struct mhi_controller *mhi_ctrl; in ath11k_mhi_register()
462 struct mhi_controller *mhi_ctrl = ab_pci->mhi_ctrl; in ath11k_mhi_unregister()
Dpci.h65 struct mhi_controller *mhi_ctrl;
/Linux-v6.1/Documentation/mhi/
Dtopology.rst24 * Allocates struct mhi_controller and registers with the MHI bus framework
/Linux-v6.1/drivers/net/wwan/
Dmhi_wwan_mbim.c597 struct mhi_controller *cntrl = mhi_dev->mhi_cntrl; in mhi_mbim_probe()
627 struct mhi_controller *cntrl = mhi_dev->mhi_cntrl; in mhi_mbim_remove()
Dmhi_wwan_ctrl.c217 struct mhi_controller *cntrl = mhi_dev->mhi_cntrl; in mhi_wwan_ctrl_probe()