Searched refs:fotg210 (Results 1 – 7 of 7) sorted by relevance
| /linux-4.4.14/drivers/usb/host/ |
| D | fotg210-hcd.c | 92 #define fotg210_dbg(fotg210, fmt, args...) \ argument 93 dev_dbg(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args) 94 #define fotg210_err(fotg210, fmt, args...) \ argument 95 dev_err(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args) 96 #define fotg210_info(fotg210, fmt, args...) \ argument 97 dev_info(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args) 98 #define fotg210_warn(fotg210, fmt, args...) \ argument 99 dev_warn(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args) 104 static void dbg_hcs_params(struct fotg210_hcd *fotg210, char *label) in dbg_hcs_params() argument 106 u32 params = fotg210_readl(fotg210, &fotg210->caps->hcs_params); in dbg_hcs_params() [all …]
|
| D | fotg210.h | 193 static inline struct usb_hcd *fotg210_to_hcd(struct fotg210_hcd *fotg210) in fotg210_to_hcd() argument 195 return container_of((void *) fotg210, struct usb_hcd, hcd_priv); in fotg210_to_hcd() 211 #define HC_LENGTH(fotg210, p) (0x00ff&((p) >> /* bits 7:0 / offset 00h */ \ argument 212 (fotg210_big_endian_capbase(fotg210) ? 24 : 0))) 213 #define HC_VERSION(fotg210, p) (0xffff&((p) >> /* bits 31:16 / offset 02h */ \ argument 214 (fotg210_big_endian_capbase(fotg210) ? 0 : 16))) 306 #define QTD_NEXT(fotg210, dma) cpu_to_hc32(fotg210, (u32)dma) argument 335 #define ACTIVE_BIT(fotg210) cpu_to_hc32(fotg210, QTD_STS_ACTIVE) argument 336 #define HALT_BIT(fotg210) cpu_to_hc32(fotg210, QTD_STS_HALT) argument 337 #define STATUS_BIT(fotg210) cpu_to_hc32(fotg210, QTD_STS_STS) argument [all …]
|
| D | Makefile | 77 obj-$(CONFIG_USB_FOTG210_HCD) += fotg210-hcd.o
|
| D | Kconfig | 360 module will be called fotg210-hcd.
|
| /linux-4.4.14/drivers/usb/gadget/udc/ |
| D | fotg210-udc.c | 33 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 …]
|
| D | Makefile | 29 obj-$(CONFIG_USB_FOTG210_UDC) += fotg210-udc.o
|
| D | fotg210.h | 221 struct fotg210_udc *fotg210; member
|