.queue = fsl_ep_queue,
.dequeue = fsl_ep_dequeue,
.set_halt = fsl_ep_set_halt,
.fifo_status = arcotg_fifo_status,
.fifo_flush = fsl_ep_fifo_flush, /* flush
fifo */
};
static struct usb_gadget_ops fsl_gadget_ops = {
.get_frame = fsl_get_frame,
.wakeup = fsl_wakeup,
/* .set_selfpowered = fsl_set_selfpowered, */ /*
Always selfpowered */
.vbus_session = fsl_vbus_session,
.vbus_draw = fsl_vbus_draw,
.pullup = fsl_pullup,
};
• fsl_ep_enable-configures an endpoint making it usable
• fsl_ep_disable-specifies an endpoint is no longer usable
• fsl_alloc_request-allocates a request object to use with this endpoint
• fsl_free_request-frees a request object
• arcotg_ep_queue-queues (submits) an I/O request to an endpoint
• arcotg_ep_dequeue-dequeues (cancels, unlinks) an I/O request from an endpoint
• arcotg_ep_set_halt-sets the endpoint halt feature
• arcotg_fifo_status-get the total number of bytes to be moved with this transfer
descriptor
For OTG, ID dynamic switch host/device modes are supported. Full OTG functions are
temporarily not supported.
26.2.2 Source Code Structure
Table below shows the source files available in the source directory, <ltib_dir>/rpm/
BUILD/linux/drivers/usb.
Table 26-1. USB Driver Files
File
Description
host/ehci-hcd.c
Host driver source file
host/ehci-arc.c
Host driver source file
host/ehci-mem-iram.c
Host driver source file for IRAM support
host/ehci-hub.c
Hub driver source file
host/ehci-mem.c
Memory management for host driver data structures
host/ehci-q.c
EHCI host queue manipulation
host/ehci-q-iram.c
Host driver source file for IRAM support
gadget/arcotg_udc.c
Peripheral driver source file
gadget/arcotg_udc.h
USB peripheral/endpoint management registers
otg/fsl_otg.c
OTG driver source file
Table continues on the next page...
Chapter 26 ARC USB Driver
i.MX 6SoloLite Linux Reference Manual, Rev. L3.0.35_4.1.0, 09/2013
Freescale Semiconductor, Inc.
165
Содержание i.MX 6SoloLite Linux
Страница 1: ...i MX 6SoloLite Linux Reference Manual Document Number IMXL6SLRM Rev L3 0 35_4 1 0 09 2013 ...
Страница 2: ...i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 2 Freescale Semiconductor Inc ...
Страница 16: ...i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 16 Freescale Semiconductor Inc ...
Страница 26: ...Overview i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 26 Freescale Semiconductor Inc ...
Страница 42: ...Overview i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 42 Freescale Semiconductor Inc ...
Страница 102: ...Hardware Operation i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 102 Freescale Semiconductor Inc ...
Страница 118: ...Unit Test i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 118 Freescale Semiconductor Inc ...
Страница 122: ...Driver Features i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 122 Freescale Semiconductor Inc ...
Страница 126: ...Driver Features i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 126 Freescale Semiconductor Inc ...
Страница 136: ...Unit Test i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 136 Freescale Semiconductor Inc ...
Страница 140: ...Introduction i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 140 Freescale Semiconductor Inc ...
Страница 154: ...Driver Features i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 154 Freescale Semiconductor Inc ...
Страница 162: ...Driver Features i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 162 Freescale Semiconductor Inc ...
Страница 172: ...System WakeUp i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 172 Freescale Semiconductor Inc ...
Страница 184: ...Programming Interface i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 184 Freescale Semiconductor Inc ...
Страница 192: ...Generic WDOG Driver i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 192 Freescale Semiconductor Inc ...
Страница 198: ...Requirements i MX 6SoloLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 198 Freescale Semiconductor Inc ...