Lines Matching defs:mhi_cntrl

19 int __must_check mhi_read_reg(struct mhi_controller *mhi_cntrl,  in mhi_read_reg()
25 int __must_check mhi_read_reg_field(struct mhi_controller *mhi_cntrl, in mhi_read_reg_field()
41 int __must_check mhi_poll_reg_field(struct mhi_controller *mhi_cntrl, in mhi_poll_reg_field()
62 void mhi_write_reg(struct mhi_controller *mhi_cntrl, void __iomem *base, in mhi_write_reg()
68 int __must_check mhi_write_reg_field(struct mhi_controller *mhi_cntrl, in mhi_write_reg_field()
86 void mhi_write_db(struct mhi_controller *mhi_cntrl, void __iomem *db_addr, in mhi_write_db()
93 void mhi_db_brstmode(struct mhi_controller *mhi_cntrl, in mhi_db_brstmode()
105 void mhi_db_brstmode_disable(struct mhi_controller *mhi_cntrl, in mhi_db_brstmode_disable()
122 void mhi_ring_cmd_db(struct mhi_controller *mhi_cntrl, struct mhi_cmd *mhi_cmd) in mhi_ring_cmd_db()
132 void mhi_ring_chan_db(struct mhi_controller *mhi_cntrl, in mhi_ring_chan_db()
151 enum mhi_ee_type mhi_get_exec_env(struct mhi_controller *mhi_cntrl) in mhi_get_exec_env()
160 enum mhi_state mhi_get_mhi_state(struct mhi_controller *mhi_cntrl) in mhi_get_mhi_state()
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()
194 int mhi_map_single_use_bb(struct mhi_controller *mhi_cntrl, in mhi_map_single_use_bb()
211 void mhi_unmap_single_no_bb(struct mhi_controller *mhi_cntrl, in mhi_unmap_single_no_bb()
218 void mhi_unmap_single_use_bb(struct mhi_controller *mhi_cntrl, in mhi_unmap_single_use_bb()
228 static int get_nr_avail_ring_elements(struct mhi_controller *mhi_cntrl, in get_nr_avail_ring_elements()
249 static void mhi_add_ring_element(struct mhi_controller *mhi_cntrl, in mhi_add_ring_element()
259 static void mhi_del_ring_element(struct mhi_controller *mhi_cntrl, in mhi_del_ring_element()
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()
432 struct mhi_controller *mhi_cntrl = mhi_event->mhi_cntrl; in mhi_irq_handler() local
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
547 static void mhi_recycle_ev_ring_element(struct mhi_controller *mhi_cntrl, in mhi_recycle_ev_ring_element()
567 static int parse_xfer_event(struct mhi_controller *mhi_cntrl, in parse_xfer_event()
702 static int parse_rsc_event(struct mhi_controller *mhi_cntrl, in parse_rsc_event()
766 static void mhi_process_cmd_completion(struct mhi_controller *mhi_cntrl, in mhi_process_cmd_completion()
801 int mhi_process_ctrl_ev_ring(struct mhi_controller *mhi_cntrl, in mhi_process_ctrl_ev_ring()
971 int mhi_process_data_event_ring(struct mhi_controller *mhi_cntrl, in mhi_process_data_event_ring()
1044 struct mhi_controller *mhi_cntrl = mhi_event->mhi_cntrl; in mhi_ev_task() local
1055 struct mhi_controller *mhi_cntrl = mhi_event->mhi_cntrl; in mhi_ctrl_ev_task() local
1098 static bool mhi_is_ring_full(struct mhi_controller *mhi_cntrl, in mhi_is_ring_full()
1112 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_queue() local
1195 int mhi_gen_tre(struct mhi_controller *mhi_cntrl, struct mhi_chan *mhi_chan, in mhi_gen_tre()
1257 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_queue_is_full() local
1266 int mhi_send_cmd(struct mhi_controller *mhi_cntrl, in mhi_send_cmd()
1319 static int mhi_update_channel_state(struct mhi_controller *mhi_cntrl, in mhi_update_channel_state()
1406 static void mhi_unprepare_channel(struct mhi_controller *mhi_cntrl, in mhi_unprepare_channel()
1441 int mhi_prepare_channel(struct mhi_controller *mhi_cntrl, in mhi_prepare_channel()
1526 static void mhi_mark_stale_events(struct mhi_controller *mhi_cntrl, in mhi_mark_stale_events()
1569 static void mhi_reset_data_chan(struct mhi_controller *mhi_cntrl, in mhi_reset_data_chan()
1604 void mhi_reset_chan(struct mhi_controller *mhi_cntrl, struct mhi_chan *mhi_chan) in mhi_reset_chan()
1628 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in __mhi_prepare_for_transfer() local
1669 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_unprepare_from_transfer() local
1685 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_poll() local