Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/fotg210/
H A 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 …]
H A Dfotg210-udc.c32 static void fotg210_ack_int(struct fotg210_udc *fotg210, u32 offset, u32 mask) in fotg210_ack_int() argument
34 u32 value = ioread32(fotg210->reg + offset); in fotg210_ack_int()
37 iowrite32(value, fotg210->reg + offset); in fotg210_ack_int()
42 u32 value = ioread32(ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_disable_fifo_int()
48 iowrite32(value, ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_disable_fifo_int()
53 u32 value = ioread32(ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_enable_fifo_int()
59 iowrite32(value, ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_enable_fifo_int()
62 static void fotg210_set_cxdone(struct fotg210_udc *fotg210) in fotg210_set_cxdone() argument
64 u32 value = ioread32(fotg210->reg + FOTG210_DCFESR); in fotg210_set_cxdone()
67 iowrite32(value, fotg210->reg + FOTG210_DCFESR); in fotg210_set_cxdone()
[all …]
H A Dfotg210-hcd.h185 struct fotg210 *fotg; /* Overarching FOTG210 device */
195 static inline struct usb_hcd *fotg210_to_hcd(struct fotg210_hcd *fotg210) in fotg210_to_hcd() argument
197 return container_of((void *) fotg210, struct usb_hcd, hcd_priv); in fotg210_to_hcd()
213 #define HC_LENGTH(fotg210, p) (0x00ff&((p) >> /* bits 7:0 / offset 00h */ \ argument
214 (fotg210_big_endian_capbase(fotg210) ? 24 : 0)))
215 #define HC_VERSION(fotg210, p) (0xffff&((p) >> /* bits 31:16 / offset 02h */ \ argument
216 (fotg210_big_endian_capbase(fotg210) ? 0 : 16)))
308 #define QTD_NEXT(fotg210, dma) cpu_to_hc32(fotg210, (u32)dma) argument
337 #define ACTIVE_BIT(fotg210) cpu_to_hc32(fotg210, QTD_STS_ACTIVE) argument
338 #define HALT_BIT(fotg210) cpu_to_hc32(fotg210, QTD_STS_HALT) argument
[all …]
H A DMakefile6 fotg210-objs-y += fotg210-core.o
7 fotg210-objs-$(CONFIG_USB_FOTG210_HCD) += fotg210-hcd.o
8 fotg210-objs-$(CONFIG_USB_FOTG210_UDC) += fotg210-udc.o
9 fotg210-objs := $(fotg210-objs-y)
10 obj-$(CONFIG_USB_FOTG210) += fotg210.o
H A Dfotg210.h11 struct fotg210 { struct
20 void fotg210_vbus(struct fotg210 *fotg, bool enable); argument
23 int fotg210_hcd_probe(struct platform_device *pdev, struct fotg210 *fotg);
29 struct fotg210 *fotg) in fotg210_hcd_probe()
47 int fotg210_udc_probe(struct platform_device *pdev, struct fotg210 *fotg);
51 struct fotg210 *fotg) in fotg210_udc_probe()
H A Dfotg210-core.c42 static int fotg210_gemini_init(struct fotg210 *fotg, struct resource *res, in fotg210_gemini_init()
101 void fotg210_vbus(struct fotg210 *fotg, bool enable) in fotg210_vbus()
130 struct fotg210 *fotg; in fotg210_probe()
H A DKconfig25 module will be called fotg210-hcd.
36 dynamically linked module called "fotg210-udc".
H A Dfotg210-udc.h219 struct fotg210_udc *fotg210; member
240 struct fotg210 *fotg;
/openbmc/u-boot/drivers/usb/gadget/
H A DMakefile22 obj-$(CONFIG_USB_GADGET_FOTG210) += fotg210.o
/openbmc/linux/drivers/usb/
H A DMakefile20 obj-$(CONFIG_USB_FOTG210) += fotg210/
H A DKconfig118 source "drivers/usb/fotg210/Kconfig"
/openbmc/linux/
H A DMAINTAINERS8000 F: drivers/usb/fotg210/
H A Dopengrok0.0.log[all...]
/openbmc/
Dopengrok1.0.log[all...]
Dopengrok2.0.log[all...]