Home
last modified time | relevance | path

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

/linux-6.3-rc2/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.c117 struct mhi_ep_cntrl *mhi_cntrl = ring->mhi_cntrl; in mhi_ep_process_cmd_ring() local
280 struct mhi_ep_cntrl *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_ep_queue_is_empty() local
399 struct mhi_ep_cntrl *mhi_cntrl = ring->mhi_cntrl; in mhi_ep_process_ch_ring() local
451 struct mhi_ep_cntrl *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_ep_queue_skb() local
639 static int mhi_ep_enable(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_enable()
899 struct mhi_ep_cntrl *mhi_cntrl = data; in mhi_ep_irq() local
1026 void mhi_ep_handle_syserr(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_handle_syserr()
1041 int mhi_ep_power_up(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_power_up()
1095 void mhi_ep_power_down(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_power_down()
1135 void mhi_ep_resume_channels(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_resume_channels()
[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
103 struct mhi_ep_cntrl *mhi_cntrl = ring->mhi_cntrl; in mhi_ep_ring_add_element() local
160 int mhi_ep_ring_start(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_ring *ring, in mhi_ep_ring_start()
202 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-6.3-rc2/drivers/bus/mhi/host/
A Dpm.c247 int mhi_pm_m0_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_m0_transition()
322 void mhi_pm_m1_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_m1_transition()
358 int mhi_pm_m3_transition(struct mhi_controller *mhi_cntrl) in mhi_pm_m3_transition()
748 struct mhi_controller *mhi_cntrl = container_of(work, in mhi_pm_st_worker() local
808 int mhi_pm_suspend(struct mhi_controller *mhi_cntrl) in mhi_pm_suspend()
960 int mhi_pm_resume(struct mhi_controller *mhi_cntrl) in mhi_pm_resume()
1062 int mhi_async_power_up(struct mhi_controller *mhi_cntrl) in mhi_async_power_up()
1197 int mhi_sync_power_up(struct mhi_controller *mhi_cntrl) in mhi_sync_power_up()
1241 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_device_get() local
1255 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_device_get_sync() local
[all …]
A Dmain.c19 int __must_check mhi_read_reg(struct mhi_controller *mhi_cntrl, in mhi_read_reg()
93 void mhi_db_brstmode(struct mhi_controller *mhi_cntrl, in mhi_db_brstmode()
132 void mhi_ring_chan_db(struct mhi_controller *mhi_cntrl, in mhi_ring_chan_db()
169 void mhi_soc_reset(struct mhi_controller *mhi_cntrl) in mhi_soc_reset()
182 int mhi_map_single_no_bb(struct mhi_controller *mhi_cntrl, in mhi_map_single_no_bb()
278 struct mhi_controller *mhi_cntrl; in mhi_destroy_device() local
336 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_get_free_desc_count() local
360 void mhi_create_devices(struct mhi_controller *mhi_cntrl) in mhi_create_devices()
480 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.c87 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in serial_number_show() local
99 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in oem_pk_hash_show() local
116 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in soc_reset_store() local
148 void mhi_deinit_free_irq(struct mhi_controller *mhi_cntrl) in mhi_deinit_free_irq()
163 int mhi_init_irq_setup(struct mhi_controller *mhi_cntrl) in mhi_init_irq_setup()
226 void mhi_deinit_dev_ctxt(struct mhi_controller *mhi_cntrl) in mhi_deinit_dev_ctxt()
271 int mhi_init_dev_ctxt(struct mhi_controller *mhi_cntrl) in mhi_init_dev_ctxt()
439 int mhi_init_mmio(struct mhi_controller *mhi_cntrl) in mhi_init_mmio()
604 int mhi_init_chan_ctxt(struct mhi_controller *mhi_cntrl, in mhi_init_chan_ctxt()
1068 struct mhi_controller *mhi_cntrl; in mhi_alloc_controller() local
[all …]
A Dpci_generic.c618 struct mhi_controller mhi_cntrl; member
787 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_recovery_work() local
833 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in health_check() local
854 struct mhi_controller *mhi_cntrl; in mhi_pci_probe() local
953 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_remove() local
980 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_reset_prepare() local
1002 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_reset_done() local
1036 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_error_detected() local
1088 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_runtime_suspend() local
1120 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()
390 void mhi_fw_load_handler(struct mhi_controller *mhi_cntrl) in mhi_fw_load_handler()
515 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.h117 #define MHI_DB_ACCESS_VALID(mhi_cntrl) (mhi_cntrl->pm_state & mhi_cntrl->db_access) argument
193 struct mhi_controller *mhi_cntrl; member
254 static inline void mhi_create_debugfs(struct mhi_controller *mhi_cntrl) in mhi_create_debugfs()
258 static inline void mhi_destroy_debugfs(struct mhi_controller *mhi_cntrl) in mhi_destroy_debugfs()
298 static inline bool mhi_is_active(struct mhi_controller *mhi_cntrl) in mhi_is_active()
304 static inline void mhi_trigger_resume(struct mhi_controller *mhi_cntrl) in mhi_trigger_resume()
/linux-6.3-rc2/drivers/net/wireless/ath/ath11k/
A Dmhi.c288 static int ath11k_mhi_op_runtime_get(struct mhi_controller *mhi_cntrl) in ath11k_mhi_op_runtime_get()
293 static void ath11k_mhi_op_runtime_put(struct mhi_controller *mhi_cntrl) in ath11k_mhi_op_runtime_put()
323 static void ath11k_mhi_op_status_cb(struct mhi_controller *mhi_cntrl, in ath11k_mhi_op_status_cb()
344 static int ath11k_mhi_op_read_reg(struct mhi_controller *mhi_cntrl, in ath11k_mhi_op_read_reg()
353 static void ath11k_mhi_op_write_reg(struct mhi_controller *mhi_cntrl, in ath11k_mhi_op_write_reg()
/linux-6.3-rc2/drivers/net/wireless/ath/ath12k/
A Dmhi.c278 static int ath12k_mhi_op_runtime_get(struct mhi_controller *mhi_cntrl) in ath12k_mhi_op_runtime_get()
283 static void ath12k_mhi_op_runtime_put(struct mhi_controller *mhi_cntrl) in ath12k_mhi_op_runtime_put()
313 static void ath12k_mhi_op_status_cb(struct mhi_controller *mhi_cntrl, in ath12k_mhi_op_status_cb()
334 static int ath12k_mhi_op_read_reg(struct mhi_controller *mhi_cntrl, in ath12k_mhi_op_read_reg()
343 static void ath12k_mhi_op_write_reg(struct mhi_controller *mhi_cntrl, in ath12k_mhi_op_write_reg()
/linux-6.3-rc2/include/linux/
A Dmhi_ep.h166 struct mhi_ep_cntrl *mhi_cntrl; member
A Dmhi.h474 struct mhi_controller *mhi_cntrl; member

Completed in 39 milliseconds