/linux/Documentation/devicetree/bindings/usb/ |
H A D | generic-xhci.yaml | 1 # 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 10 - Mathias Nyman <mathias.nyman@intel.com> 15 - description: Generic xHCI device 16 const: generic-xhci 17 - description: Armada 37xx/375/38x/8k SoCs 19 - enum: [all …]
|
H A D | usb-xhci.yaml | 1 # 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 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/drivers/usb/host/ |
H A D | xhci-ring.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * xHCI host controller driver 26 * until you reach a non-link TRB. 59 #include <linux/dma-mapping.h> 60 #include "xhci.h" 61 #include "xhci-trace.h" 63 static int queue_command(struct xhci_hcd *xhci, struct xhci_command *cmd, 76 if (!seg || !trb || trb < seg->trbs) in xhci_trb_virt_to_dma() 79 segment_offset = trb - seg->trbs; in xhci_trb_virt_to_dma() 82 return seg->dma + (segment_offset * sizeof(*trb)); in xhci_trb_virt_to_dma() [all …]
|
H A D | Kconfig | 1 # 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 46 tristate "Support for additional Renesas xHCI controller with firmware" [all …]
|
H A D | xhci-plat.c | 1 // 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> 24 #include "xhci.h" 25 #include "xhci-plat.h" 26 #include "xhci-mvebu.h" 43 if (priv->plat_start) in xhci_priv_plat_start() 44 priv->plat_start(hcd); in xhci_priv_plat_start() [all …]
|
H A D | xhci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * xHCI host controller driver 19 #include <linux/io-64-nonatomic-lo-hi.h> 20 #include <linux/io-64-nonatomic-hi-lo.h> 22 /* Code sharing between pci-quirks and xhci hcd */ 23 #include "xhci-ext-caps.h" 24 #include "pci-quirks.h" 26 #include "xhci-port.h" 27 #include "xhci-caps.h" 32 /* xHCI PCI Configuration Registers */ [all …]
|
H A D | xhci-mem.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * xHCI host controller driver 16 #include <linux/dma-mapping.h> 18 #include "xhci.h" 19 #include "xhci-trace.h" 20 #include "xhci-debugfs.h" 23 * Allocates a generic ring segment from the ring pool, sets the dma address, 29 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 …]
|
H A D | xhci.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * xHCI host controller driver 22 #include <linux/dma-mapping.h> 24 #include "xhci.h" 25 #include "xhci-trace.h" 26 #include "xhci-debugfs.h" 27 #include "xhci-dbgcap.h" 47 if (!td || !td->start_seg) in td_on_ring() 50 xhci_for_each_ring_seg(ring->first_seg, seg) { in td_on_ring() 51 if (seg == td->start_seg) in td_on_ring() [all …]
|
/linux/arch/arm64/boot/dts/broadcom/stingray/ |
H A D | stingray-usb.dtsi | 1 // 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/arch/arm/boot/dts/mediatek/ |
H A D | mt2701.dtsi | 1 // 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 …]
|
H A D | mt7629.dtsi | 1 // 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 …]
|
/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm-ns.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 3 * Copyright 2013-2014 Hauke Mehrtens <hauke@hauke-m.de> 6 #include <dt-bindings/clock/bcm-nsp.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 interrupt-parent = <&gic>; 14 #address-cells = <1>; 15 #size-cells = <1>; [all …]
|
H A D | bcm-nsp.dtsi | 33 #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/arch/arm64/boot/dts/mediatek/ |
H A D | mt2712e.dtsi | 5 * 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 …]
|
H A D | mt7986a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/clock/mt7986-clk.h> 10 #include <dt-bindings/reset/mt7986-resets.h> 11 #include <dt-bindings/phy/phy.h> 15 interrupt-parent = <&gic>; 16 #address-cells = <2>; 17 #size-cells = <2>; 20 #address-cells = <1>; [all …]
|
H A D | mt7622.dtsi | 6 * SPDX-License-Identifier: (GPL-2.0 OR MIT) 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/clock/mt7622-clk.h> 12 #include <dt-bindings/phy/phy.h> 13 #include <dt-bindings/power/mt7622-power.h> 14 #include <dt-bindings/reset/mt7622-reset.h> 15 #include <dt-bindings/thermal/thermal.h> 19 interrupt-parent = <&sysirq>; 20 #address-cells = <2>; [all …]
|
H A D | mt8192.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/clock/mt8192-clk.h> 9 #include <dt-bindings/gce/mt8192-gce.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/memory/mt8192-larb-port.h> 13 #include <dt-bindings/pinctrl/mt8192-pinfunc.h> 14 #include <dt-bindings/phy/phy.h> 15 #include <dt-bindings/power/mt8192-power.h> [all …]
|
/linux/arch/arm64/boot/dts/marvell/ |
H A D | armada-37xx.dtsi | 1 // 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/drivers/hwtracing/intel_th/ |
H A D | intel_th.h | 1 /* 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 …]
|
/linux/drivers/usb/dwc3/ |
H A D | core.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * core.h - DesignWare USB3 DRD Core Header 5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com 20 #include <linux/dma-mapping.h> 37 * DWC3 Multiport controllers support up to 15 High-Speed PHYs 197 /* Global SoC Bus Configuration Register: AHB-prot/AXI-cache/OCP-ReqInfo */ 537 /* Device Generic Command Register */ 557 /* Device Generic Command Parameter Register */ 684 * struct dwc3_event_buffer - Software event buffer representation 718 * struct dwc3_ep - device side endpoint representation [all …]
|
/linux/include/linux/usb/ |
H A D | hcd.h | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (c) 2001-2002 by David Brownell 42 /*-------------------------------------------------------------------------*/ 51 /*-------------------------------------------------------------------------*/ 73 struct usb_bus self; /* hcd is-a bus */ 79 * hcd->driver->flags & HCD_MASK 83 struct timer_list rh_timer; /* drives root-hub polling */ 93 const struct hc_driver *driver; /* hw-specific hooks */ 97 * other external phys should be software-transparent 119 #define HCD_HW_ACCESSIBLE(hcd) ((hcd)->flags & (1U << HCD_FLAG_HW_ACCESSIBLE)) [all …]
|
/linux/drivers/pci/ |
H A D | quirks.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This file contains work-arounds for many known PCI hardware bugs. 5 * should be handled in arch-specific code. 22 #include <linux/isa-dma.h> /* isa_dma_bridge_buggy */ 106 int ret = -ENOTTY; in pcie_failed_link_retrain() 109 !pcie_cap_has_lnkctl2(dev) || !dev->link_active_reporting) in pcie_failed_link_retrain() 117 pci_info(dev, "broken device, retraining non-functional downstream link at 2.5GT/s\n"); in pcie_failed_link_retrain() 175 if ((f->class == (u32) (dev->class >> f->class_shift) || in pci_do_fixups() 176 f->class == (u32) PCI_ANY_ID) && in pci_do_fixups() 177 (f->vendor == dev->vendor || in pci_do_fixups() [all …]
|
/linux/drivers/usb/core/ |
H A D | message.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * message.c - synchronous message handling 37 struct api_context *ctx = urb->context; in usb_api_blocking_completion() 39 ctx->status = urb->status; in usb_api_blocking_completion() 40 complete(&ctx->done); in usb_api_blocking_completion() 57 urb->context = &ctx; in usb_start_wait_urb() 58 urb->actual_length = 0; in usb_start_wait_urb() 66 retval = (ctx.status == -ENOENT ? -ETIMEDOUT : ctx.status); in usb_start_wait_urb() 68 dev_dbg(&urb->dev->dev, in usb_start_wait_urb() 70 current->comm, in usb_start_wait_urb() [all …]
|
/linux/drivers/usb/cdns3/ |
H A D | cdnsp-ring.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Code based on Linux XHCI driver. 28 * until you reach a non-link TRB. 59 #include <linux/dma-mapping.h> 64 #include "cdnsp-trace.h" 65 #include "cdnsp-gadget.h" 74 unsigned long segment_offset = trb - seg->trbs; in cdnsp_trb_virt_to_dma() 76 if (trb < seg->trbs || segment_offset >= TRBS_PER_SEGMENT) in cdnsp_trb_virt_to_dma() 79 return seg->dma + (segment_offset * sizeof(*trb)); in cdnsp_trb_virt_to_dma() 84 return TRB_TYPE_NOOP_LE32(trb->generic.field[3]); in cdnsp_trb_is_noop() [all …]
|
/linux/drivers/gpio/ |
H A D | gpiolib-acpi.c | 1 // SPDX-License-Identifier: GPL-2.0 24 #include "gpiolib-acpi.h" 26 static int run_edge_events_on_boot = -1; 29 "Run edge _AEI event-handlers at boot: 0=no, 1=yes, -1=auto"); 50 * struct acpi_gpio_event - ACPI GPIO event handler data 52 * @node: list-entry of the events list of the struct acpi_gpio_chip 95 * struct acpi_gpio_info - ACPI GPIO specific information 132 if (device_match_acpi_handle(&gc->gpiodev->dev, data)) in acpi_gpiochip_find() 145 if (gc->parent) in acpi_gpiochip_find() 146 return device_match_acpi_handle(gc->parent, data); in acpi_gpiochip_find() [all …]
|