Lines Matching refs:mhi_ep_cntrl
25 static int mhi_ep_create_device(struct mhi_ep_cntrl *mhi_cntrl, u32 ch_id);
28 static int mhi_ep_send_event(struct mhi_ep_cntrl *mhi_cntrl, u32 ring_idx, in mhi_ep_send_event()
71 static int mhi_ep_send_completion_event(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_ring *ring, in mhi_ep_send_completion_event()
83 int mhi_ep_send_state_change_event(struct mhi_ep_cntrl *mhi_cntrl, enum mhi_state state) in mhi_ep_send_state_change_event()
93 int mhi_ep_send_ee_event(struct mhi_ep_cntrl *mhi_cntrl, enum mhi_ee_type exec_env) in mhi_ep_send_ee_event()
103 static int mhi_ep_send_cmd_comp_event(struct mhi_ep_cntrl *mhi_cntrl, enum mhi_ev_ccs code) in mhi_ep_send_cmd_comp_event()
117 struct mhi_ep_cntrl *mhi_cntrl = ring->mhi_cntrl; in mhi_ep_process_cmd_ring()
280 struct mhi_ep_cntrl *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_ep_queue_is_empty()
287 static int mhi_ep_read_channel(struct mhi_ep_cntrl *mhi_cntrl, in mhi_ep_read_channel()
399 struct mhi_ep_cntrl *mhi_cntrl = ring->mhi_cntrl; in mhi_ep_process_ch_ring()
451 struct mhi_ep_cntrl *mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_ep_queue_skb()
530 static int mhi_ep_cache_host_cfg(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_cache_host_cfg()
610 static void mhi_ep_free_host_cfg(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_free_host_cfg()
628 static void mhi_ep_enable_int(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_enable_int()
639 static int mhi_ep_enable(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_enable()
680 struct mhi_ep_cntrl *mhi_cntrl = container_of(work, struct mhi_ep_cntrl, cmd_ring_work); in mhi_ep_cmd_ring_worker()
714 struct mhi_ep_cntrl *mhi_cntrl = container_of(work, struct mhi_ep_cntrl, ch_ring_work); in mhi_ep_ch_ring_worker()
781 struct mhi_ep_cntrl *mhi_cntrl = container_of(work, struct mhi_ep_cntrl, state_work); in mhi_ep_state_worker()
816 static void mhi_ep_queue_channel_db(struct mhi_ep_cntrl *mhi_cntrl, unsigned long ch_int, in mhi_ep_queue_channel_db()
854 static void mhi_ep_check_channel_interrupt(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_check_channel_interrupt()
875 static void mhi_ep_process_ctrl_interrupt(struct mhi_ep_cntrl *mhi_cntrl, in mhi_ep_process_ctrl_interrupt()
899 struct mhi_ep_cntrl *mhi_cntrl = data; in mhi_ep_irq()
935 static void mhi_ep_abort_transfer(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_abort_transfer()
999 struct mhi_ep_cntrl *mhi_cntrl = container_of(work, struct mhi_ep_cntrl, reset_work); in mhi_ep_reset_worker()
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()
1105 void mhi_ep_suspend_channels(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_suspend_channels()
1135 void mhi_ep_resume_channels(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_resume_channels()
1186 static struct mhi_ep_device *mhi_ep_alloc_device(struct mhi_ep_cntrl *mhi_cntrl, in mhi_ep_alloc_device()
1221 static int mhi_ep_create_device(struct mhi_ep_cntrl *mhi_cntrl, u32 ch_id) in mhi_ep_create_device()
1270 struct mhi_ep_cntrl *mhi_cntrl; in mhi_ep_destroy_device()
1302 static int mhi_ep_chan_init(struct mhi_ep_cntrl *mhi_cntrl, in mhi_ep_chan_init()
1359 int mhi_ep_register_controller(struct mhi_ep_cntrl *mhi_cntrl, in mhi_ep_register_controller()
1458 void mhi_ep_unregister_controller(struct mhi_ep_cntrl *mhi_cntrl) in mhi_ep_unregister_controller()