• Home
  • Raw
  • Download

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()
63 void mhi_write_reg(struct mhi_controller *mhi_cntrl, void __iomem *base, in mhi_write_reg()
69 void mhi_write_reg_field(struct mhi_controller *mhi_cntrl, void __iomem *base, in mhi_write_reg_field()
84 void mhi_write_db(struct mhi_controller *mhi_cntrl, void __iomem *db_addr, in mhi_write_db()
91 void mhi_db_brstmode(struct mhi_controller *mhi_cntrl, in mhi_db_brstmode()
103 void mhi_db_brstmode_disable(struct mhi_controller *mhi_cntrl, in mhi_db_brstmode_disable()
120 void mhi_ring_cmd_db(struct mhi_controller *mhi_cntrl, struct mhi_cmd *mhi_cmd) in mhi_ring_cmd_db()
130 void mhi_ring_chan_db(struct mhi_controller *mhi_cntrl, in mhi_ring_chan_db()
149 enum mhi_ee_type mhi_get_exec_env(struct mhi_controller *mhi_cntrl) in mhi_get_exec_env()
158 enum mhi_state mhi_get_mhi_state(struct mhi_controller *mhi_cntrl) in mhi_get_mhi_state()
168 void mhi_soc_reset(struct mhi_controller *mhi_cntrl) in mhi_soc_reset()
181 int mhi_map_single_no_bb(struct mhi_controller *mhi_cntrl, in mhi_map_single_no_bb()
193 int mhi_map_single_use_bb(struct mhi_controller *mhi_cntrl, in mhi_map_single_use_bb()
210 void mhi_unmap_single_no_bb(struct mhi_controller *mhi_cntrl, in mhi_unmap_single_no_bb()
217 void mhi_unmap_single_use_bb(struct mhi_controller *mhi_cntrl, in mhi_unmap_single_use_bb()
227 static int get_nr_avail_ring_elements(struct mhi_controller *mhi_cntrl, in get_nr_avail_ring_elements()
248 static void mhi_add_ring_element(struct mhi_controller *mhi_cntrl, in mhi_add_ring_element()
258 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
467 struct mhi_controller *mhi_cntrl = priv; in mhi_intvec_threaded_handler() local
526 struct mhi_controller *mhi_cntrl = dev; in mhi_intvec_handler() local
534 static void mhi_recycle_ev_ring_element(struct mhi_controller *mhi_cntrl, in mhi_recycle_ev_ring_element()
559 static int parse_xfer_event(struct mhi_controller *mhi_cntrl, in parse_xfer_event()
698 static int parse_rsc_event(struct mhi_controller *mhi_cntrl, in parse_rsc_event()
762 static void mhi_process_cmd_completion(struct mhi_controller *mhi_cntrl, in mhi_process_cmd_completion()
797 int mhi_process_ctrl_ev_ring(struct mhi_controller *mhi_cntrl, in mhi_process_ctrl_ev_ring()
967 int mhi_process_data_event_ring(struct mhi_controller *mhi_cntrl, in mhi_process_data_event_ring()
1040 struct mhi_controller *mhi_cntrl = mhi_event->mhi_cntrl; in mhi_ev_task() local
1051 struct mhi_controller *mhi_cntrl = mhi_event->mhi_cntrl; in mhi_ctrl_ev_task() local
1094 static bool mhi_is_ring_full(struct mhi_controller *mhi_cntrl, in mhi_is_ring_full()
1108 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_queue() local
1188 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()
1522 static void mhi_mark_stale_events(struct mhi_controller *mhi_cntrl, in mhi_mark_stale_events()
1565 static void mhi_reset_data_chan(struct mhi_controller *mhi_cntrl, in mhi_reset_data_chan()
1600 void mhi_reset_chan(struct mhi_controller *mhi_cntrl, struct mhi_chan *mhi_chan) in mhi_reset_chan()
1625 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_prepare_for_transfer() local
1655 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_unprepare_from_transfer() local
1671 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_poll() local