Lines Matching refs:mhi_controller
20 int __must_check mhi_read_reg(struct mhi_controller *mhi_cntrl, in mhi_read_reg()
26 int __must_check mhi_read_reg_field(struct mhi_controller *mhi_cntrl, in mhi_read_reg_field()
42 int __must_check mhi_poll_reg_field(struct mhi_controller *mhi_cntrl, in mhi_poll_reg_field()
64 void mhi_write_reg(struct mhi_controller *mhi_cntrl, void __iomem *base, in mhi_write_reg()
70 int __must_check mhi_write_reg_field(struct mhi_controller *mhi_cntrl, in mhi_write_reg_field()
88 void mhi_write_db(struct mhi_controller *mhi_cntrl, void __iomem *db_addr, in mhi_write_db()
95 void mhi_db_brstmode(struct mhi_controller *mhi_cntrl, in mhi_db_brstmode()
107 void mhi_db_brstmode_disable(struct mhi_controller *mhi_cntrl, in mhi_db_brstmode_disable()
124 void mhi_ring_cmd_db(struct mhi_controller *mhi_cntrl, struct mhi_cmd *mhi_cmd) in mhi_ring_cmd_db()
134 void mhi_ring_chan_db(struct mhi_controller *mhi_cntrl, in mhi_ring_chan_db()
153 enum mhi_ee_type mhi_get_exec_env(struct mhi_controller *mhi_cntrl) in mhi_get_exec_env()
162 enum mhi_state mhi_get_mhi_state(struct mhi_controller *mhi_cntrl) in mhi_get_mhi_state()
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()
196 int mhi_map_single_use_bb(struct mhi_controller *mhi_cntrl, in mhi_map_single_use_bb()
213 void mhi_unmap_single_no_bb(struct mhi_controller *mhi_cntrl, in mhi_unmap_single_no_bb()
220 void mhi_unmap_single_use_bb(struct mhi_controller *mhi_cntrl, in mhi_unmap_single_use_bb()
230 static int get_nr_avail_ring_elements(struct mhi_controller *mhi_cntrl, in get_nr_avail_ring_elements()
251 static void mhi_add_ring_element(struct mhi_controller *mhi_cntrl, in mhi_add_ring_element()
261 static void mhi_del_ring_element(struct mhi_controller *mhi_cntrl, in mhi_del_ring_element()
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()
435 struct mhi_controller *mhi_cntrl = mhi_event->mhi_cntrl; in mhi_irq_handler()
483 struct mhi_controller *mhi_cntrl = priv; in mhi_intvec_threaded_handler()
539 struct mhi_controller *mhi_cntrl = dev; in mhi_intvec_handler()
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()
706 static int parse_rsc_event(struct mhi_controller *mhi_cntrl, in parse_rsc_event()
770 static void mhi_process_cmd_completion(struct mhi_controller *mhi_cntrl, in mhi_process_cmd_completion()
805 int mhi_process_ctrl_ev_ring(struct mhi_controller *mhi_cntrl, in mhi_process_ctrl_ev_ring()
978 int mhi_process_data_event_ring(struct mhi_controller *mhi_cntrl, in mhi_process_data_event_ring()
1055 struct mhi_controller *mhi_cntrl = mhi_event->mhi_cntrl; in mhi_ev_task()
1066 struct mhi_controller *mhi_cntrl = mhi_event->mhi_cntrl; in mhi_ctrl_ev_task()
1109 static bool mhi_is_ring_full(struct mhi_controller *mhi_cntrl, in mhi_is_ring_full()
1123 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_queue()
1203 int mhi_gen_tre(struct mhi_controller *mhi_cntrl, struct mhi_chan *mhi_chan, in mhi_gen_tre()
1273 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_queue_is_full()
1282 int mhi_send_cmd(struct mhi_controller *mhi_cntrl, in mhi_send_cmd()
1335 static int mhi_update_channel_state(struct mhi_controller *mhi_cntrl, in mhi_update_channel_state()
1418 static void mhi_unprepare_channel(struct mhi_controller *mhi_cntrl, in mhi_unprepare_channel()
1453 int mhi_prepare_channel(struct mhi_controller *mhi_cntrl, in mhi_prepare_channel()
1538 static void mhi_mark_stale_events(struct mhi_controller *mhi_cntrl, in mhi_mark_stale_events()
1581 static void mhi_reset_data_chan(struct mhi_controller *mhi_cntrl, in mhi_reset_data_chan()
1616 void mhi_reset_chan(struct mhi_controller *mhi_cntrl, struct mhi_chan *mhi_chan) in mhi_reset_chan()
1640 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in __mhi_prepare_for_transfer()
1681 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_unprepare_from_transfer()
1695 int mhi_get_channel_doorbell_offset(struct mhi_controller *mhi_cntrl, u32 *chdb_offset) in mhi_get_channel_doorbell_offset()