/drivers/usb/gadget/udc/ |
D | renesas_usb3.c | 316 struct renesas_usb3 *usb3; member 382 #define usb3_ep_to_usb3(_usb3_ep) (_usb3_ep->usb3) 386 #define usb3_get_ep(usb3, n) ((usb3)->usb3_ep + (n)) argument 387 #define usb3_for_each_ep(usb3_ep, usb3, i) \ argument 388 for ((i) = 0, usb3_ep = usb3_get_ep(usb3, (i)); \ 389 (i) < (usb3)->num_usb3_eps; \ 390 (i)++, usb3_ep = usb3_get_ep(usb3, (i))) 392 #define usb3_get_dma(usb3, i) (&(usb3)->dma[i]) argument 393 #define usb3_for_each_dma(usb3, dma, i) \ argument 394 for ((i) = 0, dma = usb3_get_dma((usb3), (i)); \ [all …]
|
D | rzv2m_usb3drd.c | 21 static void rzv2m_usb3drd_set_bit(struct rzv2m_usb3drd *usb3, u32 bits, in rzv2m_usb3drd_set_bit() argument 24 u32 val = readl(usb3->reg + offs); in rzv2m_usb3drd_set_bit() 27 writel(val, usb3->reg + offs); in rzv2m_usb3drd_set_bit() 30 static void rzv2m_usb3drd_clear_bit(struct rzv2m_usb3drd *usb3, u32 bits, in rzv2m_usb3drd_clear_bit() argument 33 u32 val = readl(usb3->reg + offs); in rzv2m_usb3drd_clear_bit() 36 writel(val, usb3->reg + offs); in rzv2m_usb3drd_clear_bit() 41 struct rzv2m_usb3drd *usb3 = dev_get_drvdata(dev); in rzv2m_usb3drd_reset() local 44 rzv2m_usb3drd_clear_bit(usb3, USB_PERI_DRD_CON_PERI_CON, in rzv2m_usb3drd_reset() 46 rzv2m_usb3drd_clear_bit(usb3, USB_PERI_DRD_CON_HOST_RST, in rzv2m_usb3drd_reset() 48 rzv2m_usb3drd_set_bit(usb3, USB_PERI_DRD_CON_PERI_RST, in rzv2m_usb3drd_reset() [all …]
|
/drivers/phy/broadcom/ |
D | phy-bcm-ns-usb3.c | 68 static int bcm_ns_usb3_mdio_phy_write(struct bcm_ns_usb3 *usb3, u16 reg, 71 static int bcm_ns_usb3_phy_init_ns_bx(struct bcm_ns_usb3 *usb3) in bcm_ns_usb3_phy_init_ns_bx() argument 76 err = bcm_ns_usb3_mdio_phy_write(usb3, BCM_NS_USB3_PHY_BASE_ADDR_REG, in bcm_ns_usb3_phy_init_ns_bx() 82 bcm_ns_usb3_mdio_phy_write(usb3, BCM_NS_USB3_PLL_CONTROL, 0x1000); in bcm_ns_usb3_phy_init_ns_bx() 85 bcm_ns_usb3_mdio_phy_write(usb3, BCM_NS_USB3_PLLA_CONTROL0, 0x6400); in bcm_ns_usb3_phy_init_ns_bx() 88 bcm_ns_usb3_mdio_phy_write(usb3, BCM_NS_USB3_PLLA_CONTROL1, 0xc000); in bcm_ns_usb3_phy_init_ns_bx() 91 bcm_ns_usb3_mdio_phy_write(usb3, BCM_NS_USB3_PLLA_CONTROL1, 0x8000); in bcm_ns_usb3_phy_init_ns_bx() 94 writel(0, usb3->dmp + BCMA_RESET_CTL); in bcm_ns_usb3_phy_init_ns_bx() 97 bcm_ns_usb3_mdio_phy_write(usb3, BCM_NS_USB3_PLL_CONTROL, 0x9000); in bcm_ns_usb3_phy_init_ns_bx() 100 bcm_ns_usb3_mdio_phy_write(usb3, BCM_NS_USB3_PHY_BASE_ADDR_REG, in bcm_ns_usb3_phy_init_ns_bx() [all …]
|
D | Makefile | 6 obj-$(CONFIG_PHY_BCM_NS_USB3) += phy-bcm-ns-usb3.o
|
/drivers/phy/tegra/ |
D | xusb.c | 958 static int tegra_xusb_usb3_port_parse_dt(struct tegra_xusb_usb3_port *usb3) in tegra_xusb_usb3_port_parse_dt() argument 960 struct tegra_xusb_port *port = &usb3->base; in tegra_xusb_usb3_port_parse_dt() 972 usb3->port = value; in tegra_xusb_usb3_port_parse_dt() 974 usb3->internal = of_property_read_bool(np, "nvidia,internal"); in tegra_xusb_usb3_port_parse_dt() 979 usb3->disable_gen2 = true; in tegra_xusb_usb3_port_parse_dt() 981 usb3->disable_gen2 = false; in tegra_xusb_usb3_port_parse_dt() 992 struct tegra_xusb_usb3_port *usb3; in tegra_xusb_add_usb3_port() local 1005 usb3 = kzalloc(sizeof(*usb3), GFP_KERNEL); in tegra_xusb_add_usb3_port() 1006 if (!usb3) { in tegra_xusb_add_usb3_port() 1011 err = tegra_xusb_port_init(&usb3->base, padctl, np, "usb3", index); in tegra_xusb_add_usb3_port() [all …]
|
D | xusb-tegra186.c | 1075 struct tegra_xusb_usb3_lane *usb3; in tegra186_usb3_lane_probe() local 1078 usb3 = kzalloc(sizeof(*usb3), GFP_KERNEL); in tegra186_usb3_lane_probe() 1079 if (!usb3) in tegra186_usb3_lane_probe() 1082 INIT_LIST_HEAD(&usb3->base.list); in tegra186_usb3_lane_probe() 1083 usb3->base.soc = &pad->soc->lanes[index]; in tegra186_usb3_lane_probe() 1084 usb3->base.index = index; in tegra186_usb3_lane_probe() 1085 usb3->base.pad = pad; in tegra186_usb3_lane_probe() 1086 usb3->base.np = np; in tegra186_usb3_lane_probe() 1088 err = tegra_xusb_lane_parse_dt(&usb3->base, np); in tegra186_usb3_lane_probe() 1090 kfree(usb3); in tegra186_usb3_lane_probe() [all …]
|
D | xusb-tegra124.c | 1478 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 …]
|
D | xusb-tegra210.c | 2582 struct tegra_xusb_usb3_port *usb3 = tegra210_lane_to_usb3_port(lane); in tegra210_usb3_phy_power_on() local 2586 if (!usb3) { in tegra210_usb3_phy_power_on() 2591 index = usb3->base.index; in tegra210_usb3_phy_power_on() 2595 if (!usb3->internal) in tegra210_usb3_phy_power_on() 2601 value |= XUSB_PADCTL_SS_PORT_MAP_PORTX_MAP(index, usb3->port); in tegra210_usb3_phy_power_on() 2655 struct tegra_xusb_usb3_port *usb3 = tegra210_lane_to_usb3_port(lane); in tegra210_usb3_phy_power_off() local 2659 if (!usb3) { in tegra210_usb3_phy_power_off() 2664 index = usb3->base.index; in tegra210_usb3_phy_power_off() 3281 .usb3 = {
|
D | xusb.h | 426 } usb2, ulpi, hsic, usb3; member
|
/drivers/phy/hisilicon/ |
D | Makefile | 3 obj-$(CONFIG_PHY_HI3660_USB) += phy-hi3660-usb3.o 4 obj-$(CONFIG_PHY_HI3670_USB) += phy-hi3670-usb3.o
|
/drivers/phy/allwinner/ |
D | Makefile | 5 obj-$(CONFIG_PHY_SUN50I_USB3) += phy-sun50i-usb3.o
|
/drivers/phy/renesas/ |
D | Makefile | 6 obj-$(CONFIG_PHY_RCAR_GEN3_USB3) += phy-rcar-gen3-usb3.o
|
/drivers/phy/amlogic/ |
D | Makefile | 6 obj-$(CONFIG_PHY_MESON_G12A_USB3_PCIE) += phy-meson-g12a-usb3-pcie.o
|
/drivers/usb/host/ |
D | xhci-tegra.c | 236 } usb2, ulpi, hsic, usb3; member 706 mask = extract_field(msg->data, 1 + soc->ports.usb3.offset, in tegra_xusb_mbox_handle() 707 soc->ports.usb3.count); in tegra_xusb_mbox_handle() 709 for_each_set_bit(port, &mask, soc->ports.usb3.count) { in tegra_xusb_mbox_handle() 2492 .usb3 = { .offset = 0, .count = 2, }, 2530 .usb3 = { .offset = 0, .count = 4, }, 2571 .usb3 = { .offset = 0, .count = 3, }, 2605 .usb3 = { .offset = 0, .count = 4, }, 2637 .usb3 = { .offset = 0, .count = 4, },
|
/drivers/phy/mediatek/ |
D | Kconfig | 24 it supports multiple usb2.0, usb3.0 ports, PCIe and
|
/drivers/pinctrl/uniphier/ |
D | pinctrl-uniphier-ld20.c | 761 UNIPHIER_PINCTRL_GROUP(usb3), 856 UNIPHIER_PINMUX_FUNCTION(usb3),
|
D | pinctrl-uniphier-ld6b.c | 870 UNIPHIER_PINCTRL_GROUP(usb3), 922 UNIPHIER_PINMUX_FUNCTION(usb3),
|
D | pinctrl-uniphier-pxs2.c | 912 UNIPHIER_PINCTRL_GROUP(usb3), 988 UNIPHIER_PINMUX_FUNCTION(usb3),
|
D | pinctrl-uniphier-pxs3.c | 953 UNIPHIER_PINCTRL_GROUP(usb3), 1026 UNIPHIER_PINMUX_FUNCTION(usb3),
|
D | pinctrl-uniphier-pro4.c | 1157 UNIPHIER_PINCTRL_GROUP(usb3), 1217 UNIPHIER_PINMUX_FUNCTION(usb3),
|
/drivers/thunderbolt/ |
D | tunnel.c | 97 int credits, usb3, pcie, spare; in tb_available_credits() local 100 usb3 = tb_acpi_may_tunnel_usb3() ? sw->max_usb3_credits : 0; in tb_available_credits() 118 ndp = (credits - (usb3 + pcie + spare)) / in tb_available_credits() 126 credits -= usb3; in tb_available_credits()
|
/drivers/usb/usbip/ |
D | vhci_hcd.c | 119 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/ |
D | pinctrl-tegra-xusb.c | 796 TEGRA124_FUNCTION(usb3),
|