/drivers/usb/gadget/udc/ |
D | renesas_usb3.c | 237 struct renesas_usb3 *usb3; member 280 #define usb3_ep_to_usb3(_usb3_ep) (_usb3_ep->usb3) 284 #define usb3_get_ep(usb3, n) ((usb3)->usb3_ep + (n)) argument 285 #define usb3_for_each_ep(usb3_ep, usb3, i) \ argument 286 for ((i) = 0, usb3_ep = usb3_get_ep(usb3, (i)); \ 287 (i) < (usb3)->num_usb3_eps; \ 288 (i)++, usb3_ep = usb3_get_ep(usb3, (i))) 292 static void usb3_write(struct renesas_usb3 *usb3, u32 data, u32 offs) in usb3_write() argument 294 iowrite32(data, usb3->reg + offs); in usb3_write() 297 static u32 usb3_read(struct renesas_usb3 *usb3, u32 offs) in usb3_read() argument [all …]
|
/drivers/phy/ |
D | phy-bcm-ns-usb3.c | 53 static int bcm_ns_usb3_wait_reg(struct bcm_ns_usb3 *usb3, void __iomem *addr, in bcm_ns_usb3_wait_reg() argument 67 dev_err(usb3->dev, "Timeout waiting for register %p\n", addr); in bcm_ns_usb3_wait_reg() 72 static inline int bcm_ns_usb3_mii_mng_wait_idle(struct bcm_ns_usb3 *usb3) in bcm_ns_usb3_mii_mng_wait_idle() argument 74 return bcm_ns_usb3_wait_reg(usb3, usb3->ccb_mii + BCMA_CCB_MII_MNG_CTL, in bcm_ns_usb3_mii_mng_wait_idle() 79 static int bcm_ns_usb3_mii_mng_write32(struct bcm_ns_usb3 *usb3, u32 value) in bcm_ns_usb3_mii_mng_write32() argument 83 err = bcm_ns_usb3_mii_mng_wait_idle(usb3); in bcm_ns_usb3_mii_mng_write32() 85 dev_err(usb3->dev, "Couldn't write 0x%08x value\n", value); in bcm_ns_usb3_mii_mng_write32() 89 writel(value, usb3->ccb_mii + BCMA_CCB_MII_MNG_CMD_DATA); in bcm_ns_usb3_mii_mng_write32() 94 static int bcm_ns_usb3_phy_init_ns_bx(struct bcm_ns_usb3 *usb3) in bcm_ns_usb3_phy_init_ns_bx() argument 99 writel(0x0000009a, usb3->ccb_mii + BCMA_CCB_MII_MNG_CTL); in bcm_ns_usb3_phy_init_ns_bx() [all …]
|
D | Makefile | 7 obj-$(CONFIG_PHY_BCM_NS_USB3) += phy-bcm-ns-usb3.o 31 obj-$(CONFIG_PHY_MT65XX_USB3) += phy-mt65xx-usb3.o
|
D | Kconfig | 252 it supports multiple usb2.0 and usb3.0 ports.
|
/drivers/phy/tegra/ |
D | xusb.c | 716 static int tegra_xusb_usb3_port_parse_dt(struct tegra_xusb_usb3_port *usb3) in tegra_xusb_usb3_port_parse_dt() argument 718 struct tegra_xusb_port *port = &usb3->base; in tegra_xusb_usb3_port_parse_dt() 729 usb3->port = value; in tegra_xusb_usb3_port_parse_dt() 731 usb3->internal = of_property_read_bool(np, "nvidia,internal"); in tegra_xusb_usb3_port_parse_dt() 733 usb3->supply = devm_regulator_get(&port->dev, "vbus"); in tegra_xusb_usb3_port_parse_dt() 734 if (IS_ERR(usb3->supply)) in tegra_xusb_usb3_port_parse_dt() 735 return PTR_ERR(usb3->supply); in tegra_xusb_usb3_port_parse_dt() 743 struct tegra_xusb_usb3_port *usb3; in tegra_xusb_add_usb3_port() local 756 usb3 = devm_kzalloc(padctl->dev, sizeof(*usb3), GFP_KERNEL); in tegra_xusb_add_usb3_port() 757 if (!usb3) { in tegra_xusb_add_usb3_port() [all …]
|
D | xusb-tegra124.c | 1482 struct tegra_xusb_usb3_port *usb3 = to_usb3_port(port); in tegra124_usb3_port_enable() local 1484 struct tegra_xusb_lane *lane = usb3->base.lane; in tegra124_usb3_port_enable() 1491 if (!usb3->internal) in tegra124_usb3_port_enable() 1497 value |= XUSB_PADCTL_SS_PORT_MAP_PORTX_MAP(index, usb3->port); in tegra124_usb3_port_enable() 1519 if (usb3->context_saved) { in tegra124_usb3_port_enable() 1524 value |= (usb3->ctle_g << in tegra124_usb3_port_enable() 1526 (usb3->ctle_z << in tegra124_usb3_port_enable() 1534 if (usb3->context_saved) { in tegra124_usb3_port_enable() 1539 value |= (usb3->tap1 << in tegra124_usb3_port_enable() 1541 (usb3->amp << in tegra124_usb3_port_enable() [all …]
|
D | xusb-tegra210.c | 1815 struct tegra_xusb_usb3_port *usb3 = to_usb3_port(port); in tegra210_usb3_port_enable() local 1817 struct tegra_xusb_lane *lane = usb3->base.lane; in tegra210_usb3_port_enable() 1824 if (!usb3->internal) in tegra210_usb3_port_enable() 1830 value |= XUSB_PADCTL_SS_PORT_MAP_PORTX_MAP(index, usb3->port); in tegra210_usb3_port_enable() 1838 err = regulator_enable(usb3->supply); in tegra210_usb3_port_enable() 1901 struct tegra_xusb_usb3_port *usb3 = to_usb3_port(port); in tegra210_usb3_port_disable() local 1928 regulator_disable(usb3->supply); in tegra210_usb3_port_disable() 2034 .usb3 = {
|
D | xusb.h | 366 } usb2, ulpi, hsic, usb3; member
|
/drivers/usb/host/ |
D | xhci-tegra.c | 160 } usb2, ulpi, hsic, usb3; member 573 mask = extract_field(msg->data, 1 + soc->ports.usb3.offset, in tegra_xusb_mbox_handle() 574 soc->ports.usb3.count); in tegra_xusb_mbox_handle() 576 for_each_set_bit(port, &mask, soc->ports.usb3.count) { in tegra_xusb_mbox_handle() 1246 .usb3 = { .offset = 0, .count = 2, }, 1277 .usb3 = { .offset = 0, .count = 4, },
|
/drivers/pinctrl/uniphier/ |
D | pinctrl-uniphier-ld20.c | 699 UNIPHIER_PINCTRL_GROUP(usb3), 1018 UNIPHIER_PINMUX_FUNCTION(usb3),
|
D | pinctrl-uniphier-ld6b.c | 908 UNIPHIER_PINCTRL_GROUP(usb3), 1271 UNIPHIER_PINMUX_FUNCTION(usb3),
|
D | pinctrl-uniphier-pxs2.c | 893 UNIPHIER_PINCTRL_GROUP(usb3), 1258 UNIPHIER_PINMUX_FUNCTION(usb3),
|
D | pinctrl-uniphier-pro4.c | 1203 UNIPHIER_PINCTRL_GROUP(usb3), 1581 UNIPHIER_PINMUX_FUNCTION(usb3),
|
/drivers/pinctrl/tegra/ |
D | pinctrl-tegra-xusb.c | 801 TEGRA124_FUNCTION(usb3),
|