Home
last modified time | relevance | path

Searched +full:host +full:- +full:port (Results 1 – 25 of 1232) sorted by relevance

12345678910>>...50

/linux/Documentation/driver-api/cxl/
H A Dtheory-of-operation.rst1 .. SPDX-License-Identifier: GPL-2.0
12 Address space is handled via HDM (Host Managed Device Memory) decoders
14 range across multiple devices underneath a host-bridge or interleaved
15 across host-bridges.
25 multiple Host Bridges and endpoints while another may opt for fault tolerance
28 Platform firmware enumerates a menu of interleave options at the "CXL root port"
30 dictates which endpoints can participate in which Host Bridge decode regimes.
33 given range only decodes to one Host Bridge, but that Host Bridge may in turn
35 port and an endpoint may interleave cycles across multiple Downstream Switch
39 module generates an emulated CXL topology of 2 Host Bridges each with 2 Root
[all …]
/linux/drivers/ata/
H A Dlibahci_platform.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2004-2005 Red Hat, Inc.
28 static void ahci_host_stop(struct ata_host *host);
37 * ahci_platform_enable_phys - Enable PHYs
38 * @hpriv: host private area to store config values
40 * This function enables all the PHYs found in hpriv->phys, if any.
51 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_set_mode(hpriv->phys[i], PHY_MODE_SATA); in ahci_platform_enable_phys()
61 phy_exit(hpriv->phys[i]); in ahci_platform_enable_phys()
[all …]
H A Dpata_atp867x.c1 // 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 …]
H A Dsata_mv.c1 // 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 …]
H A Dpata_pdc2027x.c1 // 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
170 * port_mmio - Get the MMIO address of PDC2027x extended registers
171 * @ap: Port
176 return ap->host->iomap[PDC_MMIO_BAR] + ap->port_no * 0x100 + offset; in port_mmio()
180 * dev_mmio - Get the MMIO address of PDC2027x extended registers
181 * @ap: Port
187 u8 adj = (adev->devno) ? 0x08 : 0x00; in dev_mmio()
192 * pdc2027x_cable_detect - Probe host controller cable detect info
[all …]
H A Dpata_sis.c1 // 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 …]
H A Dsata_qstor.c1 // 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 …]
H A Dpata_icside.c1 // SPDX-License-Identifier: GPL-2.0-only
59 } port[2]; member
71 const struct portinfo *port[2]; member
80 #define ICS_TYPE_NOTYPE ((unsigned int)-1)
82 /* ---------------- Version 5 PCB Support Functions --------------------- */
88 struct pata_icside_state *state = ec->irq_data; in pata_icside_irqenable_arcin_v5()
90 writeb(0, state->irq_port + ICS_ARCIN_V5_INTROFFSET); in pata_icside_irqenable_arcin_v5()
98 struct pata_icside_state *state = ec->irq_data; in pata_icside_irqdisable_arcin_v5()
100 readb(state->irq_port + ICS_ARCIN_V5_INTROFFSET); in pata_icside_irqdisable_arcin_v5()
109 /* ---------------- Version 6 PCB Support Functions --------------------- */
[all …]
H A Dsata_sil24.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * sata_sil24.c - Driver for Silicon Image 3124/3132 SATA-2 controllers
17 #include <linux/dma-mapping.h>
27 * Port request block (PRB) 32 bytes
57 SIL24_MAX_SGT = (PAGE_SIZE - SIL24_PRB_SZ)
99 * Port registers
108 PORT_PMP_STATUS = 0x0000, /* port device status offset */
109 PORT_PMP_QACTIVE = 0x0004, /* port device QActive offset */
113 PORT_CTRL_STAT = 0x1000, /* write: ctrl-set, read: stat */
114 PORT_CTRL_CLR = 0x1004, /* write: ctrl-clear */
[all …]
H A Dsata_highbank.c1 // SPDX-License-Identifier: GPL-2.0-only
53 /* Each of the 6 phys can have up to 4 sata ports attached to i. Map 0-based
88 static inline int sgpio_bit_shift(struct ecx_plat_data *pdata, u32 port, in sgpio_bit_shift() argument
91 return 1 << (3 * pdata->port_to_sgpio[port] + shift); in sgpio_bit_shift()
94 static void ecx_parse_sgpio(struct ecx_plat_data *pdata, u32 port, u32 state) in ecx_parse_sgpio() argument
97 pdata->sgpio_pattern |= sgpio_bit_shift(pdata, port, in ecx_parse_sgpio()
100 pdata->sgpio_pattern &= ~sgpio_bit_shift(pdata, port, in ecx_parse_sgpio()
103 pdata->sgpio_pattern |= sgpio_bit_shift(pdata, port, in ecx_parse_sgpio()
106 pdata->sgpio_pattern &= ~sgpio_bit_shift(pdata, port, in ecx_parse_sgpio()
109 pdata->sgpio_pattern |= sgpio_bit_shift(pdata, port, in ecx_parse_sgpio()
[all …]
/linux/Documentation/driver-api/cxl/linux/
H A Dcxl-driver.rst1 .. SPDX-License-Identifier: GPL-2.0
12 The :code:`cxl-cli` library, maintained as part of the NDTCL project, may
19 * cxl_core - fundamental init interface and core object creation
20 * cxl_port - initializes root and provides port enumeration interface.
21 * cxl_acpi - initializes root decoders and interacts with ACPI data.
22 * cxl_p/mem - initializes memory devices
23 * cxl_pci - uses cxl_port to enumerate the actual fabric hierarchy.
27 Here is an example from a single-socket system with 4 host bridges. Two host
38 .. kernel-render:: DOT
39 :alt: Digraph of CXL fabric describing host-bridge interleaving
[all …]
/linux/drivers/cxl/core/
H A Dport.c1 // SPDX-License-Identifier: GPL-2.0-only
26 * cross-device interleave coordination. The CXL core also establishes and
45 int cxl_num_decoders_committed(struct cxl_port *port) in cxl_num_decoders_committed() argument
49 return port->commit_end + 1; in cxl_num_decoders_committed()
55 return sysfs_emit(buf, "%s\n", dev->type->name); in devtype_show()
61 if (dev->type == &cxl_nvdimm_bridge_type) in cxl_device_id()
63 if (dev->type == &cxl_nvdimm_type) in cxl_device_id()
65 if (dev->type == CXL_PMEM_REGION_TYPE()) in cxl_device_id()
67 if (dev->type == CXL_DAX_REGION_TYPE()) in cxl_device_id()
76 if (dev->type == CXL_REGION_TYPE()) in cxl_device_id()
[all …]
/linux/drivers/net/ethernet/sfc/
H A Dfilter.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright 2005-2013 Solarflare Communications Inc.
16 * enum efx_filter_match_flags - Flags for hardware filter match type
17 * @EFX_FILTER_MATCH_REM_HOST: Match by remote IP host address
18 * @EFX_FILTER_MATCH_LOC_HOST: Match by local IP host address
20 * @EFX_FILTER_MATCH_REM_PORT: Match by remote TCP/UDP port
22 * @EFX_FILTER_MATCH_LOC_PORT: Match by local TCP/UDP port
23 * @EFX_FILTER_MATCH_ETHER_TYPE: Match by Ether-type
33 * - Huntington supports filter matching controlled by firmware, potentially
34 * using {TCP,UDP}/IPv{4,6} 4-tuple or local 2-tuple, local MAC or I/G bit,
[all …]
/linux/Documentation/ABI/stable/
H A Dsysfs-driver-ib_srp1 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 …]
/linux/tools/usb/usbip/src/
H A Dusbip_attach.c1 // 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 …]
/linux/tools/testing/selftests/net/forwarding/
H A Dbridge_mdb.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +-----------------------+ +------------------------+
15 # +----|------------------+ +----|-------------------+
17 # +----|--------------------------------------------------|-------------------+
19 # | +--|--------------------------------------------------|-----------------+ |
24 # | +-----------------------------------------------------------------------+ |
25 # +---------------------------------------------------------------------------+
147 bridge mdb add dev br0 port br0 grp $grp $state vid 10
149 check_err $? "Failed to add $name host entry"
151 bridge mdb replace dev br0 port br0 grp $grp $state vid 10 &> /dev/null
[all …]
/linux/Documentation/driver-api/usb/
H A Dusb3-debug-port.rst2 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 …]
/linux/Documentation/arch/x86/
H A Dearlyprintk.rst1 .. SPDX-License-Identifier: GPL-2.0
7 Mini-HOWTO for using the earlyprintk=dbgp boot option with a
8 USB2 Debug port key and a debug cable, on x86 systems.
13 [host/target] <-------> [USB debug key] <-------> [client/console]
18 a) Host/target system needs to have USB debug port capability.
20 You can check this capability by looking at a 'Debug port' bit in
21 the lspci -vvv output::
23 # lspci -vvv
25 …roller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03) (prog-if 20 [EHCI])
27 …Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisIN…
[all …]
/linux/drivers/scsi/libfc/
H A Dfc_lport.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Maintained at www.Open-FCoE.org
9 * PORT LOCKING NOTES
11 * These comments only apply to the 'port code' which consists of the lport,
27 * be held while attempting to acquire a greater lock. Here is the hierarchy-
42 * single-threaded workqueue. An rport would never be free'd while in a
92 /* Fabric IDs to use for point-to-point mode, chosen on whims. */
134 * struct fc_bsg_info - FC Passthrough managemet structure
136 * @lport: The local port to pass through a command
138 * @sg: job->reply_payload.sg_list
[all …]
/linux/drivers/char/
H A Dvirtio_console.c1 // SPDX-License-Identifier: GPL-2.0-or-later
28 #include <linux/dma-mapping.h>
44 /* Used for exporting per-port information to debugfs */
57 .name = "virtio-ports",
68 /* The hvc device associated with this console port */
114 * This is a per-device struct that stores data common to all the
115 * ports for that device (vdev->priv).
145 * guest->host transfers, one for host->guest transfers
150 * A control packet buffer for guest->host requests, protected
155 /* Array of per-port IO virtqueues */
[all …]
/linux/drivers/pci/controller/
H A Dpcie-mediatek.c1 // SPDX-License-Identifier: GPL-2.0
3 * MediaTek PCIe host controller driver.
15 #include <linux/irqchip/irq-msi-lib.h>
39 /* PCIe per port registers */
75 /* PCIe V2 per-port registers */
128 (GENMASK(((size) - 1), 0) << ((where) & 0x3))
146 * struct mtk_pcie_soc - differentiate between host generations
147 * @need_fix_class_id: whether this host's class ID needed to be fixed or not
148 * @need_fix_device_id: whether this host's device ID needed to be fixed or not
150 * @device_id: device ID which this host need to be fixed
[all …]
/linux/drivers/rapidio/
H A Drio-scan.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 * - Added Port-Write/Error Management initialization and handling
14 * - Added Input- Output- enable functionality, to allow full communication
21 #include <linux/dma-mapping.h>
49 * rio_destid_alloc - Allocate next available destID for given network
59 struct rio_id_table *idtab = (struct rio_id_table *)net->enum_data; in rio_destid_alloc()
61 spin_lock(&idtab->lock); in rio_destid_alloc()
62 destid = find_first_zero_bit(idtab->table, idtab->max); in rio_destid_alloc()
64 if (destid < idtab->max) { in rio_destid_alloc()
65 set_bit(destid, idtab->table); in rio_destid_alloc()
[all …]
/linux/drivers/nvme/target/
H A Dconfigfs.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (c) 2015-2016 HGST, a Western Digital Company.
14 #include <linux/pci-p2pdma.h>
16 #include <linux/nvme-auth.h>
18 #include <linux/nvme-keyring.h>
56 if (p->enabled) in nvmet_is_port_enabled()
57 pr_err("Disable port '%u' before changing attribute in %s\n", in nvmet_is_port_enabled()
58 le16_to_cpu(p->disc_addr.portid), caller); in nvmet_is_port_enabled()
59 return p->enabled; in nvmet_is_port_enabled()
68 u8 adrfam = to_nvmet_port(item)->disc_addr.adrfam; in nvmet_addr_adrfam_show()
[all …]
/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_debug.c5 * Copyright (c) 2008-2013 Broadcom Corporation
6 * Copyright (c) 2014-2016 QLogic Corporation
7 * Copyright (c) 2016-2017 Cavium Inc.
30 if (io_req && io_req->port && io_req->port->lport && in BNX2FC_IO_DBG()
31 io_req->port->lport->host) in BNX2FC_IO_DBG()
32 shost_printk(KERN_INFO, io_req->port->lport->host, in BNX2FC_IO_DBG()
34 io_req->xid, &vaf); in BNX2FC_IO_DBG()
54 if (tgt && tgt->port && tgt->port->lport && tgt->port->lport->host && in BNX2FC_TGT_DBG()
55 tgt->rport) in BNX2FC_TGT_DBG()
56 shost_printk(KERN_INFO, tgt->port->lport->host, in BNX2FC_TGT_DBG()
[all …]
/linux/drivers/usb/serial/
H A Dkeyspan_usa67msg.h1 /* SPDX-License-Identifier: BSD-3-Clause */
5 Copyright (c) 1998-2007 InnoSys Incorporated. All Rights Reserved
6 This file is available under a BSD-style copyright
19 Copyright (c) 1998-2007 InnoSys Incorporated. All Rights Reserved
21 This file is available under a BSD-style copyright
48 USB OUT (host -> USAxx, transmit) messages contain a
56 USB IN (USAxx -> host, receive) messages begin with a status
89 (2) For the host to determine the exact point at which the
106 2000jun01 add extended BSD-style copyright text
121 u8 port; // 0 or 1 (selects port) member
[all …]

12345678910>>...50