Searched refs:fotg210 (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/drivers/usb/host/ |
D | fotg210-hcd.c | 79 #define fotg210_dbg(fotg210, fmt, args...) \ argument 80 dev_dbg(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args) 81 #define fotg210_err(fotg210, fmt, args...) \ argument 82 dev_err(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args) 83 #define fotg210_info(fotg210, fmt, args...) \ argument 84 dev_info(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args) 85 #define fotg210_warn(fotg210, fmt, args...) \ argument 86 dev_warn(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args) 91 static void dbg_hcs_params(struct fotg210_hcd *fotg210, char *label) in dbg_hcs_params() argument 93 u32 params = fotg210_readl(fotg210, &fotg210->caps->hcs_params); in dbg_hcs_params() [all …]
|
D | fotg210.h | 194 static inline struct usb_hcd *fotg210_to_hcd(struct fotg210_hcd *fotg210) in fotg210_to_hcd() argument 196 return container_of((void *) fotg210, struct usb_hcd, hcd_priv); in fotg210_to_hcd() 212 #define HC_LENGTH(fotg210, p) (0x00ff&((p) >> /* bits 7:0 / offset 00h */ \ argument 213 (fotg210_big_endian_capbase(fotg210) ? 24 : 0))) 214 #define HC_VERSION(fotg210, p) (0xffff&((p) >> /* bits 31:16 / offset 02h */ \ argument 215 (fotg210_big_endian_capbase(fotg210) ? 0 : 16))) 307 #define QTD_NEXT(fotg210, dma) cpu_to_hc32(fotg210, (u32)dma) argument 336 #define ACTIVE_BIT(fotg210) cpu_to_hc32(fotg210, QTD_STS_ACTIVE) argument 337 #define HALT_BIT(fotg210) cpu_to_hc32(fotg210, QTD_STS_HALT) argument 338 #define STATUS_BIT(fotg210) cpu_to_hc32(fotg210, QTD_STS_STS) argument [all …]
|
D | Makefile | 92 obj-$(CONFIG_USB_FOTG210_HCD) += fotg210-hcd.o
|
D | Kconfig | 381 module will be called fotg210-hcd.
|
/Linux-v4.19/drivers/usb/gadget/udc/ |
D | fotg210-udc.c | 30 u32 value = ioread32(ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_disable_fifo_int() 36 iowrite32(value, ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_disable_fifo_int() 41 u32 value = ioread32(ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_enable_fifo_int() 47 iowrite32(value, ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_enable_fifo_int() 50 static void fotg210_set_cxdone(struct fotg210_udc *fotg210) in fotg210_set_cxdone() argument 52 u32 value = ioread32(fotg210->reg + FOTG210_DCFESR); in fotg210_set_cxdone() 55 iowrite32(value, fotg210->reg + FOTG210_DCFESR); in fotg210_set_cxdone() 64 if (ep->fotg210->gadget.speed == USB_SPEED_UNKNOWN) in fotg210_done() 69 spin_unlock(&ep->fotg210->lock); in fotg210_done() 71 spin_lock(&ep->fotg210->lock); in fotg210_done() [all …]
|
D | Makefile | 37 obj-$(CONFIG_USB_FOTG210_UDC) += fotg210-udc.o
|
D | fotg210.h | 217 struct fotg210_udc *fotg210; member
|