/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 */ 124 /* Host Firmware Status Registers in PCI Config Space */ 130 # define PCI_CFG_HFS_2_PM_CMOFF_TO_CMX_ERROR 0x1000000 /* CMoff->CMx wake after an error */ 144 /* H_CB_WW - Host Circular Buffer (CB) Write Window register */ 146 /* H_CSR - Host Control Status register */ 148 /* ME_CB_RW - ME Circular Buffer Read Window register (read only) */ 150 /* ME_CSR_HA - ME Control Status Host Access register (read only) */ 152 /* H_HGC_CSR - PGI register */ [all …]
|
/linux/drivers/mmc/host/ |
H A D | tmio_mmc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * Copyright (C) 2015-19 Renesas Electronics Corporation 8 * Copyright (C) 2016-19 Sang Engineering, Wolfram Sang 9 * Copyright (C) 2016-17 Horms Solutions, Simon Horman 46 #define CTL_SDIF_MODE 0xe6 /* only known on R-Car 2+ */ 71 #define TMIO_STAT_DAT0 BIT(23) /* only known on R-Car so far */ 74 #define TMIO_STAT_ALWAYS_SET_27 BIT(27) /* only known on R-Car 2+ so far */ 75 #define TMIO_STAT_ILL_FUNC BIT(29) /* only when !TMIO_MMC_HAS_IDLE_WAIT */ 76 #define TMIO_STAT_SCLKDIVEN BIT(29) /* only when TMIO_MMC_HAS_IDLE_WAIT */ 87 #define CARD_OPT_EXTOP BIT(9) /* first appeared on R-Car Gen3 SDHI */ [all …]
|
H A D | sdhci-xenon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Date: 2016-8-24 22 #include <linux/dma-mapping.h> 24 #include "sdhci-pltfm.h" 25 #include "sdhci-xenon.h" 27 static int xenon_enable_internal_clk(struct sdhci_host *host) in xenon_enable_internal_clk() argument 32 reg = sdhci_readl(host, SDHCI_CLOCK_CONTROL); in xenon_enable_internal_clk() 34 sdhci_writel(host, reg, SDHCI_CLOCK_CONTROL); in xenon_enable_internal_clk() 40 reg = sdhci_readw(host, SDHCI_CLOCK_CONTROL); in xenon_enable_internal_clk() 44 dev_err(mmc_dev(host->mmc), "Internal clock never stabilised.\n"); in xenon_enable_internal_clk() [all …]
|
H A D | renesas_sdhi_internal_dmac.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-19 Renesas Electronics Corporation 6 * Copyright (C) 2016-17 Horms Solutions, Simon Horman 7 * Copyright (C) 2018-19 Sang Engineering, Wolfram Sang 12 #include <linux/dma-mapping.h> 13 #include <linux/io-64-nonatomic-hi-lo.h> 14 #include <linux/mmc/host.h> 70 * - host->chan_{rx,tx} will be used as a flag of enabling/disabling the dma 71 * - Since this SDHI DMAC register set has 16 but 32-bit width, we 77 * Workaround for avoiding to use RX DMAC by multiple channels. On R-Car M3-W [all …]
|
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 | renesas_sdhi_sys_dmac.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-19 Renesas Electronics Corporation 6 * Copyright (C) 2016-19 Sang Engineering, Wolfram Sang 8 * Copyright (C) 2010-2011 Guennadi Liakhovetski 12 #include <linux/dma-mapping.h> 14 #include <linux/mmc/host.h> 76 { .compatible = "renesas,sdhi-sh73a0", .data = &of_default_cfg, }, 77 { .compatible = "renesas,sdhi-r8a73a4", .data = &of_default_cfg, }, 78 { .compatible = "renesas,sdhi-r8a7740", .data = &of_default_cfg, }, 79 { .compatible = "renesas,sdhi-r7s72100", .data = &of_rz_compatible, }, [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/usb/host/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # USB Host Controller Drivers 5 comment "USB Host Controller Drivers" 11 The Cypress C67x00 (EZ-Host/EZ-OTG) chips are dual-role 12 host/peripheral/OTG USB controllers. 14 Enable this option to support this chip in host controller mode. 24 The eXtensible Host Controller Interface (xHCI) is standard for USB 3.0 25 "SuperSpeed" host controller hardware. 28 module will be called xhci-hcd. 36 sure that your xHCI host supports the extended debug capability and [all …]
|
H A D | ehci-xilinx-of.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * EHCI HCD (Host Controller Driver) for USB. 9 * Based on "ehci-ppc-of.c" by Valentine Barshak <vbarshak@ru.mvista.com> 10 * and "ehci-ppc-soc.c" by Stefan Roese <sr@denx.de> 11 * and "ohci-ppc-of.c" by Sylvain Munaut <tnt@246tNt.com> 23 * ehci_xilinx_port_handed_over - hand the port out if failed to enable it 24 * @hcd: Pointer to the usb_hcd device to which the host controller bound 27 * This function is used as a place to tell the user that the Xilinx USB host 28 * controller does support LS devices. And in an HS only configuration, it 32 * There are cases when the host controller fails to enable the port due to, [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/drivers/mmc/core/ |
H A D | sd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2003-2004 Russell King, All Rights Reserved. 7 * Copyright (C) 2005-2007 Pierre Ossman, All Rights Reserved. 19 #include <linux/mmc/host.h> 26 #include "host.h" 72 u32 *resp = card->raw_cid; in mmc_decode_cid() 78 add_device_randomness(&card->raw_cid, sizeof(card->raw_cid)); in mmc_decode_cid() 84 card->cid.manfid = unstuff_bits(resp, 120, 8); in mmc_decode_cid() 85 card->cid.oemid = unstuff_bits(resp, 104, 16); in mmc_decode_cid() 86 card->cid.prod_name[0] = unstuff_bits(resp, 96, 8); in mmc_decode_cid() [all …]
|
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2003-2004 Russell King, All Rights Reserved. 7 * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved. 24 #include <linux/fault-inject.h> 30 #include <linux/mmc/host.h> 33 #include <linux/mmc/slot-gpio.h> 42 #include "host.h" 50 /* The max erase timeout, used when host->max_busy_timeout isn't specified */ 82 static void mmc_should_fail_request(struct mmc_host *host, in mmc_should_fail_request() argument 85 struct mmc_command *cmd = mrq->cmd; in mmc_should_fail_request() [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/drivers/net/usb/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 5 comment "Host-side USB support is needed for USB Network Adapter support" 16 tristate "USB CATC NetMate-based Ethernet device support" 28 typically on eth0, if it is the only ethernet device, or perhaps on 35 tristate "USB KLSI KL5USB101-based ethernet device support" 37 Say Y here if you want to use one of the following 10Mbps only 40 ADS USB-10BT 45 D-Link DSB-650C and DU-E10 47 I-O DATA USB-ET/T 51 Mobility USB-Ethernet Adapter [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/accel/qaic/ |
H A D | aic100.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 10 The Qualcomm Cloud AI 100/AIC100 family of products (including SA9000P - part of 20 performance. AIC100 cards are multi-user capable and able to execute workloads 26 An AIC100 card consists of an AIC100 SoC, on-card DDR, and a set of misc 30 or a Dual M.2 card. Both use PCIe to connect to the host system. 33 DeviceID(DID) combination to uniquely identify itself to the host. AIC100 39 AIC100 implements MSI but does not implement MSI-X. AIC100 prefers 17 MSIs to 43 As a PCIe device, AIC100 utilizes BARs to provide host interfaces to the device 44 hardware. AIC100 provides 3, 64-bit BARs. 46 * The first BAR is 4K in size, and exposes the MHI interface to the host. [all …]
|
/linux/arch/powerpc/kvm/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 11 Say Y here to get to see options for using your Linux host to run 57 in virtual machines on book3s_32 host processors. 74 in virtual machines on book3s_64 host processors. 82 tristate "KVM for POWER7 and later using hypervisor mode in host" 90 hypervisor mode available to the host. 96 that KVM is not usable under PowerVM (pHyp), is only usable 98 different processor from the host processor. 103 tristate "KVM support without using hypervisor mode in host" 109 without using hypervisor mode in the host, by running the [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/net/wireless/intel/iwlwifi/mei/ |
H A D | sap.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2021 - 2022 Intel Corporation 9 #include "mei/iwl-mei.h" 17 * 1) Decide who is the owner of the device: CSME or the host 18 * 2) When the host is the owner of the device, CSME can still 32 * interface is used only for signaling and not to transfer 47 * the CSME's WLAN driver and the host. 49 * 1) Host sends %SAP_ME_MSG_START message with the physical address 56 * DOC: Host and driver state messages 58 * In order to let CSME know about the host state and the host driver state, [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/gpu/drm/msm/dsi/ |
H A D | dsi_manager.c | 1 // SPDX-License-Identifier: GPL-2.0-only 52 * sync-mode, and only one node specifies master in case of bonded mode. in dsi_mgr_parse_of() 54 if (!msm_dsim->is_bonded_dsi) in dsi_mgr_parse_of() 55 msm_dsim->is_bonded_dsi = of_property_read_bool(np, "qcom,dual-dsi-mode"); in dsi_mgr_parse_of() 57 if (msm_dsim->is_bonded_dsi) { in dsi_mgr_parse_of() 58 if (of_property_read_bool(np, "qcom,master-dsi")) in dsi_mgr_parse_of() 59 msm_dsim->master_dsi_link_id = id; in dsi_mgr_parse_of() 60 if (!msm_dsim->is_sync_needed) in dsi_mgr_parse_of() 61 msm_dsim->is_sync_needed = of_property_read_bool( in dsi_mgr_parse_of() 62 np, "qcom,sync-dual-dsi"); in dsi_mgr_parse_of() [all …]
|
/linux/arch/arm64/kvm/hyp/vhe/ |
H A D | sysreg-sr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012-2015 - ARM Ltd 7 #include <hyp/sysreg-sr.h> 19 * VHE: Host and guest must save mdscr_el1 and sp_el0 (and the PC and 22 * tpidr_el0 and tpidrro_el0 only need to be switched when going 23 * to host userspace or a different VCPU. EL1 registers only need to be 55 * __vcpu_load_switch_sysregs - Load guest system registers to the physical CPU 59 * Load system registers that do not affect the host's execution, for 60 * example EL1 system registers on a VHE system where the host kernel 67 struct kvm_cpu_context *guest_ctxt = &vcpu->arch.ctxt; in __vcpu_load_switch_sysregs() [all …]
|
/linux/drivers/spi/ |
H A D | spi-orion.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2007-2008 Marvell Ltd. 29 * It is up to the implementer to only use the chip selects 72 * min_divisor and max_hz should be exclusive, the only we can 73 * have both is for managing the armada-370-spi case with old 93 struct spi_controller *host; member 110 return orion_spi->base + reg; in spi_reg() 144 orion_spi = spi_controller_get_devdata(spi->controller); in orion_spi_baudrate_set() 145 devdata = orion_spi->devdata; in orion_spi_baudrate_set() 147 tclk_hz = clk_get_rate(orion_spi->clk); in orion_spi_baudrate_set() [all …]
|