Home
last modified time | relevance | path

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

12345678910>>...14

/openbmc/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 …]
H A Drzv2m_usb3drd.c21 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 …]
/openbmc/linux/drivers/phy/broadcom/
H A Dphy-bcm-ns-usb3.c68 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 …]
/openbmc/linux/arch/arm64/boot/dts/nvidia/
H A Dtegra234-p3740-0002.dtsi102 usb3 {
104 usb3-0 {
109 usb3-1 {
114 usb3-2 {
148 usb3-0 {
153 usb3-1 {
158 usb3-2 {
169 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>;
170 phy-names = "usb2-0", "usb3-0";
180 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>,
[all …]
H A Dtegra234-p3768-0000.dtsi64 usb3 {
66 usb3-0 {
71 usb3-1 {
103 usb3-0 {
109 usb3-1 {
120 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>;
121 phy-names = "usb2-0", "usb3-0";
130 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>,
131 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>;
132 phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0",
[all …]
H A Dtegra234-p3737-0000+p3701-0000.dts71 usb3 {
73 usb3-0 {
77 usb3-1 {
81 usb3-2 {
122 usb3-0 {
133 usb3-1 {
144 usb3-2 {
155 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>;
156 phy-names = "usb2-0", "usb3-0";
166 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>,
[all …]
/openbmc/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.c152 struct ufs_super_block_third *usb3) in ufs_print_super_stuff() argument
154 u32 magic = fs32_to_cpu(sb, usb3->fs_magic); in ufs_print_super_stuff()
158 if (fs32_to_cpu(sb, usb3->fs_magic) == UFS2_MAGIC) { in ufs_print_super_stuff()
160 fs64_to_cpu(sb, usb3->fs_un1.fs_u2.fs_size)); in ufs_print_super_stuff()
162 fs64_to_cpu(sb, usb3->fs_un1.fs_u2.fs_dsize)); in ufs_print_super_stuff()
177 fs64_to_cpu(sb, usb3->fs_un1.fs_u2.cs_nifree)); in ufs_print_super_stuff()
180 fs64_to_cpu(sb, usb3->fs_un1.fs_u2.cs_nffree)); in ufs_print_super_stuff()
182 fs32_to_cpu(sb, usb3->fs_un2.fs_44.fs_maxsymlinklen)); in ufs_print_super_stuff()
212 pr_debug(" nrpos: %u\n", fs32_to_cpu(sb, usb3->fs_nrpos)); in ufs_print_super_stuff()
265 # define ufs_print_super_stuff(sb, usb1, usb2, usb3) /**/ argument
[all …]
/openbmc/linux/drivers/phy/tegra/
H A Dxusb.c958 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 …]
H A Dxusb-tegra186.c1086 struct tegra_xusb_usb3_lane *usb3; in tegra186_usb3_lane_probe() local
1089 usb3 = kzalloc(sizeof(*usb3), GFP_KERNEL); in tegra186_usb3_lane_probe()
1090 if (!usb3) in tegra186_usb3_lane_probe()
1093 INIT_LIST_HEAD(&usb3->base.list); in tegra186_usb3_lane_probe()
1094 usb3->base.soc = &pad->soc->lanes[index]; in tegra186_usb3_lane_probe()
1095 usb3->base.index = index; in tegra186_usb3_lane_probe()
1096 usb3->base.pad = pad; in tegra186_usb3_lane_probe()
1097 usb3->base.np = np; in tegra186_usb3_lane_probe()
1099 err = tegra_xusb_lane_parse_dt(&usb3->base, np); in tegra186_usb3_lane_probe()
1101 kfree(usb3); in tegra186_usb3_lane_probe()
[all …]
/openbmc/u-boot/arch/x86/cpu/ivybridge/
H A Dcpu.c102 pci_dev_t usb3 = PCH_XHCI_DEV; in enable_usb_bar() local
120 pci_bus_write_config(bus, usb3, PCI_BASE_ADDRESS_0, in enable_usb_bar()
122 pci_bus_read_config(bus, usb3, PCI_COMMAND, &cmd, PCI_SIZE_32); in enable_usb_bar()
124 pci_bus_write_config(bus, usb3, PCI_COMMAND, cmd, PCI_SIZE_32); in enable_usb_bar()
/openbmc/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 {
/openbmc/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-xbr-4500.dts43 led-usb3 {
44 label = "bcm53xx:green:usb3";
64 &usb3 {
H A Dbcm47094-luxul-abr-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 {
/openbmc/linux/Documentation/devicetree/bindings/phy/
H A Dphy-rockchip-typec.txt22 The sub-node name is used to identify dp or usb3 port,
25 * "usb3-port" : the name of USB3 port.
57 tcphy0_usb3: usb3-port {
81 tcphy1_usb3: usb3-port {
/openbmc/u-boot/arch/arm/dts/
H A Duniphier-pxs3.dtsi558 compatible = "socionext,uniphier-pxs3-usb3-reset";
568 compatible = "socionext,uniphier-pxs3-usb3-regulator";
577 compatible = "socionext,uniphier-pxs3-usb3-regulator";
586 compatible = "socionext,uniphier-pxs3-usb3-hsphy";
600 compatible = "socionext,uniphier-pxs3-usb3-hsphy";
614 compatible = "socionext,uniphier-pxs3-usb3-ssphy";
625 compatible = "socionext,uniphier-pxs3-usb3-ssphy";
679 compatible = "socionext,uniphier-pxs3-usb3-reset";
689 compatible = "socionext,uniphier-pxs3-usb3-regulator";
698 compatible = "socionext,uniphier-pxs3-usb3-regulator";
[all …]
H A Duniphier-pxs2.dtsi606 compatible = "socionext,uniphier-pxs2-usb3-reset";
616 compatible = "socionext,uniphier-pxs2-usb3-regulator";
625 compatible = "socionext,uniphier-pxs2-usb3-regulator";
634 compatible = "socionext,uniphier-pxs2-usb3-hsphy";
645 compatible = "socionext,uniphier-pxs2-usb3-hsphy";
656 compatible = "socionext,uniphier-pxs2-usb3-ssphy";
667 compatible = "socionext,uniphier-pxs2-usb3-ssphy";
720 compatible = "socionext,uniphier-pxs2-usb3-reset";
730 compatible = "socionext,uniphier-pxs2-usb3-regulator";
739 compatible = "socionext,uniphier-pxs2-usb3-regulator";
[all …]
/openbmc/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";
/openbmc/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
/openbmc/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 …]

12345678910>>...14