/linux/include/linux/ |
H A D | rio_drv.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 46 * rio_local_read_config_32 - Read 32 bits from local configuration space 48 * @offset: Offset into local configuration space 52 * device's configuration space. 61 * rio_local_write_config_32 - Write 32 bits to local configuration space 63 * @offset: Offset into local configuration space 67 * device's configuration space. 76 * rio_local_read_config_16 - Read 16 bits from local configuration space 78 * @offset: Offset into local configuration space 82 * device's configuration space. [all …]
|
H A D | vdpa.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 * struct vdpa_callback - vDPA callback definition. 30 * struct vdpa_notification_area - vDPA notification area 40 * struct vdpa_vq_state_split - vDPA split virtqueue state 48 * struct vdpa_vq_state_packed - vDPA packed virtqueue state 71 * struct vdpa_device - representation of a vDPA device 77 * @config: the configuration ops for this device. 78 * @cf_lock: Protects get and set access to configuration layout. 104 * struct vdpa_iova_range - the IOVA range support by the device 124 * struct vdpa_map_file - file area for device memory mapping [all …]
|
/linux/drivers/rapidio/ |
H A D | rio-access.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * RapidIO configuration space access support 15 * Wrappers for all RIO configuration access functions. They just check 16 * alignment and call the low-level functions pointed to by rio_mport->ops. 24 * RIO_LOP_READ - Generate rio_local_read_config_* functions 25 * @size: Size of configuration space read (8, 16, 32 bits) 27 * @len: Length of configuration space read (1, 2, 4 bytes) 30 * configuration space registers on the local device. 39 res = mport->ops->lcread(mport, mport->id, offset, len, &data); \ 45 * RIO_LOP_WRITE - Generate rio_local_write_config_* functions [all …]
|
/linux/arch/arm/mach-pxa/ |
H A D | smemc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 15 #define MDCNFG (SMEMC_VIRT + 0x00) /* SDRAM Configuration Register 0 */ 20 #define MECR (SMEMC_VIRT + 0x14) /* Expansion Memory (PCMCIA/Compact Flash) Bus Configuration */ 21 #define SXLCR (SMEMC_VIRT + 0x18) /* LCR value to be written to SDRAM-Timing Synchronous Flash */ 24 #define MCMEM0 (SMEMC_VIRT + 0x28) /* Card interface Common Memory Space Socket 0 Timing */ 25 #define MCMEM1 (SMEMC_VIRT + 0x2C) /* Card interface Common Memory Space Socket 1 Timing */ 26 …ine MCATT0 (SMEMC_VIRT + 0x30) /* Card interface Attribute Space Socket 0 Timing Configuration */ 27 …ine MCATT1 (SMEMC_VIRT + 0x34) /* Card interface Attribute Space Socket 1 Timing Configuration */ 28 #define MCIO0 (SMEMC_VIRT + 0x38) /* Card interface I/O Space Socket 0 Timing Configuration */ 29 #define MCIO1 (SMEMC_VIRT + 0x3C) /* Card interface I/O Space Socket 1 Timing Configuration */ [all …]
|
/linux/drivers/pci/ |
H A D | pci-bridge-emul.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 /* PCI configuration space of a PCI-to-PCI bridge. */ 42 /* PCI configuration space of the PCIe capabilities */ 78 * configuration space. Return PCI_BRIDGE_EMUL_HANDLED when the 82 * in-memory copy of the configuration space. 88 * Same as ->read_base(), except it is for reading from the 89 * PCIe capability configuration space. 95 * Same as ->read_base(), except it is for reading from the 96 * PCIe extended capability configuration space. 102 * Called when writing to the regular PCI bridge configuration [all …]
|
/linux/Documentation/PCI/ |
H A D | acpi-info.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 method for accessing PCI config space below it, the address space windows 33 reserving address space. The static tables are for things the OS needs to 39 If the OS is expected to manage a non-discoverable device described via 45 describe all the address space they consume. This includes all the windows 50 These are all device-specific, non-architected things, so the only way a 52 the device-specific details. The host bridge registers also include ECAM 53 space, since it is consumed by the host bridge. 58 spec defines Consumer/Producer only for the Extended Address Space 60 Address Space descriptors. Consequently, OSes have to assume all [all …]
|
/linux/Documentation/devicetree/bindings/powerpc/fsl/ |
H A D | dcsr.txt | 17 debug blocks defined within this memory space. 21 - compatible 24 Definition: Must include "fsl,dcsr" and "simple-bus". 25 The DCSR space exists in the memory-mapped bus. 27 - #address-cells 33 - #size-cells 40 - ranges 42 Value type: <prop-encoded-array> 44 range of the DCSR space. 48 #address-cells = <1>; [all …]
|
/linux/include/uapi/linux/ |
H A D | vduse.h | 1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ 23 * struct vduse_dev_config - basic configuration of a VDUSE device 31 * @config_size: the size of the configuration spac [all...] |
/linux/Documentation/devicetree/bindings/pci/ |
H A D | snps,dw-pcie-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/snps,dw-pcie-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jingoo Han <jingoohan1@gmail.com> 11 - Gustavo Pimentel <gustavo.pimentel@synopsys.com> 22 DWC PCIe CSR space is normally accessed over the dedicated Data Bus 23 Interface - DBI. In accordance with the reference manual the register 24 configuration space belongs to the Configuration-Dependent Module (CDM) 25 and is split up into several sub-parts Standard PCIe configuration [all …]
|
H A D | nvidia,tegra20-pcie.txt | 4 - compatible: Must be: 5 - "nvidia,tegra20-pcie": for Tegra20 6 - "nvidia,tegra30-pcie": for Tegra30 7 - "nvidia,tegra124-pcie": for Tegra124 and Tegra132 8 - "nvidia,tegra210-pcie": for Tegra210 9 - "nvidia,tegra186-pcie": for Tegra186 10 - power-domains: To ungate power partition by BPMP powergate driver. Must 13 - device_type: Must be "pci" 14 - reg: A list of physical base address and length for each set of controller 15 registers. Must contain an entry for each entry in the reg-names property. [all …]
|
H A D | host-generic-pci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/host-generic-pci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Will Deacon <will@kernel.org> 13 Firmware-initialised PCI host controllers and PCI emulations, such as the 14 virtio-pci implementations found in kvmtool and other para-virtualised 17 configuration of a control interface by the operating system, instead 19 Configuration Spaces. 21 Configuration Space is assumed to be memory-mapped (as opposed to being [all …]
|
H A D | snps,dw-pcie-ep.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/pci/snps,dw-pcie-ep.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jingoo Han <jingoohan1@gmail.com> 11 - Gustavo Pimentel <gustavo.pimentel@synopsys.com> 16 # Please create a separate DT-schema for your DWC PCIe Endpoint controller 17 # and make sure it's assigned with the vendor-specific compatible string. 21 const: snps,dw-pcie-ep 23 - compatible [all …]
|
/linux/include/misc/ |
H A D | ocxl.h | 1 // SPDX-License-Identifier: GPL-2.0+ 10 * device configuration space, adding a Process Element to the Shared 14 * reuse common code. A bit like a in-kernel library. 32 u8 pp_mmio_bar; /* per-process MMIO area */ 52 OCXL_BIG_ENDIAN = 0, /**< AFU data is big-endian */ 53 OCXL_LITTLE_ENDIAN = 1, /**< AFU data is little-endian */ 65 * ocxl_function_open() - Open an OpenCAPI function on an OpenCAPI device 73 * ocxl_function_afu_list() - Get the list of AFUs associated with a PCI function device 81 * ocxl_function_fetch_afu() - Fetch an AFU instance from an OpenCAPI function 92 * ocxl_afu_get() - Take a reference to an AFU [all …]
|
/linux/Documentation/driver-api/rapidio/ |
H A D | rapidio.rst | 5 The RapidIO standard is a packet-based fabric interconnect standard designed for 8 is publicly available for download from the RTA web-site [1]. 17 into the kernel similarly to other buses by defining RapidIO-specific device and 21 architecture-specific interfaces that provide support for common RapidIO 33 --------------- 50 ---------- 54 structure. Devices form one global device list and per-network device lists 58 ---------- 68 specific switch drivers that are designed to provide hardware-specific 72 ----------- [all …]
|
/linux/Documentation/userspace-api/media/mediactl/ |
H A D | request-api.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 4 .. _media-request-api: 12 the same pipeline to reconfigure and collaborate closely on a per-frame basis. 14 to specific frames (aka 'per-frame controls') in order to be used efficiently. 16 While the initial use-case was V4L2, it can be extended to other subsystems 20 it is, it is terribly inefficient: user-space would have to flush all activity 22 be processed with that configuration, and wait until they are all available for 26 The Request API allows a specific configuration of the pipeline (media 27 controller topology + configuration for each media entity) to be associated with 28 specific buffers. This allows user-space to schedule several tasks ("requests") [all …]
|
/linux/drivers/staging/media/deprecated/atmel/ |
H A D | atmel-isc-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 21 /* ISC Parallel Front End Configuration 0 Register */ 44 /* ISC Parallel Front End Configuration 1 Register */ 52 /* ISC Parallel Front End Configuration 2 Register */ 72 /* ISC Clock Configuration Register */ 137 /* ISC White Balance Configuration Register */ 155 /* ISC Color Filter Array Configuration Register */ 231 /* Color Space Conversion Control Register */ 234 /* Color Space Conversion YR YG Register */ 237 /* Color Space Conversion YB OY Register */ [all …]
|
/linux/drivers/media/platform/microchip/ |
H A D | microchip-isc-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 21 /* ISC Parallel Front End Configuration 0 Register */ 44 /* ISC Parallel Front End Configuration 1 Register */ 52 /* ISC Parallel Front End Configuration 2 Register */ 72 /* ISC Clock Configuration Register */ 137 /* ISC White Balance Configuration Register */ 155 /* ISC Color Filter Array Configuration Register */ 231 /* Color Space Conversion Control Register */ 234 /* Color Space Conversion YR YG Register */ 237 /* Color Space Conversion YB OY Register */ [all …]
|
/linux/drivers/usb/gadget/legacy/ |
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). 23 # Gadget drivers are hardware-neutral, or "platform independent", 32 # gadget configuration. In the device model, each option contains 44 Gadget Zero is a two-configuration device. It either sinks and [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | fimc.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 Copyright |copy| 2012 - 2013 Samsung Electronics Co., Ltd. 12 space converter, image resizer and rotator. It's also capable of capturing 17 drivers/media/platform/samsung/exynos4-is directory. 20 -------------- 22 S5PC100 (mem-to-mem only), S5PV210, Exynos4210 25 ------------------ 27 - camera parallel interface capture (ITU-R.BT601/565); 28 - camera serial interface capture (MIPI-CSI2); 29 - memory-to-memory processing (color space conversion, scaling, mirror [all …]
|
/linux/Documentation/usb/ |
H A D | functionfs.rst | 9 unique behaviour. It may be added to an USB configuration only after 10 the user space driver has registered by writing descriptors and 11 strings (the user space program has to provide the same information 13 the configuration). 18 From user space point of view it is a file system which when 19 mounted provides an "ep0" file. User space driver need to 28 For more information about FunctionFS descriptors see :doc:`functionfs-desc` 33 numbers and changing of the configuration (which means that 35 configuration changes to (say) endpoint 2)). "ep0" is used 47 where the last two are implemented via FunctionFS. On user space [all …]
|
/linux/drivers/gpu/drm/i915/gvt/ |
H A D | cfg_space.c | 2 * Copyright(c) 2011-2016 Intel Corporation. All rights reserved. 45 /* bitmap for writable bits (RW or RW1C bits, but cannot co-exist in one 46 * byte) byte by byte in standard pci configuration space. (not the full 53 [PCI_BASE_ADDRESS_0 ... PCI_CARDBUS_CIS - 1] = 0xff, 59 * vgpu_pci_cfg_mem_write - write virtual cfg space memory 65 * Use this function to write virtual cfg space memory. 66 * For standard cfg space, only RW bits can be changed, 93 /* For other configuration space directly copy as it is. */ in vgpu_pci_cfg_mem_write() 95 memcpy(cfg_base + off + i, src + i, bytes - i); in vgpu_pci_cfg_mem_write() 97 if (off == vgpu->cfg_space.pmcsr_off && vgpu->cfg_space.pmcsr_off) { in vgpu_pci_cfg_mem_write() [all …]
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | ce.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 18 /* Host software's Copy Engine configuration. */ 31 * Directions for interconnect pipe configuration. 32 * These definitions may be used during configuration and are shared 38 * as with a WiFi Tx operation. This is somewhat awkward for the "middle-man" 43 #define PIPEDIR_IN 1 /* Target-->Host, WiFi Rx direction */ 44 #define PIPEDIR_OUT 2 /* Host->Target, WiFi Tx direction */ 68 * Configuration information for a Copy Engine pipe and services. 79 * Configuration information for a Copy Engine pipe. [all …]
|
/linux/Documentation/userspace-api/media/drivers/ |
H A D | omap3isp-uapi.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 ------ 28 (When using parallel interface one must pay account to correct configuration 33 generated whenever a statistics buffer can be dequeued by a user space 37 - V4L2_EVENT_OMAP3ISP_AEWB 38 - V4L2_EVENT_OMAP3ISP_AF 39 - V4L2_EVENT_OMAP3ISP_HIST 44 omap3isp_stat_event_status.buf_err is set to non-zero. 48 -------------- 52 does not fall under the standard IOCTLs --- gamma tables and configuration of [all …]
|
/linux/drivers/xen/xen-pciback/ |
H A D | conf_space.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * PCI Backend - Functions for creating a virtual configuration space for 7 * restrict changes to certain PCI Configuration registers: 47 const struct config_field *field = entry->field; in DEFINE_PCI_CONFIG() 51 switch (field->size) { in DEFINE_PCI_CONFIG() 53 if (field->u.b.read) in DEFINE_PCI_CONFIG() 54 ret = field->u.b.read(dev, offset, (u8 *) value, in DEFINE_PCI_CONFIG() 55 entry->data); in DEFINE_PCI_CONFIG() 58 if (field->u.w.read) in DEFINE_PCI_CONFIG() 59 ret = field->u.w.read(dev, offset, (u16 *) value, in DEFINE_PCI_CONFIG() [all …]
|
/linux/drivers/acpi/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # ACPI Configuration 10 bool "ACPI (Advanced Configuration and Power Interface) Support" 18 Advanced Configuration and Power Interface (ACPI) support for 19 Linux requires an ACPI-compliant platform (hardware/firmware), 20 and assumes the presence of OS-directed configuration and power 25 legacy configuration and power management interfaces, including 26 the Plug-and-Play BIOS specification (PnP BIOS), the 36 ACPI is an open industry specification originally co-developed by 37 Hewlett-Packard, Intel, Microsoft, Phoenix, and Toshiba. Currently, [all …]
|