/linux/Documentation/virt/ |
H A D | ne_overview.rst | 1 .. SPDX-License-Identifier: GPL-2.0 16 application then runs in a separate VM than the primary VM, namely an enclave. 24 carved out of the primary VM. Each enclave is mapped to a process running in the 25 primary VM, that communicates with the NE kernel driver via an ioctl interface. 29 1. An enclave abstraction process - a user space process running in the primary 33 There is a NE emulated PCI device exposed to the primary VM. The driver for this 34 new PCI device is included in the NE driver. 36 The ioctl logic is mapped to PCI device commands e.g. the NE_START_ENCLAVE ioctl 37 maps to an enclave start PCI command. The PCI device commands are then 39 hypervisor running on the host where the primary VM is running. The Nitro [all …]
|
/linux/sound/soc/sof/ |
H A D | sof-client-probes-ipc4.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // Copyright(c) 2019-2022 Intel Corporation 11 #include "sof-priv.h" 12 #include "ipc4-priv.h" 13 #include "sof-client.h" 14 #include "sof-client-probes.h" 61 * sof_ipc4_probe_get_module_info - Get IPC4 module info for probe module 62 * @cdev: SOF client device 70 struct sof_probes_priv *priv = cdev->data; in sof_ipc4_probe_get_module_info() 71 struct device *dev = &cdev->auxdev.dev; in sof_ipc4_probe_get_module_info() [all …]
|
/linux/Documentation/arch/sparc/oradax/ |
H A D | dax-hv-api.txt | 3 Publication date 2017-09-25 08:21 5 Extracted via "pdftotext -f 547 -l 572 -layout sun4v_20170925.pdf" 16 live-migration and other system management activities. 20 …high speed processoring of database-centric operations. The coprocessors may support one or more of 24 …The DAX is a virtual device to sun4v guests, with supported data operations indicated by the virtu… 28 …e Completion Area and, unless execution order is specifically restricted through the use of serial- 45 …device node in the guest MD (Section 8.24.17, “Database Analytics Accelerators (DAX) virtual-device 49 The query functionality may vary based on the compatibility property of the virtual device: 51 36.1.1.1. "ORCL,sun4v-dax" Device Compatibility 54 • No-op/Sync [all …]
|
/linux/Documentation/devicetree/bindings/powerpc/fsl/ |
H A D | pamu.txt | 1 Freescale Peripheral Management Access Unit (PAMU) Device Tree Binding 5 The PAMU is an I/O MMU that provides device-to-memory access control and 10 - compatible : <string> 11 First entry is a version-specific string, such as 12 "fsl,pamu-v1.0". The second is "fsl,pamu". 13 - ranges : <prop-encoded-array> 20 - interrupts : <prop-encoded-array> 25 - #address-cells: <u32> 27 - #size-cells : <u32> 31 - reg : <prop-encoded-array> [all …]
|
/linux/drivers/block/drbd/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # DRBD device driver configuration 10 tristate "DRBD Distributed Replicated Block Device support" 19 DRBD is a shared-nothing, synchronously replicated block device. It 21 clusters and in this context, is a "drop-in" replacement for shared 24 Each minor device has a role, which can be 'primary' or 'secondary'. 25 On the node with the primary device the application is supposed to 26 run and to access the device (/dev/drbdX). Every write is sent to 27 the local 'lower level block device' and, across the network, to the 28 node with the device in 'secondary' state. The secondary device [all …]
|
/linux/drivers/s390/net/ |
H A D | qeth_l2_sys.c | 1 // SPDX-License-Identifier: GPL-2.0 12 static ssize_t qeth_bridge_port_role_state_show(struct device *dev, in qeth_bridge_port_role_state_show() 24 mutex_lock(&card->sbp_lock); in qeth_bridge_port_role_state_show() 26 card->options.sbp.supported_funcs) in qeth_bridge_port_role_state_show() 28 &card->options.sbp.role, &state); in qeth_bridge_port_role_state_show() 39 rc = -EIO; in qeth_bridge_port_role_state_show() 42 switch (card->options.sbp.role) { in qeth_bridge_port_role_state_show() 46 word = "primary"; break; in qeth_bridge_port_role_state_show() 50 rc = -EIO; in qeth_bridge_port_role_state_show() 54 card->options.sbp.role, state); in qeth_bridge_port_role_state_show() [all …]
|
/linux/arch/um/drivers/ |
H A D | chan_kern.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{linux.intel,addtoit}.com) 14 static void *not_configged_init(char *str, int device, in not_configged_init() argument 22 static int not_configged_open(int input, int output, int primary, void *data, in not_configged_open() argument 27 return -ENODEV; in not_configged_open() 40 return -EIO; in not_configged_read() 47 return -EIO; in not_configged_write() 54 return -EIO; in not_configged_console_write() 62 return -ENODEV; in not_configged_window_size() 94 if (chan->opened) in open_one_chan() [all …]
|
/linux/drivers/mtd/chips/ |
H A D | gen_probe.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Routines common to all CFI-type probes. 4 * (C) 2001-2003 Red Hat, Inc. 32 map->fldrv_priv = cfi; in mtd_do_chip_probe() 35 mtd = check_cmd_set(map, 1); /* First the primary cmdset */ in mtd_do_chip_probe() 40 if (mtd->size > map->size) { in mtd_do_chip_probe() 42 (unsigned long)mtd->size >> 10, in mtd_do_chip_probe() 43 (unsigned long)map->size >> 10); in mtd_do_chip_probe() 44 mtd->size = map->size; in mtd_do_chip_probe() 51 kfree(cfi->cfiq); in mtd_do_chip_probe() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | sd.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 12 dev_info((__dev)->device, "Socket-Direct: " format, ##__VA_ARGS__) 14 dev_warn((__dev)->device, "Socket-Direct: " format, ##__VA_ARGS__) 21 bool primary; member 23 struct { /* primary */ 24 struct mlx5_core_dev *secondaries[MLX5_SD_MAX_GROUP_SZ - 1]; 41 return sd->host_buses; in mlx5_sd_get_host_buses() 51 return sd->primary ? dev : sd->primary_dev; in mlx5_sd_get_primary() 55 mlx5_sd_primary_get_peer(struct mlx5_core_dev *primary, int idx) in mlx5_sd_primary_get_peer() argument 60 return primary; in mlx5_sd_primary_get_peer() [all …]
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | renesas,drif.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas R-Car Gen3 Digital Radio Interface Controller (DRIF) 10 - Ramesh Shanmugasundaram <rashanmu@gmail.com> 11 - Fabrizio Castro <fabrizio.castro.jz@renesas.com> 14 R-Car Gen3 DRIF is a SPI like receive only slave device. A general 15 representation of DRIF interfacing with a master device is shown below. 17 +---------------------+ +---------------------+ 18 | |-----SCK------->|CLK | [all …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_crtc.c | 2 * Copyright (c) 2006-2008 Intel Corporation 36 #include <linux/dma-fence.h> 77 * drm_crtc_from_index - find the registered CRTC at an index 78 * @dev: DRM device 81 * Given a CRTC index, return the registered CRTC from DRM device's 92 if (idx == crtc->index) in drm_crtc_from_index() 105 WARN_ON(drm_drv_uses_atomic_modeset(crtc->dev)); in drm_crtc_force_disable() 118 if (crtc->funcs->late_register) in drm_crtc_register_all() 119 ret = crtc->funcs->late_register(crtc); in drm_crtc_register_all() 132 if (crtc->funcs->early_unregister) in drm_crtc_unregister_all() [all …]
|
H A D | drm_mode_config.c | 32 #include <linux/dma-resv.h> 78 * drm_mode_getresources - get graphics configuration 79 * @dev: drm device for the ioctl 107 return -EOPNOTSUPP; in drm_mode_getresources() 109 mutex_lock(&file_priv->fbs_lock); in drm_mode_getresources() 111 fb_id = u64_to_user_ptr(card_res->fb_id_ptr); in drm_mode_getresources() 112 list_for_each_entry(fb, &file_priv->fbs, filp_head) { in drm_mode_getresources() 113 if (count < card_res->count_fbs && in drm_mode_getresources() 114 put_user(fb->base.id, fb_id + count)) { in drm_mode_getresources() 115 mutex_unlock(&file_priv->fbs_lock); in drm_mode_getresources() [all …]
|
H A D | drm_sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * drm_sysfs.c - Modifications to drm_sysfs_class.c to support 9 * Copyright (c) 2003-2004 Greg Kroah-Hartman <greg@kroah.com> 10 * Copyright (c) 2003-2004 IBM Corp. 15 #include <linux/device.h> 48 * drm_connector_register() in case of hot-plugged connectors. Unregistration is 64 static bool drm_connector_acpi_bus_match(struct device *dev) in drm_connector_acpi_bus_match() 66 return dev->type == &drm_sysfs_device_connector; in drm_connector_acpi_bus_match() 69 static struct acpi_device *drm_connector_acpi_find_companion(struct device *dev) in drm_connector_acpi_find_companion() 73 return to_acpi_device_node(connector->fwnode); in drm_connector_acpi_find_companion() [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_lag.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2018-2021, Intel Corporation. */ 29 * ice_lag_set_primary - set PF LAG state as Primary 34 struct ice_pf *pf = lag->pf; in ice_lag_set_primary() 39 if (lag->role != ICE_LAG_UNSET && lag->role != ICE_LAG_BACKUP) { in ice_lag_set_primary() 40 dev_warn(ice_pf_to_dev(pf), "%s: Attempt to be Primary, but incompatible state.\n", in ice_lag_set_primary() 41 netdev_name(lag->netdev)); in ice_lag_set_primary() 45 lag->role = ICE_LAG_PRIMARY; in ice_lag_set_primary() 49 * ice_lag_set_backup - set PF LAG state to Backup 54 struct ice_pf *pf = lag->pf; in ice_lag_set_backup() [all …]
|
/linux/drivers/gpu/drm/sti/ |
H A D | sti_compositor.c | 1 // SPDX-License-Identifier: GPL-2.0 52 if (compo->vid[i]) in sti_compositor_debugfs_init() 53 vid_debugfs_init(compo->vid[i], minor); in sti_compositor_debugfs_init() 56 if (compo->mixer[i]) in sti_compositor_debugfs_init() 57 sti_mixer_debugfs_init(compo->mixer[i], minor); in sti_compositor_debugfs_init() 60 static int sti_compositor_bind(struct device *dev, in sti_compositor_bind() 61 struct device *master, in sti_compositor_bind() 67 struct sti_private *dev_priv = drm_dev->dev_private; in sti_compositor_bind() 69 struct drm_plane *primary = NULL; in sti_compositor_bind() local 70 struct sti_compositor_subdev_descriptor *desc = compo->data.subdev_desc; in sti_compositor_bind() [all …]
|
/linux/drivers/video/console/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 28 tristate "MDA text console (dual-headed)" 33 say Y here if your MDA card is the primary card in your system; the 59 On PA-RISC, the default value is 160, which should fit a 1280x1024 70 On PA-RISC, the default value is 64, which should fit a 1280x1024 82 Low-level framebuffer-based console driver. 90 This option enables the fbcon (framebuffer text-based) hardware 94 On modern machines, on mainstream machines (like x86-64) or when 105 bool "Map the console to the primary display device" 110 automatically select the primary display device (if the architecture [all …]
|
/linux/sound/soc/qcom/qdsp6/ |
H A D | q6afe.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 24 /* Clock ID for Primary I2S IBIT */ 26 /* Clock ID for Primary I2S EBIT */ 73 /* Clock ID for Primary PCM IBIT */ 75 /* Clock ID for Primary PCM EBIT */ 96 /** Clock ID for Primary TDM IBIT */ 98 /** Clock ID for Primary TDM EBIT */ 217 struct q6afe_port *q6afe_port_get_from_id(struct device *dev, int id); 234 int q6afe_set_lpass_clock(struct device *dev, int clk_id, int attri, 236 int q6afe_vote_lpass_core_hw(struct device *dev, uint32_t hw_block_id, [all …]
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_kunit_helpers.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <kunit/device.h> 14 #include <linux/device.h> 17 #define KUNIT_DEVICE_NAME "drm-kunit-mock-device" 25 * drm_kunit_helper_alloc_device - Allocate a mock device for a KUnit test 28 * This allocates a fake struct &device to create a mock for a KUnit 29 * test. The device will also be bound to a fake driver. It will thus be 31 * device-managed resources just like a "real" device. 37 * A pointer to the new device, or an ERR_PTR() otherwise. 39 struct device *drm_kunit_helper_alloc_device(struct kunit *test) in drm_kunit_helper_alloc_device() [all …]
|
/linux/Documentation/PCI/endpoint/ |
H A D | pci-ntb-howto.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 PCI Non-Transparent Bridge (NTB) Endpoint Function (EPF) User Guide 9 This document is a guide to help users use pci-epf-ntb function driver 13 Documentation/PCI/endpoint/pci-ntb-function.rst 15 Endpoint Device 19 --------------------------- 27 2900000.pcie-ep 2910000.pcie-ep 32 2900000.pcie-ep 2910000.pcie-ep 36 ------------------------- 40 # ls /sys/bus/pci-epf/drivers [all …]
|
H A D | pci-endpoint-cfs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 20 mount -t configfs none /sys/kernel/config 26 functions. Every EPC device present in the system will have an entry in 35 Creating EPF Device 44 ... <EPF Device 11>/ 45 ... <EPF Device 21>/ 46 ... <EPF Device 31>/ 48 ... <EPF Device 12>/ 49 ... <EPF Device 22>/ 51 In order to create a <EPF device> of the type probed by <EPF Driver>, the [all …]
|
/linux/arch/x86/kernel/cpu/microcode/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2000-2006 Tigran Aivazian <aivazian.tigran@gmail.com> 7 * 2013-2016 Borislav Petkov <bp@alien8.de> 53 * All non cpu-hotplug-callback call sites use: 55 * - cpus_read_lock/unlock() to synchronize with 56 * the cpu-hotplug-callback call sites. 70 0, /* T-101 terminator */ 79 * - true: if update should stop 80 * - false: otherwise 240 /* fake device for request_firmware */ [all …]
|
/linux/drivers/media/rc/img-ir/ |
H A D | img-ir-hw.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright 2010-2014 Imagination Technologies Ltd. 12 #include <media/rc-core.h> 18 #define IMG_IR_CODETYPE_BIPHASE 0x2 /* RC-5/6 */ 19 #define IMG_IR_CODETYPE_2BITPULSEPOS 0x3 /* RC-MM */ 25 * struct img_ir_control - Decoder control settings 26 * @decoden: Primary decoder enable 53 * struct img_ir_timing_range - range of timing values 65 * struct img_ir_symbol_timing - timing data for a symbol 75 * struct img_ir_free_timing - timing data for free time symbol [all …]
|
/linux/include/drm/ |
H A D | drm_file.h | 4 * Copyright (c) 2009-2010, Code Aurora Forum. 45 struct device; 69 * struct drm_minor - DRM device minor structure 71 * This structure represents a DRM minor number for device nodes in /dev. 74 * &struct drm_device, which is also where driver-private data and resources can 79 int index; /* Minor device number */ 81 struct device *kdev; /* Linux device */ 89 * struct drm_pending_event - Event queued up for userspace to read 92 * mechanism, which supports kernel-internal &struct completion, &struct dma_fence 93 * and also the DRM-specific &struct drm_event delivery mechanism. [all …]
|
/linux/drivers/mfd/ |
H A D | wm8350-irq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8350-irq.c -- IRQ support for Wolfson WM8350 13 #include <linux/device.h> 35 int primary; member 43 .primary = WM8350_OC_INT, 49 .primary = WM8350_UV_INT, 54 .primary = WM8350_UV_INT, 59 .primary = WM8350_UV_INT, 64 .primary = WM8350_UV_INT, 69 .primary = WM8350_UV_INT, [all …]
|
/linux/drivers/gpu/drm/fsl-dcu/ |
H A D | fsl_dcu_drm_plane.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Freescale DCU drm device driver 25 struct fsl_dcu_drm_device *fsl_dev = plane->dev->dev_private; in fsl_dcu_drm_plane_index() 26 unsigned int total_layer = fsl_dev->soc->total_layer; in fsl_dcu_drm_plane_index() 31 return total_layer - index - 1; in fsl_dcu_drm_plane_index() 33 dev_err(fsl_dev->dev, "No more layer left\n"); in fsl_dcu_drm_plane_index() 34 return -EINVAL; in fsl_dcu_drm_plane_index() 42 struct drm_framebuffer *fb = new_plane_state->fb; in fsl_dcu_drm_plane_atomic_check() 44 if (!new_plane_state->fb || !new_plane_state->crtc) in fsl_dcu_drm_plane_atomic_check() 47 switch (fb->format->format) { in fsl_dcu_drm_plane_atomic_check() [all …]
|