Home
last modified time | relevance | path

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

/linux/drivers/bus/mhi/host/
H A Dinternal.h194 void (*process_db)(struct mhi_controller *mhi_cntrl,
242 struct mhi_controller *mhi_cntrl;
254 int (*process_event)(struct mhi_controller *mhi_cntrl,
297 void mhi_create_debugfs(struct mhi_controller *mhi_cntrl);
298 void mhi_destroy_debugfs(struct mhi_controller *mhi_cntrl);
302 static inline void mhi_create_debugfs(struct mhi_controller *mhi_cntrl) in mhi_create_debugfs()
306 static inline void mhi_destroy_debugfs(struct mhi_controller *mhi_cntrl) in mhi_destroy_debugfs()
319 struct mhi_device *mhi_alloc_device(struct mhi_controller *mhi_cntrl);
322 void mhi_create_devices(struct mhi_controller *mhi_cntrl);
324 int mhi_alloc_bhie_table(struct mhi_controller *mhi_cntrl,
[all …]
H A Dmain.c20 int __must_check mhi_read_reg(struct mhi_controller *mhi_cntrl, in mhi_read_reg()
26 int __must_check mhi_read_reg_field(struct mhi_controller *mhi_cntrl, in mhi_read_reg_field()
42 int __must_check mhi_poll_reg_field(struct mhi_controller *mhi_cntrl, in mhi_poll_reg_field()
64 void mhi_write_reg(struct mhi_controller *mhi_cntrl, void __iomem *base, in mhi_write_reg()
70 int __must_check mhi_write_reg_field(struct mhi_controller *mhi_cntrl, in mhi_write_reg_field()
88 void mhi_write_db(struct mhi_controller *mhi_cntrl, void __iomem *db_addr, in mhi_write_db()
95 void mhi_db_brstmode(struct mhi_controller *mhi_cntrl, in mhi_db_brstmode()
107 void mhi_db_brstmode_disable(struct mhi_controller *mhi_cntrl, in mhi_db_brstmode_disable()
124 void mhi_ring_cmd_db(struct mhi_controller *mhi_cntrl, struct mhi_cmd *mhi_cmd) in mhi_ring_cmd_db()
134 void mhi_ring_chan_db(struct mhi_controller *mhi_cntrl, in mhi_ring_chan_db()
[all …]
H A Dpm.c120 enum mhi_pm_state __must_check mhi_tryset_pm_state(struct mhi_controller *mhi_cntrl, in mhi_tryset_pm_state()
140 void mhi_set_mhi_state(struct mhi_controller *mhi_cntrl, enum mhi_state state) in mhi_set_mhi_state()
159 static void mhi_toggle_dev_wake_nop(struct mhi_controller *mhi_cntrl) in mhi_toggle_dev_wake_nop()
163 static void mhi_toggle_dev_wake(struct mhi_controller *mhi_cntrl) in mhi_toggle_dev_wake()
170 int mhi_ready_state_transition(struct mhi_controller *mhi_cntrl) in mhi_ready_state_transition()
262 int mhi_pm_m0_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_m0_transition()
337 void mhi_pm_m1_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_m1_transition()
373 int mhi_pm_m3_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_m3_transition()
394 static int mhi_pm_mission_mode_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_mission_mode_transition()
472 static void mhi_pm_disable_transition(struct mhi_controller *mhi_cntrl, in mhi_pm_disable_transition()
[all …]
H A Dtrace.h92 TP_PROTO(struct mhi_controller *mhi_cntrl, struct mhi_chan *mhi_chan,
122 TP_PROTO(struct mhi_controller *mhi_cntrl, int dev_ee, int dev_state),
152 TP_PROTO(struct mhi_controller *mhi_cntrl, int pm_state),
174 TP_PROTO(struct mhi_controller *mhi_cntrl, struct mhi_ring_element *rp),
203 TP_PROTO(struct mhi_controller *mhi_cntrl, struct mhi_ring_element *rp),
210 TP_PROTO(struct mhi_controller *mhi_cntrl, struct mhi_ring_element *rp),
217 TP_PROTO(struct mhi_controller *mhi_cntrl, struct mhi_chan *mhi_chan, int state,
243 TP_PROTO(struct mhi_controller *mhi_cntrl, struct mhi_chan *mhi_chan, int state,
251 TP_PROTO(struct mhi_controller *mhi_cntrl, struct mhi_chan *mhi_chan, int state,
259 TP_PROTO(struct mhi_controller *mhi_cntrl, int state),
H A 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()
157 int mhi_download_rddm_image(struct mhi_controller *mhi_cntrl, bool in_panic) in mhi_download_rddm_image()
180 static void mhi_fw_load_error_dump(struct mhi_controller *mhi_cntrl) in mhi_fw_load_error_dump()
210 static int mhi_fw_load_bhie(struct mhi_controller *mhi_cntrl, in mhi_fw_load_bhie()
258 static int mhi_fw_load_bhi(struct mhi_controller *mhi_cntrl, in mhi_fw_load_bhi()
305 static void mhi_free_bhi_buffer(struct mhi_controller *mhi_cntrl, in mhi_free_bhi_buffer()
315 void mhi_free_bhie_table(struct mhi_controller *mhi_cntrl, in mhi_free_bhie_table()
329 static int mhi_alloc_bhi_buffer(struct mhi_controller *mhi_cntrl, in mhi_alloc_bhi_buffer()
368 int mhi_alloc_bhie_table(struct mhi_controller *mhi_cntrl, in mhi_alloc_bhie_table()
[all …]
H A Ddebugfs.c18 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_states_show()
41 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_events_show()
84 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_channels_show()
156 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_devices_show()
172 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_regdump_show()
234 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_device_wake_show()
254 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_device_wake_write()
274 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_timeout_ms_show()
286 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_timeout_ms_write()
378 void mhi_create_debugfs(struct mhi_controller *mhi_cntrl) in mhi_create_debugfs()
[all …]
H A Dpci_generic.c1041 struct mhi_controller mhi_cntrl;
1049 static int mhi_pci_read_reg(struct mhi_controller *mhi_cntrl, in mhi_pci_read_reg()
1056 static void mhi_pci_write_reg(struct mhi_controller *mhi_cntrl, in mhi_pci_write_reg()
1062 static void mhi_pci_status_cb(struct mhi_controller *mhi_cntrl, in mhi_pci_status_cb()
1082 static void mhi_pci_wake_get_nop(struct mhi_controller *mhi_cntrl, bool force) in mhi_pci_wake_get_nop()
1087 static void mhi_pci_wake_put_nop(struct mhi_controller *mhi_cntrl, bool override) in mhi_pci_wake_put_nop()
1092 static void mhi_pci_wake_toggle_nop(struct mhi_controller *mhi_cntrl) in mhi_pci_wake_toggle_nop()
1097 static bool mhi_pci_is_alive(struct mhi_controller *mhi_cntrl) in mhi_pci_is_alive()
1111 static int mhi_pci_claim(struct mhi_controller *mhi_cntrl, in mhi_pci_claim()
1142 static int mhi_pci_get_irqs(struct mhi_controller *mhi_cntrl, in mhi_pci_get_irqs()
[all …]
H A Dinit.c86 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in serial_number_show()
98 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in oem_pk_hash_show()
123 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in soc_reset_store()
135 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in trigger_edl_store()
163 static int mhi_alloc_aligned_ring(struct mhi_controller *mhi_cntrl, in mhi_alloc_aligned_ring()
179 static void mhi_deinit_free_irq(struct mhi_controller *mhi_cntrl) in mhi_deinit_free_irq()
194 static int mhi_init_irq_setup(struct mhi_controller *mhi_cntrl) in mhi_init_irq_setup()
256 static void mhi_deinit_dev_ctxt(struct mhi_controller *mhi_cntrl) in mhi_deinit_dev_ctxt()
301 static int mhi_init_dev_ctxt(struct mhi_controller *mhi_cntrl) in mhi_init_dev_ctxt()
469 int mhi_init_mmio(struct mhi_controller *mhi_cntrl) in mhi_init_mmio()
[all …]
/linux/include/linux/
H A Dmhi.h368 struct mhi_controller { struct
423 void (*status_cb)(struct mhi_controller *mhi_cntrl, argument
425 void (*wake_get)(struct mhi_controller *mhi_cntrl, bool override); argument
426 void (*wake_put)(struct mhi_controller *mhi_cntrl, bool override); argument
427 void (*wake_toggle)(struct mhi_controller *mhi_cntrl); argument
428 int (*runtime_get)(struct mhi_controller *mhi_cntrl); argument
429 void (*runtime_put)(struct mhi_controller *mhi_cntrl); argument
430 int (*map_single)(struct mhi_controller *mhi_cntrl, argument
432 void (*unmap_single)(struct mhi_controller *mhi_cntrl, argument
434 int (*read_reg)(struct mhi_controller *mhi_cntrl, void __iomem *addr, argument
[all …]
/linux/drivers/accel/qaic/
H A Dmhi_controller.h10 struct mhi_controller *qaic_mhi_register_controller(struct pci_dev *pci_dev, void __iomem *mhi_bar,
12 void qaic_mhi_free_controller(struct mhi_controller *mhi_cntrl, bool link_up);
13 void qaic_mhi_start_reset(struct mhi_controller *mhi_cntrl);
14 void qaic_mhi_reset_done(struct mhi_controller *mhi_cntrl);
H A Dmhi_controller.c749 static int mhi_read_reg(struct mhi_controller *mhi_cntrl, void __iomem *addr, u32 *out) in mhi_read_reg()
774 static void mhi_write_reg(struct mhi_controller *mhi_cntrl, void __iomem *addr, u32 val) in mhi_write_reg()
779 static int mhi_runtime_get(struct mhi_controller *mhi_cntrl) in mhi_runtime_get()
784 static void mhi_runtime_put(struct mhi_controller *mhi_cntrl) in mhi_runtime_put()
788 static void mhi_status_cb(struct mhi_controller *mhi_cntrl, enum mhi_callback reason) in mhi_status_cb()
800 static int mhi_reset_and_async_power_up(struct mhi_controller *mhi_cntrl) in mhi_reset_and_async_power_up()
827 struct mhi_controller *qaic_mhi_register_controller(struct pci_dev *pci_dev, void __iomem *mhi_bar, in qaic_mhi_register_controller()
831 struct mhi_controller *mhi_cntrl; in qaic_mhi_register_controller()
912 void qaic_mhi_free_controller(struct mhi_controller *mhi_cntrl, bool link_up) in qaic_mhi_free_controller()
919 void qaic_mhi_start_reset(struct mhi_controller *mhi_cntrl) in qaic_mhi_start_reset()
[all …]
H A DMakefile9 mhi_controller.o \
H A Dqaic.h148 struct mhi_controller *mhi_cntrl;
/linux/drivers/net/wireless/ath/ath11k/
H A Dmhi.c229 static int ath11k_mhi_op_runtime_get(struct mhi_controller *mhi_cntrl) in ath11k_mhi_op_runtime_get()
234 static void ath11k_mhi_op_runtime_put(struct mhi_controller *mhi_cntrl) in ath11k_mhi_op_runtime_put()
264 static void ath11k_mhi_op_status_cb(struct mhi_controller *mhi_cntrl, in ath11k_mhi_op_status_cb()
296 static int ath11k_mhi_op_read_reg(struct mhi_controller *mhi_cntrl, in ath11k_mhi_op_read_reg()
305 static void ath11k_mhi_op_write_reg(struct mhi_controller *mhi_cntrl, in ath11k_mhi_op_write_reg()
312 static int ath11k_mhi_read_addr_from_dt(struct mhi_controller *mhi_ctrl) in ath11k_mhi_read_addr_from_dt()
336 struct mhi_controller *mhi_ctrl; in ath11k_mhi_register()
424 struct mhi_controller *mhi_ctrl = ab_pci->mhi_ctrl; in ath11k_mhi_unregister()
499 void ath11k_mhi_coredump(struct mhi_controller *mhi_ctrl, bool in_panic) in ath11k_mhi_coredump()
H A Dmhi.h29 void ath11k_mhi_coredump(struct mhi_controller *mhi_ctrl, bool in_panic);
H A Dpci.h65 struct mhi_controller *mhi_ctrl;
H A Dpci.c637 struct mhi_controller *mhi_ctrl = ab_pci->mhi_ctrl; in ath11k_pci_coredump_calculate_size()
704 struct mhi_controller *mhi_ctrl = ab_pci->mhi_ctrl; in ath11k_pci_coredump_download()
/linux/drivers/net/wireless/ath/ath12k/
H A Dmhi.c103 static int ath12k_mhi_op_runtime_get(struct mhi_controller *mhi_cntrl) in ath12k_mhi_op_runtime_get()
108 static void ath12k_mhi_op_runtime_put(struct mhi_controller *mhi_cntrl) in ath12k_mhi_op_runtime_put()
138 static void ath12k_mhi_op_status_cb(struct mhi_controller *mhi_cntrl, in ath12k_mhi_op_status_cb()
171 static int ath12k_mhi_op_read_reg(struct mhi_controller *mhi_cntrl, in ath12k_mhi_op_read_reg()
180 static void ath12k_mhi_op_write_reg(struct mhi_controller *mhi_cntrl, in ath12k_mhi_op_write_reg()
190 struct mhi_controller *mhi_ctrl; in ath12k_mhi_register()
281 struct mhi_controller *mhi_ctrl = ab_pci->mhi_ctrl; in ath12k_mhi_unregister()
526 void ath12k_mhi_coredump(struct mhi_controller *mhi_ctrl, bool in_panic) in ath12k_mhi_coredump()
H A Dmhi.h43 void ath12k_mhi_coredump(struct mhi_controller *mhi_ctrl, bool in_panic);
H A Dpci.h120 struct mhi_controller *mhi_ctrl;
H A Dpci.c1248 struct mhi_controller *mhi_ctrl = ab_pci->mhi_ctrl; in ath12k_pci_coredump_calculate_size()
1315 struct mhi_controller *mhi_ctrl = ab_pci->mhi_ctrl; in ath12k_pci_coredump_download()
/linux/drivers/net/wwan/
H A Dmhi_wwan_mbim.c98 static int mhi_mbim_get_link_mux_id(struct mhi_controller *cntrl) in mhi_mbim_get_link_mux_id()
609 struct mhi_controller *cntrl = mhi_dev->mhi_cntrl; in mhi_mbim_probe()
639 struct mhi_controller *cntrl = mhi_dev->mhi_cntrl; in mhi_mbim_remove()
H A Dmhi_wwan_ctrl.c217 struct mhi_controller *cntrl = mhi_dev->mhi_cntrl; in mhi_wwan_ctrl_probe()
/linux/Documentation/mhi/
H A Dtopology.rst24 * Allocates struct mhi_controller and registers with the MHI bus framework