Home
last modified time | relevance | path

Searched defs:mhi_cntrl (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/bus/mhi/ep/
A Dmmio.c13 u32 mhi_ep_mmio_read(struct mhi_ep_cntrl *mhi_cntrl, u32 offset) in mhi_ep_mmio_read()
18 void mhi_ep_mmio_write(struct mhi_ep_cntrl *mhi_cntrl, u32 offset, u32 val) in mhi_ep_mmio_write()
157 void mhi_ep_mmio_mask_interrupts(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_mmio_mask_interrupts()
183 void mhi_ep_mmio_get_chc_base(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_mmio_get_chc_base()
195 void mhi_ep_mmio_get_erc_base(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_mmio_get_erc_base()
207 void mhi_ep_mmio_get_crc_base(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_mmio_get_crc_base()
221 struct mhi_ep_cntrl *mhi_cntrl = ring->mhi_cntrl; in mhi_ep_mmio_get_db() local
240 void mhi_ep_mmio_clear_reset(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_mmio_clear_reset()
245 void mhi_ep_mmio_reset(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_mmio_reset()
252 void mhi_ep_mmio_init(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_mmio_init()
[all …]
A Dmain.c165 struct mhi_ep_cntrl *mhi_cntrl = ring->mhi_cntrl; in mhi_ep_process_cmd_ring() local
330 struct mhi_ep_cntrl *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_ep_queue_is_empty() local
340 struct mhi_ep_cntrl *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_ep_read_completion() local
483 struct mhi_ep_cntrl *mhi_cntrl = ring->mhi_cntrl; in mhi_ep_process_ch_ring() local
522 struct mhi_ep_cntrl *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_ep_skb_completion() local
551 struct mhi_ep_cntrl *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_ep_queue_skb() local
741 static int mhi_ep_enable(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_enable()
998 struct mhi_ep_cntrl *mhi_cntrl = data; in mhi_ep_irq() local
1140 int mhi_ep_power_up(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_power_up()
1195 void mhi_ep_power_down(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_power_down()
[all …]
A Dsm.c11 bool __must_check mhi_ep_check_mhi_state(struct mhi_ep_cntrl *mhi_cntrl, in mhi_ep_check_mhi_state()
30 int mhi_ep_set_mhi_state(struct mhi_ep_cntrl *mhi_cntrl, enum mhi_state mhi_state) in mhi_ep_set_mhi_state()
59 int mhi_ep_set_m0_state(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_set_m0_state()
100 int mhi_ep_set_m3_state(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_set_m3_state()
128 int mhi_ep_set_ready_state(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_set_ready_state()
A Dring.c31 struct mhi_ep_cntrl *mhi_cntrl = ring->mhi_cntrl; in __mhi_ep_cache_ring() local
108 struct mhi_ep_cntrl *mhi_cntrl = ring->mhi_cntrl; in mhi_ep_ring_add_element() local
168 struct mhi_ep_cntrl *mhi_cntrl = ring->mhi_cntrl; in mhi_ep_raise_irq() local
174 int mhi_ep_ring_start(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_ring *ring, in mhi_ep_ring_start()
221 void mhi_ep_ring_reset(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_ring *ring) in mhi_ep_ring_reset()
A Dinternal.h125 struct mhi_ep_cntrl *mhi_cntrl; member
/linux/drivers/bus/mhi/host/
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() local
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() local
1315 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_device_get_sync() local
[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() local
339 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_get_free_desc_count() local
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() local
539 struct mhi_controller *mhi_cntrl = dev; in mhi_intvec_handler() local
[all …]
A Dinit.c86 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in serial_number_show() local
98 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in oem_pk_hash_show() local
123 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in soc_reset_store() local
135 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in trigger_edl_store() local
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()
257 void mhi_deinit_dev_ctxt(struct mhi_controller *mhi_cntrl) in mhi_deinit_dev_ctxt()
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()
[all …]
A Dpci_generic.c835 struct mhi_controller mhi_cntrl; member
1004 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_recovery_work() local
1050 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in health_check() local
1105 struct mhi_controller *mhi_cntrl; in mhi_pci_probe() local
1204 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_remove() local
1230 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_reset_prepare() local
1252 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_reset_done() local
1286 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_error_detected() local
1338 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_runtime_suspend() local
1370 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_runtime_resume() local
[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()
A Ddebugfs.c17 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_states_show() local
40 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_events_show() local
83 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_channels_show() local
155 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_devices_show() local
171 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_regdump_show() local
233 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_device_wake_show() local
253 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_device_wake_write() local
273 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_timeout_ms_show() local
285 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_timeout_ms_write() local
377 void mhi_create_debugfs(struct mhi_controller *mhi_cntrl) in mhi_create_debugfs()
[all …]
A Dinternal.h157 #define MHI_DB_ACCESS_VALID(mhi_cntrl) (mhi_cntrl->pm_state & mhi_cntrl->db_access) argument
233 struct mhi_controller *mhi_cntrl; member
294 static inline void mhi_create_debugfs(struct mhi_controller *mhi_cntrl) in mhi_create_debugfs()
298 static inline void mhi_destroy_debugfs(struct mhi_controller *mhi_cntrl) in mhi_destroy_debugfs()
338 static inline bool mhi_is_active(struct mhi_controller *mhi_cntrl) in mhi_is_active()
344 static inline void mhi_trigger_resume(struct mhi_controller *mhi_cntrl) in mhi_trigger_resume()
/linux/drivers/accel/qaic/
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()
518 struct mhi_controller *mhi_cntrl; in qaic_mhi_register_controller() local
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()
604 void qaic_mhi_reset_done(struct mhi_controller *mhi_cntrl) in qaic_mhi_reset_done()
A Dqaic.h121 struct mhi_controller *mhi_cntrl; member
/linux/drivers/pci/endpoint/functions/
A Dpci-epf-mhi.c146 struct mhi_ep_cntrl mhi_cntrl; member
203 static void __pci_epf_mhi_unmap_free(struct mhi_ep_cntrl *mhi_cntrl, in __pci_epf_mhi_unmap_free()
242 static int pci_epf_mhi_iatu_read(struct mhi_ep_cntrl *mhi_cntrl, in pci_epf_mhi_iatu_read()
273 static int pci_epf_mhi_iatu_write(struct mhi_ep_cntrl *mhi_cntrl, in pci_epf_mhi_iatu_write()
309 static int pci_epf_mhi_edma_read(struct mhi_ep_cntrl *mhi_cntrl, in pci_epf_mhi_edma_read()
380 static int pci_epf_mhi_edma_write(struct mhi_ep_cntrl *mhi_cntrl, in pci_epf_mhi_edma_write()
773 struct mhi_ep_cntrl *mhi_cntrl = &epf_mhi->mhi_cntrl; in pci_epf_mhi_epc_deinit() local
790 struct mhi_ep_cntrl *mhi_cntrl = &epf_mhi->mhi_cntrl; in pci_epf_mhi_link_up() local
829 struct mhi_ep_cntrl *mhi_cntrl = &epf_mhi->mhi_cntrl; in pci_epf_mhi_link_down() local
845 struct mhi_ep_cntrl *mhi_cntrl = &epf_mhi->mhi_cntrl; in pci_epf_mhi_bus_master_enable() local
[all …]
/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()
/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()
/linux/include/linux/
A Dmhi_ep.h194 struct mhi_ep_cntrl *mhi_cntrl; member
A Dmhi.h469 struct mhi_controller *mhi_cntrl; member

Completed in 54 milliseconds