Lines Matching defs:dwc
41 int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode()
72 int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state()
89 int dwc3_gadget_set_link_state(struct dwc3 *dwc, enum dwc3_link_state state) in dwc3_gadget_set_link_state()
178 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_del_and_unmap_request() local
211 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_giveback() local
230 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned int cmd, in dwc3_send_gadget_generic_command()
276 struct dwc3 *dwc = dep->dwc; in dwc3_send_gadget_ep_cmd() local
440 struct dwc3 *dwc = dep->dwc; in dwc3_send_clear_stall_ep_cmd() local
472 struct dwc3 *dwc = dep->dwc; in dwc3_alloc_trb_pool() local
491 struct dwc3 *dwc = dep->dwc; in dwc3_free_trb_pool() local
548 struct dwc3 *dwc; in dwc3_gadget_start_config() local
583 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_set_ep_config() local
677 static int dwc3_gadget_calc_tx_fifo_size(struct dwc3 *dwc, int mult) in dwc3_gadget_calc_tx_fifo_size()
702 void dwc3_gadget_clear_tx_fifos(struct dwc3 *dwc) in dwc3_gadget_clear_tx_fifos()
759 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_resize_tx_fifos() local
859 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep_enable() local
971 void dwc3_remove_requests(struct dwc3 *dwc, struct dwc3_ep *dep, int status) in dwc3_remove_requests()
1013 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep_disable() local
1069 struct dwc3 *dwc; in dwc3_gadget_ep_enable() local
1101 struct dwc3 *dwc; in dwc3_gadget_ep_disable() local
1223 struct dwc3 *dwc = dep->dwc; in dwc3_prepare_one_trb() local
1568 struct dwc3 *dwc = dep->dwc; in dwc3_prepare_trbs() local
1681 static int __dwc3_gadget_get_frame(struct dwc3 *dwc) in __dwc3_gadget_get_frame()
1852 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_start_isoc() local
1917 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep_queue() local
1986 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep_queue() local
2031 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep_cleanup_cancelled_requests() local
2067 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep_dequeue() local
2121 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep_set_halt() local
2208 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep_set_halt() local
2224 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep_set_wedge() local
2274 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_get_frame() local
2279 static int __dwc3_gadget_wakeup(struct dwc3 *dwc) in __dwc3_gadget_wakeup()
2345 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_wakeup() local
2359 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_set_selfpowered() local
2369 static void dwc3_stop_active_transfers(struct dwc3 *dwc) in dwc3_stop_active_transfers()
2384 static void __dwc3_gadget_set_ssp_rate(struct dwc3 *dwc) in __dwc3_gadget_set_ssp_rate()
2408 static void __dwc3_gadget_set_speed(struct dwc3 *dwc) in __dwc3_gadget_set_speed()
2477 static int dwc3_gadget_run_stop(struct dwc3 *dwc, int is_on, int suspend) in dwc3_gadget_run_stop()
2528 static int dwc3_gadget_soft_disconnect(struct dwc3 *dwc) in dwc3_gadget_soft_disconnect()
2578 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_pullup() local
2635 static void dwc3_gadget_enable_irq(struct dwc3 *dwc) in dwc3_gadget_enable_irq()
2658 static void dwc3_gadget_disable_irq(struct dwc3 *dwc) in dwc3_gadget_disable_irq()
2688 static void dwc3_gadget_setup_nump(struct dwc3 *dwc) in dwc3_gadget_setup_nump()
2708 static int __dwc3_gadget_start(struct dwc3 *dwc) in __dwc3_gadget_start()
2800 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_start() local
2821 static void __dwc3_gadget_stop(struct dwc3 *dwc) in __dwc3_gadget_stop()
2830 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_stop() local
2846 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_config_params() local
2885 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_set_speed() local
2896 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_set_ssp_rate() local
2907 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_vbus_draw() local
2935 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_check_config() local
2970 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_async_callbacks() local
2997 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_init_control_endpoint() local
3012 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_init_in_endpoint() local
3061 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_init_out_endpoint() local
3106 static int dwc3_gadget_init_endpoint(struct dwc3 *dwc, u8 epnum) in dwc3_gadget_init_endpoint()
3157 static int dwc3_gadget_init_endpoints(struct dwc3 *dwc, u8 total) in dwc3_gadget_init_endpoints()
3174 static void dwc3_gadget_free_endpoints(struct dwc3 *dwc) in dwc3_gadget_free_endpoints()
3397 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep_should_continue() local
3426 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_endpoint_trbs_complete() local
3548 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_endpoint_command_complete() local
3575 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_endpoint_stream_event() local
3637 static void dwc3_endpoint_interrupt(struct dwc3 *dwc, in dwc3_endpoint_interrupt()
3681 static void dwc3_disconnect_gadget(struct dwc3 *dwc) in dwc3_disconnect_gadget()
3690 static void dwc3_suspend_gadget(struct dwc3 *dwc) in dwc3_suspend_gadget()
3699 static void dwc3_resume_gadget(struct dwc3 *dwc) in dwc3_resume_gadget()
3708 static void dwc3_reset_gadget(struct dwc3 *dwc) in dwc3_reset_gadget()
3723 struct dwc3 *dwc = dep->dwc; in dwc3_stop_active_transfer() local
3783 static void dwc3_clear_stall_all_ep(struct dwc3 *dwc) in dwc3_clear_stall_all_ep()
3805 static void dwc3_gadget_disconnect_interrupt(struct dwc3 *dwc) in dwc3_gadget_disconnect_interrupt()
3836 static void dwc3_gadget_reset_interrupt(struct dwc3 *dwc) in dwc3_gadget_reset_interrupt()
3923 static void dwc3_gadget_conndone_interrupt(struct dwc3 *dwc) in dwc3_gadget_conndone_interrupt()
4067 static void dwc3_gadget_wakeup_interrupt(struct dwc3 *dwc) in dwc3_gadget_wakeup_interrupt()
4081 static void dwc3_gadget_linksts_change_interrupt(struct dwc3 *dwc, in dwc3_gadget_linksts_change_interrupt()
4179 static void dwc3_gadget_suspend_interrupt(struct dwc3 *dwc, in dwc3_gadget_suspend_interrupt()
4190 static void dwc3_gadget_hibernation_interrupt(struct dwc3 *dwc, in dwc3_gadget_hibernation_interrupt()
4214 static void dwc3_gadget_interrupt(struct dwc3 *dwc, in dwc3_gadget_interrupt()
4262 static void dwc3_process_event_entry(struct dwc3 *dwc, in dwc3_process_event_entry()
4277 struct dwc3 *dwc = evt->dwc; in dwc3_process_event_buf() local
4327 struct dwc3 *dwc = evt->dwc; in dwc3_thread_interrupt() local
4342 struct dwc3 *dwc = evt->dwc; in dwc3_check_event_buf() local
4392 static int dwc3_gadget_get_irq(struct dwc3 *dwc) in dwc3_gadget_get_irq()
4435 int dwc3_gadget_init(struct dwc3 *dwc) in dwc3_gadget_init()
4557 void dwc3_gadget_exit(struct dwc3 *dwc) in dwc3_gadget_exit()
4572 int dwc3_gadget_suspend(struct dwc3 *dwc) in dwc3_gadget_suspend()
4589 int dwc3_gadget_resume(struct dwc3 *dwc) in dwc3_gadget_resume()
4613 void dwc3_gadget_process_pending_events(struct dwc3 *dwc) in dwc3_gadget_process_pending_events()