Home
last modified time | relevance | path

Searched refs:fotg210 (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/drivers/usb/host/
Dfotg210-hcd.c98 #define fotg210_dbg(fotg210, fmt, args...) \ argument
99 dev_dbg(fotg210_to_hcd(fotg210)->self.controller , fmt , ## args)
100 #define fotg210_err(fotg210, fmt, args...) \ argument
101 dev_err(fotg210_to_hcd(fotg210)->self.controller , fmt , ## args)
102 #define fotg210_info(fotg210, fmt, args...) \ argument
103 dev_info(fotg210_to_hcd(fotg210)->self.controller , fmt , ## args)
104 #define fotg210_warn(fotg210, fmt, args...) \ argument
105 dev_warn(fotg210_to_hcd(fotg210)->self.controller , fmt , ## args)
111 static void dbg_hcs_params(struct fotg210_hcd *fotg210, char *label) in dbg_hcs_params() argument
113 u32 params = fotg210_readl(fotg210, &fotg210->caps->hcs_params); in dbg_hcs_params()
[all …]
Dfotg210.h187 static inline struct usb_hcd *fotg210_to_hcd(struct fotg210_hcd *fotg210) in fotg210_to_hcd() argument
189 return container_of((void *) fotg210, struct usb_hcd, hcd_priv); in fotg210_to_hcd()
205 #define HC_LENGTH(fotg210, p) (0x00ff&((p) >> /* bits 7:0 / offset 00h */ \ argument
206 (fotg210_big_endian_capbase(fotg210) ? 24 : 0)))
207 #define HC_VERSION(fotg210, p) (0xffff&((p) >> /* bits 31:16 / offset 02h */ \ argument
208 (fotg210_big_endian_capbase(fotg210) ? 0 : 16)))
300 #define QTD_NEXT(fotg210, dma) cpu_to_hc32(fotg210, (u32)dma) argument
329 #define ACTIVE_BIT(fotg210) cpu_to_hc32(fotg210, QTD_STS_ACTIVE) argument
330 #define HALT_BIT(fotg210) cpu_to_hc32(fotg210, QTD_STS_HALT) argument
331 #define STATUS_BIT(fotg210) cpu_to_hc32(fotg210, QTD_STS_STS) argument
[all …]
DMakefile75 obj-$(CONFIG_USB_FOTG210_HCD) += fotg210-hcd.o
DKconfig363 module will be called fotg210-hcd.
/linux-4.1.27/drivers/usb/gadget/udc/
Dfotg210-udc.c33 u32 value = ioread32(ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_disable_fifo_int()
39 iowrite32(value, ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_disable_fifo_int()
44 u32 value = ioread32(ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_enable_fifo_int()
50 iowrite32(value, ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_enable_fifo_int()
53 static void fotg210_set_cxdone(struct fotg210_udc *fotg210) in fotg210_set_cxdone() argument
55 u32 value = ioread32(fotg210->reg + FOTG210_DCFESR); in fotg210_set_cxdone()
58 iowrite32(value, fotg210->reg + FOTG210_DCFESR); in fotg210_set_cxdone()
67 if (ep->fotg210->gadget.speed == USB_SPEED_UNKNOWN) in fotg210_done()
72 spin_unlock(&ep->fotg210->lock); in fotg210_done()
74 spin_lock(&ep->fotg210->lock); in fotg210_done()
[all …]
DMakefile29 obj-$(CONFIG_USB_FOTG210_UDC) += fotg210-udc.o
Dfotg210.h221 struct fotg210_udc *fotg210; member