| /linux/drivers/scsi/fnic/ |
| H A D | fcpio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 * communication by the host driver to the fcp firmware. 17 * Exchange and sequence id space allocated to the host driver 105 * The header command tag. All host requests will use the "tag" field 107 * a host request, it will copy the tag field into the response. 109 * The only firmware requests that will use the rx_id/ox_id fields instead 111 * requests. These two requests do not have corresponding host requests 127 tag->u.req_id = id; in fcpio_tag_id_enc() 133 *id = tag->u.req_id; in fcpio_tag_id_dec() 139 tag->u.ex_id.rx_id = rx_id; in fcpio_tag_exid_enc() [all …]
|
| /linux/drivers/misc/mei/ |
| H A D | hw-me-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (c) 2003-2022, Intel Corporation. All rights reserved. 53 #define MEI_DEV_ID_LPT_W 0x8D3A /* Lynx Point - Wellsburg */ 129 /* Host Firmware Status Registers in PCI Config Space */ 135 # define PCI_CFG_HFS_2_PM_CMOFF_TO_CMX_ERROR 0x1000000 /* CMoff->CMx wake after an error */ 149 /* H_CB_WW - Host Circular Buffer (CB) Write Window register */ 151 /* H_CSR - Host Control Status register */ 153 /* ME_CB_RW - ME Circular Buffer Read Window register (read only) */ 155 /* ME_CSR_HA - ME Control Status Host Access register (read only) */ 157 /* H_HGC_CSR - PGI register */ [all …]
|
| /linux/drivers/usb/cdns3/ |
| H A D | Kconfig | 8 dual-role controller. 9 It supports: dual-role switch, Host-only, and Peripheral-only. 17 tristate "Cadence USB3 Dual-Role Controller" 20 Say Y here if your system has a Cadence USB3 dual-role controller. 21 It supports: dual-role switch, Host-only, and Peripheral-only. 34 Cadence USBSS-DEV driver. 40 bool "Cadence USB3 host controller" 44 Say Y here to enable host controller functionality of the 47 Host controller is compliant with XHCI so it will use 51 tristate "Cadence USB3 support on PCIe-based platforms" [all …]
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-kvm.txt | 1 perf-kvm(1) 5 ---- 6 perf-kvm - Tool to trace/measure kvm guest os 9 -------- 11 'perf kvm' [--host] [--guest] [--guestmount=<path> 12 [--guestkallsyms=<path> --guestmodules=<path> | --guestvmlinux=<path>]] 13 {top|record|report|diff|buildid-list} [<options>] 14 'perf kvm' [--host] [--guest] [--guestkallsyms=<path> --guestmodules=<path> 15 | --guestvmlinux=<path>] {top|record|report|diff|buildid-list|stat} [<options>] 19 ----------- [all …]
|
| /linux/drivers/net/ieee802154/ |
| H A D | atusb.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * atusb.h - Definitions shared between kernel and ATUSB firmware 11 * Firmware: ben-wpan/atusb/fw/include/atusb/atusb.h 19 /* -- - - */ 30 ATUSB_TEST, /* atusb-sil only */ 52 ATUSB_HW_TYPE_100813, /* 2010-08-13 */ 53 ATUSB_HW_TYPE_101216, /* 2010-12-16 */ 54 ATUSB_HW_TYPE_110131, /* 2011-01-31, ATmega32U2-based */ 62 * ->host ATUSB_ID - - 3 63 * ->host ATUSB_BUILD - - #bytes [all …]
|
| /linux/Documentation/driver-api/cxl/linux/ |
| H A D | cxl-driver.rst | 1 .. 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/misc/vmw_vmci/ |
| H A D | vmci_route.c | 1 // SPDX-License-Identifier: GPL-2.0-only 31 * "from_guest" is only ever set to true by in vmci_route() 38 * not touch a non-existent device. in vmci_route() 42 if (VMCI_INVALID_ID == dst->context) in vmci_route() 46 if (VMCI_HYPERVISOR_CONTEXT_ID == dst->context) { in vmci_route() 63 /* And we cannot send if the source is the host context. */ in vmci_route() 64 if (VMCI_HOST_CONTEXT_ID == src->context) in vmci_route() 70 * However, if they passed only an invalid context, in vmci_route() 75 if (VMCI_INVALID_ID == src->context && in vmci_route() 76 VMCI_INVALID_ID != src->resource) in vmci_route() [all …]
|
| /linux/Documentation/devicetree/bindings/display/ |
| H A D | mipi-dsi-bus.txt | 5 communication between a host and up to four peripherals. This document will 8 This document describes DSI bus-specific properties only or defines existing 11 Each DSI host provides a DSI bus. The DSI host controller's node contains a 15 The following assumes that only a single peripheral is connected to a DSI 16 host. Experience shows that this is true for the large majority of setups. 18 DSI host 22 a DSI host, the following properties apply to a node representing a DSI host. 25 - #address-cells: The number of cells required to represent an address on the 26 bus. DSI peripherals are addressed using a 2-bit virtual channel number, so 29 - #size-cells: Should be 0. There are cases where it makes sense to use a [all …]
|
| /linux/Documentation/driver-api/ |
| H A D | xillybus.rst | 10 - Introduction 11 -- Background 12 -- Xillybus Overview 14 - Usage 15 -- User interface 16 -- Synchronization 17 -- Seekable pipes 19 - Internals 20 -- Source code organization 21 -- Pipe attributes [all …]
|
| /linux/drivers/mmc/host/ |
| H A D | sdhci-pltfm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * sdhci-pltfm.c Support for SDHCI platform devices 16 * Inspired by sdhci-pci.c, by Pierre Ossman 25 #include "sdhci-pltfm.h" 27 unsigned int sdhci_pltfm_clk_get_max_clock(struct sdhci_host *host) in sdhci_pltfm_clk_get_max_clock() argument 29 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_pltfm_clk_get_max_clock() 31 return clk_get_rate(pltfm_host->clk); in sdhci_pltfm_clk_get_max_clock() 44 if (device_property_present(dev, "sdhci,wp-inverted") || in sdhci_wp_inverted() 45 device_property_present(dev, "wp-inverted")) in sdhci_wp_inverted() 48 /* Old device trees don't have the wp-inverted property. */ in sdhci_wp_inverted() [all …]
|
| H A D | litex_mmc.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2019-2020 Antmicro <contact@antmicro.com> 6 * Copyright (C) 2019-2020 Kamil Rakoczy <krakoczy@antmicro.com> 7 * Copyright (C) 2019-2020 Maciej Dudek <mdudek@internships.antmicro.com> 9 * Copyright (C) 2020-2022 Gabriel Somlo <gsomlo@gmail.com> 15 #include <linux/dma-mapping.h> 23 #include <linux/mmc/host.h> 114 return -EIO; in litex_mmc_sdcard_wait_done() 116 return -ETIMEDOUT; in litex_mmc_sdcard_wait_done() 118 return -EILSEQ; in litex_mmc_sdcard_wait_done() [all …]
|
| H A D | pxamci.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/drivers/mmc/host/pxa.c - PXA MMCI driver 8 * - No way to clear interrupts. 9 * - Have to turn off the clock whenever we touch the device. 10 * - Doesn't tell you how many data blocks were transferred. 23 #include <linux/dma-mapping.h> 26 #include <linux/mmc/host.h> 27 #include <linux/mmc/slot-gpio.h> 37 #include <linux/platform_data/mmc-pxamci.h> 41 #define DRIVER_NAME "pxa2xx-mci" [all …]
|
| H A D | cavium.c | 9 * Copyright (C) 2012-2017 Cavium Inc. 18 #include <linux/dma-direction.h> 19 #include <linux/dma-mapping.h> 23 #include <linux/mmc/slot-gpio.h> 44 * The Cavium MMC host hardware assumes that all commands have fixed 46 * being used. However, non-MMC devices like SD use command and 47 * response types that are unexpected by the host hardware. 128 cr = cvm_mmc_cr_types + (cmd->opcode & 0x3f); in cvm_mmc_get_cr_mods() 129 hardware_ctype = cr->ctype; in cvm_mmc_get_cr_mods() 130 hardware_rtype = cr->rtype; in cvm_mmc_get_cr_mods() [all …]
|
| H A D | dw_mmc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #include <linux/dma-mapping.h> 31 #include <linux/mmc/host.h> 38 #include <linux/mmc/slot-gpio.h> 73 ((d)->des2 = ((d)->des2 & cpu_to_le32(0x03ffe000)) | \ 78 u32 des4; /* Lower 32-bits of Buffer Address Pointer 1*/ 79 u32 des5; /* Upper 32-bits of Buffer Address Pointer 1*/ 81 u32 des6; /* Lower 32-bits of Next Descriptor Address */ 82 u32 des7; /* Upper 32-bits of Next Descriptor Address */ 97 ((d)->des1 = ((d)->des1 & cpu_to_le32(0x03ffe000)) | (cpu_to_le32((s) & 0x1fff))) [all …]
|
| H A D | usdhi6rol0.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2013-2014 Renesas Electronics Europe Ltd. 10 #include <linux/dma-mapping.h> 16 #include <linux/mmc/host.h> 169 size_t offset; /* offset within a page, including sg->offset */ 179 /* Multiple block requests only */ 209 static void usdhi6_write(struct usdhi6_host *host, u32 reg, u32 data) in usdhi6_write() argument 211 iowrite32(data, host->base + reg); in usdhi6_write() 212 dev_vdbg(mmc_dev(host->mmc), "%s(0x%p + 0x%x) = 0x%x\n", __func__, in usdhi6_write() 213 host->base, reg, data); in usdhi6_write() [all …]
|
| H A D | sdhci-iproc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/mmc/host.h> 14 #include "sdhci-pltfm.h" 34 static inline u32 sdhci_iproc_readl(struct sdhci_host *host, int reg) in sdhci_iproc_readl() argument 36 u32 val = readl(host->ioaddr + reg); in sdhci_iproc_readl() 39 mmc_hostname(host->mmc), reg, val); in sdhci_iproc_readl() 43 static u16 sdhci_iproc_readw(struct sdhci_host *host, int reg) in sdhci_iproc_readw() argument 45 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_iproc_readw() 50 if ((reg == SDHCI_TRANSFER_MODE) && iproc_host->is_cmd_shadowed) { in sdhci_iproc_readw() 52 val = iproc_host->shadow_cmd; in sdhci_iproc_readw() [all …]
|
| /linux/drivers/mmc/core/ |
| H A D | sd_uhs2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 * Support for SD UHS-II cards 26 #include <linux/mmc/host.h> 45 struct mmc_host *host; member 49 static int sd_uhs2_power_up(struct mmc_host *host) in sd_uhs2_power_up() argument 51 if (host->ios.power_mode == MMC_POWER_ON) in sd_uhs2_power_up() 54 host->ios.vdd = fls(host->ocr_avail) - 1; in sd_uhs2_power_up() 55 host->ios.clock = host->f_init; in sd_uhs2_power_up() 56 host->ios.timing = MMC_TIMING_UHS2_SPEED_A; in sd_uhs2_power_up() 57 host->ios.power_mode = MMC_POWER_ON; in sd_uhs2_power_up() [all …]
|
| H A D | queue.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2006-2007 Pierre Ossman 11 #include <linux/dma-mapping.h> 12 #include <linux/backing-dev.h> 15 #include <linux/mmc/host.h> 22 #include "host.h" 28 /* Allow only 1 DCMD at a time */ in mmc_cqe_dcmd_busy() 29 return mq->in_flight[MMC_ISSUE_DCMD]; in mmc_cqe_dcmd_busy() 34 if ((mq->cqe_busy & MMC_CQE_DCMD_BUSY) && !mmc_cqe_dcmd_busy(mq)) in mmc_cqe_check_busy() 35 mq->cqe_busy &= ~MMC_CQE_DCMD_BUSY; in mmc_cqe_check_busy() [all …]
|
| /linux/Documentation/driver-api/usb/ |
| H A D | gadget.rst | 11 This document presents a Linux-USB "Gadget" kernel mode API, for use 17 - Supports USB 2.0, for high speed devices which can stream data at 20 - Handles devices with dozens of endpoints just as well as ones with 21 just two fixed-function ones. Gadget drivers can be written so 24 - Flexible enough to expose more complex USB device capabilities such 28 - USB "On-The-Go" (OTG) support, in conjunction with updates to the 29 Linux-USB host side. 31 - Sharing data structures and API models with the Linux-USB host side 32 API. This helps the OTG support, and looks forward to more-symmetric 33 frameworks (where the same I/O model is used by both host and device [all …]
|
| /linux/drivers/usb/isp1760/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 8 Say Y or M here if your system as an ISP1760/1763 USB host controller 9 or an ISP1761 USB dual-role controller. 12 This USB controller is usually attached to a non-DMA-Master 35 bool "Host only mode" 39 Select this if you want to use the ISP1760 in host mode only. The 43 bool "Gadget only mode" 47 Select this if you want to use the ISP1760 in peripheral mode only. 48 The host function will be disabled. 57 Select this if you want to use the ISP1760 in both host and
|
| /linux/drivers/hv/ |
| H A D | ring_buffer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 * When we write to the ring buffer, check if the host needs to 32 * 1. The host guarantees that while it is draining the 37 * 2. The host guarantees that it will completely drain 40 * interrupt_mask and re-check to see if new data has 46 * the interrupt. The host expects interrupts only when the ring 47 * transitions from empty to non-empty (or full to non full on the guest 48 * to host ring). 50 * host logic is fixed. 55 struct hv_ring_buffer_info *rbi = &channel->outbound; in hv_signal_on_write() [all …]
|
| /linux/drivers/spi/ |
| H A D | spi-ep93xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2010-2011 Mika Westerberg 7 * Explicit FIFO handling code was inspired by amba-pl022 driver. 9 * Chip select support using other than built-in GPIOs by H. Hartley Sweeten. 21 #include <linux/dma-direction.h> 22 #include <linux/dma-mapping.h> 69 * struct ep93xx_spi - EP93xx SPI controller structure 75 * @fifo_level: how full is FIFO (%0..%SPI_FIFO_SIZE - %1). Receiving one 81 * @zeropage: dummy page used as RX buffer when only TX buffer is passed in by 99 #define bits_per_word_to_dss(bpw) ((bpw) - 1) [all …]
|
| H A D | spi-mt7621.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // spi-mt7621.c -- MediaTek MT7621 SPI controller driver 6 // Copyright (C) 2011-2013 Gabor Juhos <juhosg@openwrt.org> 7 // Copyright (C) 2014-2015 Felix Fietkau <nbd@nbd.name> 9 // Some parts are based on spi-orion.c: 11 // Copyright (C) 2007-2008 Marvell Ltd. 23 #define DRIVER_NAME "spi-mt7621" 58 struct spi_controller *host; member 67 return spi_controller_get_devdata(spi->controller); in spidev_to_mt7621_spi() 72 return ioread32(rs->base + reg); in mt7621_spi_read() [all …]
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | filter.h | 1 /* 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 23 * @EFX_FILTER_MATCH_ETHER_TYPE: Match by Ether-type 31 * Only some combinations are supported, depending on NIC 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, 53 * enum efx_filter_priority - priority of a hardware filter specification [all …]
|
| /linux/drivers/usb/serial/ |
| H A D | keyspan_usa49msg.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 5 Copyright (C) 1998-2000 InnoSys Incorporated. All Rights Reserved 6 This file is available under a BSD-style copyright 19 Copyright (C) 1998-2000 InnoSys Incorporated. All Rights Reserved 21 This file is available under a BSD-style copyright 44 USB OUT (host -> USAxx, transmit) messages contain a 52 USB IN (USAxx -> host, receive) messages begin with a status 84 only appear in (b) format messages. 85 (2) For the host to determine the exact point at which the 105 2000mar08 clone from usa26msg.h -> usa49msg.h [all …]
|