| /OK3568_Linux_fs/kernel/drivers/usb/dwc3/ |
| H A D | core.c | 47 static int dwc3_get_dr_mode(struct dwc3 *dwc) in dwc3_get_dr_mode() 105 void dwc3_set_prtcap(struct dwc3 *dwc, u32 mode) in dwc3_set_prtcap() 119 struct dwc3 *dwc = work_to_dwc(work); in __dwc3_set_mode() local 266 void dwc3_set_mode(struct dwc3 *dwc, u32 mode) in dwc3_set_mode() 282 struct dwc3 *dwc = dep->dwc; in dwc3_core_fifo_space() local 298 int dwc3_core_soft_reset(struct dwc3 *dwc) in dwc3_core_soft_reset() 355 static void dwc3_frame_length_adjustment(struct dwc3 *dwc) in dwc3_frame_length_adjustment() 380 static void dwc3_free_one_event_buffer(struct dwc3 *dwc, in dwc3_free_one_event_buffer() 394 static struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dwc, in dwc3_alloc_one_event_buffer() 421 static void dwc3_free_event_buffers(struct dwc3 *dwc) in dwc3_free_event_buffers() [all …]
|
| H A D | drd.c | 19 static void dwc3_otg_disable_events(struct dwc3 *dwc, u32 disable_mask) in dwc3_otg_disable_events() 27 static void dwc3_otg_enable_events(struct dwc3 *dwc, u32 enable_mask) in dwc3_otg_enable_events() 35 static void dwc3_otg_clear_events(struct dwc3 *dwc) in dwc3_otg_clear_events() 54 struct dwc3 *dwc = _dwc; in dwc3_otg_thread_irq() local 72 struct dwc3 *dwc = _dwc; in dwc3_otg_irq() local 93 static void dwc3_otgregs_init(struct dwc3 *dwc) in dwc3_otgregs_init() 137 static int dwc3_otg_get_irq(struct dwc3 *dwc) in dwc3_otg_get_irq() 167 void dwc3_otg_init(struct dwc3 *dwc) in dwc3_otg_init() 186 void dwc3_otg_exit(struct dwc3 *dwc) in dwc3_otg_exit() 195 void dwc3_otg_host_init(struct dwc3 *dwc) in dwc3_otg_host_init() [all …]
|
| H A D | gadget.c | 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 [all …]
|
| H A D | ep0.c | 38 struct dwc3 *dwc; in dwc3_ep0_prepare_one_trb() local 66 struct dwc3 *dwc; in dwc3_ep0_start_trans() local 90 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_queue() local 193 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_queue() local 221 void dwc3_ep0_stall_and_restart(struct dwc3 *dwc) in dwc3_ep0_stall_and_restart() 251 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_set_halt() local 261 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_set_halt() local 272 void dwc3_ep0_out_start(struct dwc3 *dwc) in dwc3_ep0_out_start() 303 static struct dwc3_ep *dwc3_wIndex_to_dep(struct dwc3 *dwc, __le16 wIndex_le) in dwc3_wIndex_to_dep() 340 static int dwc3_ep0_handle_status(struct dwc3 *dwc, in dwc3_ep0_handle_status() [all …]
|
| H A D | debugfs.c | 282 struct dwc3 *dwc = s->private; in dwc3_host_lsp() local 312 struct dwc3 *dwc = s->private; in dwc3_gadget_lsp() local 326 struct dwc3 *dwc = s->private; in dwc3_lsp_show() local 360 struct dwc3 *dwc = s->private; in dwc3_lsp_write() local 390 struct dwc3 *dwc = s->private; in dwc3_mode_show() local 424 struct dwc3 *dwc = s->private; in dwc3_mode_write() local 462 struct dwc3 *dwc = s->private; in dwc3_testmode_show() local 507 struct dwc3 *dwc = s->private; in dwc3_testmode_write() local 545 struct dwc3 *dwc = s->private; in dwc3_link_state_show() local 580 struct dwc3 *dwc = s->private; in dwc3_link_state_write() local [all …]
|
| H A D | ulpi.c | 24 static int dwc3_ulpi_busyloop(struct dwc3 *dwc, u8 addr, bool read) in dwc3_ulpi_busyloop() 53 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_ulpi_read() local 71 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_ulpi_write() local 86 int dwc3_ulpi_init(struct dwc3 *dwc) in dwc3_ulpi_init() 98 void dwc3_ulpi_exit(struct dwc3 *dwc) in dwc3_ulpi_exit()
|
| H A D | dwc3-pci.c | 162 static int dwc3_pci_quirks(struct dwc3_pci *dwc) in dwc3_pci_quirks() 225 struct dwc3_pci *dwc = container_of(work, struct dwc3_pci, wakeup_work); in dwc3_pci_resume_work() local 242 struct dwc3_pci *dwc; in dwc3_pci_probe() local 314 struct dwc3_pci *dwc = pci_get_drvdata(pci); in dwc3_pci_remove() local 405 static int dwc3_pci_dsm(struct dwc3_pci *dwc, int param) in dwc3_pci_dsm() 433 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_runtime_suspend() local 443 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_runtime_resume() local 459 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_suspend() local 466 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_resume() local
|
| H A D | host.c | 15 static int dwc3_host_get_irq(struct dwc3 *dwc) in dwc3_host_get_irq() 45 int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init() 133 void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
|
| H A D | dwc3-haps.c | 39 struct dwc3_haps *dwc; in dwc3_haps_probe() local 100 struct dwc3_haps *dwc = pci_get_drvdata(pci); in dwc3_haps_remove() local
|
| H A D | core.h | 668 struct dwc3 *dwc; member 718 struct dwc3 *dwc; member 1341 struct dwc3 dwc; member 1539 static inline u32 dwc3_mdwidth(struct dwc3 *dwc) in dwc3_mdwidth() 1561 static inline int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init() 1563 static inline void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit() 1581 static inline int dwc3_gadget_init(struct dwc3 *dwc) in dwc3_gadget_init() 1583 static inline void dwc3_gadget_exit(struct dwc3 *dwc) in dwc3_gadget_exit() 1585 static inline int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode() 1587 static inline int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state() [all …]
|
| H A D | dwc3-imx8mp.c | 82 struct dwc3 *dwc = platform_get_drvdata(dwc3_imx->dwc3); in dwc3_imx8mp_interrupt() local 245 struct dwc3 *dwc = platform_get_drvdata(dwc3_imx->dwc3); in dwc3_imx8mp_resume() local
|
| H A D | dwc3-rockchip-inno.c | 42 struct dwc3 *dwc; member
|
| H A D | gadget.h | 162 static inline void dwc3_gadget_dctl_write_safe(struct dwc3 *dwc, u32 value) in dwc3_gadget_dctl_write_safe()
|
| H A D | dwc3-qcom.c | 302 struct dwc3 *dwc = platform_get_drvdata(qcom->dwc3); in dwc3_qcom_is_host() local 416 struct dwc3 *dwc = platform_get_drvdata(qcom->dwc3); in qcom_dwc3_resume_irq() local
|
| /OK3568_Linux_fs/u-boot/drivers/usb/dwc3/ |
| H A D | core.c | 39 static void dwc3_set_mode(struct dwc3 *dwc, u32 mode) in dwc3_set_mode() 53 static int dwc3_core_soft_reset(struct dwc3 *dwc) in dwc3_core_soft_reset() 99 static void dwc3_free_one_event_buffer(struct dwc3 *dwc, in dwc3_free_one_event_buffer() 113 static struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dwc, in dwc3_alloc_one_event_buffer() 139 static void dwc3_free_event_buffers(struct dwc3 *dwc) in dwc3_free_event_buffers() 159 static int dwc3_alloc_event_buffers(struct dwc3 *dwc, unsigned length) in dwc3_alloc_event_buffers() 192 static int dwc3_event_buffers_setup(struct dwc3 *dwc) in dwc3_event_buffers_setup() 217 static void dwc3_event_buffers_cleanup(struct dwc3 *dwc) in dwc3_event_buffers_cleanup() 235 static int dwc3_alloc_scratch_buffers(struct dwc3 *dwc) in dwc3_alloc_scratch_buffers() 251 static int dwc3_setup_scratch_buffers(struct dwc3 *dwc) in dwc3_setup_scratch_buffers() [all …]
|
| H A D | gadget.c | 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() 162 int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc) in dwc3_gadget_resize_tx_fifos() 228 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_giveback() local 267 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param) in dwc3_send_gadget_generic_command() 294 int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep, in dwc3_send_gadget_ep_cmd() 361 static int dwc3_gadget_start_config(struct dwc3 *dwc, struct dwc3_ep *dep) in dwc3_gadget_start_config() 384 static int dwc3_gadget_set_ep_config(struct dwc3 *dwc, struct dwc3_ep *dep, in dwc3_gadget_set_ep_config() 447 static int dwc3_gadget_set_xfer_resource(struct dwc3 *dwc, struct dwc3_ep *dep) in dwc3_gadget_set_xfer_resource() [all …]
|
| H A D | ep0.c | 50 static int dwc3_ep0_start_trans(struct dwc3 *dwc, u8 epnum, dma_addr_t buf_dma, in dwc3_ep0_start_trans() 113 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_queue() local 218 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_queue() local 250 static void dwc3_ep0_stall_and_restart(struct dwc3 *dwc) in dwc3_ep0_stall_and_restart() 278 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_set_halt() local 297 void dwc3_ep0_out_start(struct dwc3 *dwc) in dwc3_ep0_out_start() 306 static struct dwc3_ep *dwc3_wIndex_to_dep(struct dwc3 *dwc, __le16 wIndex_le) in dwc3_wIndex_to_dep() 329 static int dwc3_ep0_handle_status(struct dwc3 *dwc, in dwc3_ep0_handle_status() 387 static int dwc3_ep0_handle_feature(struct dwc3 *dwc, in dwc3_ep0_handle_feature() 497 static int dwc3_ep0_set_address(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl) in dwc3_ep0_set_address() [all …]
|
| H A D | core.h | 416 struct dwc3 *dwc; member 460 struct dwc3 *dwc; member 1025 static inline int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init() 1027 static inline void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit() 1040 static inline int dwc3_gadget_init(struct dwc3 *dwc) in dwc3_gadget_init() 1042 static inline void dwc3_gadget_exit(struct dwc3 *dwc) in dwc3_gadget_exit() 1044 static inline int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode() 1046 static inline int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state() 1048 static inline int dwc3_gadget_set_link_state(struct dwc3 *dwc, in dwc3_gadget_set_link_state() 1052 static inline int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep, in dwc3_send_gadget_ep_cmd() [all …]
|
| H A D | gadget.h | 99 static inline u32 dwc3_gadget_ep_get_transfer_index(struct dwc3 *dwc, u8 number) in dwc3_gadget_ep_get_transfer_index()
|
| /OK3568_Linux_fs/kernel/drivers/dma/dw/ |
| H A D | core.c | 51 static struct dw_desc *dwc_first_active(struct dw_dma_chan *dwc) in dwc_first_active() 59 struct dw_dma_chan *dwc = to_dw_dma_chan(tx->chan); in dwc_tx_submit() local 80 static struct dw_desc *dwc_desc_get(struct dw_dma_chan *dwc) in dwc_desc_get() 99 static void dwc_desc_put(struct dw_dma_chan *dwc, struct dw_desc *desc) in dwc_desc_put() 117 static void dwc_initialize(struct dw_dma_chan *dwc) in dwc_initialize() 130 static inline void dwc_dump_chan_regs(struct dw_dma_chan *dwc) in dwc_dump_chan_regs() 141 static inline void dwc_chan_disable(struct dw_dma *dw, struct dw_dma_chan *dwc) in dwc_chan_disable() 151 static inline void dwc_do_single_block(struct dw_dma_chan *dwc, in dwc_do_single_block() 174 static void dwc_dostart(struct dw_dma_chan *dwc, struct dw_desc *first) in dwc_dostart() 219 static void dwc_dostart_first_queued(struct dw_dma_chan *dwc) in dwc_dostart_first_queued() [all …]
|
| H A D | idma32.c | 12 static void idma32_initialize_chan(struct dw_dma_chan *dwc) in idma32_initialize_chan() 32 static void idma32_suspend_chan(struct dw_dma_chan *dwc, bool drain) in idma32_suspend_chan() 42 static void idma32_resume_chan(struct dw_dma_chan *dwc, bool drain) in idma32_resume_chan() 52 static u32 idma32_bytes2block(struct dw_dma_chan *dwc, in idma32_bytes2block() 68 static size_t idma32_block2bytes(struct dw_dma_chan *dwc, u32 block, u32 width) in idma32_block2bytes() 73 static u32 idma32_prepare_ctllo(struct dw_dma_chan *dwc) in idma32_prepare_ctllo() 83 static void idma32_encode_maxburst(struct dw_dma_chan *dwc, u32 *maxburst) in idma32_encode_maxburst()
|
| H A D | dw.c | 14 static void dw_dma_initialize_chan(struct dw_dma_chan *dwc) in dw_dma_initialize_chan() 32 static void dw_dma_suspend_chan(struct dw_dma_chan *dwc, bool drain) in dw_dma_suspend_chan() 39 static void dw_dma_resume_chan(struct dw_dma_chan *dwc, bool drain) in dw_dma_resume_chan() 46 static u32 dw_dma_bytes2block(struct dw_dma_chan *dwc, in dw_dma_bytes2block() 62 static size_t dw_dma_block2bytes(struct dw_dma_chan *dwc, u32 block, u32 width) in dw_dma_block2bytes() 67 static u32 dw_dma_prepare_ctllo(struct dw_dma_chan *dwc) in dw_dma_prepare_ctllo() 82 static void dw_dma_encode_maxburst(struct dw_dma_chan *dwc, u32 *maxburst) in dw_dma_encode_maxburst()
|
| H A D | regs.h | 298 __dwc_regs(struct dw_dma_chan *dwc) in __dwc_regs() 303 #define channel_readl(dwc, name) \ argument 305 #define channel_writel(dwc, name, val) \ argument
|
| /OK3568_Linux_fs/kernel/fs/ocfs2/ |
| H A D | aops.c | 2093 struct ocfs2_dio_write_ctxt *dwc = NULL; in ocfs2_dio_alloc_write_ctx() local 2112 struct ocfs2_dio_write_ctxt *dwc) in ocfs2_dio_free_write_ctx() 2138 struct ocfs2_dio_write_ctxt *dwc = NULL; in ocfs2_dio_wr_get_block() local 2283 struct ocfs2_dio_write_ctxt *dwc, in ocfs2_dio_end_io_write()
|
| /OK3568_Linux_fs/kernel/include/math-emu/ |
| H A D | op-common.h | 826 #define FP_CONV(dfs,sfs,dwc,swc,D,S) \ argument
|