Home
last modified time | relevance | path

Searched refs:usb3 (Results 1 – 23 of 23) sorted by relevance

/drivers/usb/gadget/udc/
Drenesas_usb3.c312 struct renesas_usb3 *usb3; member
374 #define usb3_ep_to_usb3(_usb3_ep) (_usb3_ep->usb3)
378 #define usb3_get_ep(usb3, n) ((usb3)->usb3_ep + (n)) argument
379 #define usb3_for_each_ep(usb3_ep, usb3, i) \ argument
380 for ((i) = 0, usb3_ep = usb3_get_ep(usb3, (i)); \
381 (i) < (usb3)->num_usb3_eps; \
382 (i)++, usb3_ep = usb3_get_ep(usb3, (i)))
384 #define usb3_get_dma(usb3, i) (&(usb3)->dma[i]) argument
385 #define usb3_for_each_dma(usb3, dma, i) \ argument
386 for ((i) = 0, dma = usb3_get_dma((usb3), (i)); \
[all …]
Dtegra-xudc.c3483 int err = 0, usb3; in tegra_xudc_phy_get() local
3533 usb3 = tegra_xusb_padctl_get_usb3_companion(xudc->padctl, i); in tegra_xudc_phy_get()
3534 if (usb3 < 0) in tegra_xudc_phy_get()
3537 snprintf(phy_name, sizeof(phy_name), "usb3-%d", usb3); in tegra_xudc_phy_get()
3543 usb3, err); in tegra_xudc_phy_get()
3547 dev_dbg(xudc->dev, "usb3-%d PHY registered", usb3); in tegra_xudc_phy_get()
/drivers/phy/broadcom/
Dphy-bcm-ns-usb3.c58 int (*phy_write)(struct bcm_ns_usb3 *usb3, u16 reg, u16 value);
74 static int bcm_ns_usb3_mdio_phy_write(struct bcm_ns_usb3 *usb3, u16 reg, in bcm_ns_usb3_mdio_phy_write() argument
77 return usb3->phy_write(usb3, reg, value); in bcm_ns_usb3_mdio_phy_write()
80 static int bcm_ns_usb3_phy_init_ns_bx(struct bcm_ns_usb3 *usb3) in bcm_ns_usb3_phy_init_ns_bx() argument
85 err = bcm_ns_usb3_mdio_phy_write(usb3, BCM_NS_USB3_PHY_BASE_ADDR_REG, in bcm_ns_usb3_phy_init_ns_bx()
91 bcm_ns_usb3_mdio_phy_write(usb3, BCM_NS_USB3_PLL_CONTROL, 0x1000); in bcm_ns_usb3_phy_init_ns_bx()
94 bcm_ns_usb3_mdio_phy_write(usb3, BCM_NS_USB3_PLLA_CONTROL0, 0x6400); in bcm_ns_usb3_phy_init_ns_bx()
97 bcm_ns_usb3_mdio_phy_write(usb3, BCM_NS_USB3_PLLA_CONTROL1, 0xc000); in bcm_ns_usb3_phy_init_ns_bx()
100 bcm_ns_usb3_mdio_phy_write(usb3, BCM_NS_USB3_PLLA_CONTROL1, 0x8000); in bcm_ns_usb3_phy_init_ns_bx()
103 writel(0, usb3->dmp + BCMA_RESET_CTL); in bcm_ns_usb3_phy_init_ns_bx()
[all …]
DMakefile6 obj-$(CONFIG_PHY_BCM_NS_USB3) += phy-bcm-ns-usb3.o
/drivers/phy/tegra/
Dxusb.c928 static int tegra_xusb_usb3_port_parse_dt(struct tegra_xusb_usb3_port *usb3) in tegra_xusb_usb3_port_parse_dt() argument
930 struct tegra_xusb_port *port = &usb3->base; in tegra_xusb_usb3_port_parse_dt()
942 usb3->port = value; in tegra_xusb_usb3_port_parse_dt()
944 usb3->internal = of_property_read_bool(np, "nvidia,internal"); in tegra_xusb_usb3_port_parse_dt()
949 usb3->disable_gen2 = true; in tegra_xusb_usb3_port_parse_dt()
951 usb3->disable_gen2 = false; in tegra_xusb_usb3_port_parse_dt()
956 usb3->supply = regulator_get(&port->dev, "vbus"); in tegra_xusb_usb3_port_parse_dt()
957 return PTR_ERR_OR_ZERO(usb3->supply); in tegra_xusb_usb3_port_parse_dt()
963 struct tegra_xusb_usb3_port *usb3; in tegra_xusb_add_usb3_port() local
976 usb3 = kzalloc(sizeof(*usb3), GFP_KERNEL); in tegra_xusb_add_usb3_port()
[all …]
Dxusb-tegra186.c630 struct tegra_xusb_usb3_lane *usb3; in tegra186_usb3_lane_probe() local
633 usb3 = kzalloc(sizeof(*usb3), GFP_KERNEL); in tegra186_usb3_lane_probe()
634 if (!usb3) in tegra186_usb3_lane_probe()
637 INIT_LIST_HEAD(&usb3->base.list); in tegra186_usb3_lane_probe()
638 usb3->base.soc = &pad->soc->lanes[index]; in tegra186_usb3_lane_probe()
639 usb3->base.index = index; in tegra186_usb3_lane_probe()
640 usb3->base.pad = pad; in tegra186_usb3_lane_probe()
641 usb3->base.np = np; in tegra186_usb3_lane_probe()
643 err = tegra_xusb_lane_parse_dt(&usb3->base, np); in tegra186_usb3_lane_probe()
645 kfree(usb3); in tegra186_usb3_lane_probe()
[all …]
Dxusb-tegra124.c1478 struct tegra_xusb_usb3_port *usb3 = to_usb3_port(port); in tegra124_usb3_port_enable() local
1480 struct tegra_xusb_lane *lane = usb3->base.lane; in tegra124_usb3_port_enable()
1486 if (!usb3->internal) in tegra124_usb3_port_enable()
1492 value |= XUSB_PADCTL_SS_PORT_MAP_PORTX_MAP(index, usb3->port); in tegra124_usb3_port_enable()
1514 if (usb3->context_saved) { in tegra124_usb3_port_enable()
1519 value |= (usb3->ctle_g << in tegra124_usb3_port_enable()
1521 (usb3->ctle_z << in tegra124_usb3_port_enable()
1529 if (usb3->context_saved) { in tegra124_usb3_port_enable()
1534 value |= (usb3->tap1 << in tegra124_usb3_port_enable()
1536 (usb3->amp << in tegra124_usb3_port_enable()
[all …]
Dxusb-tegra210.c1987 struct tegra_xusb_usb3_port *usb3 = to_usb3_port(port); in tegra210_usb3_port_enable() local
1989 struct tegra_xusb_lane *lane = usb3->base.lane; in tegra210_usb3_port_enable()
1996 if (!usb3->internal) in tegra210_usb3_port_enable()
2002 value |= XUSB_PADCTL_SS_PORT_MAP_PORTX_MAP(index, usb3->port); in tegra210_usb3_port_enable()
2010 err = regulator_enable(usb3->supply); in tegra210_usb3_port_enable()
2073 struct tegra_xusb_usb3_port *usb3 = to_usb3_port(port); in tegra210_usb3_port_disable() local
2100 regulator_disable(usb3->supply); in tegra210_usb3_port_disable()
2239 .usb3 = {
Dxusb.h409 } usb2, ulpi, hsic, usb3; member
/drivers/staging/hikey9xx/
DMakefile3 obj-$(CONFIG_PHY_HI3670_USB) += phy-hi3670-usb3.o
/drivers/phy/allwinner/
DMakefile5 obj-$(CONFIG_PHY_SUN50I_USB3) += phy-sun50i-usb3.o
/drivers/phy/renesas/
DMakefile5 obj-$(CONFIG_PHY_RCAR_GEN3_USB3) += phy-rcar-gen3-usb3.o
/drivers/phy/hisilicon/
DMakefile3 obj-$(CONFIG_PHY_HI3660_USB) += phy-hi3660-usb3.o
/drivers/phy/amlogic/
DMakefile5 obj-$(CONFIG_PHY_MESON_G12A_USB3_PCIE) += phy-meson-g12a-usb3-pcie.o
/drivers/usb/host/
Dxhci-tegra.c202 } usb2, ulpi, hsic, usb3; member
617 mask = extract_field(msg->data, 1 + soc->ports.usb3.offset, in tegra_xusb_mbox_handle()
618 soc->ports.usb3.count); in tegra_xusb_mbox_handle()
620 for_each_set_bit(port, &mask, soc->ports.usb3.count) { in tegra_xusb_mbox_handle()
1920 .usb3 = { .offset = 0, .count = 2, },
1956 .usb3 = { .offset = 0, .count = 4, },
1995 .usb3 = { .offset = 0, .count = 3, },
2027 .usb3 = { .offset = 0, .count = 4, },
/drivers/phy/mediatek/
DKconfig12 it supports multiple usb2.0, usb3.0 ports, PCIe and
/drivers/pinctrl/uniphier/
Dpinctrl-uniphier-ld20.c710 UNIPHIER_PINCTRL_GROUP(usb3),
785 UNIPHIER_PINMUX_FUNCTION(usb3),
Dpinctrl-uniphier-ld6b.c870 UNIPHIER_PINCTRL_GROUP(usb3),
922 UNIPHIER_PINMUX_FUNCTION(usb3),
Dpinctrl-uniphier-pxs2.c876 UNIPHIER_PINCTRL_GROUP(usb3),
944 UNIPHIER_PINMUX_FUNCTION(usb3),
Dpinctrl-uniphier-pxs3.c899 UNIPHIER_PINCTRL_GROUP(usb3),
952 UNIPHIER_PINMUX_FUNCTION(usb3),
Dpinctrl-uniphier-pro4.c1157 UNIPHIER_PINCTRL_GROUP(usb3),
1217 UNIPHIER_PINMUX_FUNCTION(usb3),
/drivers/usb/usbip/
Dvhci_hcd.c119 static void dump_port_status_diff(u32 prev_status, u32 new_status, bool usb3) in dump_port_status_diff() argument
125 if (usb3) in dump_port_status_diff()
/drivers/pinctrl/tegra/
Dpinctrl-tegra-xusb.c793 TEGRA124_FUNCTION(usb3),