/linux-4.4.14/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 | ulpi.c | 23 static int dwc3_ulpi_busyloop(struct dwc3 *dwc) dwc3_ulpi_busyloop() argument 40 struct dwc3 *dwc = dev_get_drvdata(ops->dev); dwc3_ulpi_read() local 58 struct dwc3 *dwc = dev_get_drvdata(ops->dev); dwc3_ulpi_write() local 73 int dwc3_ulpi_init(struct dwc3 *dwc) dwc3_ulpi_init() argument 85 void dwc3_ulpi_exit(struct dwc3 *dwc) dwc3_ulpi_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 | 53 void dwc3_set_mode(struct dwc3 *dwc, u32 mode) dwc3_set_mode() argument 67 static int dwc3_core_soft_reset(struct dwc3 *dwc) dwc3_core_soft_reset() argument 124 static int dwc3_soft_reset(struct dwc3 *dwc) dwc3_soft_reset() argument 152 static void dwc3_frame_length_adjustment(struct dwc3 *dwc, u32 fladj) dwc3_frame_length_adjustment() argument 178 static void dwc3_free_one_event_buffer(struct dwc3 *dwc, dwc3_free_one_event_buffer() argument 192 static struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dwc, dwc3_alloc_one_event_buffer() argument 215 static void dwc3_free_event_buffers(struct dwc3 *dwc) dwc3_free_event_buffers() argument 235 static int dwc3_alloc_event_buffers(struct dwc3 *dwc, unsigned length) dwc3_alloc_event_buffers() argument 268 static int dwc3_event_buffers_setup(struct dwc3 *dwc) dwc3_event_buffers_setup() argument 293 static void dwc3_event_buffers_cleanup(struct dwc3 *dwc) dwc3_event_buffers_cleanup() argument 311 static int dwc3_alloc_scratch_buffers(struct dwc3 *dwc) dwc3_alloc_scratch_buffers() argument 327 static int dwc3_setup_scratch_buffers(struct dwc3 *dwc) dwc3_setup_scratch_buffers() argument 378 static void dwc3_free_scratch_buffers(struct dwc3 *dwc) dwc3_free_scratch_buffers() argument 395 static void dwc3_core_num_eps(struct dwc3 *dwc) dwc3_core_num_eps() argument 406 static void dwc3_cache_hwparams(struct dwc3 *dwc) dwc3_cache_hwparams() argument 429 static int dwc3_phy_setup(struct dwc3 *dwc) dwc3_phy_setup() argument 532 static int dwc3_core_init(struct dwc3 *dwc) dwc3_core_init() argument 667 static void dwc3_core_exit(struct dwc3 *dwc) dwc3_core_exit() argument 676 static int dwc3_core_get_phy(struct dwc3 *dwc) dwc3_core_get_phy() argument 743 static int dwc3_core_init_mode(struct dwc3 *dwc) dwc3_core_init_mode() argument 787 static void dwc3_core_exit_mode(struct dwc3 *dwc) dwc3_core_exit_mode() argument 813 struct dwc3 *dwc; dwc3_probe() local 1084 struct dwc3 *dwc = platform_get_drvdata(pdev); dwc3_remove() local 1116 struct dwc3 *dwc = dev_get_drvdata(dev); dwc3_suspend() local 1147 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 121 struct dwc3 *dwc = dep->dwc; __dwc3_gadget_ep0_queue() local 227 struct dwc3 *dwc = dep->dwc; dwc3_gadget_ep0_queue() local 261 static void dwc3_ep0_stall_and_restart(struct dwc3 *dwc) dwc3_ep0_stall_and_restart() argument 289 struct dwc3 *dwc = dep->dwc; __dwc3_gadget_ep0_set_halt() local 299 struct dwc3 *dwc = dep->dwc; dwc3_gadget_ep0_set_halt() local 310 void dwc3_ep0_out_start(struct dwc3 *dwc) dwc3_ep0_out_start() argument 319 static struct dwc3_ep *dwc3_wIndex_to_dep(struct dwc3 *dwc, __le16 wIndex_le) dwc3_wIndex_to_dep() argument 342 static int dwc3_ep0_handle_status(struct dwc3 *dwc, dwc3_ep0_handle_status() argument 400 static int dwc3_ep0_handle_feature(struct dwc3 *dwc, dwc3_ep0_handle_feature() argument 510 static int dwc3_ep0_set_address(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl) dwc3_ep0_set_address() argument 541 static int dwc3_ep0_delegate_req(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl) dwc3_ep0_delegate_req() argument 551 static int dwc3_ep0_set_config(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl) dwc3_ep0_set_config() argument 607 struct dwc3 *dwc = dep->dwc; dwc3_ep0_set_sel_cmpl() local 648 static int dwc3_ep0_set_sel(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl) dwc3_ep0_set_sel() argument 684 static int dwc3_ep0_set_isoch_delay(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl) dwc3_ep0_set_isoch_delay() argument 706 static int dwc3_ep0_std_request(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl) dwc3_ep0_std_request() argument 748 static void dwc3_ep0_inspect_setup(struct dwc3 *dwc, dwc3_ep0_inspect_setup() argument 784 static void dwc3_ep0_complete_data(struct dwc3 *dwc, dwc3_ep0_complete_data() argument 882 static void dwc3_ep0_complete_status(struct dwc3 *dwc, dwc3_ep0_complete_status() argument 921 static void dwc3_ep0_xfer_complete(struct dwc3 *dwc, dwc3_ep0_xfer_complete() argument 950 static void __dwc3_ep0_do_control_data(struct dwc3 *dwc, __dwc3_ep0_do_control_data() argument 1011 struct dwc3 *dwc = dep->dwc; dwc3_ep0_start_control_status() local 1021 static void __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep) __dwc3_ep0_do_control_status() argument 1032 static void dwc3_ep0_do_control_status(struct dwc3 *dwc, dwc3_ep0_do_control_status() argument 1040 static void dwc3_ep0_end_control_data(struct dwc3 *dwc, struct dwc3_ep *dep) dwc3_ep0_end_control_data() argument 1058 static void dwc3_ep0_xfernotready(struct dwc3 *dwc, dwc3_ep0_xfernotready() argument 1106 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 609 static void dwc3_remove_requests(struct dwc3 *dwc, struct dwc3_ep *dep) dwc3_remove_requests() argument 641 struct dwc3 *dwc = dep->dwc; __dwc3_gadget_ep_disable() local 688 struct dwc3 *dwc; dwc3_gadget_ep_enable() local 721 struct dwc3 *dwc; dwc3_gadget_ep_disable() local 981 struct dwc3 *dwc = dep->dwc; __dwc3_gadget_kick_transfer() local 1050 static void __dwc3_gadget_start_isoc(struct dwc3 *dwc, __dwc3_gadget_start_isoc() argument 1069 static void dwc3_gadget_start_isoc(struct dwc3 *dwc, dwc3_gadget_start_isoc() argument 1082 struct dwc3 *dwc = dep->dwc; __dwc3_gadget_ep_queue() local 1195 struct dwc3 *dwc = dep->dwc; dwc3_gadget_ep_queue() local 1230 struct dwc3 *dwc = dep->dwc; dwc3_gadget_ep_dequeue() local 1273 struct dwc3 *dwc = dep->dwc; __dwc3_gadget_ep_set_halt() local 1315 struct dwc3 *dwc = dep->dwc; dwc3_gadget_ep_set_halt() local 1331 struct dwc3 *dwc = dep->dwc; dwc3_gadget_ep_set_wedge() local 1381 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_get_frame() local 1390 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_wakeup() local 1471 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_set_selfpowered() local 1481 static int dwc3_gadget_run_stop(struct dwc3 *dwc, int is_on, int suspend) dwc3_gadget_run_stop() argument 1537 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_pullup() local 1550 static void dwc3_gadget_enable_irq(struct dwc3 *dwc) dwc3_gadget_enable_irq() argument 1568 static void dwc3_gadget_disable_irq(struct dwc3 *dwc) dwc3_gadget_disable_irq() argument 1580 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_start() local 1691 struct dwc3 *dwc = gadget_to_dwc(g); dwc3_gadget_stop() local 1722 static int dwc3_gadget_init_hw_endpoints(struct dwc3 *dwc, dwc3_gadget_init_hw_endpoints() argument 1785 static int dwc3_gadget_init_endpoints(struct dwc3 *dwc) dwc3_gadget_init_endpoints() argument 1808 static void dwc3_gadget_free_endpoints(struct dwc3 *dwc) dwc3_gadget_free_endpoints() argument 1837 static int __dwc3_cleanup_done_trbs(struct dwc3 *dwc, struct dwc3_ep *dep, __dwc3_cleanup_done_trbs() argument 1915 static int dwc3_cleanup_done_reqs(struct dwc3 *dwc, struct dwc3_ep *dep, dwc3_cleanup_done_reqs() argument 1971 static void dwc3_endpoint_transfer_complete(struct dwc3 *dwc, dwc3_endpoint_transfer_complete() argument 2022 static void dwc3_endpoint_interrupt(struct dwc3 *dwc, dwc3_endpoint_interrupt() argument 2104 static void dwc3_disconnect_gadget(struct dwc3 *dwc) dwc3_disconnect_gadget() argument 2113 static void dwc3_suspend_gadget(struct dwc3 *dwc) dwc3_suspend_gadget() argument 2122 static void dwc3_resume_gadget(struct dwc3 *dwc) dwc3_resume_gadget() argument 2131 static void dwc3_reset_gadget(struct dwc3 *dwc) dwc3_reset_gadget() argument 2143 static void dwc3_stop_active_transfer(struct dwc3 *dwc, u32 epnum, bool force) dwc3_stop_active_transfer() argument 2186 static void dwc3_stop_active_transfers(struct dwc3 *dwc) dwc3_stop_active_transfers() argument 2204 static void dwc3_clear_stall_all_ep(struct dwc3 *dwc) dwc3_clear_stall_all_ep() argument 2229 static void dwc3_gadget_disconnect_interrupt(struct dwc3 *dwc) dwc3_gadget_disconnect_interrupt() argument 2247 static void dwc3_gadget_reset_interrupt(struct dwc3 *dwc) dwc3_gadget_reset_interrupt() argument 2298 static void dwc3_update_ram_clk_sel(struct dwc3 *dwc, u32 speed) dwc3_update_ram_clk_sel() argument 2323 static void dwc3_gadget_conndone_interrupt(struct dwc3 *dwc) dwc3_gadget_conndone_interrupt() argument 2434 static void dwc3_gadget_wakeup_interrupt(struct dwc3 *dwc) dwc3_gadget_wakeup_interrupt() argument 2444 static void dwc3_gadget_linksts_change_interrupt(struct dwc3 *dwc, dwc3_gadget_linksts_change_interrupt() argument 2544 static void dwc3_gadget_hibernation_interrupt(struct dwc3 *dwc, dwc3_gadget_hibernation_interrupt() argument 2568 static void dwc3_gadget_interrupt(struct dwc3 *dwc, dwc3_gadget_interrupt() argument 2614 static void dwc3_process_event_entry(struct dwc3 *dwc, dwc3_process_event_entry() argument 2635 static irqreturn_t dwc3_process_event_buf(struct dwc3 *dwc, u32 buf) dwc3_process_event_buf() argument 2684 struct dwc3 *dwc = _dwc; dwc3_thread_interrupt() local 2699 static irqreturn_t dwc3_check_event_buf(struct dwc3 *dwc, u32 buf) dwc3_check_event_buf() argument 2725 struct dwc3 *dwc = _dwc; dwc3_interrupt() local 2746 int dwc3_gadget_init(struct dwc3 *dwc) dwc3_gadget_init() argument 2854 void dwc3_gadget_exit(struct dwc3 *dwc) dwc3_gadget_exit() argument 2872 int dwc3_gadget_suspend(struct dwc3 *dwc) dwc3_gadget_suspend() argument 2887 int dwc3_gadget_resume(struct dwc3 *dwc) dwc3_gadget_resume() argument
|
H A D | core.h | 428 struct dwc3 *dwc; member in struct:dwc3_event_buffer 471 struct dwc3 *dwc; member in struct:dwc3_ep 1028 static inline int dwc3_host_init(struct dwc3 *dwc) dwc3_host_init() argument 1030 static inline void dwc3_host_exit(struct dwc3 *dwc) dwc3_host_exit() argument 1044 static inline int dwc3_gadget_init(struct dwc3 *dwc) dwc3_gadget_init() argument 1046 static inline void dwc3_gadget_exit(struct dwc3 *dwc) dwc3_gadget_exit() argument 1048 static inline int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) dwc3_gadget_set_test_mode() argument 1050 static inline int dwc3_gadget_get_link_state(struct dwc3 *dwc) dwc3_gadget_get_link_state() argument 1052 static inline int dwc3_gadget_set_link_state(struct dwc3 *dwc, dwc3_gadget_set_link_state() argument 1056 static inline int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep, dwc3_send_gadget_ep_cmd() argument 1059 static inline int dwc3_send_gadget_generic_command(struct dwc3 *dwc, dwc3_send_gadget_generic_command() argument 1069 static inline int dwc3_gadget_suspend(struct dwc3 *dwc) dwc3_gadget_suspend() argument 1074 static inline int dwc3_gadget_resume(struct dwc3 *dwc) dwc3_gadget_resume() argument 1084 static inline int dwc3_ulpi_init(struct dwc3 *dwc) dwc3_ulpi_init() argument 1086 static inline void dwc3_ulpi_exit(struct dwc3 *dwc) dwc3_ulpi_exit() argument
|
/linux-4.4.14/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 1588 struct dw_dma_chan *dwc = &dw->chan[i]; dw_dma_probe() local 1705 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
|