Home
last modified time | relevance | path

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

1234567891011

/linux/drivers/usb/gadget/udc/
H A Drenesas_usb3.c316 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 …]
/linux/drivers/phy/broadcom/
H A Dphy-bcm-ns-usb3.c69 static int bcm_ns_usb3_mdio_phy_write(struct bcm_ns_usb3 *usb3, u16 reg,
72 static int bcm_ns_usb3_phy_init_ns_bx(struct bcm_ns_usb3 *usb3) in bcm_ns_usb3_phy_init_ns_bx() argument
77 err = bcm_ns_usb3_mdio_phy_write(usb3, BCM_NS_USB3_PHY_BASE_ADDR_REG, in bcm_ns_usb3_phy_init_ns_bx()
83 bcm_ns_usb3_mdio_phy_write(usb3, BCM_NS_USB3_PLL_CONTROL, 0x1000); in bcm_ns_usb3_phy_init_ns_bx()
86 bcm_ns_usb3_mdio_phy_write(usb3, BCM_NS_USB3_PLLA_CONTROL0, 0x6400); in bcm_ns_usb3_phy_init_ns_bx()
89 bcm_ns_usb3_mdio_phy_write(usb3, BCM_NS_USB3_PLLA_CONTROL1, 0xc000); in bcm_ns_usb3_phy_init_ns_bx()
92 bcm_ns_usb3_mdio_phy_write(usb3, BCM_NS_USB3_PLLA_CONTROL1, 0x8000); in bcm_ns_usb3_phy_init_ns_bx()
95 writel(0, usb3->dmp + BCMA_RESET_CTL); in bcm_ns_usb3_phy_init_ns_bx()
98 bcm_ns_usb3_mdio_phy_write(usb3, BCM_NS_USB3_PLL_CONTROL, 0x9000); in bcm_ns_usb3_phy_init_ns_bx()
101 bcm_ns_usb3_mdio_phy_write(usb3, BCM_NS_USB3_PHY_BASE_ADDR_REG, in bcm_ns_usb3_phy_init_ns_bx()
[all …]
/linux/fs/ufs/
H A Dutil.h33 struct ufs_super_block_third *usb3) in ufs_get_fs_state() argument
37 if (fs32_to_cpu(sb, usb3->fs_postblformat) == UFS_42POSTBLFMT) in ufs_get_fs_state()
41 return fs32_to_cpu(sb, usb3->fs_un2.fs_sun.fs_state); in ufs_get_fs_state()
46 return fs32_to_cpu(sb, usb3->fs_un2.fs_44.fs_state); in ufs_get_fs_state()
52 struct ufs_super_block_third *usb3, s32 value) in ufs_set_fs_state() argument
56 if (fs32_to_cpu(sb, usb3->fs_postblformat) == UFS_42POSTBLFMT) { in ufs_set_fs_state()
62 usb3->fs_un2.fs_sun.fs_state = cpu_to_fs32(sb, value); in ufs_set_fs_state()
68 usb3->fs_un2.fs_44.fs_state = cpu_to_fs32(sb, value); in ufs_set_fs_state()
75 struct ufs_super_block_third *usb3) in ufs_get_fs_npsect() argument
78 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 …]
/linux/arch/arm64/boot/dts/nvidia/
H A Dtegra234-p3768-0000+p3767.dtsi83 usb3 {
85 usb3-0 {
90 usb3-1 {
122 usb3-0 {
128 usb3-1 {
139 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>;
140 phy-names = "usb2-0", "usb3-0";
149 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>,
150 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>;
151 phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0",
[all …]
H A Dtegra234-p3740-0002+p3701-0008.dts151 usb3 {
153 usb3-0 {
158 usb3-1 {
163 usb3-2 {
193 usb3-0 {
198 usb3-1 {
203 usb3-2 {
214 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>;
215 phy-names = "usb2-0", "usb3-0";
225 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>,
[all …]
H A Dtegra194-p2972-0000.dts2046 usb3 {
2048 usb3-0 {
2052 usb3-2 {
2056 usb3-3 {
2086 usb3-0 {
2091 usb3-2 {
2096 usb3-3 {
2108 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-2}>;
2109 phy-names = "usb2-0", "usb3-0";
2118 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>,
[all …]
/linux/drivers/phy/tegra/
H A Dxusb.c960 static int tegra_xusb_usb3_port_parse_dt(struct tegra_xusb_usb3_port *usb3) in tegra_xusb_usb3_port_parse_dt() argument
962 struct tegra_xusb_port *port = &usb3->base; in tegra_xusb_usb3_port_parse_dt()
974 usb3->port = value; in tegra_xusb_usb3_port_parse_dt()
976 usb3->internal = of_property_read_bool(np, "nvidia,internal"); in tegra_xusb_usb3_port_parse_dt()
981 usb3->disable_gen2 = true; in tegra_xusb_usb3_port_parse_dt()
983 usb3->disable_gen2 = false; in tegra_xusb_usb3_port_parse_dt()
994 struct tegra_xusb_usb3_port *usb3; in tegra_xusb_add_usb3_port() local
1007 usb3 = kzalloc(sizeof(*usb3), GFP_KERNEL); in tegra_xusb_add_usb3_port()
1008 if (!usb3) { in tegra_xusb_add_usb3_port()
1013 err = tegra_xusb_port_init(&usb3->base, padctl, np, "usb3", index); in tegra_xusb_add_usb3_port()
[all …]
H A Dxusb-tegra186.c1110 struct tegra_xusb_usb3_lane *usb3; in tegra186_usb3_lane_probe() local
1113 usb3 = kzalloc(sizeof(*usb3), GFP_KERNEL); in tegra186_usb3_lane_probe()
1114 if (!usb3) in tegra186_usb3_lane_probe()
1117 INIT_LIST_HEAD(&usb3->base.list); in tegra186_usb3_lane_probe()
1118 usb3->base.soc = &pad->soc->lanes[index]; in tegra186_usb3_lane_probe()
1119 usb3->base.index = index; in tegra186_usb3_lane_probe()
1120 usb3->base.pad = pad; in tegra186_usb3_lane_probe()
1121 usb3->base.np = np; in tegra186_usb3_lane_probe()
1123 err = tegra_xusb_lane_parse_dt(&usb3->base, np); in tegra186_usb3_lane_probe()
1125 kfree(usb3); in tegra186_usb3_lane_probe()
[all …]
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm4708-smartrg-sr400ac.dts49 led-usb3-white {
50 label = "bcm53xx:white:usb3";
56 led-usb3-green {
57 label = "bcm53xx:green:usb3";
H A Dbcm47094-luxul-abr-4500.dts43 led-usb3 {
44 label = "bcm53xx:green:usb3";
64 &usb3 {
H A Dbcm47094-luxul-xbr-4500.dts43 led-usb3 {
44 label = "bcm53xx:green:usb3";
64 &usb3 {
H A Dbcm4709-netgear-r7000.dts62 led-usb3 {
63 label = "bcm53xx:white:usb3";
100 &usb3 {
H A Dbcm4709-tplink-archer-c9-v1.dts46 led-usb3 {
47 label = "bcm53xx:blue:usb3";
99 &usb3 {
H A Dbcm47094-luxul-xwr-3100.dts68 led-usb3 {
69 label = "bcm53xx:green:usb3";
104 &usb3 {
H A Dbcm47094-dlink-dir-885l.dts77 led-usb3-white {
78 label = "bcm53xx:white:usb3";
120 &usb3 {
H A Dbcm47094-luxul-xwr-3150-v1.dts43 led-usb3 {
44 label = "bcm53xx:green:usb3";
120 &usb3 {
/linux/arch/arm64/boot/dts/marvell/
H A Darmada-3720-espressobin-ultra.dts29 reg_usb3_vbus: usb3-vbus {
31 regulator-name = "usb3-vbus";
38 usb3_phy: usb3-phy {
112 &usb3 {
H A Darmada-8040-db.dts34 cp0_reg_usb3_0_vbus: cp0-usb3-0-vbus {
43 cp0_reg_usb3_1_vbus: cp0-usb3-1-vbus {
52 cp0_usb3_0_phy: cp0-usb3-0-phy {
57 cp1_reg_usb3_0_vbus: cp1-usb3-0-vbus {
66 cp1_usb3_0_phy: cp1-usb3-0-phy {
H A Darmada-3720-db.dts32 exp_usb3_vbus: usb3-vbus {
34 regulator-name = "usb3-vbus";
42 usb3_phy: usb3-phy {
217 &usb3 {
/linux/arch/arm/boot/dts/marvell/
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 Darmada-388-clearfog.dtsi60 usb3@f8000 {
156 usb3-ilimit-hog {
160 line-name = "usb3-current-limit";
162 usb3-power-hog {
166 line-name = "usb3-power";
/linux/drivers/phy/renesas/
H A DMakefile6 obj-$(CONFIG_PHY_RCAR_GEN3_USB3) += phy-rcar-gen3-usb3.o
7 obj-$(CONFIG_PHY_RZ_G3E_USB3) += phy-rzg3e-usb3.o
/linux/drivers/phy/hisilicon/
H A DMakefile3 obj-$(CONFIG_PHY_HI3660_USB) += phy-hi3660-usb3.o
4 obj-$(CONFIG_PHY_HI3670_USB) += phy-hi3670-usb3.o
/linux/arch/arm/boot/dts/socionext/
H A Duniphier-pxs2.dtsi670 compatible = "socionext,uniphier-pxs2-usb3-reset";
680 compatible = "socionext,uniphier-pxs2-usb3-regulator";
689 compatible = "socionext,uniphier-pxs2-usb3-regulator";
698 compatible = "socionext,uniphier-pxs2-usb3-hsphy";
709 compatible = "socionext,uniphier-pxs2-usb3-hsphy";
720 compatible = "socionext,uniphier-pxs2-usb3-ssphy";
731 compatible = "socionext,uniphier-pxs2-usb3-ssphy";
766 compatible = "socionext,uniphier-pxs2-usb3-reset";
776 compatible = "socionext,uniphier-pxs2-usb3-regulator";
785 compatible = "socionext,uniphier-pxs2-usb3-regulator";
[all …]

1234567891011