/linux/drivers/usb/host/ |
H A D | uhci-platform.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Generic UHCI HCD (Host Controller Driver) for Platform Devices 7 * This file is based on uhci-grlib.c 8 * (C) Copyright 2004-2007 Alan Stern, stern@rowland.harvard.edu 17 struct uhci_hcd *uhci = hcd_to_uhci(hcd); in uhci_platform_init() local 20 if (!uhci->rh_numports) in uhci_platform_init() 21 uhci->rh_numports = uhci_count_ports(hcd); in uhci_platform_init() 23 /* Set up pointers to to generic functions */ in uhci_platform_init() 24 uhci->reset_hc = uhci_generic_reset_hc; in uhci_platform_init() 25 uhci->check_and_reset_hc = uhci_generic_check_and_reset_hc; in uhci_platform_init() [all …]
|
H A D | uhci-pci.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * UHCI HCD (Host Controller Driver) PCI Bus Glue. 5 * Extracted from uhci-hcd.c: 9 * (C) Copyright 1999-2002 Johannes Erdfelt, johannes@erdfelt.com 16 * support from usb-ohci.c by Adam Richter, adam@yggdrasil.com). 17 * (C) Copyright 1999 Gregory P. Smith (from usb-ohci.c) 18 * (C) Copyright 2004-2007 Alan Stern, stern@rowland.harvard.edu 21 #include "pci-quirks.h" 27 static void uhci_pci_reset_hc(struct uhci_hcd *uhci) in uhci_pci_reset_hc() argument 29 uhci_reset_hc(to_pci_dev(uhci_dev(uhci)), uhci->io_addr); in uhci_pci_reset_hc() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 11 The Cypress C67x00 (EZ-Host/EZ-OTG) chips are dual-role 28 module will be called xhci-hcd. 55 tristate "Generic xHCI driver for a platform device" 57 Adds an xHCI host driver for a generic platform device, which 90 tristate "xHCI support for Renesas R-Car SoCs" 96 found in Renesas R-Car ARM SoCs. 141 modules will be called ohci-platform.ko, ehci-brcm.ko and 142 xhci-plat-hcd.ko 157 or UHCI) to handle USB 1.1 devices connected to root hub ports. Ports [all …]
|
H A D | uhci-hcd.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * (C) Copyright 1999-2002 Johannes Erdfelt, johannes@erdfelt.com 15 * support from usb-ohci.c by Adam Richter, adam@yggdrasil.com). 16 * (C) Copyright 1999 Gregory P. Smith (from usb-ohci.c) 17 * (C) Copyright 2004-2007 Alan Stern, stern@rowland.harvard.edu 40 #include <linux/dma-mapping.h> 50 #include "uhci-hcd.h" 70 * show all queues in /sys/kernel/debug/uhci/[pci_addr] 92 static void suspend_rh(struct uhci_hcd *uhci, enum uhci_rh_state new_state); 93 static void wakeup_rh(struct uhci_hcd *uhci); [all …]
|
H A D | ohci-hcd.c | 1 // SPDX-License-Identifier: GPL-1.0+ 8 * (C) Copyright 2000-2004 David Brownell <dbrownell@users.sourceforge.net> 11 * [ uhci code and gregs ohci fragments ] 16 * OHCI is the main "non-Intel/VIA" standard for USB 1.1 host controller 17 * interfaces (though some non-x86 Intel chips use it). It supports 18 * smarter hardware than UHCI. A download link for the spec available 39 #include <linux/dma-mapping.h> 54 /*-------------------------------------------------------------------------*/ 63 /* On PA-RISC, PDC can leave IR set incorrectly; ignore it there. */ 72 /*-------------------------------------------------------------------------*/ [all …]
|
H A D | xhci-ring.c | 1 // SPDX-License-Identifier: GPL-2.0 26 * until you reach a non-link TRB. 59 #include <linux/dma-mapping.h> 61 #include "xhci-trace.h" 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() 87 return TRB_TYPE_NOOP_LE32(trb->generic.field[3]); in trb_is_noop() 92 return TRB_TYPE_LINK_LE32(trb->link.control); in trb_is_link() 97 return trb == &seg->trbs[TRBS_PER_SEGMENT - 1]; in last_trb_on_seg() [all …]
|
H A D | xhci.c | 1 // SPDX-License-Identifier: GPL-2.0 22 #include <linux/dma-mapping.h> 23 #include <linux/usb/xhci-sideband.h> 26 #include "xhci-trace.h" 27 #include "xhci-debugfs.h" 28 #include "xhci-dbgcap.h" 48 if (!td || !td->start_seg) in td_on_ring() 51 xhci_for_each_ring_seg(ring->first_seg, seg) { in td_on_ring() 52 if (seg == td->start_seg) in td_on_ring() 60 * xhci_handshake - spin reading hc until handshake completes or fails [all …]
|
/linux/Documentation/usb/ |
H A D | usb-serial.rst | 45 -------------------------------------- 58 ----------------------------------------------- 72 This goes against the current documentation for pilot-xfer and other 77 (this is usually /dev/ttyUSB1 if you do not have any other usb-serial 79 the port to use for the HotSync transfer. The "Generic" port can be used 99 Kroah-Hartman at greg@kroah.com 103 ------------------- 115 significant advantage of using USB is speed - I can get 73 to 113 120 contains the necessary packages and a simple step-by-step howto. 129 iPAQ - disable autosync by going to the Start/Settings/Connections menu [all …]
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-g6.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/interrupt-controller/aspeed-scu-ic.h> 6 #include <dt-bindings/clock/ast2600-clock.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 13 interrupt-parent = <&gic>; 47 #address-cells = <1>; 48 #size-cells = <0>; 49 enable-method = "aspeed,ast2600-smp"; [all …]
|
H A D | aspeed-g4.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 2 #include <dt-bindings/clock/aspeed-clock.h> 7 #address-cells = <1>; 8 #size-cells = <1>; 9 interrupt-parent = <&vic>; 35 #address-cells = <1>; 36 #size-cells = <0>; 39 compatible = "arm,arm926ej-s"; 51 compatible = "simple-bus"; 52 #address-cells = <1>; [all …]
|
H A D | aspeed-g5.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 2 #include <dt-bindings/clock/aspeed-clock.h> 3 #include <dt-bindings/interrupt-controller/aspeed-scu-ic.h> 8 #address-cells = <1>; 9 #size-cells = <1>; 10 interrupt-parent = <&vic>; 36 #address-cells = <1>; 37 #size-cells = <0>; 40 compatible = "arm,arm1176jzf-s"; 52 compatible = "simple-bus"; [all …]
|
/linux/drivers/usb/gadget/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 7 # NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB !! 9 # - Host systems (like PCs) need CONFIG_USB (with "A" jacks). 10 # - Peripherals (like PDAs) need CONFIG_USB_GADGET (with "B" jacks). 11 # - Some systems have both kinds of controllers. 13 # With help from a special transceiver and a "Mini-AB" jack, systems with 14 # both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG). 25 you can't connect a "to-the-host" connector to a peripheral. 32 or "UHCI", and are usually integrated into southbridges on PC 44 For more information, see <http://www.linux-usb.org/gadget> and [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/include/linux/ |
H A D | usb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 #include <linux/errno.h> /* for -ENODEV */ 29 /*-------------------------------------------------------------------------*/ 32 * Host-side wrappers for standard USB descriptors ... these are parsed 36 * - devices have one (usually) or more configs; 37 * - configs have one (often) or more interfaces; 38 * - interfaces have one (usually) or more settings; 39 * - each interface setting has zero or (usually) more endpoints. 40 * - a SuperSpeed endpoint has a companion descriptor 44 * Devices may also have class-specific or vendor-specific descriptors. [all …]
|
/linux/ |
H A D | CREDITS | 1 This is at least a partial credits-file of people that have 4 scripts. The fields are: name (N), email (E), web-address 6 snail-mail address (S). 10 ---------- 51 D: in-kernel DRM Maintainer 76 E: tim_alpaerts@toyota-motor-europe.com 80 S: B-2610 Wilrijk-Antwerpen 85 W: http://www-stu.christs.cam.ac.uk/~aia21/ 106 D: Maintainer of ide-cd and Uniform CD-ROM driver, 107 D: ATAPI CD-Changer support, Major 2.1.x CD-ROM update. [all …]
|
H A D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 46 N: [^a-z]tegra all files whose path contains tegra 64 ---------------- 83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 85 L: linux-scsi@vger.kernel.org 88 F: drivers/scsi/3w-* [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 */ 41 if (test_bit(PCI_LINK_LBMS_SEEN, &dev->priv_flags)) in pcie_lbms_seen() 102 int ret = -ENOTTY; in pcie_failed_link_retrain() 105 !pcie_cap_has_lnkctl2(dev) || !dev->link_active_reporting) in pcie_failed_link_retrain() 113 pci_info(dev, "broken device, retraining non-functional downstream link at 2.5GT/s\n"); in pcie_failed_link_retrain() 171 if ((f->class == (u32) (dev->class >> f->class_shift) || in pci_do_fixups() 172 f->class == (u32) PCI_ANY_ID) && 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/Documentation/admin-guide/ |
H A D | kernel-parameters.txt | 16 force -- enable ACPI if default was off 17 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 18 off -- disable ACPI if default was on 19 noirq -- do not use ACPI for IRQ routing 20 strict -- Be less tolerant of platforms that are not 22 rsdt -- prefer RSDT over (default) XSDT 23 copy_dsdt -- copy DSDT to memory 24 nocmcff -- Disable firmware first mode for corrected 28 nospcr -- disable console in ACPI SPCR table as 45 If set to vendor, prefer vendor-specific driver [all …]
|