| /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-audio.h" 12 #include "ipc4-priv.h" 13 #include "sof-client.h" 14 #include "sof-client-probe [all...] |
| H A D | ipc4.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 14 #include "sof-priv.h" 15 #include "sof-audio.h" 16 #include "ipc4-fw-reg.h" 17 #include "ipc4-priv.h" 18 #include "ipc4-telemetry.h" 95 dev_err(sdev->dev, "FW reported error: %u - %s\n", in sof_ipc4_check_reply_status() 102 dev_err(sdev->dev, "FW reported error: %u - Unknown\n", status); in sof_ipc4_check_reply_status() 108 ret = -EOPNOTSUPP; in sof_ipc4_check_reply_status() 116 ret = -ENOENT; in sof_ipc4_check_reply_status() [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_modeset_helper.c | 37 * This helper library contains various one-off functions which don't really fit 42 * drm_helper_move_panel_connectors_to_head() - move panels to the front in the 44 * @dev: drm device to operate on 59 spin_lock_irq(&dev->mode_config.connector_list_lock); in drm_helper_move_panel_connectors_to_head() 61 &dev->mode_config.connector_list, head) { in drm_helper_move_panel_connectors_to_head() 62 if (connector->connector_type == DRM_MODE_CONNECTOR_LVDS || in drm_helper_move_panel_connectors_to_head() 63 connector->connector_type == DRM_MODE_CONNECTOR_eDP || in drm_helper_move_panel_connectors_to_head() 64 connector->connector_type == DRM_MODE_CONNECTOR_DSI) in drm_helper_move_panel_connectors_to_head() 65 list_move_tail(&connector->head, &panel_list); in drm_helper_move_panel_connectors_to_head() 68 list_splice(&panel_list, &dev->mode_config.connector_list); in drm_helper_move_panel_connectors_to_head() [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 …]
|
| H A D | oracle-dax.rst | 25 the accompanying document, dax-hv-api.txt, which is a plain text 27 Specification" version 3.0.20+15, dated 2017-09-25. 86 made accessible via mmap(), and are read-only for the application. 91 Each open instance of the device is exclusive to the thread that 98 requests. When the device is closed, any outstanding transactions are 101 On a DAX1 system (M7), the device will be called "oradax1", while on a 104 device. Only one of the devices will exist on any given system, so the 109 equal to the number of bytes given in the call. Otherwise -1 is 113 ----------- 122 -------- [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 …]
|
| H A D | drbd_state.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 66 CS_LOCAL_ONLY = 1 << 4, /* Do not consider a device pair wide state change */ 87 unsigned role:2 ; /* 3/4 primary/secondary/unknown */ 88 unsigned peer:2 ; /* 3/4 primary/secondary/unknown */ 106 unsigned peer:2 ; /* 3/4 primary/secondary/unknown */ 107 unsigned role:2 ; /* 3/4 primary/secondary/unknown */ 115 extern enum drbd_state_rv drbd_change_state(struct drbd_device *device, 144 extern void drbd_resume_al(struct drbd_device *device); 148 * drbd_request_state() - Request a state change 149 * @device: DRBD device. [all …]
|
| H A D | drbd_strings.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 Copyright (C) 2003-2008, LINBIT Information Technologies GmbH. 8 Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>. 9 Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. 45 [R_PRIMARY] = "Primary", 63 [-SS_TWO_PRIMARIES] = "Multiple primaries not allowed by config", 64 [-SS_NO_UP_TO_DATE_DISK] = "Need access to UpToDate data", 65 [-SS_NO_LOCAL_DISK] = "Can not resync without local disk", 66 [-SS_NO_REMOTE_DISK] = "Can not resync without remote disk", 67 [-SS_CONNECTED_OUTDATES] = "Refusing to be Outdated while Connected", [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/s390/block/ |
| H A D | dasd_devmap.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * Device mapping and dasd= parameter parsing functions. All devmap 12 * dasd_get_device is a no-no from interrupt context. 36 * between device number and device index. To find a dasd_devmap_t 37 * that corresponds to a device number of a device index each 39 * the device number and one to search by the device index. As 40 * soon as big minor numbers are available the device index list 41 * can be removed since the device number will then be identical 42 * to the device index. 49 struct dasd_device *device; member [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 */ 208 * @cfg_minor_version: Minor version used for tracking USB audio device 248 struct q6afe_port *q6afe_port_get_from_id(struct device *dev, int id); 268 int q6afe_set_lpass_clock(struct device *dev, int clk_id, int attri, [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 …]
|
| /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> 21 #include <linux/device/faux.h> 63 * All non cpu-hotplug-callback call sites use: 65 * - cpus_read_lock/unlock() to synchronize with 66 * the cpu-hotplug-callback call sites. 80 0, /* T-101 terminator */ 89 * - true: if update should stop 90 * - false: otherwise [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/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 …]
|
| /linux/Documentation/networking/ |
| H A D | net_failover.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 to create and destroy a failover master netdev and manages a primary and 15 The failover netdev acts a master device and controls 2 slave devices. The 17 a passthru/vf device with the same MAC gets registered as 'primary' slave 19 'pci' device. The user accesses the network interface via 'failover' netdev. 20 The 'failover' netdev chooses 'primary' netdev as default for transmits when 28 virtio-net accelerated datapath: STANDBY mode 31 net_failover enables hypervisor controlled accelerated datapath to virtio-net 35 feature on the virtio-net interface and assign the same MAC address to both 36 virtio-net and VF interfaces. [all …]
|
| /linux/drivers/sh/intc/ |
| H A D | core.c | 5 * Copyright (C) 2009 - 2012 Paul Mundt 12 * Copyright (C) 2003 Takashi Kusuda <kusuda-takashi@hitachi-ul.co.jp> 29 #include <linux/device.h> 33 #include <linux/radix-tree.h> 44 * - this needs to be at least 2 for 5-bit priorities on 7780 46 static unsigned int default_prio_level = 2; /* 2 - 16 */ 80 unsigned int data[2], primary; in intc_register_irq() local 84 radix_tree_insert(&d->tree, enum_id, intc_irq_xlate_get(irq)); in intc_register_irq() 98 primary = 0; in intc_register_irq() 100 primary = 1; in intc_register_irq() [all …]
|
| /linux/Documentation/arch/s390/ |
| H A D | qeth.rst | 9 ------- 11 To generate the events the device must be assigned a role of either 12 a primary or a secondary Bridge Port. For more information, see 13 "z/VM Connectivity, SC24-6174". 16 of some configured Bridge Port device on the channel changes, a udev 18 ccwgroup device. The event has the following attributes: 21 indicates that the Bridge Port device changed 24 ROLE={primary|secondary|none} 32 It is emitted on behalf of the corresponding ccwgroup device when a host 33 or a VLAN is registered or unregistered on the network served by the device. [all …]
|