Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/host/
Dfotg210-hcd.c81 #define fotg210_dbg(fotg210, fmt, args...) \ argument
82 dev_dbg(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args)
83 #define fotg210_err(fotg210, fmt, args...) \ argument
84 dev_err(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args)
85 #define fotg210_info(fotg210, fmt, args...) \ argument
86 dev_info(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args)
87 #define fotg210_warn(fotg210, fmt, args...) \ argument
88 dev_warn(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args)
93 static void dbg_hcs_params(struct fotg210_hcd *fotg210, char *label) in dbg_hcs_params() argument
95 u32 params = fotg210_readl(fotg210, &fotg210->caps->hcs_params); in dbg_hcs_params()
[all …]
Dfotg210.h197 static inline struct usb_hcd *fotg210_to_hcd(struct fotg210_hcd *fotg210) in fotg210_to_hcd() argument
199 return container_of((void *) fotg210, struct usb_hcd, hcd_priv); in fotg210_to_hcd()
215 #define HC_LENGTH(fotg210, p) (0x00ff&((p) >> /* bits 7:0 / offset 00h */ \ argument
216 (fotg210_big_endian_capbase(fotg210) ? 24 : 0)))
217 #define HC_VERSION(fotg210, p) (0xffff&((p) >> /* bits 31:16 / offset 02h */ \ argument
218 (fotg210_big_endian_capbase(fotg210) ? 0 : 16)))
310 #define QTD_NEXT(fotg210, dma) cpu_to_hc32(fotg210, (u32)dma) argument
339 #define ACTIVE_BIT(fotg210) cpu_to_hc32(fotg210, QTD_STS_ACTIVE) argument
340 #define HALT_BIT(fotg210) cpu_to_hc32(fotg210, QTD_STS_HALT) argument
341 #define STATUS_BIT(fotg210) cpu_to_hc32(fotg210, QTD_STS_STS) argument
[all …]
DMakefile89 obj-$(CONFIG_USB_FOTG210_HCD) += fotg210-hcd.o
DKconfig372 module will be called fotg210-hcd.
/Linux-v5.4/drivers/usb/gadget/udc/
Dfotg210-udc.c30 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 …]
DMakefile37 obj-$(CONFIG_USB_FOTG210_UDC) += fotg210-udc.o
Dfotg210.h217 struct fotg210_udc *fotg210; member
/Linux-v5.4/Documentation/devicetree/bindings/usb/
Dfaraday,fotg210.txt8 "faraday,fotg210"
9 "cortina,gemini-usb", "faraday,fotg210"
28 compatible = "cortina,gemini-usb", "faraday,fotg210";
/Linux-v5.4/arch/arm/boot/dts/
Dgemini.dtsi414 compatible = "cortina,gemini-usb", "faraday,fotg210";
435 compatible = "cortina,gemini-usb", "faraday,fotg210";