Home
last modified time | relevance | path

Searched +full:generic +full:- +full:xhci (Results 1 – 25 of 51) sorted by relevance

123

/Linux-v5.15/Documentation/devicetree/bindings/usb/
Dgeneric-xhci.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/usb/generic-xhci.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: USB xHCI Controller Device Tree Bindings
10 - Mathias Nyman <mathias.nyman@intel.com>
13 - $ref: "usb-xhci.yaml#"
18 - description: Generic xHCI device
19 const: generic-xhci
20 - description: Armada 37xx/375/38x/8k SoCs
[all …]
Dusb-xhci.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/usb/usb-xhci.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Generic USB xHCI Controller Device Tree Bindings
10 - Mathias Nyman <mathias.nyman@intel.com>
13 - $ref: "usb-hcd.yaml#"
16 usb2-lpm-disable:
20 usb3-lpm-capable:
24 quirk-broken-port-ped:
[all …]
/Linux-v5.15/drivers/usb/host/
Dxhci-dbgcap.c1 // SPDX-License-Identifier: GPL-2.0
3 * xhci-dbgcap.c - xHCI debug capability support
9 #include <linux/dma-mapping.h>
13 #include "xhci.h"
14 #include "xhci-trace.h"
15 #include "xhci-dbgcap.h"
21 dma_free_coherent(dev, ctx->size, ctx->bytes, ctx->dma); in dbc_free_ctx()
31 if (ring->first_seg && ring->first_seg->trbs) { in dbc_ring_free()
33 ring->first_seg->trbs, in dbc_ring_free()
34 ring->first_seg->dma); in dbc_ring_free()
[all …]
Dxhci-ring.c1 // SPDX-License-Identifier: GPL-2.0
3 * xHCI host controller driver
26 * until you reach a non-link TRB.
57 #include <linux/dma-mapping.h>
58 #include "xhci.h"
59 #include "xhci-trace.h"
61 static int queue_command(struct xhci_hcd *xhci, struct xhci_command *cmd,
74 if (!seg || !trb || trb < seg->trbs) in xhci_trb_virt_to_dma()
77 segment_offset = trb - seg->trbs; in xhci_trb_virt_to_dma()
80 return seg->dma + (segment_offset * sizeof(*trb)); in xhci_trb_virt_to_dma()
[all …]
Dxhci-debugfs.c1 // SPDX-License-Identifier: GPL-2.0
3 * xhci-debugfs.c - xHCI debugfs interface
13 #include "xhci.h"
14 #include "xhci-debugfs.h"
86 static struct xhci_regset *xhci_debugfs_alloc_regset(struct xhci_hcd *xhci) in xhci_debugfs_alloc_regset() argument
98 INIT_LIST_HEAD(&regset->list); in xhci_debugfs_alloc_regset()
99 list_add_tail(&regset->list, &xhci->regset_list); in xhci_debugfs_alloc_regset()
109 list_del(&regset->list); in xhci_debugfs_free_regset()
114 static void xhci_debugfs_regset(struct xhci_hcd *xhci, u32 base, in xhci_debugfs_regset() argument
122 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_debugfs_regset()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0
11 The Cypress C67x00 (EZ-Host/EZ-OTG) chips are dual-role
21 tristate "xHCI HCD (USB 3.0) support"
24 The eXtensible Host Controller Interface (xHCI) is standard for USB 3.0
28 module will be called xhci-hcd.
32 bool "xHCI support for debug capability"
35 Say 'Y' to enable the support for the xHCI debug capability. Make
36 sure that your xHCI host supports the extended debug capability and
37 you want a TTY serial device based on the xHCI debug capability
47 tristate "Support for additional Renesas xHCI controller with firmware"
[all …]
Dxhci-plat.c1 // SPDX-License-Identifier: GPL-2.0
3 * xhci-plat.c - xHCI host controller driver platform Bus Glue.
5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com
8 * A lot of code borrowed from the Linux xHCI driver.
12 #include <linux/dma-mapping.h>
23 #include "xhci.h"
24 #include "xhci-plat.h"
25 #include "xhci-mvebu.h"
26 #include "xhci-rcar.h"
43 if (priv->plat_start) in xhci_priv_plat_start()
[all …]
Dxhci-histb.c1 // SPDX-License-Identifier: GPL-2.0
3 * xHCI host controller driver for HiSilicon STB SoCs
5 * Copyright (C) 2017-2018 HiSilicon Co., Ltd. http://www.hisilicon.com
11 #include <linux/dma-mapping.h>
19 #include "xhci.h"
46 return dev_get_drvdata(hcd->self.controller); in hcd_to_histb()
51 struct device_node *np = histb->dev->of_node; in xhci_histb_config()
54 if (of_property_match_string(np, "phys-names", "inno") >= 0) { in xhci_histb_config()
56 regval = readl(histb->ctrl + REG_GUSB2PHYCFG0); in xhci_histb_config()
60 writel(regval, histb->ctrl + REG_GUSB2PHYCFG0); in xhci_histb_config()
[all …]
Dxhci-mtk.c1 // SPDX-License-Identifier: GPL-2.0
3 * MediaTek xHCI Host Controller Driver
10 #include <linux/dma-mapping.h>
22 #include "xhci.h"
23 #include "xhci-mtk.h"
59 /* xHCI CSR */
117 struct device *dev = mtk->dev; in xhci_mtk_set_frame_interval()
118 struct usb_hcd *hcd = mtk->hcd; in xhci_mtk_set_frame_interval()
121 if (!of_device_is_compatible(dev->of_node, "mediatek,mt8195-xhci")) in xhci_mtk_set_frame_interval()
124 value = readl(hcd->regs + HFCNTR_CFG); in xhci_mtk_set_frame_interval()
[all …]
Dxhci-mem.c1 // SPDX-License-Identifier: GPL-2.0
3 * xHCI host controller driver
15 #include <linux/dma-mapping.h>
17 #include "xhci.h"
18 #include "xhci-trace.h"
19 #include "xhci-debugfs.h"
22 * Allocates a generic ring segment from the ring pool, sets the dma address,
28 static struct xhci_segment *xhci_segment_alloc(struct xhci_hcd *xhci, in xhci_segment_alloc() argument
36 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_segment_alloc()
42 seg->trbs = dma_pool_zalloc(xhci->segment_pool, flags, &dma); in xhci_segment_alloc()
[all …]
Dxhci.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * xHCI host controller driver
19 #include <linux/io-64-nonatomic-lo-hi.h>
21 /* Code sharing between pci-quirks and xhci hcd */
22 #include "xhci-ext-caps.h"
23 #include "pci-quirks.h"
28 /* xHCI PCI Configuration Registers */
31 /* Max number of USB devices for any host controller - limit in section 6.1 */
33 /* Section 5.3.3 - MaxPorts */
37 * xHCI register interface.
[all …]
Dxhci.c1 // SPDX-License-Identifier: GPL-2.0
3 * xHCI host controller driver
19 #include <linux/dma-mapping.h>
21 #include "xhci.h"
22 #include "xhci-trace.h"
23 #include "xhci-debugfs.h"
24 #include "xhci-dbgcap.h"
42 struct xhci_segment *seg = ring->first_seg; in td_on_ring()
44 if (!td || !td->start_seg) in td_on_ring()
47 if (seg == td->start_seg) in td_on_ring()
[all …]
/Linux-v5.15/arch/arm64/boot/dts/broadcom/stingray/
Dstingray-usb.dtsi1 // SPDX-License-Identifier: (GPL-2.0 or BSD-3-Clause)
6 compatible = "simple-bus";
7 #address-cells = <2>;
8 #size-cells = <2>;
13 * to 40-bit
15 dma-ranges = <0 0 0 0 0x100 0x0>;
17 usbphy0: usb-phy@0 {
18 compatible = "brcm,sr-usb-combo-phy";
20 #phy-cells = <1>;
25 compatible = "generic-xhci";
[all …]
/Linux-v5.15/arch/arm64/boot/dts/broadcom/bcm4908/
Dbcm4908.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/interrupt-controller/irq.h>
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/phy/phy.h>
6 #include <dt-bindings/soc/bcm-pmb.h>
8 /dts-v1/;
11 interrupt-parent = <&gic>;
13 #address-cells = <2>;
14 #size-cells = <2>;
21 stdout-path = "serial0:115200n8";
[all …]
/Linux-v5.15/arch/arm64/boot/dts/marvell/
Darmada-cp11x.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include <dt-bindings/interrupt-controller/mvebu-icu.h>
9 #include <dt-bindings/thermal/thermal.h>
11 #include "armada-common.dtsi"
27 thermal-zones {
28 CP11X_LABEL(thermal_ic): CP11X_NODE_NAME(thermal-ic) {
29 polling-delay-passive = <0>; /* Interrupt driven */
30 polling-delay = <0>; /* Interrupt driven */
32 thermal-sensors = <&CP11X_LABEL(thermal) 0>;
42 cooling-maps { };
[all …]
Darmada-37xx.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 * Gregory CLEMENT <gregory.clement@free-electrons.com>
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
16 interrupt-parent = <&gic>;
17 #address-cells = <2>;
18 #size-cells = <2>;
25 reserved-memory {
26 #address-cells = <2>;
27 #size-cells = <2>;
34 psci-area@4000000 {
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/phy/
Drcar-gen2-phy.txt1 * Renesas R-Car generation 2 USB PHY
3 This file provides information on what the device node for the R-Car generation
7 - compatible: "renesas,usb-phy-r8a7742" if the device is a part of R8A7742 SoC.
8 "renesas,usb-phy-r8a7743" if the device is a part of R8A7743 SoC.
9 "renesas,usb-phy-r8a7744" if the device is a part of R8A7744 SoC.
10 "renesas,usb-phy-r8a7745" if the device is a part of R8A7745 SoC.
11 "renesas,usb-phy-r8a77470" if the device is a part of R8A77470 SoC.
12 "renesas,usb-phy-r8a7790" if the device is a part of R8A7790 SoC.
13 "renesas,usb-phy-r8a7791" if the device is a part of R8A7791 SoC.
14 "renesas,usb-phy-r8a7794" if the device is a part of R8A7794 SoC.
[all …]
/Linux-v5.15/arch/arm/boot/dts/
Dmt2701.dtsi1 // SPDX-License-Identifier: GPL-2.0
8 #include <dt-bindings/clock/mt2701-clk.h>
9 #include <dt-bindings/phy/phy.h>
10 #include <dt-bindings/power/mt2701-power.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/memory/mt2701-larb-port.h>
14 #include <dt-bindings/reset/mt2701-resets.h>
15 #include "mt2701-pinfunc.h"
18 #address-cells = <2>;
[all …]
Dbcm5301x.dtsi3 * Generic DTS part for all BCM53010, BCM53011, BCM53012, BCM53014, BCM53015,
6 * Copyright 2013-2014 Hauke Mehrtens <hauke@hauke-m.de>
11 #include <dt-bindings/clock/bcm-nsp.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
15 #include <dt-bindings/interrupt-controller/arm-gic.h>
18 #address-cells = <1>;
19 #size-cells = <1>;
20 interrupt-parent = <&gic>;
[all …]
Dmt7629.dtsi1 // SPDX-License-Identifier: GPL-2.0
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #include <dt-bindings/clock/mt7629-clk.h>
11 #include <dt-bindings/power/mt7622-power.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/phy/phy.h>
14 #include <dt-bindings/reset/mt7629-resets.h>
18 interrupt-parent = <&sysirq>;
19 #address-cells = <1>;
[all …]
Dmt7623.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2017-2018 MediaTek Inc.
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 #include <dt-bindings/clock/mt2701-clk.h>
13 #include <dt-bindings/pinctrl/mt7623-pinfunc.h>
14 #include <dt-bindings/power/mt2701-power.h>
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/phy/phy.h>
17 #include <dt-bindings/reset/mt2701-resets.h>
[all …]
Dbcm-nsp.dtsi33 #include <dt-bindings/interrupt-controller/arm-gic.h>
34 #include <dt-bindings/interrupt-controller/irq.h>
35 #include <dt-bindings/clock/bcm-nsp.h>
38 #address-cells = <1>;
39 #size-cells = <1>;
42 interrupt-parent = <&gic>;
53 #address-cells = <1>;
54 #size-cells = <0>;
58 compatible = "arm,cortex-a9";
59 next-level-cache = <&L2>;
[all …]
/Linux-v5.15/arch/arm64/boot/dts/mediatek/
Dmt2712e.dtsi5 * SPDX-License-Identifier: (GPL-2.0 OR MIT)
8 #include <dt-bindings/clock/mt2712-clk.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/memory/mt2712-larb-port.h>
12 #include <dt-bindings/phy/phy.h>
13 #include <dt-bindings/power/mt2712-power.h>
14 #include "mt2712-pinfunc.h"
18 interrupt-parent = <&sysirq>;
19 #address-cells = <2>;
[all …]
/Linux-v5.15/drivers/usb/core/
Dhcd-pci.c1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright David Brownell 2000-2002
24 /* PCI-based HCs are common, but plenty of non-PCI HCs are used too */
39 return pdev->class == CL_OHCI || pdev->class == CL_UHCI; in is_ohci_or_uhci()
51 unsigned int slot = PCI_SLOT(pdev->devfn); in for_each_companion()
60 if (companion->bus != pdev->bus || in for_each_companion()
61 PCI_SLOT(companion->devfn) != slot) in for_each_companion()
68 if (companion->class != CL_UHCI && companion->class != CL_OHCI && in for_each_companion()
69 companion->class != CL_EHCI) in for_each_companion()
73 if (!companion_hcd || !companion_hcd->self.root_hub) in for_each_companion()
[all …]
/Linux-v5.15/drivers/hwtracing/intel_th/
Dintel_th.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (C) 2014-2015 Intel Corporation.
26 * struct intel_th_output - descriptor INTEL_TH_OUTPUT type devices
48 * struct intel_th_drvdata - describes hardware capabilities and quirks
61 #define INTEL_TH_CAP(_th, _cap) ((_th)->drvdata ? (_th)->drvdata->_cap : 0)
64 * struct intel_th_device - device on the intel_th bus
70 * @id: device instance or -1
96 * intel_th_device_get_resource() - obtain @num'th resource of type @type
107 for (i = 0; i < thdev->num_resources; i++) in intel_th_device_get_resource()
108 if (resource_type(&thdev->resource[i]) == type && !num--) in intel_th_device_get_resource()
[all …]

123