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
441 struct dwc3 *dwc = dep->dwc; in dwc3_send_clear_stall_ep_cmd() local
473 struct dwc3 *dwc = dep->dwc; in dwc3_alloc_trb_pool() local
492 struct dwc3 *dwc = dep->dwc; in dwc3_free_trb_pool() local
549 struct dwc3 *dwc; in dwc3_gadget_start_config() local
584 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_set_ep_config() local
677 static int dwc3_gadget_get_tx_fifos_size(struct dwc3 *dwc) in dwc3_gadget_get_tx_fifos_size()
721 static int dwc3_gadget_calc_tx_fifo_size(struct dwc3 *dwc, int mult) in dwc3_gadget_calc_tx_fifo_size()
746 void dwc3_gadget_clear_tx_fifos(struct dwc3 *dwc) in dwc3_gadget_clear_tx_fifos()
792 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_resize_tx_fifos() local
898 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_resize_tx_fifos() local
1001 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep_enable() local
1113 void dwc3_remove_requests(struct dwc3 *dwc, struct dwc3_ep *dep, int status) in dwc3_remove_requests()
1155 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep_disable() local
1211 struct dwc3 *dwc; in dwc3_gadget_ep_enable() local
1243 struct dwc3 *dwc; in dwc3_gadget_ep_disable() local
1365 struct dwc3 *dwc = dep->dwc; in dwc3_prepare_one_trb() local
1694 struct dwc3 *dwc = dep->dwc; in dwc3_prepare_trbs() local
1805 static int __dwc3_gadget_get_frame(struct dwc3 *dwc) in __dwc3_gadget_get_frame()
1975 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_start_isoc() local
2043 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep_queue() local
2112 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep_queue() local
2157 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep_cleanup_cancelled_requests() local
2193 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep_dequeue() local
2249 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep_set_halt() local
2333 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep_set_halt() local
2349 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep_set_wedge() local
2399 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_get_frame() local
2404 static int __dwc3_gadget_wakeup(struct dwc3 *dwc) in __dwc3_gadget_wakeup()
2470 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_wakeup() local
2484 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_set_selfpowered() local
2494 static void dwc3_stop_active_transfers(struct dwc3 *dwc) in dwc3_stop_active_transfers()
2509 static void __dwc3_gadget_set_ssp_rate(struct dwc3 *dwc) in __dwc3_gadget_set_ssp_rate()
2533 static void __dwc3_gadget_set_speed(struct dwc3 *dwc) in __dwc3_gadget_set_speed()
2605 static int dwc3_gadget_run_stop(struct dwc3 *dwc, int is_on, int suspend) in dwc3_gadget_run_stop()
2656 static int dwc3_gadget_soft_disconnect(struct dwc3 *dwc) in dwc3_gadget_soft_disconnect()
2707 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_pullup() local
2765 static void dwc3_gadget_enable_irq(struct dwc3 *dwc) in dwc3_gadget_enable_irq()
2788 static void dwc3_gadget_disable_irq(struct dwc3 *dwc) in dwc3_gadget_disable_irq()
2818 static void dwc3_gadget_setup_nump(struct dwc3 *dwc) in dwc3_gadget_setup_nump()
2838 static int __dwc3_gadget_start(struct dwc3 *dwc) in __dwc3_gadget_start()
2932 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_start() local
2968 static void __dwc3_gadget_stop(struct dwc3 *dwc) in __dwc3_gadget_stop()
2977 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_stop() local
3000 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_config_params() local
3039 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_set_speed() local
3050 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_set_ssp_rate() local
3061 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_vbus_draw() local
3089 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_check_config() local
3124 struct dwc3 *dwc = gadget_to_dwc(g); in dwc3_gadget_async_callbacks() local
3151 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_init_control_endpoint() local
3166 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_init_in_endpoint() local
3232 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_init_out_endpoint() local
3277 static int dwc3_gadget_init_endpoint(struct dwc3 *dwc, u8 epnum) in dwc3_gadget_init_endpoint()
3339 static int dwc3_gadget_init_endpoints(struct dwc3 *dwc, u8 total) in dwc3_gadget_init_endpoints()
3356 static void dwc3_gadget_free_endpoints(struct dwc3 *dwc) in dwc3_gadget_free_endpoints()
3499 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep_cleanup_completed_request() local
3602 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep_should_continue() local
3631 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_endpoint_trbs_complete() local
3777 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_endpoint_command_complete() local
3805 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_endpoint_stream_event() local
3866 static void dwc3_endpoint_interrupt(struct dwc3 *dwc, in dwc3_endpoint_interrupt()
3910 static void dwc3_disconnect_gadget(struct dwc3 *dwc) in dwc3_disconnect_gadget()
3919 static void dwc3_suspend_gadget(struct dwc3 *dwc) in dwc3_suspend_gadget()
3928 static void dwc3_resume_gadget(struct dwc3 *dwc) in dwc3_resume_gadget()
3937 static void dwc3_reset_gadget(struct dwc3 *dwc) in dwc3_reset_gadget()
3952 struct dwc3 *dwc = dep->dwc; in dwc3_stop_active_transfer() local
4011 static void dwc3_clear_stall_all_ep(struct dwc3 *dwc) in dwc3_clear_stall_all_ep()
4033 static void dwc3_gadget_disconnect_interrupt(struct dwc3 *dwc) in dwc3_gadget_disconnect_interrupt()
4064 static void dwc3_gadget_reset_interrupt(struct dwc3 *dwc) in dwc3_gadget_reset_interrupt()
4151 static void dwc3_gadget_conndone_interrupt(struct dwc3 *dwc) in dwc3_gadget_conndone_interrupt()
4301 static void dwc3_gadget_wakeup_interrupt(struct dwc3 *dwc) in dwc3_gadget_wakeup_interrupt()
4315 static void dwc3_gadget_linksts_change_interrupt(struct dwc3 *dwc, in dwc3_gadget_linksts_change_interrupt()
4413 static void dwc3_gadget_suspend_interrupt(struct dwc3 *dwc, in dwc3_gadget_suspend_interrupt()
4424 static void dwc3_gadget_hibernation_interrupt(struct dwc3 *dwc, in dwc3_gadget_hibernation_interrupt()
4448 static void dwc3_gadget_interrupt(struct dwc3 *dwc, in dwc3_gadget_interrupt()
4498 static void dwc3_process_event_entry(struct dwc3 *dwc, in dwc3_process_event_entry()
4513 struct dwc3 *dwc = evt->dwc; in dwc3_process_event_buf() local
4563 struct dwc3 *dwc = evt->dwc; in dwc3_thread_interrupt() local
4578 struct dwc3 *dwc = evt->dwc; in dwc3_check_event_buf() local
4628 static int dwc3_gadget_get_irq(struct dwc3 *dwc) in dwc3_gadget_get_irq()
4671 int dwc3_gadget_init(struct dwc3 *dwc) in dwc3_gadget_init()
4793 void dwc3_gadget_exit(struct dwc3 *dwc) in dwc3_gadget_exit()
4808 int dwc3_gadget_suspend(struct dwc3 *dwc) in dwc3_gadget_suspend()
4825 int dwc3_gadget_resume(struct dwc3 *dwc) in dwc3_gadget_resume()
4850 void dwc3_gadget_process_pending_events(struct dwc3 *dwc) in dwc3_gadget_process_pending_events()