Home
last modified time | relevance | path

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

/linux-6.15/drivers/bus/mhi/host/
H A Dinternal.h192 void (*process_db)(struct mhi_controller *mhi_cntrl,
240 struct mhi_controller *mhi_cntrl;
252 int (*process_event)(struct mhi_controller *mhi_cntrl,
330 struct mhi_controller *mhi_cntrl,
381 void mhi_ring_chan_db(struct mhi_controller *mhi_cntrl,
385 int mhi_init_mmio(struct mhi_controller *mhi_cntrl);
386 int mhi_init_dev_ctxt(struct mhi_controller *mhi_cntrl);
388 int mhi_init_irq_setup(struct mhi_controller *mhi_cntrl);
390 int mhi_rddm_prepare(struct mhi_controller *mhi_cntrl,
399 int mhi_init_chan_ctxt(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()
95 void mhi_db_brstmode(struct mhi_controller *mhi_cntrl, in mhi_db_brstmode()
134 void mhi_ring_chan_db(struct mhi_controller *mhi_cntrl, in mhi_ring_chan_db()
171 void mhi_soc_reset(struct mhi_controller *mhi_cntrl) in mhi_soc_reset()
184 int mhi_map_single_no_bb(struct mhi_controller *mhi_cntrl, in mhi_map_single_no_bb()
281 struct mhi_controller *mhi_cntrl; in mhi_destroy_device()
339 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_get_free_desc_count()
363 void mhi_create_devices(struct mhi_controller *mhi_cntrl) in mhi_create_devices()
483 struct mhi_controller *mhi_cntrl = priv; in mhi_intvec_threaded_handler()
539 struct mhi_controller *mhi_cntrl = dev; in mhi_intvec_handler()
[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 Dpm.c262 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()
783 struct mhi_controller *mhi_cntrl = container_of(work, in mhi_pm_st_worker()
784 struct mhi_controller, in mhi_pm_st_worker()
845 int mhi_pm_suspend(struct mhi_controller *mhi_cntrl) in mhi_pm_suspend()
997 int mhi_pm_resume(struct mhi_controller *mhi_cntrl) in mhi_pm_resume()
1099 int mhi_async_power_up(struct mhi_controller *mhi_cntrl) in mhi_async_power_up()
1253 int mhi_sync_power_up(struct mhi_controller *mhi_cntrl) in mhi_sync_power_up()
1301 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_device_get_sync()
[all …]
H A Dboot.c22 int mhi_rddm_prepare(struct mhi_controller *mhi_cntrl, in mhi_rddm_prepare()
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()
423 static void mhi_firmware_copy_bhie(struct mhi_controller *mhi_cntrl, in mhi_firmware_copy_bhie()
491 void mhi_fw_load_handler(struct mhi_controller *mhi_cntrl) in mhi_fw_load_handler()
[all …]
H A 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 …]
H A Dpci_generic.c924 struct mhi_controller mhi_cntrl;
1093 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_recovery_work()
1140 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in health_check()
1195 struct mhi_controller *mhi_cntrl; in mhi_pci_probe()
1294 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_remove()
1320 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_reset_prepare()
1342 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_reset_done()
1376 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_error_detected()
1428 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_runtime_suspend()
1460 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_runtime_resume()
[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()
179 void mhi_deinit_free_irq(struct mhi_controller *mhi_cntrl) in mhi_deinit_free_irq()
194 int mhi_init_irq_setup(struct mhi_controller *mhi_cntrl) in mhi_init_irq_setup()
302 int mhi_init_dev_ctxt(struct mhi_controller *mhi_cntrl) in mhi_init_dev_ctxt()
470 int mhi_init_mmio(struct mhi_controller *mhi_cntrl) in mhi_init_mmio()
645 int mhi_init_chan_ctxt(struct mhi_controller *mhi_cntrl, in mhi_init_chan_ctxt()
1105 struct mhi_controller *mhi_alloc_controller(void) in mhi_alloc_controller()
[all …]
/linux-6.15/include/linux/
H A Dmhi.h370 struct mhi_controller { struct
425 void (*status_cb)(struct mhi_controller *mhi_cntrl, argument
430 int (*runtime_get)(struct mhi_controller *mhi_cntrl); argument
432 int (*map_single)(struct mhi_controller *mhi_cntrl, argument
440 void (*reset)(struct mhi_controller *mhi_cntrl); argument
441 int (*edl_trigger)(struct mhi_controller *mhi_cntrl); argument
469 struct mhi_controller *mhi_cntrl; argument
538 struct mhi_controller *mhi_alloc_controller(void);
669 int mhi_pm_suspend(struct mhi_controller *mhi_cntrl);
675 int mhi_pm_resume(struct mhi_controller *mhi_cntrl);
[all …]
/linux-6.15/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.c793 static int mhi_read_reg(struct mhi_controller *mhi_cntrl, void __iomem *addr, u32 *out) in mhi_read_reg()
818 static void mhi_write_reg(struct mhi_controller *mhi_cntrl, void __iomem *addr, u32 val) in mhi_write_reg()
823 static int mhi_runtime_get(struct mhi_controller *mhi_cntrl) in mhi_runtime_get()
828 static void mhi_runtime_put(struct mhi_controller *mhi_cntrl) in mhi_runtime_put()
832 static void mhi_status_cb(struct mhi_controller *mhi_cntrl, enum mhi_callback reason) in mhi_status_cb()
844 static int mhi_reset_and_async_power_up(struct mhi_controller *mhi_cntrl) in mhi_reset_and_async_power_up()
871 struct mhi_controller *qaic_mhi_register_controller(struct pci_dev *pci_dev, void __iomem *mhi_bar, in qaic_mhi_register_controller()
875 struct mhi_controller *mhi_cntrl; in qaic_mhi_register_controller()
956 void qaic_mhi_free_controller(struct mhi_controller *mhi_cntrl, bool link_up) in qaic_mhi_free_controller()
963 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.h127 struct mhi_controller *mhi_cntrl;
/linux-6.15/drivers/net/wireless/ath/ath11k/
H A Dmhi.c233 static int ath11k_mhi_op_runtime_get(struct mhi_controller *mhi_cntrl) in ath11k_mhi_op_runtime_get()
238 static void ath11k_mhi_op_runtime_put(struct mhi_controller *mhi_cntrl) in ath11k_mhi_op_runtime_put()
268 static void ath11k_mhi_op_status_cb(struct mhi_controller *mhi_cntrl, in ath11k_mhi_op_status_cb()
300 static int ath11k_mhi_op_read_reg(struct mhi_controller *mhi_cntrl, in ath11k_mhi_op_read_reg()
309 static void ath11k_mhi_op_write_reg(struct mhi_controller *mhi_cntrl, in ath11k_mhi_op_write_reg()
316 static int ath11k_mhi_read_addr_from_dt(struct mhi_controller *mhi_ctrl) in ath11k_mhi_read_addr_from_dt()
340 struct mhi_controller *mhi_ctrl; in ath11k_mhi_register()
428 struct mhi_controller *mhi_ctrl = ab_pci->mhi_ctrl; in ath11k_mhi_unregister()
495 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.c619 struct mhi_controller *mhi_ctrl = ab_pci->mhi_ctrl; in ath11k_pci_coredump_calculate_size()
686 struct mhi_controller *mhi_ctrl = ab_pci->mhi_ctrl; in ath11k_pci_coredump_download()
/linux-6.15/drivers/net/wireless/ath/ath12k/
H A Dmhi.c233 static int ath12k_mhi_op_runtime_get(struct mhi_controller *mhi_cntrl) in ath12k_mhi_op_runtime_get()
238 static void ath12k_mhi_op_runtime_put(struct mhi_controller *mhi_cntrl) in ath12k_mhi_op_runtime_put()
268 static void ath12k_mhi_op_status_cb(struct mhi_controller *mhi_cntrl, in ath12k_mhi_op_status_cb()
298 static int ath12k_mhi_op_read_reg(struct mhi_controller *mhi_cntrl, in ath12k_mhi_op_read_reg()
307 static void ath12k_mhi_op_write_reg(struct mhi_controller *mhi_cntrl, in ath12k_mhi_op_write_reg()
317 struct mhi_controller *mhi_ctrl; in ath12k_mhi_register()
408 struct mhi_controller *mhi_ctrl = ab_pci->mhi_ctrl; in ath12k_mhi_unregister()
653 void ath12k_mhi_coredump(struct mhi_controller *mhi_ctrl, bool in_panic) in ath12k_mhi_coredump()
H A Dmhi.h46 void ath12k_mhi_coredump(struct mhi_controller *mhi_ctrl, bool in_panic);
H A Dpci.h104 struct mhi_controller *mhi_ctrl;
H A Dpci.c1283 struct mhi_controller *mhi_ctrl = ab_pci->mhi_ctrl; in ath12k_pci_coredump_calculate_size()
1350 struct mhi_controller *mhi_ctrl = ab_pci->mhi_ctrl; in ath12k_pci_coredump_download()
/linux-6.15/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()
608 struct mhi_controller *cntrl = mhi_dev->mhi_cntrl; in mhi_mbim_probe()
641 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-6.15/Documentation/mhi/
H A Dtopology.rst24 * Allocates struct mhi_controller and registers with the MHI bus framework