| /kernel/linux/linux-5.10/drivers/thunderbolt/ |
| D | test.c | 1 // SPDX-License-Identifier: GPL-2.0 20 res->data = ida; in __ida_init() 26 struct ida *ida = res->data; in __ida_destroy() 47 sw->config.upstream_port_number = upstream_port; in alloc_switch() 48 sw->config.depth = tb_route_length(route); in alloc_switch() 49 sw->config.route_hi = upper_32_bits(route); in alloc_switch() 50 sw->config.route_lo = lower_32_bits(route); in alloc_switch() 51 sw->config.enabled = 0; in alloc_switch() 52 sw->config.max_port_number = max_port_number; in alloc_switch() 54 size = (sw->config.max_port_number + 1) * sizeof(*sw->ports); in alloc_switch() [all …]
|
| /kernel/linux/linux-4.19/drivers/block/ |
| D | sx8.c | 2 * sx8.c: Driver for Promise SATA SX8 looks-like-I2O hardware 4 * Copyright 2004-2005 Red Hat, Inc. 28 #include <linux/dma-mapping.h> 62 * Therefore, we default to the safe option -- 1 command -- but 75 /* 0xf is just arbitrary, non-zero noise; this is sorta like poisoning */ 107 /* adapter-wide limits */ 114 CARM_MAX_REQ = 64, /* max command msgs per host */ 117 /* S/G limits, host-wide and per-request */ 119 CARM_MAX_HOST_SG = 600, /* max s/g entries per host */ 120 CARM_SG_LOW_WATER = (CARM_MAX_HOST_SG / 4), /* re-fill mark */ [all …]
|
| /kernel/linux/linux-5.10/drivers/block/ |
| D | sx8.c | 2 * sx8.c: Driver for Promise SATA SX8 looks-like-I2O hardware 4 * Copyright 2004-2005 Red Hat, Inc. 19 #include <linux/blk-mq.h> 28 #include <linux/dma-mapping.h> 62 * Therefore, we default to the safe option -- 1 command -- but 75 /* 0xf is just arbitrary, non-zero noise; this is sorta like poisoning */ 107 /* adapter-wide limits */ 114 CARM_MAX_REQ = 64, /* max command msgs per host */ 117 /* S/G limits, host-wide and per-request */ 119 CARM_MAX_HOST_SG = 600, /* max s/g entries per host */ [all …]
|
| /kernel/linux/linux-5.10/drivers/ata/ |
| D | pata_atp867x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pata_atp867x.c - ARTOP 867X 64bit 4-channel UDMA133 ATA controller driver 5 * (C) 2009 Google Inc. John(Jung-Ik) Lee <jilee@google.com> 9 * 2003-2004 by Eric Uhrhane, Google, Inc. 69 #define ATP867X_IOBASE(ap) ((ap)->host->iomap[0]) 72 #define ATP867X_IO_PORTBASE(ap, port) (0x00 + ATP867X_IOBASE(ap) + \ argument 73 (port) * ATP867X_IO_CHANNEL_OFFSET) 74 #define ATP867X_IO_DMABASE(ap, port) (0x40 + \ argument 75 ATP867X_IO_PORTBASE((ap), (port))) 77 #define ATP867X_IO_STATUS(ap, port) (0x07 + \ argument [all …]
|
| D | libahci_platform.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2004-2005 Red Hat, Inc. 27 static void ahci_host_stop(struct ata_host *host); 36 * ahci_platform_enable_phys - Enable PHYs 37 * @hpriv: host private area to store config values 39 * This function enables all the PHYs found in hpriv->phys, if any. 50 for (i = 0; i < hpriv->nports; i++) { in ahci_platform_enable_phys() 51 rc = phy_init(hpriv->phys[i]); in ahci_platform_enable_phys() 55 rc = phy_set_mode(hpriv->phys[i], PHY_MODE_SATA); in ahci_platform_enable_phys() 57 phy_exit(hpriv->phys[i]); in ahci_platform_enable_phys() [all …]
|
| D | sata_mv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * sata_mv.c - Marvell SATA support 5 * Copyright 2008-2009: Marvell Corporation, all rights reserved. 12 * Please ALWAYS copy linux-ide@vger.kernel.org on emails. 18 * --> Develop a low-power-consumption strategy, and implement it. 20 * --> Add sysfs attributes for per-chip / per-HC IRQ coalescing thresholds. 22 * --> [Experiment, Marvell value added] Is it possible to use target 23 * mode to cross-connect two Linux boxes with Marvell cards? If so, 31 * 80x1-B2 errata PCI#11: 34 * should be careful to insert those cards only onto PCI-X bus #0, [all …]
|
| D | sata_vsc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * sata_vsc.c - Vitesse VSC7174 4 port DPA SATA 6 * Please ALWAYS copy linux-ide@vger.kernel.org 14 * as Documentation/driver-api/libata.rst 27 #include <linux/dma-mapping.h> 67 /* Port stride */ 88 return -EINVAL; in vsc_sata_scr_read() 89 *val = readl(link->ap->ioaddr.scr_addr + (sc_reg * 4)); in vsc_sata_scr_read() 98 return -EINVAL; in vsc_sata_scr_write() 99 writel(val, link->ap->ioaddr.scr_addr + (sc_reg * 4)); in vsc_sata_scr_write() [all …]
|
| D | pata_sis.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pata_sis.c - SiS ATA driver 9 * Copyright (C) 1999-2000 Andre Hedrick <andre@linux-ide.org> 42 u16 device; /* PCI host ID */ 67 while (lap->device) { in sis_short_ata40() 68 if (lap->device == dev->device && in sis_short_ata40() 69 lap->subvendor == dev->subsystem_vendor && in sis_short_ata40() 70 lap->subdevice == dev->subsystem_device) in sis_short_ata40() 79 * sis_old_port_base - return PCI configuration base for dev 82 * Returns the base of the PCI configuration registers for this port [all …]
|
| D | pata_pdc2027x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Copyright (C) 1998-2002 Andre Hedrick <andre@linux-ide.org> 15 * as Documentation/driver-api/libata.rst 177 * port_mmio - Get the MMIO address of PDC2027x extended registers 178 * @ap: Port 183 return ap->host->iomap[PDC_MMIO_BAR] + ap->port_no * 0x100 + offset; in port_mmio() 187 * dev_mmio - Get the MMIO address of PDC2027x extended registers 188 * @ap: Port 194 u8 adj = (adev->devno) ? 0x08 : 0x00; in dev_mmio() 199 * pdc2027x_pata_cable_detect - Probe host controller cable detect info [all …]
|
| D | sata_qstor.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * sata_qstor.c - Pacific Digital Corporation QStor SATA 11 * as Documentation/driver-api/libata.rst 39 QS_HCF_CNFG3 = 0x0003, /* host configuration offset */ 40 QS_HID_HPHY = 0x0004, /* host physical interface info */ 42 QS_HST_SFF = 0x0100, /* host status fifo offset */ 46 QS_HPHY_64BIT = (1 << 1), /* 64-bit bus detected */ 50 /* per-channel register offsets */ 53 QS_CFC_HUFT = 0x0800, /* host upstream fifo threshold */ 54 QS_CFC_HDFT = 0x0804, /* host downstream fifo threshold */ [all …]
|
| /kernel/linux/linux-4.19/drivers/ata/ |
| D | libahci_platform.c | 4 * Copyright 2004-2005 Red Hat, Inc. 31 static void ahci_host_stop(struct ata_host *host); 40 * ahci_platform_enable_phys - Enable PHYs 41 * @hpriv: host private area to store config values 43 * This function enables all the PHYs found in hpriv->phys, if any. 54 for (i = 0; i < hpriv->nports; i++) { in ahci_platform_enable_phys() 55 rc = phy_init(hpriv->phys[i]); in ahci_platform_enable_phys() 59 rc = phy_power_on(hpriv->phys[i]); in ahci_platform_enable_phys() 61 phy_exit(hpriv->phys[i]); in ahci_platform_enable_phys() 69 while (--i >= 0) { in ahci_platform_enable_phys() [all …]
|
| D | pata_atp867x.c | 2 * pata_atp867x.c - ARTOP 867X 64bit 4-channel UDMA133 ATA controller driver 4 * (C) 2009 Google Inc. John(Jung-Ik) Lee <jilee@google.com> 8 * 2003-2004 by Eric Uhrhane, Google, Inc. 22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 83 #define ATP867X_IOBASE(ap) ((ap)->host->iomap[0]) 86 #define ATP867X_IO_PORTBASE(ap, port) (0x00 + ATP867X_IOBASE(ap) + \ argument 87 (port) * ATP867X_IO_CHANNEL_OFFSET) 88 #define ATP867X_IO_DMABASE(ap, port) (0x40 + \ argument 89 ATP867X_IO_PORTBASE((ap), (port))) 91 #define ATP867X_IO_STATUS(ap, port) (0x07 + \ argument [all …]
|
| D | sata_mv.c | 2 * sata_mv.c - Marvell SATA support 4 * Copyright 2008-2009: Marvell Corporation, all rights reserved. 11 * Please ALWAYS copy linux-ide@vger.kernel.org on emails. 24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 31 * --> Develop a low-power-consumption strategy, and implement it. 33 * --> Add sysfs attributes for per-chip / per-HC IRQ coalescing thresholds. 35 * --> [Experiment, Marvell value added] Is it possible to use target 36 * mode to cross-connect two Linux boxes with Marvell cards? If so, 44 * 80x1-B2 errata PCI#11: 47 * should be careful to insert those cards only onto PCI-X bus #0, [all …]
|
| D | sata_vsc.c | 2 * sata_vsc.c - Vitesse VSC7174 4 port DPA SATA 5 * Please ALWAYS copy linux-ide@vger.kernel.org 29 * as Documentation/driver-api/libata.rst 43 #include <linux/dma-mapping.h> 83 /* Port stride */ 104 return -EINVAL; in vsc_sata_scr_read() 105 *val = readl(link->ap->ioaddr.scr_addr + (sc_reg * 4)); in vsc_sata_scr_read() 114 return -EINVAL; in vsc_sata_scr_write() 115 writel(val, link->ap->ioaddr.scr_addr + (sc_reg * 4)); in vsc_sata_scr_write() 124 mask_addr = ap->host->iomap[VSC_MMIO_BAR] + in vsc_freeze() [all …]
|
| D | pata_sis.c | 2 * pata_sis.c - SiS ATA driver 8 * Copyright (C) 1999-2000 Andre Hedrick <andre@linux-ide.org> 41 u16 device; /* PCI host ID */ 66 while (lap->device) { in sis_short_ata40() 67 if (lap->device == dev->device && in sis_short_ata40() 68 lap->subvendor == dev->subsystem_vendor && in sis_short_ata40() 69 lap->subdevice == dev->subsystem_device) in sis_short_ata40() 78 * sis_old_port_base - return PCI configuration base for dev 81 * Returns the base of the PCI configuration registers for this port 87 return 0x40 + (4 * adev->link->ap->port_no) + (2 * adev->devno); in sis_old_port_base() [all …]
|
| D | pata_pdc2027x.c | 12 * Copyright (C) 1998-2002 Andre Hedrick <andre@linux-ide.org> 20 * as Documentation/driver-api/libata.rst 183 * port_mmio - Get the MMIO address of PDC2027x extended registers 184 * @ap: Port 189 return ap->host->iomap[PDC_MMIO_BAR] + ap->port_no * 0x100 + offset; in port_mmio() 193 * dev_mmio - Get the MMIO address of PDC2027x extended registers 194 * @ap: Port 200 u8 adj = (adev->devno) ? 0x08 : 0x00; in dev_mmio() 205 * pdc2027x_pata_cable_detect - Probe host controller cable detect info 206 * @ap: Port for which cable detect info is desired [all …]
|
| D | sata_qstor.c | 2 * sata_qstor.c - Pacific Digital Corporation QStor SATA 26 * as Documentation/driver-api/libata.rst 55 QS_HCF_CNFG3 = 0x0003, /* host configuration offset */ 56 QS_HID_HPHY = 0x0004, /* host physical interface info */ 58 QS_HST_SFF = 0x0100, /* host status fifo offset */ 62 QS_HPHY_64BIT = (1 << 1), /* 64-bit bus detected */ 66 /* per-channel register offsets */ 69 QS_CFC_HUFT = 0x0800, /* host upstream fifo threshold */ 70 QS_CFC_HDFT = 0x0804, /* host downstream fifo threshold */ 73 QS_CCT_CTR0 = 0x0900, /* chan control-0 offset */ [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pci/ |
| D | pci.txt | 3 PCI Bus Binding to: IEEE Std 1275-1994 4 https://www.devicetree.org/open-firmware/bindings/pci/pci2_1.pdf 9 https://www.devicetree.org/open-firmware/practice/imap/imap0_9d.pdf 11 Additionally to the properties specified in the above standards a host bridge 14 - linux,pci-domain: 15 If present this property assigns a fixed PCI domain number to a host bridge, 18 host bridges in the system, otherwise potentially conflicting domain numbers 19 may be assigned to root buses behind different host bridges. The domain 20 number for each host bridge in the system must be unique. 21 - max-link-speed: [all …]
|
| /kernel/linux/linux-4.19/Documentation/ABI/stable/ |
| D | sysfs-driver-ib_srp | 1 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/add_target 4 Contact: linux-rdma@vger.kernel.org 7 a comma-separated list of login parameters to this sysfs 9 * id_ext, a 16-digit hexadecimal number specifying the eight 10 byte identifier extension in the 16-byte SRP target port 11 identifier. The target port identifier is sent by ib_srp 13 * ioc_guid, a 16-digit hexadecimal number specifying the eight 14 byte I/O controller GUID portion of the 16-byte target port 16 * dgid, a 32-digit hexadecimal number specifying the 18 * pkey, a four-digit hexadecimal number specifying the [all …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/stable/ |
| D | sysfs-driver-ib_srp | 1 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/add_target 4 Contact: linux-rdma@vger.kernel.org 7 a comma-separated list of login parameters to this sysfs 10 * id_ext, a 16-digit hexadecimal number specifying the eight 11 byte identifier extension in the 16-byte SRP target port 12 identifier. The target port identifier is sent by ib_srp 14 * ioc_guid, a 16-digit hexadecimal number specifying the eight 15 byte I/O controller GUID portion of the 16-byte target port 17 * dgid, a 32-digit hexadecimal number specifying the 19 * pkey, a four-digit hexadecimal number specifying the [all …]
|
| /kernel/linux/linux-5.10/tools/usb/usbip/src/ |
| D | usbip_attach.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * 2005-2007 Takahiro Hirofuchi 5 * Copyright (C) 2015-2016 Samsung Electronics 29 " -r, --remote=<host> The machine with exported USB devices\n" 30 " -b, --busid=<busid> Busid of the device on <host>\n" 31 " -d, --device=<devid> Id of the virtual UDC on <host>\n"; 39 static int record_connection(char *host, char *port, char *busid, int rhport) in record_connection() argument 54 return -1; in record_connection() 56 return -1; in record_connection() 58 return -1; in record_connection() [all …]
|
| /kernel/linux/linux-4.19/Documentation/x86/ |
| D | earlyprintk.txt | 2 Mini-HOWTO for using the earlyprintk=dbgp boot option with a 3 USB2 Debug port key and a debug cable, on x86 systems. 8 [host/target] <-------> [USB debug key] <-------> [client/console] 12 a.) Host/target system needs to have USB debug port capability. 14 You can check this capability by looking at a 'Debug port' bit in 15 the lspci -vvv output: 17 # lspci -vvv 19 …roller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03) (prog-if 20 [EHCI]) 21 …Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisIN… 22 …Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- I… [all …]
|
| /kernel/linux/linux-4.19/drivers/pci/controller/ |
| D | pcie-mediatek.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * MediaTek PCIe host controller driver. 35 /* PCIe per port registers */ 71 /* PCIe V2 per-port registers */ 118 (GENMASK(((size) - 1), 0) << ((where) & 0x3)) 136 * struct mtk_pcie_soc - differentiate between host generations 137 * @need_fix_class_id: whether this host's class ID needed to be fixed or not 138 * @need_fix_device_id: whether this host's device ID needed to be fixed or not 139 * @device_id: device ID which this host need to be fixed 149 int (*startup)(struct mtk_pcie_port *port); [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/usb/ |
| D | usb3-debug-port.rst | 2 USB3 debug port 11 This is a HOWTO for using the USB3 debug port on x86 systems. 14 debug port, you need to:: 16 1) check whether any USB3 debug port is available in 18 2) check which port is used for debugging purposes; 19 3) have a USB 3.0 super-speed A-to-A debugging cable. 25 functionality provided by the xHCI host controller. The xHCI 29 device through the debug port (normally the first USB3 30 super-speed port). The debug device is fully compliant with 32 performance full-duplex serial link between the debug target [all …]
|
| /kernel/linux/linux-4.19/Documentation/driver-api/usb/ |
| D | usb3-debug-port.rst | 2 USB3 debug port 11 This is a HOWTO for using the USB3 debug port on x86 systems. 14 debug port, you need to:: 16 1) check whether any USB3 debug port is available in 18 2) check which port is used for debugging purposes; 19 3) have a USB 3.0 super-speed A-to-A debugging cable. 25 functionality provided by the xHCI host controller. The xHCI 29 device through the debug port (normally the first USB3 30 super-speed port). The debug device is fully compliant with 32 performance full-duplex serial link between the debug target [all …]
|