/linux-6.12.1/drivers/platform/surface/ |
D | surface_hotplug.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Surface Book (2 and later) hot-plug driver. 5 * Surface Book devices (can) have a hot-pluggable discrete GPU (dGPU). This 6 * driver is responsible for out-of-band hot-plug event signaling on these 7 * devices. It is specifically required when the hot-plug device is in D3cold 8 * and can thus not generate PCIe hot-plug events itself. 11 * device-check notifications to be picked up by the PCIe hot-plug driver. 13 * Copyright (C) 2019-2022 Maximilian Luz <luzmaximilian@gmail.com> 32 { "base_presence-int-gpio", &shps_base_presence_int, 1 }, 33 { "base_presence-gpio", &shps_base_presence, 1 }, [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Microsoft Surface Platform-Specific Drivers 7 bool "Microsoft Surface Platform-Specific Device Drivers" 11 Say Y here to get to see options for platform-specific device drivers 29 be called surface3-wmi. 47 on 5th- and 6th-generation Microsoft Surface devices (including 55 thermal sensor access, and real-time clock information, depending on 59 tristate "Surface System Aggregator Module User-Space Interface" 62 Provides a misc-device interface to the Surface System Aggregator 67 the SSAM controller. Said client device manages a misc-device [all …]
|
/linux-6.12.1/drivers/staging/sm750fb/ |
D | ddk750_sii164.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 /* Hot Plug detection mode structure */ 9 SII164_HOTPLUG_DISABLE = 0, /* Disable Hot Plug output bit 15 SII164_HOTPLUG_USE_HTPLG /* Use Hot Plug detect bit. */ 110 /* Hot Plug detect Input (HTPLG) */ 139 /* De-skewing Enable bit (DKEN) */ 143 /* De-skewing Setting (DK[3:1])*/
|
D | ddk750_sii164.c | 1 // SPDX-License-Identifier: GPL-2.0 79 * edge_select - Edge Select: 84 * bus_select - Input Bus Select: 85 * 0 = Input data bus is 12-bits wide 86 * 1 = Input data bus is 24-bits wide 87 * dual_edge_clk_select - Dual Edge Clock Select 90 * hsync_enable - Horizontal Sync Enable: 93 * vsync_enable - Vertical Sync Enable: 96 * deskew_enable - De-skewing Enable: 97 * 0 = De-skew disabled [all …]
|
/linux-6.12.1/Documentation/admin-guide/mm/ |
D | memory-hotplug.rst | 2 Memory Hot(Un)Plug 5 This document describes generic Linux support for memory hot(un)plug with 13 Memory hot(un)plug allows for increasing and decreasing the size of physical 18 Memory hot(un)plug is used for various purposes: 20 - The physical memory available to a machine can be adjusted at runtime, up- or 25 - Replacing hardware, such as DIMMs or whole NUMA nodes, without downtime. One 28 - Reducing energy consumption either by physically unplugging memory modules or 31 Further, the basic memory hot(un)plug infrastructure in Linux is nowadays also 32 used to expose persistent memory, other performance-differentiated memory and 35 Linux only supports memory hot(un)plug on selected 64 bit architectures, such as [all …]
|
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_bridge.c | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 25 #include <linux/media-bus-format.h> 50 * [ CRTC ---> ] Encoder ---> Bridge A ---> Bridge B 88 * drm_atomic_helper_commit_modeset_disables() (either directly in hand-rolled 89 * commit check and commit tail handlers, or through the higher-level 98 * connector-related operations exposed by the bridge (see the overview 110 * - The upstream driver doesn't use the component framework and isn't a 111 * MIPI-DSI host. In this case, the bridge driver will probe at some 115 * - The upstream driver doesn't use the component framework, but is a 116 * MIPI-DSI host. The bridge device uses the MIPI-DCS commands to be [all …]
|
/linux-6.12.1/include/drm/ |
D | drm_bridge.h | 47 * enum drm_bridge_attach_flags - Flags for &drm_bridge_funcs.attach 58 * struct drm_bridge_funcs - drm_bridge control functions 109 * to look at anything else but the passed-in mode, and validate it 110 * against configuration-invariant hardware constraints. Any further 368 * non-NULL). 527 * DRM_BRIDGE_OP_DETECT flag in their &drm_bridge->ops. 541 * The @get_modes callback is mostly intended to support non-probeable 544 * &drm_bridge_funcs->edid_read callback instead. 547 * DRM_BRIDGE_OP_MODES flag in their &drm_bridge->ops. 575 * DRM_BRIDGE_OP_EDID flag in their &drm_bridge->ops. [all …]
|
/linux-6.12.1/Documentation/driver-api/ |
D | vfio-mediated-device.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 17 The number of use cases for virtualizing DMA devices that do not have built-in 25 an IOMMU/device-agnostic framework for exposing direct device access to user 26 space in a secure, IOMMU-protected environment. This framework is used for 44 The following high-level block diagram shows the main components and interfaces 48 +---------------+ 50 | +-----------+ | mdev_register_driver() +--------------+ 51 | | | +<------------------------+ | 53 | | bus | +------------------------>+ vfio_mdev.ko |<-> VFIO user 55 | | | | +--------------+ [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/include/ivsrcid/dcn/ |
D | irqsrcs_dcn_1_0.h | 156 #define DCN_1_0__SRCID__DC_HPD1_INT 9 // Hot Plug Detection 1 DC_HPD1_INTERRUPT DIS… 159 #define DCN_1_0__SRCID__DC_HPD2_INT 9 // Hot Plug Detection 2 DC_HPD2_INTERRUPT DIS… 162 #define DCN_1_0__SRCID__DC_HPD3_INT 9 // Hot Plug Detection 3 DC_HPD3_INTERRUPT DIS… 165 #define DCN_1_0__SRCID__DC_HPD4_INT 9 // Hot Plug Detection 4 DC_HPD4_INTERRUPT DIS… 168 #define DCN_1_0__SRCID__DC_HPD5_INT 9 // Hot Plug Detection 5 DC_HPD5_INTERRUPT DIS… 171 #define DCN_1_0__SRCID__DC_HPD6_INT 9 // Hot Plug Detection 6 DC_HPD6_INTERRUPT DIS… 174 #define DCN_1_0__SRCID__DC_HPD1_RX_INT 9 // Hot Plug Detection RX interrupt 1 DC_HPD1_R… 177 #define DCN_1_0__SRCID__DC_HPD2_RX_INT 9 // Hot Plug Detection RX interrupt 2 DC_HPD2_R… 180 #define DCN_1_0__SRCID__DC_HPD3_RX_INT 9 // Hot Plug Detection RX interrupt 3 DC_HPD3_R… 183 #define DCN_1_0__SRCID__DC_HPD4_RX_INT 9 // Hot Plug Detection RX interrupt 4 DC_HPD4_R… [all …]
|
/linux-6.12.1/drivers/pci/hotplug/ |
D | shpchp_sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Compaq Hot Plug Controller Driver 6 * Copyright (c) 2001,2003 Greg Kroah-Hartman (greg@kroah.com) 22 /* A few routines that create sysfs entries for the hot plug controller */ 33 bus = pdev->subordinate; in show_ctrl() 37 if (res && (res->flags & IORESOURCE_MEM) && in show_ctrl() 38 !(res->flags & IORESOURCE_PREFETCH)) { in show_ctrl() 41 (unsigned long long)res->start, in show_ctrl() 47 if (res && (res->flags & IORESOURCE_MEM) && in show_ctrl() 48 (res->flags & IORESOURCE_PREFETCH)) { in show_ctrl() [all …]
|
D | acpiphp_ampere_altra.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ACPI PCI Hot Plug Extension for Ampere Altra. Allows control of 48 bus = slot->pci_slot->bus; in set_attention_status() 49 root_port = pcie_find_root_port(bus->self); in set_attention_status() 51 return -ENODEV; in set_attention_status() 57 ret = -ENODEV; in set_attention_status() 63 (PCI_SLOT(root_port->devfn) << 4) | (pci_domain_nr(bus) & 0xf), in set_attention_status() 66 ret = -ENODEV; in set_attention_status() 77 return -EINVAL; in get_attention_status() 88 struct fwnode_handle *fwnode = dev_fwnode(&pdev->dev); in altra_led_probe() [all …]
|
D | shpchp_core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Standard Hot Plug Controller Driver 6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com) 8 * Copyright (C) 2003-2004 Intel Corporation 30 #define DRIVER_AUTHOR "Dan Zink <dan.zink@compaq.com>, Greg Kroah-Hartman <greg@kroah.com>, Dely Sy… 31 #define DRIVER_DESC "Standard Hot Plug PCI Controller Driver" 40 MODULE_PARM_DESC(shpchp_poll_mode, "Using polling mechanism for hot-plug events or not"); 71 for (i = 0; i < ctrl->num_slots; i++) { in init_slots() 74 retval = -ENOMEM; in init_slots() 78 hotplug_slot = &slot->hotplug_slot; in init_slots() [all …]
|
D | cpqphp_nvram.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Compaq Hot Plug Controller Driver 6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com) 92 * greg k-h 128 * returns 0 for non-Compaq ROM, 1 for Compaq ROM 149 dbg("%s - returned %d\n", __func__, result); in check_for_compaq_ROM() 161 return -ENODEV; in access_EV() 184 * Read the hot plug Resource Table from NVRAM 194 return -ENODEV; in load_HRT() 219 * Save the hot plug Resource Table in NVRAM [all …]
|
D | shpchp_pci.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Standard Hot Plug Controller Driver 6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com) 8 * Copyright (C) 2003-2004 Intel Corporation 26 struct controller *ctrl = p_slot->ctrl; in shpchp_configure_device() 27 struct pci_dev *bridge = ctrl->pci_dev; in shpchp_configure_device() 28 struct pci_bus *parent = bridge->subordinate; in shpchp_configure_device() 33 dev = pci_get_slot(parent, PCI_DEVFN(p_slot->device, 0)); in shpchp_configure_device() 35 ctrl_err(ctrl, "Device %s already exists at %04x:%02x:%02x, cannot hot-add\n", in shpchp_configure_device() 37 p_slot->bus, p_slot->device); in shpchp_configure_device() [all …]
|
D | cpqphp_nvram.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Compaq Hot Plug Controller Driver 6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
|
/linux-6.12.1/drivers/iommu/intel/ |
D | cap_audit.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * cap_audit.c - audit iommu capabilities for boot time and hot plug 119 /* Abort hot plug if the hot plug iommu feature is smaller than global */ in cap_audit_hotplug() 135 return -EFAULT; in cap_audit_hotplug() 153 intel_iommu_ecap_sanity = i->ecap; in cap_audit_static() 154 intel_iommu_cap_sanity = i->cap; in cap_audit_static() 171 rc = -EOPNOTSUPP; in cap_audit_static() 191 return -EFAULT; in intel_cap_audit()
|
/linux-6.12.1/Documentation/PCI/ |
D | acpi-info.rst | 1 .. SPDX-License-Identifier: GPL-2.0 39 If the OS is expected to manage a non-discoverable device described via 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 66 bridge registers (including ECAM space) in PNP0C02 catch-all devices [6]. 67 With the exception of ECAM, the bridge register space is device-specific 78 PNP0C02 "motherboard" devices are basically a catch-all. There's no 89 the address space is device-specific. An ACPI OS learns the base address 92 The MCFG table must describe the ECAM space of non-hot pluggable host 95 hot-pluggable host bridge [9]. Note that for both MCFG and _CBA, the base [all …]
|
/linux-6.12.1/arch/x86/kernel/ |
D | itmt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 51 return -EINVAL; in sched_itmt_update_handler() 82 * sched_set_itmt_support() - Indicate platform supports ITMT 92 * It must not be called with cpu hot plug lock 110 return -ENOMEM; in sched_set_itmt_support() 126 * sched_clear_itmt_support() - Revoke platform's support of ITMT 131 * It must not be called with cpu hot plug lock 166 * sched_set_itmt_core_prio() - Set CPU priority based on ITMT
|
/linux-6.12.1/mm/ |
D | swap_slots.c | 1 // SPDX-License-Identifier: GPL-2.0 67 /* Must not be called with cpu hot plug lock */ 126 return -ENOMEM; in alloc_swap_slot_cache() 132 return -ENOMEM; in alloc_swap_slot_cache() 137 if (cache->slots || cache->slots_ret) { in alloc_swap_slot_cache() 147 if (!cache->lock_initialized) { in alloc_swap_slot_cache() 148 mutex_init(&cache->alloc_lock); in alloc_swap_slot_cache() 149 spin_lock_init(&cache->free_lock); in alloc_swap_slot_cache() 150 cache->lock_initialized = true; in alloc_swap_slot_cache() 152 cache->nr = 0; in alloc_swap_slot_cache() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/media/i2c/ |
D | adv7604.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Hans Verkuil <hverkuil-cisco@xs4all.nl> 23 - enum: 24 - adi,adv7610 25 - adi,adv7611 26 - adi,adv7612 32 reg-names: 35 - const: main [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/display/panel/ |
D | panel-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/panel/panel-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 24 width-mm: 29 height-mm: 43 non-descriptive information. For instance an LCD panel in a system that 55 panel-timing: [all …]
|
/linux-6.12.1/drivers/gpu/drm/bridge/ |
D | aux-hpd-bridge.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <drm/bridge/aux-bridge.h> 25 ida_free(&drm_aux_hpd_bridge_ida, adev->id); in drm_aux_hpd_bridge_release() 27 of_node_put(adev->dev.platform_data); in drm_aux_hpd_bridge_release() 28 of_node_put(adev->dev.of_node); in drm_aux_hpd_bridge_release() 39 * devm_drm_dp_hpd_bridge_alloc - allocate a HPD DisplayPort bridge 56 return ERR_PTR(-ENOMEM); in devm_drm_dp_hpd_bridge_alloc() 64 adev->id = ret; in devm_drm_dp_hpd_bridge_alloc() 65 adev->name = "dp_hpd_bridge"; in devm_drm_dp_hpd_bridge_alloc() 66 adev->dev.parent = parent; in devm_drm_dp_hpd_bridge_alloc() [all …]
|
/linux-6.12.1/Documentation/dev-tools/ |
D | kselftest.rst | 23 On some systems, hot-plug tests could hang forever waiting for cpu and 24 memory to be ready to be offlined. A special hot-plug target is created 25 to run the full range of hot-plug tests. In default mode, hot-plug tests run 26 in safe mode with a limited scope. In limited mode, cpu-hotplug test is 40 $ make -C tools/testing/selftests 44 $ make -C tools/testing/selftests run_tests 87 $ make -C tools/testing/selftests TARGETS=ptrace run_tests 106 $ make -C tools/testing/selftests SKIP_TARGETS=ptrace run_tests 117 See the top-level tools/testing/selftests/Makefile for the list of all 125 $ make -C tools/testing/selftests hotplug [all …]
|
/linux-6.12.1/drivers/gpu/drm/vboxvideo/ |
D | vbox_irq.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright (C) 2016-2017 Oracle Corporation 27 return readl(vbox->guest_heap + HOST_FLAGS_OFFSET); in vbox_get_flags() 32 schedule_work(&vbox->hotplug_work); in vbox_report_hotplug() 45 * Due to a bug in the initial host implementation of hot-plug irqs, in vbox_irq_handler() 46 * the hot-plug and cursor capability flags were never cleared. in vbox_irq_handler() 73 for (i = 0; i < vbox->num_crtcs; ++i) { in validate_or_set_position_hints() 75 hintsi = &vbox->last_mode_hints[i]; in validate_or_set_position_hints() 76 hintsj = &vbox->last_mode_hints[j]; in validate_or_set_position_hints() 78 if (hintsi->enabled && hintsj->enabled) { in validate_or_set_position_hints() [all …]
|
/linux-6.12.1/Documentation/arch/s390/ |
D | vfio-ap.rst | 13 The AP adapter cards are exposed via the AP bus. The motivation for vfio-ap 45 sub-directory:: 76 significant bit, correspond to domains 0-255. 111 * NQAP: to enqueue an AP command-request message to a queue 112 * DQAP: to dequeue an AP command-reply message from a queue 132 an APID from 0-255. If a bit is set, the corresponding adapter is valid for 137 corresponds to an AP queue index (APQI) from 0-255. If a bit is set, the 142 changed by an AP command-request message sent to a usage domain from the 144 0-255. If a bit is set, the corresponding domain can be modified by an AP 145 command-request message sent to a usage domain. [all …]
|