Home
last modified time | relevance | path

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

/linux/drivers/bus/mhi/host/
A Dinternal.h185 void (*process_db)(struct mhi_controller *mhi_cntrl,
233 struct mhi_controller *mhi_cntrl;
245 int (*process_event)(struct mhi_controller *mhi_cntrl,
323 struct mhi_controller *mhi_cntrl,
374 void mhi_ring_chan_db(struct mhi_controller *mhi_cntrl,
378 int mhi_init_mmio(struct mhi_controller *mhi_cntrl);
379 int mhi_init_dev_ctxt(struct mhi_controller *mhi_cntrl);
381 int mhi_init_irq_setup(struct mhi_controller *mhi_cntrl);
383 int mhi_rddm_prepare(struct mhi_controller *mhi_cntrl,
392 int mhi_init_chan_ctxt(struct mhi_controller *mhi_cntrl,
[all …]
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 …]
A Dpm.c262 int mhi_pm_m0_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_m0_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()
1315 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_device_get_sync()
[all …]
A Dtrace.h91 TP_PROTO(struct mhi_controller *mhi_cntrl, struct mhi_chan *mhi_chan,
121 TP_PROTO(struct mhi_controller *mhi_cntrl, int dev_ee, int dev_state),
151 TP_PROTO(struct mhi_controller *mhi_cntrl, int pm_state),
173 TP_PROTO(struct mhi_controller *mhi_cntrl, struct mhi_ring_element *rp),
202 TP_PROTO(struct mhi_controller *mhi_cntrl, struct mhi_ring_element *rp),
209 TP_PROTO(struct mhi_controller *mhi_cntrl, struct mhi_ring_element *rp),
216 TP_PROTO(struct mhi_controller *mhi_cntrl, struct mhi_chan *mhi_chan, int state,
242 TP_PROTO(struct mhi_controller *mhi_cntrl, struct mhi_chan *mhi_chan, int state,
250 TP_PROTO(struct mhi_controller *mhi_cntrl, struct mhi_chan *mhi_chan, int state,
258 TP_PROTO(struct mhi_controller *mhi_cntrl, int state),
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 …]
A Dpci_generic.c835 struct mhi_controller mhi_cntrl;
1004 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_recovery_work()
1050 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in health_check()
1105 struct mhi_controller *mhi_cntrl; in mhi_pci_probe()
1204 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_remove()
1230 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_reset_prepare()
1252 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_reset_done()
1286 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_error_detected()
1338 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_runtime_suspend()
1370 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_runtime_resume()
[all …]
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 …]
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 int mhi_fw_load_bhie(struct mhi_controller *mhi_cntrl, in mhi_fw_load_bhie()
228 static int mhi_fw_load_bhi(struct mhi_controller *mhi_cntrl, in mhi_fw_load_bhi()
299 void mhi_free_bhie_table(struct mhi_controller *mhi_cntrl, in mhi_free_bhie_table()
313 int mhi_alloc_bhie_table(struct mhi_controller *mhi_cntrl, in mhi_alloc_bhie_table()
367 static void mhi_firmware_copy(struct mhi_controller *mhi_cntrl, in mhi_firmware_copy()
388 void mhi_fw_load_handler(struct mhi_controller *mhi_cntrl) in mhi_fw_load_handler()
526 int mhi_download_amss_image(struct mhi_controller *mhi_cntrl) in mhi_download_amss_image()
/linux/include/linux/
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/drivers/accel/qaic/
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);
A Dmhi_controller.c437 static int mhi_read_reg(struct mhi_controller *mhi_cntrl, void __iomem *addr, u32 *out) in mhi_read_reg()
462 static void mhi_write_reg(struct mhi_controller *mhi_cntrl, void __iomem *addr, u32 val) in mhi_write_reg()
467 static int mhi_runtime_get(struct mhi_controller *mhi_cntrl) in mhi_runtime_get()
472 static void mhi_runtime_put(struct mhi_controller *mhi_cntrl) in mhi_runtime_put()
476 static void mhi_status_cb(struct mhi_controller *mhi_cntrl, enum mhi_callback reason) in mhi_status_cb()
488 static int mhi_reset_and_async_power_up(struct mhi_controller *mhi_cntrl) in mhi_reset_and_async_power_up()
515 struct mhi_controller *qaic_mhi_register_controller(struct pci_dev *pci_dev, void __iomem *mhi_bar, in qaic_mhi_register_controller()
518 struct mhi_controller *mhi_cntrl; in qaic_mhi_register_controller()
592 void qaic_mhi_free_controller(struct mhi_controller *mhi_cntrl, bool link_up) in qaic_mhi_free_controller()
599 void qaic_mhi_start_reset(struct mhi_controller *mhi_cntrl) in qaic_mhi_start_reset()
[all …]
A DMakefile9 mhi_controller.o \
A Dqaic.h121 struct mhi_controller *mhi_cntrl;
/linux/drivers/net/wireless/ath/ath11k/
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()
427 struct mhi_controller *mhi_ctrl = ab_pci->mhi_ctrl; in ath11k_mhi_unregister()
A Dpci.h65 struct mhi_controller *mhi_ctrl;
/linux/drivers/net/wireless/ath/ath12k/
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()
A Dpci.h104 struct mhi_controller *mhi_ctrl;
/linux/drivers/net/wwan/
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()
A Dmhi_wwan_ctrl.c217 struct mhi_controller *cntrl = mhi_dev->mhi_cntrl; in mhi_wwan_ctrl_probe()
/linux/Documentation/mhi/
A Dtopology.rst24 * Allocates struct mhi_controller and registers with the MHI bus framework

Completed in 38 milliseconds