Searched refs:mhi_controller (Results 1 - 19 of 19) sorted by relevance

/linux-master/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 DMakefile9 mhi_controller.o \
H A Dmhi_controller.c14 #include "mhi_controller.h"
437 static int mhi_read_reg(struct mhi_controller *mhi_cntrl, void __iomem *addr, u32 *out)
462 static void mhi_write_reg(struct mhi_controller *mhi_cntrl, void __iomem *addr, u32 val)
467 static int mhi_runtime_get(struct mhi_controller *mhi_cntrl)
472 static void mhi_runtime_put(struct mhi_controller *mhi_cntrl)
476 static void mhi_status_cb(struct mhi_controller *mhi_cntrl, enum mhi_callback reason)
488 static int mhi_reset_and_async_power_up(struct mhi_controller *mhi_cntrl)
515 struct mhi_controller *qaic_mhi_register_controller(struct pci_dev *pci_dev, void __iomem *mhi_bar,
518 struct mhi_controller *mhi_cntrl;
592 void qaic_mhi_free_controller(struct mhi_controller *mhi_cntr
[all...]
H A Dqaic.h121 struct mhi_controller *mhi_cntrl;
/linux-master/drivers/bus/mhi/host/
H A Dinternal.h183 void (*process_db)(struct mhi_controller *mhi_cntrl,
231 struct mhi_controller *mhi_cntrl;
243 int (*process_event)(struct mhi_controller *mhi_cntrl,
287 void mhi_create_debugfs(struct mhi_controller *mhi_cntrl);
288 void mhi_destroy_debugfs(struct mhi_controller *mhi_cntrl);
292 static inline void mhi_create_debugfs(struct mhi_controller *mhi_cntrl)
296 static inline void mhi_destroy_debugfs(struct mhi_controller *mhi_cntrl)
309 struct mhi_device *mhi_alloc_device(struct mhi_controller *mhi_cntrl);
312 void mhi_create_devices(struct mhi_controller *mhi_cntrl);
314 int mhi_alloc_bhie_table(struct mhi_controller *mhi_cntr
[all...]
H 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_cntr
[all...]
H A Dmain.c20 int __must_check mhi_read_reg(struct mhi_controller *mhi_cntrl,
26 int __must_check mhi_read_reg_field(struct mhi_controller *mhi_cntrl,
42 int __must_check mhi_poll_reg_field(struct mhi_controller *mhi_cntrl,
64 void mhi_write_reg(struct mhi_controller *mhi_cntrl, void __iomem *base,
70 int __must_check mhi_write_reg_field(struct mhi_controller *mhi_cntrl,
88 void mhi_write_db(struct mhi_controller *mhi_cntrl, void __iomem *db_addr,
95 void mhi_db_brstmode(struct mhi_controller *mhi_cntrl,
107 void mhi_db_brstmode_disable(struct mhi_controller *mhi_cntrl,
124 void mhi_ring_cmd_db(struct mhi_controller *mhi_cntrl, struct mhi_cmd *mhi_cmd)
134 void mhi_ring_chan_db(struct mhi_controller *mhi_cntr
[all...]
H A Ddebugfs.c17 struct mhi_controller *mhi_cntrl = m->private;
40 struct mhi_controller *mhi_cntrl = m->private;
83 struct mhi_controller *mhi_cntrl = m->private;
155 struct mhi_controller *mhi_cntrl = m->private;
171 struct mhi_controller *mhi_cntrl = m->private;
233 struct mhi_controller *mhi_cntrl = m->private;
253 struct mhi_controller *mhi_cntrl = m->private;
273 struct mhi_controller *mhi_cntrl = m->private;
285 struct mhi_controller *mhi_cntrl = m->private;
377 void mhi_create_debugfs(struct mhi_controller *mhi_cntr
[all...]
H A Dpm.c120 enum mhi_pm_state __must_check mhi_tryset_pm_state(struct mhi_controller *mhi_cntrl,
140 void mhi_set_mhi_state(struct mhi_controller *mhi_cntrl, enum mhi_state state)
159 static void mhi_toggle_dev_wake_nop(struct mhi_controller *mhi_cntrl)
163 static void mhi_toggle_dev_wake(struct mhi_controller *mhi_cntrl)
170 int mhi_ready_state_transition(struct mhi_controller *mhi_cntrl)
262 int mhi_pm_m0_transition(struct mhi_controller *mhi_cntrl)
337 void mhi_pm_m1_transition(struct mhi_controller *mhi_cntrl)
373 int mhi_pm_m3_transition(struct mhi_controller *mhi_cntrl)
394 static int mhi_pm_mission_mode_transition(struct mhi_controller *mhi_cntrl)
471 static void mhi_pm_disable_transition(struct mhi_controller *mhi_cntr
[all...]
H A Dpci_generic.c700 struct mhi_controller mhi_cntrl;
707 static int mhi_pci_read_reg(struct mhi_controller *mhi_cntrl,
714 static void mhi_pci_write_reg(struct mhi_controller *mhi_cntrl,
720 static void mhi_pci_status_cb(struct mhi_controller *mhi_cntrl,
740 static void mhi_pci_wake_get_nop(struct mhi_controller *mhi_cntrl, bool force)
745 static void mhi_pci_wake_put_nop(struct mhi_controller *mhi_cntrl, bool override)
750 static void mhi_pci_wake_toggle_nop(struct mhi_controller *mhi_cntrl)
755 static bool mhi_pci_is_alive(struct mhi_controller *mhi_cntrl)
769 static int mhi_pci_claim(struct mhi_controller *mhi_cntrl,
804 static int mhi_pci_get_irqs(struct mhi_controller *mhi_cntr
[all...]
H A Dinit.c86 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl;
98 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl;
123 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl;
139 static int mhi_alloc_aligned_ring(struct mhi_controller *mhi_cntrl,
155 void mhi_deinit_free_irq(struct mhi_controller *mhi_cntrl)
170 int mhi_init_irq_setup(struct mhi_controller *mhi_cntrl)
233 void mhi_deinit_dev_ctxt(struct mhi_controller *mhi_cntrl)
278 int mhi_init_dev_ctxt(struct mhi_controller *mhi_cntrl)
446 int mhi_init_mmio(struct mhi_controller *mhi_cntrl)
588 void mhi_deinit_chan_ctxt(struct mhi_controller *mhi_cntr
[all...]
H A Dboot.c22 int mhi_rddm_prepare(struct mhi_controller *mhi_cntrl,
63 static int __mhi_download_rddm_in_panic(struct mhi_controller *mhi_cntrl)
157 int mhi_download_rddm_image(struct mhi_controller *mhi_cntrl, bool in_panic)
180 static int mhi_fw_load_bhie(struct mhi_controller *mhi_cntrl,
228 static int mhi_fw_load_bhi(struct mhi_controller *mhi_cntrl,
299 void mhi_free_bhie_table(struct mhi_controller *mhi_cntrl,
313 int mhi_alloc_bhie_table(struct mhi_controller *mhi_cntrl,
367 static void mhi_firmware_copy(struct mhi_controller *mhi_cntrl,
388 void mhi_fw_load_handler(struct mhi_controller *mhi_cntrl)
526 int mhi_download_amss_image(struct mhi_controller *mhi_cntr
[all...]
/linux-master/include/linux/
H A Dmhi.h292 * struct mhi_controller - Master MHI controller structure
368 struct mhi_controller { struct
422 void (*status_cb)(struct mhi_controller *mhi_cntrl,
424 void (*wake_get)(struct mhi_controller *mhi_cntrl, bool override);
425 void (*wake_put)(struct mhi_controller *mhi_cntrl, bool override);
426 void (*wake_toggle)(struct mhi_controller *mhi_cntrl);
427 int (*runtime_get)(struct mhi_controller *mhi_cntrl);
428 void (*runtime_put)(struct mhi_controller *mhi_cntrl);
429 int (*map_single)(struct mhi_controller *mhi_cntrl,
431 void (*unmap_single)(struct mhi_controller *mhi_cntr
[all...]
/linux-master/drivers/net/wireless/ath/ath11k/
H A Dmhi.c233 static int ath11k_mhi_op_runtime_get(struct mhi_controller *mhi_cntrl)
238 static void ath11k_mhi_op_runtime_put(struct mhi_controller *mhi_cntrl)
268 static void ath11k_mhi_op_status_cb(struct mhi_controller *mhi_cntrl,
290 static int ath11k_mhi_op_read_reg(struct mhi_controller *mhi_cntrl,
299 static void ath11k_mhi_op_write_reg(struct mhi_controller *mhi_cntrl,
306 static int ath11k_mhi_read_addr_from_dt(struct mhi_controller *mhi_ctrl)
330 struct mhi_controller *mhi_ctrl;
416 struct mhi_controller *mhi_ctrl = ab_pci->mhi_ctrl;
H A Dpci.h65 struct mhi_controller *mhi_ctrl;
/linux-master/drivers/net/wireless/ath/ath12k/
H A Dmhi.c288 static int ath12k_mhi_op_runtime_get(struct mhi_controller *mhi_cntrl)
293 static void ath12k_mhi_op_runtime_put(struct mhi_controller *mhi_cntrl)
323 static void ath12k_mhi_op_status_cb(struct mhi_controller *mhi_cntrl,
344 static int ath12k_mhi_op_read_reg(struct mhi_controller *mhi_cntrl,
353 static void ath12k_mhi_op_write_reg(struct mhi_controller *mhi_cntrl,
363 struct mhi_controller *mhi_ctrl;
454 struct mhi_controller *mhi_ctrl = ab_pci->mhi_ctrl;
H A Dpci.h104 struct mhi_controller *mhi_ctrl;
/linux-master/drivers/net/wwan/
H A Dmhi_wwan_ctrl.c217 struct mhi_controller *cntrl = mhi_dev->mhi_cntrl;
H A Dmhi_wwan_mbim.c597 struct mhi_controller *cntrl = mhi_dev->mhi_cntrl;
627 struct mhi_controller *cntrl = mhi_dev->mhi_cntrl;

Completed in 146 milliseconds