/linux-4.1.27/drivers/usb/dwc3/ |
H A D | host.c | 23 int dwc3_host_init(struct dwc3 *dwc) dwc3_host_init() argument 82 void dwc3_host_exit(struct dwc3 *dwc) dwc3_host_exit() argument
|
H A D | debugfs.c | 362 struct dwc3 *dwc = s->private; dwc3_mode_show() local 396 struct dwc3 *dwc = s->private; dwc3_mode_write() local 431 struct dwc3 *dwc = s->private; dwc3_testmode_show() local 476 struct dwc3 *dwc = s->private; dwc3_testmode_write() local 514 struct dwc3 *dwc = s->private; dwc3_link_state_show() local 583 struct dwc3 *dwc = s->private; dwc3_link_state_write() local 621 int dwc3_debugfs_init(struct dwc3 *dwc) dwc3_debugfs_init() argument 686 void dwc3_debugfs_exit(struct dwc3 *dwc) dwc3_debugfs_exit() argument
|
H A D | gadget.h | 98 static inline u32 dwc3_gadget_ep_get_transfer_index(struct dwc3 *dwc, u8 number) dwc3_gadget_ep_get_transfer_index() argument
|
H A D | core.c | 52 void dwc3_set_mode(struct dwc3 *dwc, u32 mode) dwc3_set_mode() argument 66 static int dwc3_core_soft_reset(struct dwc3 *dwc) dwc3_core_soft_reset() argument 124 static void dwc3_free_one_event_buffer(struct dwc3 *dwc, dwc3_free_one_event_buffer() argument 138 static struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dwc, dwc3_alloc_one_event_buffer() argument 161 static void dwc3_free_event_buffers(struct dwc3 *dwc) dwc3_free_event_buffers() argument 181 static int dwc3_alloc_event_buffers(struct dwc3 *dwc, unsigned length) dwc3_alloc_event_buffers() argument 214 static int dwc3_event_buffers_setup(struct dwc3 *dwc) dwc3_event_buffers_setup() argument 239 static void dwc3_event_buffers_cleanup(struct dwc3 *dwc) dwc3_event_buffers_cleanup() argument 257 static int dwc3_alloc_scratch_buffers(struct dwc3 *dwc) dwc3_alloc_scratch_buffers() argument 273 static int dwc3_setup_scratch_buffers(struct dwc3 *dwc) dwc3_setup_scratch_buffers() argument 324 static void dwc3_free_scratch_buffers(struct dwc3 *dwc) dwc3_free_scratch_buffers() argument 341 static void dwc3_core_num_eps(struct dwc3 *dwc) dwc3_core_num_eps() argument 352 static void dwc3_cache_hwparams(struct dwc3 *dwc) dwc3_cache_hwparams() argument 371 static void dwc3_phy_setup(struct dwc3 *dwc) dwc3_phy_setup() argument 439 static int dwc3_core_init(struct dwc3 *dwc) dwc3_core_init() argument 589 static void dwc3_core_exit(struct dwc3 *dwc) dwc3_core_exit() argument 598 static int dwc3_core_get_phy(struct dwc3 *dwc) dwc3_core_get_phy() argument 665 static int dwc3_core_init_mode(struct dwc3 *dwc) dwc3_core_init_mode() argument 709 static void dwc3_core_exit_mode(struct dwc3 *dwc) dwc3_core_exit_mode() argument 736 struct dwc3 *dwc; dwc3_probe() local 987 struct dwc3 *dwc = platform_get_drvdata(pdev); dwc3_remove() local 1018 struct dwc3 *dwc = dev_get_drvdata(dev); dwc3_suspend() local 1047 struct dwc3 *dwc = dev_get_drvdata(dev); dwc3_resume() local
|
H A D | ep0.c | 58 static int dwc3_ep0_start_trans(struct dwc3 *dwc, u8 epnum, dma_addr_t buf_dma, dwc3_ep0_start_trans() argument 111 struct dwc3 *dwc = dep->dwc; __dwc3_gadget_ep0_queue() local 217 struct dwc3 *dwc = dep->dwc; dwc3_gadget_ep0_queue() local 251 static void dwc3_ep0_stall_and_restart(struct dwc3 *dwc) dwc3_ep0_stall_and_restart() argument 279 struct dwc3 *dwc = dep->dwc; __dwc3_gadget_ep0_set_halt() local 289 struct dwc3 *dwc = dep->dwc; dwc3_gadget_ep0_set_halt() local 300 void dwc3_ep0_out_start(struct dwc3 *dwc) dwc3_ep0_out_start() argument 309 static struct dwc3_ep *dwc3_wIndex_to_dep(struct dwc3 *dwc, __le16 wIndex_le) dwc3_wIndex_to_dep() argument 332 static int dwc3_ep0_handle_status(struct dwc3 *dwc, dwc3_ep0_handle_status() argument 390 static int dwc3_ep0_handle_feature(struct dwc3 *dwc, dwc3_ep0_handle_feature() argument 500 static int dwc3_ep0_set_address(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl) dwc3_ep0_set_address() argument 531 static int dwc3_ep0_delegate_req(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl) dwc3_ep0_delegate_req() argument 541 static int dwc3_ep0_set_config(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl) dwc3_ep0_set_config() argument 597 struct dwc3 *dwc = dep->dwc; dwc3_ep0_set_sel_cmpl() local 638 static int dwc3_ep0_set_sel(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl) dwc3_ep0_set_sel() argument 674 static int dwc3_ep0_set_isoch_delay(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl) dwc3_ep0_set_isoch_delay() argument 696 static int dwc3_ep0_std_request(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl) dwc3_ep0_std_request() argument 738 static void dwc3_ep0_inspect_setup(struct dwc3 *dwc, dwc3_ep0_inspect_setup() argument 774 static void dwc3_ep0_complete_data(struct dwc3 *dwc, dwc3_ep0_complete_data() argument 853 static void dwc3_ep0_complete_status(struct dwc3 *dwc, dwc3_ep0_complete_status() argument 892 static void dwc3_ep0_xfer_complete(struct dwc3 *dwc, dwc3_ep0_xfer_complete() argument 921 static void __dwc3_ep0_do_control_data(struct dwc3 *dwc, __dwc3_ep0_do_control_data() argument 979 struct dwc3 *dwc = dep->dwc; dwc3_ep0_start_control_status() local 989 static void __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep) __dwc3_ep0_do_control_status() argument 1000 static void dwc3_ep0_do_control_status(struct dwc3 *dwc, dwc3_ep0_do_control_status() argument 1008 static void dwc3_ep0_end_control_data(struct dwc3 *dwc, struct dwc3_ep *dep) dwc3_ep0_end_control_data() argument 1026 static void dwc3_ep0_xfernotready(struct dwc3 *dwc, dwc3_ep0_xfernotready() argument 1074 void dwc3_ep0_interrupt(struct dwc3 *dwc, dwc3_ep0_interrupt() argument
|
H A D | gadget.c | 47 int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) dwc3_gadget_set_test_mode() argument 78 int dwc3_gadget_get_link_state(struct dwc3 *dwc) dwc3_gadget_get_link_state() argument 95 int dwc3_gadget_set_link_state(struct dwc3 *dwc, enum dwc3_link_state state) dwc3_gadget_set_link_state() argument 169 int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc) dwc3_gadget_resize_tx_fifos() argument 237 struct dwc3 *dwc = dep->dwc; dwc3_gadget_giveback() local 278 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param) dwc3_send_gadget_generic_command() argument 313 int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep, dwc3_send_gadget_ep_cmd() argument 363 struct dwc3 *dwc = dep->dwc; dwc3_alloc_trb_pool() local 382 struct dwc3 *dwc = dep->dwc; dwc3_free_trb_pool() local 425 static int dwc3_gadget_start_config(struct dwc3 *dwc, struct dwc3_ep *dep) dwc3_gadget_start_config() argument 456 static int dwc3_gadget_set_ep_config(struct dwc3 *dwc, struct dwc3_ep *dep, dwc3_gadget_set_ep_config() argument 519 static int dwc3_gadget_set_xfer_resource(struct dwc3 *dwc, struct dwc3_ep *dep) dwc3_gadget_set_xfer_resource() argument 543 struct dwc3 *dwc = dep->dwc; __dwc3_gadget_ep_enable() local 592 static void dwc3_remove_requests(struct dwc3 *dwc, struct dwc3_ep *dep) dwc3_remove_requests() argument 624 struct dwc3 *dwc = dep->dwc; __dwc3_gadget_ep_disable() local 665 struct dwc3 *dwc; dwc3_gadget_ep_enable() local 715 struct dwc3 *dwc; dwc3_gadget_ep_disable() local 979 struct dwc3 *dwc = dep->dwc; __dwc3_gadget_kick_transfer() local 1049 static void __dwc3_gadget_start_isoc(struct dwc3 *dwc, __dwc3_gadget_start_isoc() argument 1068 static void dwc3_gadget_start_isoc(struct dwc3 *dwc, dwc3_gadget_start_isoc() argument 1081 struct dwc3 *dwc = dep->dwc; __dwc3_gadget_ep_queue() local 1178 struct dwc3 *dwc = dep->dwc; dwc3_gadget_ep_queue() local 1215 struct dwc3 *dwc = dep->dwc; dwc3_gadget_ep_dequeue() local 1258 struct dwc3 *dwc = dep->dwc; __dwc3_gadget_ep_set_halt() local 1300 struct dwc3 *dwc = dep->dwc; dwc3_gadget_ep_set_halt() local 1316 struct dwc3 *dwc = dep->dwc; dwc3_gadget_ep_set_wedge() local 1366 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_get_frame() local 1375 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_wakeup() local 1456 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_set_selfpowered() local 1466 static int dwc3_gadget_run_stop(struct dwc3 *dwc, int is_on, int suspend) dwc3_gadget_run_stop() argument 1522 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_pullup() local 1535 static void dwc3_gadget_enable_irq(struct dwc3 *dwc) dwc3_gadget_enable_irq() argument 1553 static void dwc3_gadget_disable_irq(struct dwc3 *dwc) dwc3_gadget_disable_irq() argument 1565 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_start() local 1676 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_stop() local 1707 static int dwc3_gadget_init_hw_endpoints(struct dwc3 *dwc, dwc3_gadget_init_hw_endpoints() argument 1759 static int dwc3_gadget_init_endpoints(struct dwc3 *dwc) dwc3_gadget_init_endpoints() argument 1782 static void dwc3_gadget_free_endpoints(struct dwc3 *dwc) dwc3_gadget_free_endpoints() argument 1811 static int __dwc3_cleanup_done_trbs(struct dwc3 *dwc, struct dwc3_ep *dep, __dwc3_cleanup_done_trbs() argument 1889 static int dwc3_cleanup_done_reqs(struct dwc3 *dwc, struct dwc3_ep *dep, dwc3_cleanup_done_reqs() argument 1945 static void dwc3_endpoint_transfer_complete(struct dwc3 *dwc, dwc3_endpoint_transfer_complete() argument 1988 static void dwc3_endpoint_interrupt(struct dwc3 *dwc, dwc3_endpoint_interrupt() argument 2069 static void dwc3_disconnect_gadget(struct dwc3 *dwc) dwc3_disconnect_gadget() argument 2078 static void dwc3_suspend_gadget(struct dwc3 *dwc) dwc3_suspend_gadget() argument 2087 static void dwc3_resume_gadget(struct dwc3 *dwc) dwc3_resume_gadget() argument 2096 static void dwc3_reset_gadget(struct dwc3 *dwc) dwc3_reset_gadget() argument 2108 static void dwc3_stop_active_transfer(struct dwc3 *dwc, u32 epnum, bool force) dwc3_stop_active_transfer() argument 2151 static void dwc3_stop_active_transfers(struct dwc3 *dwc) dwc3_stop_active_transfers() argument 2169 static void dwc3_clear_stall_all_ep(struct dwc3 *dwc) dwc3_clear_stall_all_ep() argument 2194 static void dwc3_gadget_disconnect_interrupt(struct dwc3 *dwc) dwc3_gadget_disconnect_interrupt() argument 2212 static void dwc3_gadget_reset_interrupt(struct dwc3 *dwc) dwc3_gadget_reset_interrupt() argument 2263 static void dwc3_update_ram_clk_sel(struct dwc3 *dwc, u32 speed) dwc3_update_ram_clk_sel() argument 2288 static void dwc3_gadget_conndone_interrupt(struct dwc3 *dwc) dwc3_gadget_conndone_interrupt() argument 2399 static void dwc3_gadget_wakeup_interrupt(struct dwc3 *dwc) dwc3_gadget_wakeup_interrupt() argument 2409 static void dwc3_gadget_linksts_change_interrupt(struct dwc3 *dwc, dwc3_gadget_linksts_change_interrupt() argument 2509 static void dwc3_gadget_hibernation_interrupt(struct dwc3 *dwc, dwc3_gadget_hibernation_interrupt() argument 2533 static void dwc3_gadget_interrupt(struct dwc3 *dwc, dwc3_gadget_interrupt() argument 2579 static void dwc3_process_event_entry(struct dwc3 *dwc, dwc3_process_event_entry() argument 2600 static irqreturn_t dwc3_process_event_buf(struct dwc3 *dwc, u32 buf) dwc3_process_event_buf() argument 2649 struct dwc3 *dwc = _dwc; dwc3_thread_interrupt() local 2664 static irqreturn_t dwc3_check_event_buf(struct dwc3 *dwc, u32 buf) dwc3_check_event_buf() argument 2690 struct dwc3 *dwc = _dwc; dwc3_interrupt() local 2715 int dwc3_gadget_init(struct dwc3 *dwc) dwc3_gadget_init() argument 2823 void dwc3_gadget_exit(struct dwc3 *dwc) dwc3_gadget_exit() argument 2841 int dwc3_gadget_suspend(struct dwc3 *dwc) dwc3_gadget_suspend() argument 2856 int dwc3_gadget_resume(struct dwc3 *dwc) dwc3_gadget_resume() argument
|
H A D | core.h | 412 struct dwc3 *dwc; member in struct:dwc3_event_buffer 455 struct dwc3 *dwc; member in struct:dwc3_ep 1003 static inline int dwc3_host_init(struct dwc3 *dwc) dwc3_host_init() argument 1005 static inline void dwc3_host_exit(struct dwc3 *dwc) dwc3_host_exit() argument 1019 static inline int dwc3_gadget_init(struct dwc3 *dwc) dwc3_gadget_init() argument 1021 static inline void dwc3_gadget_exit(struct dwc3 *dwc) dwc3_gadget_exit() argument 1023 static inline int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) dwc3_gadget_set_test_mode() argument 1025 static inline int dwc3_gadget_get_link_state(struct dwc3 *dwc) dwc3_gadget_get_link_state() argument 1027 static inline int dwc3_gadget_set_link_state(struct dwc3 *dwc, dwc3_gadget_set_link_state() argument 1031 static inline int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep, dwc3_send_gadget_ep_cmd() argument 1034 static inline int dwc3_send_gadget_generic_command(struct dwc3 *dwc, dwc3_send_gadget_generic_command() argument 1044 static inline int dwc3_gadget_suspend(struct dwc3 *dwc) dwc3_gadget_suspend() argument 1049 static inline int dwc3_gadget_resume(struct dwc3 *dwc) dwc3_gadget_resume() argument
|
/linux-4.1.27/drivers/dma/dw/ |
H A D | core.c | 78 static struct dw_desc *dwc_first_active(struct dw_dma_chan *dwc) dwc_first_active() argument 83 static struct dw_desc *dwc_desc_get(struct dw_dma_chan *dwc) dwc_desc_get() argument 111 static void dwc_desc_put(struct dw_dma_chan *dwc, struct dw_desc *desc) dwc_desc_put() argument 130 static void dwc_initialize(struct dw_dma_chan *dwc) dwc_initialize() argument 169 static inline void dwc_dump_chan_regs(struct dw_dma_chan *dwc) dwc_dump_chan_regs() argument 180 static inline void dwc_chan_disable(struct dw_dma *dw, struct dw_dma_chan *dwc) dwc_chan_disable() argument 190 static inline void dwc_do_single_block(struct dw_dma_chan *dwc, dwc_do_single_block() argument 213 static void dwc_dostart(struct dw_dma_chan *dwc, struct dw_desc *first) dwc_dostart() argument 258 static void dwc_dostart_first_queued(struct dw_dma_chan *dwc) dwc_dostart_first_queued() argument 274 dwc_descriptor_complete(struct dw_dma_chan *dwc, struct dw_desc *desc, dwc_descriptor_complete() argument 307 static void dwc_complete_all(struct dw_dma *dw, struct dw_dma_chan *dwc) dwc_complete_all() argument 336 static inline u32 dwc_get_sent(struct dw_dma_chan *dwc) dwc_get_sent() argument 344 static void dwc_scan_descriptors(struct dw_dma *dw, struct dw_dma_chan *dwc) dwc_scan_descriptors() argument 460 static inline void dwc_dump_lli(struct dw_dma_chan *dwc, struct dw_lli *lli) dwc_dump_lli() argument 466 static void dwc_handle_error(struct dw_dma *dw, struct dw_dma_chan *dwc) dwc_handle_error() argument 513 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); dw_dma_get_src_addr() local 520 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); dw_dma_get_dst_addr() local 526 static void dwc_handle_cyclic(struct dw_dma *dw, struct dw_dma_chan *dwc, dwc_handle_cyclic() argument 588 struct dw_dma_chan *dwc; dw_dma_tasklet() local 659 struct dw_dma_chan *dwc = to_dw_dma_chan(tx->chan); dwc_tx_submit() local 684 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); dwc_prep_dma_memcpy() local 765 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); dwc_prep_slave_sg() local 924 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); dw_dma_filter() local 960 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); dwc_config() local 977 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); dwc_pause() local 996 static inline void dwc_chan_resume(struct dw_dma_chan *dwc) dwc_chan_resume() argument 1007 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); dwc_resume() local 1024 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); dwc_terminate_all() local 1051 static inline u32 dwc_get_residue(struct dw_dma_chan *dwc) dwc_get_residue() argument 1071 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); dwc_tx_status() local 1092 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); dwc_issue_pending() local 1129 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); dwc_alloc_chan_resources() local 1203 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); dwc_free_chan_resources() local 1261 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); dw_dma_cyclic_start() local 1291 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); dw_dma_cyclic_stop() local 1318 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); dw_dma_cyclic_prep() local 1466 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); dw_dma_cyclic_free() local 1590 struct dw_dma_chan *dwc = &dw->chan[i]; dw_dma_probe() local 1704 struct dw_dma_chan *dwc, *_dwc; dw_dma_remove() local
|
H A D | regs.h | 260 __dwc_regs(struct dw_dma_chan *dwc) __dwc_regs() argument
|