Lines Matching full:udc
22 #define UDCCR 0x0000 /* UDC Control Register */
23 #define UDCICR0 0x0004 /* UDC Interrupt Control Register0 */
24 #define UDCICR1 0x0008 /* UDC Interrupt Control Register1 */
25 #define UDCISR0 0x000C /* UDC Interrupt Status Register 0 */
26 #define UDCISR1 0x0010 /* UDC Interrupt Status Register 1 */
27 #define UDCFNR 0x0014 /* UDC Frame Number Register */
28 #define UDCOTGICR 0x0018 /* UDC On-The-Go interrupt control */
31 #define UDCCSRn(x) (0x0100 + ((x)<<2)) /* UDC Control/Status register */
32 #define UDCBCRn(x) (0x0200 + ((x)<<2)) /* UDC Byte Count Register */
33 #define UDCDRn(x) (0x0300 + ((x)<<2)) /* UDC Data Register */
34 #define UDCCRn(x) (0x0400 + ((x)<<2)) /* UDC Control Register */
44 #define UDCCR_ACN (0x03 << 11) /* Active UDC configuration Number */
46 #define UDCCR_AIN (0x07 << 8) /* Active UDC interface Number */
48 #define UDCCR_AAISN (0x07 << 5) /* Active UDC Alternate Interface
55 #define UDCCR_UDR (1 << 2) /* UDC Resume */
56 #define UDCCR_UDA (1 << 1) /* UDC Active */
57 #define UDCCR_UDE (1 << 0) /* UDC Enable */
169 * UDCCR = UDC Endpoint Configuration Registers
170 * UDCCSR = UDC Control/Status Register for this EP
171 * UDCBCR = UDC Byte Count Remaining (contents of OUT fifo)
172 * UDCDR = UDC Endpoint Data Register (the fifo)
190 #define udc_writel(udc, reg, value) \ argument
191 __raw_writel((value), (udc)->regs + (reg))
209 * unless a reset happens or the udc is disabled.
211 * all gadget and set them up before the udc is enabled.
221 * the udc talks on (config=3, interface=0, alt=0)
223 * the udc talks on (config=3, interface=0, alt=1)
225 * the udc talks on (config=2, interface=0, alt=0)
302 * @dev: udc managing this endpoint
314 * @dev: udc device
342 * gadget which may work with this udc driver.
404 #define EP0_STNAME(udc) ep0_state_name[(udc)->ep0state] argument
422 * struct pxa_udc - udc structure
424 * @irq: udc irq
425 * @clk: udc clock
426 * @usb_gadget: udc gadget structure
433 * @stats: statistics on udc usage
436 * @enabled: UDC was enabled by a previous udc_enable()
439 * @config: UDC active configuration
440 * @last_interface: UDC interface of the last SET_INTERFACE host request
441 * @last_alternate: UDC altsetting of the last SET_INTERFACE host request