Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/usb/host/
Dfotg210-hcd.c82 #define fotg210_dbg(fotg210, fmt, args...) \ argument
83 dev_dbg(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args)
84 #define fotg210_err(fotg210, fmt, args...) \ argument
85 dev_err(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args)
86 #define fotg210_info(fotg210, fmt, args...) \ argument
87 dev_info(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args)
88 #define fotg210_warn(fotg210, fmt, args...) \ argument
89 dev_warn(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args)
94 static void dbg_hcs_params(struct fotg210_hcd *fotg210, char *label) in dbg_hcs_params() argument
96 u32 params = fotg210_readl(fotg210, &fotg210->caps->hcs_params); in dbg_hcs_params()
[all …]
Dfotg210.h194 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 …]
DMakefile86 obj-$(CONFIG_USB_FOTG210_HCD) += fotg210-hcd.o
DKconfig390 module will be called fotg210-hcd.
/Linux-v5.15/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.15/Documentation/devicetree/bindings/usb/
Dfaraday,fotg210.txt8 "faraday,fotg210"
9 "cortina,gemini-usb", "faraday,fotg210"
28 compatible = "cortina,gemini-usb", "faraday,fotg210";
/Linux-v5.15/arch/arm/boot/dts/
Dgemini.dtsi425 compatible = "cortina,gemini-usb", "faraday,fotg210";
446 compatible = "cortina,gemini-usb", "faraday,fotg210";