/openbmc/linux/drivers/usb/fotg210/ |
H A D | fotg210-udc.c | 3 * FOTG210 UDC Driver supports Bulk transfer so far 22 #include "fotg210.h" 23 #include "fotg210-udc.h" 25 #define DRIVER_DESC "FOTG210 USB Device Controller Driver" 32 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() [all …]
|
H A D | fotg210-hcd.c | 2 /* Faraday FOTG210 EHCI-like driver 41 #include "fotg210.h" 79 #include "fotg210-hcd.h" 81 #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 [all …]
|
H A D | Makefile | 6 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 D | fotg210-hcd.h | 185 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 D | Kconfig | 4 tristate "Faraday FOTG210 USB2 Dual Role controller" 11 Faraday FOTG210 is a dual-mode USB controller that can act 17 bool "Faraday FOTG210 USB Host Controller support" 20 Faraday FOTG210 is an OTG controller which can be configured as 25 module will be called fotg210-hcd. 29 bool "Faraday FOTG210 USB Peripheral Controller support" 36 dynamically linked module called "fotg210-udc".
|
H A D | fotg210.h | 11 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 D | fotg210-core.c | 3 * Central probing code for the FOTG210 dual role driver 19 #include "fotg210.h" 42 static int fotg210_gemini_init(struct fotg210 *fotg, struct resource *res, in fotg210_gemini_init() 98 * @fotg: pointer to a private fotg210 object 101 void fotg210_vbus(struct fotg210 *fotg, bool enable) in fotg210_vbus() 130 struct fotg210 *fotg; in fotg210_probe() 185 { .compatible = "faraday,fotg210" }, 194 .name = "fotg210", 219 MODULE_DESCRIPTION("FOTG210 Dual Role Controller Driver");
|
H A D | fotg210-udc.h | 3 * Faraday FOTG210 USB OTG controller 219 struct fotg210_udc *fotg210; member 240 struct fotg210 *fotg;
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | fotg210.c | 20 #include <usb/fotg210.h> 135 printf("fotg210: chip reset failed\n"); in fotg210_reset() 143 printf("fotg210: ep0 fifo reset failed\n"); in fotg210_reset() 162 printf("fotg210: fifo%d reset failed\n", i); in fotg210_reset() 203 printf("fotg210: cx/ep0 timeout\n"); in fotg210_cxwait() 230 printf("fotg210: dma busy\n"); in fotg210_dma() 285 printf("fotg210: dma error\n"); in fotg210_dma() 290 printf("fotg210: dma reset by host\n"); in fotg210_dma() 306 printf("fotg210: ep%d dma error(code=%d)\n", ep->id, ret); in fotg210_dma() 334 puts("fotg210: HS\n"); in fotg210_setup() [all …]
|
H A D | Makefile | 22 obj-$(CONFIG_USB_GADGET_FOTG210) += fotg210.o
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | faraday,fotg210.yaml | 5 $id: http://devicetree.org/schemas/usb/faraday,fotg210.yaml# 21 - const: faraday,fotg210
|
/openbmc/linux/drivers/usb/ |
H A D | Makefile | 20 obj-$(CONFIG_USB_FOTG210) += fotg210/
|
H A D | Kconfig | 118 source "drivers/usb/fotg210/Kconfig"
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | ehci-faraday.c | 13 #include <usb/fotg210.h>
|
/openbmc/linux/ |
H A D | MAINTAINERS | 7996 FARADAY FOTG210 USB2 DUAL-ROLE CONTROLLER 8000 F: drivers/usb/fotg210/
|
H A D | opengrok0.0.log | [all...] |
/openbmc/ |
D | opengrok1.0.log | [all...] |
D | opengrok2.0.log | [all...] |