Home
last modified time | relevance | path

Searched +full:vhub +full:- +full:generic +full:- +full:endpoints (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Dvhub.h1 /* SPDX-License-Identifier: GPL-2.0+ */
10 * VHUB register definitions *
107 * per-device register definitions *
136 * matching corresponding vHub EP0 control bits
146 * per-endpoint register definitions *
210 * existing AST2400/AST2500 platforms. AST2600 and future vhub revisions
211 * should define number of downstream ports and endpoints in device tree.
213 #define AST_VHUB_NUM_GEN_EPs 15 /* Generic non-0 EPs */
214 #define AST_VHUB_NUM_PORTS 5 /* vHub ports */
216 #define AST_VHUB_EPn_MAX_PACKET 1024 /* Generic EPs max packet size */
[all …]
H A Depn.c1 // SPDX-License-Identifier: GPL-2.0+
3 * aspeed-vhub -- Driver for Aspeed SoC "vHub" USB gadget
5 * epn.c - Generic endpoints management
25 #include <linux/dma-mapping.h>
27 #include "vhub.h"
42 unsigned int act = req->req.actual; in ast_vhub_epn_kick()
43 unsigned int len = req->req.length; in ast_vhub_epn_kick()
47 WARN_ON(req->active); in ast_vhub_epn_kick()
50 chunk = len - act; in ast_vhub_epn_kick()
51 if (chunk > ep->ep.maxpacket) in ast_vhub_epn_kick()
[all …]
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-inventec-transformers.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
4 /dts-v1/;
6 #include "aspeed-g6.dtsi"
7 #include "aspeed-g6-pinctrl.dtsi"
8 #include <dt-bindings/i2c/i2c.h>
9 #include <dt-bindings/gpio/aspeed-gpio.h>
13 compatible = "inventec,transformer-bmc", "aspeed,ast2600";
20 stdout-path = &uart5;
30 compatible = "gpio-leds";
49 ethphy0: ethernet-phy@0 {
[all …]
H A Daspeed-bmc-inventec-starscream.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
4 /dts-v1/;
6 #include "aspeed-g6.dtsi"
7 #include "aspeed-g6-pinctrl.dtsi"
8 #include <dt-bindings/i2c/i2c.h>
9 #include <dt-bindings/gpio/aspeed-gpio.h>
13 compatible = "inventec,starscream-bmc", "aspeed,ast2600";
20 stdout-path = &uart5;
28 reserved-memory {
29 #address-cells = <1>;
[all …]
/linux/drivers/usb/gadget/udc/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
7 # NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB !!
9 # - Host systems (like PCs) need CONFIG_USB (with "A" jacks).
10 # - Peripherals (like PDAs) need CONFIG_USB_GADGET (with "B" jacks).
11 # - Some systems have both kinds of controllers.
13 # With help from a special transceiver and a "Mini-AB" jack, systems with
14 # both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG).
22 # - integrated/SOC controllers first
23 # - licensed IP used in both SOC and discrete versions
24 # - discrete ones (including all PCI-only controllers)
[all …]