Home
last modified time | relevance | path

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

1234567891011

/OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/phy/broadcom/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/phy/tegra/
H A Dxusb.c922 static int tegra_xusb_usb3_port_parse_dt(struct tegra_xusb_usb3_port *usb3) in tegra_xusb_usb3_port_parse_dt() argument
924 struct tegra_xusb_port *port = &usb3->base; in tegra_xusb_usb3_port_parse_dt()
936 usb3->port = value; in tegra_xusb_usb3_port_parse_dt()
938 usb3->internal = of_property_read_bool(np, "nvidia,internal"); in tegra_xusb_usb3_port_parse_dt()
943 usb3->disable_gen2 = true; in tegra_xusb_usb3_port_parse_dt()
945 usb3->disable_gen2 = false; in tegra_xusb_usb3_port_parse_dt()
950 usb3->supply = regulator_get(&port->dev, "vbus"); in tegra_xusb_usb3_port_parse_dt()
951 return PTR_ERR_OR_ZERO(usb3->supply); in tegra_xusb_usb3_port_parse_dt()
957 struct tegra_xusb_usb3_port *usb3; in tegra_xusb_add_usb3_port() local
970 usb3 = kzalloc(sizeof(*usb3), GFP_KERNEL); in tegra_xusb_add_usb3_port()
[all …]
H A 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 …]
/OK3568_Linux_fs/kernel/fs/ufs/
H A Dutil.h39 struct ufs_super_block_third *usb3) in ufs_get_fs_state() argument
43 if (fs32_to_cpu(sb, usb3->fs_postblformat) == UFS_42POSTBLFMT) in ufs_get_fs_state()
47 return fs32_to_cpu(sb, usb3->fs_un2.fs_sun.fs_state); in ufs_get_fs_state()
52 return fs32_to_cpu(sb, usb3->fs_un2.fs_44.fs_state); in ufs_get_fs_state()
58 struct ufs_super_block_third *usb3, s32 value) in ufs_set_fs_state() argument
62 if (fs32_to_cpu(sb, usb3->fs_postblformat) == UFS_42POSTBLFMT) { in ufs_set_fs_state()
68 usb3->fs_un2.fs_sun.fs_state = cpu_to_fs32(sb, value); in ufs_set_fs_state()
74 usb3->fs_un2.fs_44.fs_state = cpu_to_fs32(sb, value); in ufs_set_fs_state()
81 struct ufs_super_block_third *usb3) in ufs_get_fs_npsect() argument
84 return fs32_to_cpu(sb, usb3->fs_un2.fs_sunx86.fs_npsect); in ufs_get_fs_npsect()
[all …]
H A Dsuper.c153 struct ufs_super_block_third *usb3) in ufs_print_super_stuff() argument
155 u32 magic = fs32_to_cpu(sb, usb3->fs_magic); in ufs_print_super_stuff()
159 if (fs32_to_cpu(sb, usb3->fs_magic) == UFS2_MAGIC) { in ufs_print_super_stuff()
161 fs64_to_cpu(sb, usb3->fs_un1.fs_u2.fs_size)); in ufs_print_super_stuff()
163 fs64_to_cpu(sb, usb3->fs_un1.fs_u2.fs_dsize)); in ufs_print_super_stuff()
178 fs64_to_cpu(sb, usb3->fs_un1.fs_u2.cs_nifree)); in ufs_print_super_stuff()
181 fs64_to_cpu(sb, usb3->fs_un1.fs_u2.cs_nffree)); in ufs_print_super_stuff()
183 fs32_to_cpu(sb, usb3->fs_un2.fs_44.fs_maxsymlinklen)); in ufs_print_super_stuff()
213 pr_debug(" nrpos: %u\n", fs32_to_cpu(sb, usb3->fs_nrpos)); in ufs_print_super_stuff()
266 # define ufs_print_super_stuff(sb, usb1, usb2, usb3) /**/ argument
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/
H A Dnvidia,tegra124-xusb-padctl.txt148 - functions: "pcie", "usb3-ss"
150 - functions: "usb3-ss", "sata"
158 - functions: "pcie-x1", "usb3-ss", "pcie-x4"
160 - functions: "usb3-ss", "sata"
165 - usb3: usb3-0, usb3-1, usb3-2, usb3-3
241 supported speed of a usb3 port. Valid values are:
242 - "super-speed-plus": default, the usb3 port supports USB 3.1 Gen 2 speed.
243 - "super-speed": the usb3 port supports USB 3.1 Gen 1 speed only.
250 - 2x super-speed USB: usb3-0, usb3-1
255 - 4x super-speed USB: usb3-0, usb3-1, usb3-2, usb3-3
[all …]
H A Dbcm-ns-usb3-phy.txt5 - compatible: one of: "brcm,ns-ax-usb3-phy", "brcm,ns-bx-usb3-phy".
7 - usb3-dmp-syscon: phandle to syscon with DMP (Device Management Plugin)
24 usb3-phy@10 {
25 compatible = "brcm,ns-ax-usb3-phy";
27 usb3-dmp-syscon = <&usb3_dmp>;
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/nvidia/
H A Dtegra194-p2972-0000.dts70 usb3 {
72 usb3-0 {
76 usb3-3 {
94 usb3-0 {
99 usb3-3 {
112 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>,
113 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-3}>;
114 phy-names = "usb2-1", "usb2-3", "usb3-0", "usb3-3";
H A Dtegra186-p2771-0000.dts135 usb3 {
139 usb3-0 {
144 usb3-1 {
149 usb3-2 {
183 usb3-0 {
196 <&{/padctl@3520000/pads/usb3/lanes/usb3-0}>;
197 phy-names = "usb2-0", "usb2-1", "usb3-0";
H A Dtegra194-p3509-0000+p3668-0000.dts65 usb3 {
67 usb3-2 {
86 usb3-2 {
99 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-2}>;
100 phy-names = "usb2-1", "usb2-2", "usb3-2";
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/
H A Dnvidia,tegra124-xusb.txt80 - Tegra124: usb2-0, usb2-1, usb2-2, hsic-0, hsic-1, usb3-0, usb3-1
81 - Tegra132: usb2-0, usb2-1, usb2-2, hsic-0, hsic-1, usb3-0, usb3-1
82 - Tegra210: usb2-0, usb2-1, usb2-2, usb2-3, hsic-0, usb3-0, usb3-1, usb3-2,
83 usb3-3
84 - Tegra186: usb2-0, usb2-1, usb2-2, hsic-0, usb3-0, usb3-1, usb3-2
122 phy-names = "usb2-1", "usb2-2", "usb3-0";
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/
H A Duniphier-regulator.txt15 "socionext,uniphier-pro4-usb3-regulator" - for Pro4 SoC
16 "socionext,uniphier-pro5-usb3-regulator" - for Pro5 SoC
17 "socionext,uniphier-pxs2-usb3-regulator" - for PXs2 SoC
18 "socionext,uniphier-ld20-usb3-regulator" - for LD20 SoC
19 "socionext,uniphier-pxs3-usb3-regulator" - for PXs3 SoC
45 compatible = "socionext,uniphier-ld20-usb3-regulator";
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/reset/
H A Duniphier-reset.txt13 "socionext,uniphier-pro4-usb3-reset" - for Pro4 SoC USB3
14 "socionext,uniphier-pro5-usb3-reset" - for Pro5 SoC USB3
15 "socionext,uniphier-pxs2-usb3-reset" - for PXs2 SoC USB3
16 "socionext,uniphier-ld20-usb3-reset" - for LD20 SoC USB3
17 "socionext,uniphier-pxs3-usb3-reset" - for PXs3 SoC USB3
44 compatible = "socionext,uniphier-ld20-usb3-reset";
/OK3568_Linux_fs/u-boot/arch/x86/cpu/ivybridge/
H A Dcpu.c103 pci_dev_t usb3 = PCH_XHCI_DEV; in enable_usb_bar() local
121 pci_bus_write_config(bus, usb3, PCI_BASE_ADDRESS_0, in enable_usb_bar()
123 pci_bus_read_config(bus, usb3, PCI_COMMAND, &cmd, PCI_SIZE_32); in enable_usb_bar()
125 pci_bus_write_config(bus, usb3, PCI_COMMAND, cmd, PCI_SIZE_32); in enable_usb_bar()
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dbcm47094-luxul-xbr-4500.dts34 usb3 {
35 label = "bcm53xx:green:usb3";
55 &usb3 {
H A Dbcm47094-luxul-abr-4500.dts34 usb3 {
35 label = "bcm53xx:green:usb3";
55 &usb3 {
H A Dbcm4708-smartrg-sr400ac.dts49 usb3-white {
50 label = "bcm53xx:white:usb3";
56 usb3-green {
57 label = "bcm53xx:green:usb3";
H A Duniphier-pxs2.dtsi620 compatible = "socionext,uniphier-pxs2-usb3-reset";
630 compatible = "socionext,uniphier-pxs2-usb3-regulator";
639 compatible = "socionext,uniphier-pxs2-usb3-regulator";
648 compatible = "socionext,uniphier-pxs2-usb3-hsphy";
659 compatible = "socionext,uniphier-pxs2-usb3-hsphy";
670 compatible = "socionext,uniphier-pxs2-usb3-ssphy";
681 compatible = "socionext,uniphier-pxs2-usb3-ssphy";
715 compatible = "socionext,uniphier-pxs2-usb3-reset";
725 compatible = "socionext,uniphier-pxs2-usb3-regulator";
734 compatible = "socionext,uniphier-pxs2-usb3-regulator";
[all …]
H A Darmada-385-synology-ds116.dts114 usb3@f0000 {
119 usb3@f8000 {
172 reg_usb3_0_vbus: usb3-vbus0 {
174 regulator-name = "usb3-vbus0";
183 reg_usb3_1_vbus: usb3-vbus1 {
185 regulator-name = "usb3-vbus1";
H A Dbcm47094-luxul-xwr-3150-v1.dts34 usb3 {
35 label = "bcm53xx:green:usb3";
70 &usb3 {
H A Dbcm4709-netgear-r7000.dts62 usb3 {
63 label = "bcm53xx:white:usb3";
102 &usb3 {
H A Dbcm47094-dlink-dir-885l.dts67 usb3-white {
68 label = "bcm53xx:white:usb3";
110 &usb3 {
H A Dbcm47094-luxul-xwr-3100.dts59 usb3 {
60 label = "bcm53xx:green:usb3";
95 &usb3 {
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/socionext/
H A Duniphier-pxs3.dtsi622 compatible = "socionext,uniphier-pxs3-usb3-reset";
632 compatible = "socionext,uniphier-pxs3-usb3-regulator";
641 compatible = "socionext,uniphier-pxs3-usb3-regulator";
650 compatible = "socionext,uniphier-pxs3-usb3-hsphy";
664 compatible = "socionext,uniphier-pxs3-usb3-hsphy";
678 compatible = "socionext,uniphier-pxs3-usb3-ssphy";
689 compatible = "socionext,uniphier-pxs3-usb3-ssphy";
724 compatible = "socionext,uniphier-pxs3-usb3-reset";
734 compatible = "socionext,uniphier-pxs3-usb3-regulator";
743 compatible = "socionext,uniphier-pxs3-usb3-regulator";
[all …]

1234567891011