Home
last modified time | relevance | path

Searched +full:hot +full:- +full:plug (Results 1 – 25 of 218) sorted by relevance

123456789

/Linux-v6.1/drivers/platform/surface/
Dsurface_hotplug.c1 // 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 …]
DKconfig1 # 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-v6.1/drivers/staging/sm750fb/
Dddk750_sii164.h1 /* 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])*/
Dddk750_sii164.c1 // 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-v6.1/Documentation/admin-guide/mm/
Dmemory-hotplug.rst4 Memory Hot(Un)Plug
7 This document describes generic Linux support for memory hot(un)plug with
15 Memory hot(un)plug allows for increasing and decreasing the size of physical
20 Memory hot(un)plug is used for various purposes:
22 - The physical memory available to a machine can be adjusted at runtime, up- or
27 - Replacing hardware, such as DIMMs or whole NUMA nodes, without downtime. One
30 - Reducing energy consumption either by physically unplugging memory modules or
33 Further, the basic memory hot(un)plug infrastructure in Linux is nowadays also
34 used to expose persistent memory, other performance-differentiated memory and
37 Linux only supports memory hot(un)plug on selected 64 bit architectures, such as
[all …]
/Linux-v6.1/drivers/gpu/drm/
Ddrm_bridge_connector.c1 // SPDX-License-Identifier: GPL-2.0+
40 * operation flags (&drm_bridge->ops) and bridge output type
41 * (&drm_bridge->type), as well as the DRM_BRIDGE_ATTACH_NO_CONNECTOR attach
46 * struct drm_bridge_connector - A connector backed by a chain of bridges
70 * hot-plug detection notification, if any (see &DRM_BRIDGE_OP_HPD).
92 /* -----------------------------------------------------------------------------
93 * Bridge Connector Hot-Plug Handling
104 drm_for_each_bridge_in_chain(bridge_connector->encoder, bridge) { in drm_bridge_connector_hpd_notify()
105 if (bridge->funcs->hpd_notify) in drm_bridge_connector_hpd_notify()
106 bridge->funcs->hpd_notify(bridge, status); in drm_bridge_connector_hpd_notify()
[all …]
Ddrm_bridge.c17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
25 #include <linux/media-bus-format.h>
47 * [ CRTC ---> ] Encoder ---> Bridge A ---> Bridge B
85 * drm_atomic_helper_commit_modeset_disables() (either directly in hand-rolled
86 * commit check and commit tail handlers, or through the higher-level
95 * connector-related operations exposed by the bridge (see the overview
107 * - The upstream driver doesn't use the component framework and isn't a
108 * MIPI-DSI host. In this case, the bridge driver will probe at some
112 * - The upstream driver doesn't use the component framework, but is a
113 * MIPI-DSI host. The bridge device uses the MIPI-DCS commands to be
[all …]
/Linux-v6.1/include/drm/
Ddrm_bridge.h44 * enum drm_bridge_attach_flags - Flags for &drm_bridge_funcs.attach
55 * struct drm_bridge_funcs - drm_bridge control functions
106 * to look at anything else but the passed-in mode, and validate it
107 * against configuration-invariant hardward constraints. Any further
389 * non-NULL).
548 * DRM_BRIDGE_OP_DETECT flag in their &drm_bridge->ops.
562 * The @get_modes callback is mostly intended to support non-probeable
565 * &drm_bridge_funcs->get_edid callback instead.
568 * DRM_BRIDGE_OP_MODES flag in their &drm_bridge->ops.
596 * DRM_BRIDGE_OP_EDID flag in their &drm_bridge->ops.
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/include/ivsrcid/dcn/
Dirqsrcs_dcn_1_0.h156 #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-v6.1/drivers/pci/hotplug/
Dshpchp_sysfs.c1 // 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 …]
Dshpchp_core.c1 // 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"
41 MODULE_PARM_DESC(shpchp_poll_mode, "Using polling mechanism for hot-plug events or not");
72 for (i = 0; i < ctrl->num_slots; i++) { in init_slots()
75 retval = -ENOMEM; in init_slots()
79 hotplug_slot = &slot->hotplug_slot; in init_slots()
[all …]
Dcpqphp_nvram.c1 // 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 …]
Dshpchp_pci.c1 // 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 …]
Dcpqphp_nvram.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Compaq Hot Plug Controller Driver
6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
/Linux-v6.1/drivers/iommu/intel/
Dcap_audit.c1 // SPDX-License-Identifier: GPL-2.0
3 * cap_audit.c - audit iommu capabilities for boot time and hot plug
121 /* Abort hot plug if the hot plug iommu feature is smaller than global */ in cap_audit_hotplug()
137 return -EFAULT; in cap_audit_hotplug()
155 intel_iommu_ecap_sanity = i->ecap; in cap_audit_static()
156 intel_iommu_cap_sanity = i->cap; in cap_audit_static()
173 rc = -EOPNOTSUPP; in cap_audit_static()
193 return -EFAULT; in intel_cap_audit()
/Linux-v6.1/Documentation/PCI/
Dacpi-info.rst1 .. 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-v6.1/Documentation/dev-tools/
Dkselftest.rst23 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
39 $ make -C tools/testing/selftests
43 $ make -C tools/testing/selftests run_tests
86 $ make -C tools/testing/selftests TARGETS=ptrace run_tests
105 $ make -C tools/testing/selftests SKIP_TARGETS=ptrace run_tests
116 See the top-level tools/testing/selftests/Makefile for the list of all
124 $ make -C tools/testing/selftests hotplug
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/media/i2c/
Dadv7604.yaml1 # 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-v6.1/mm/
Dswap_slots.c1 // 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-v6.1/arch/x86/kernel/
Ditmt.c1 // SPDX-License-Identifier: GPL-2.0-only
51 return -EINVAL; in sched_itmt_update_handler()
92 * sched_set_itmt_support() - Indicate platform supports ITMT
102 * It must not be called with cpu hot plug lock
120 return -ENOMEM; in sched_set_itmt_support()
136 * sched_clear_itmt_support() - Revoke platform's support of ITMT
141 * It must not be called with cpu hot plug lock
176 * sched_set_itmt_core_prio() - Set CPU priority based on ITMT
/Linux-v6.1/Documentation/driver-api/
Dvfio-mediated-device.rst1 .. 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-v6.1/arch/ia64/include/asm/
Dnodedata.h9 * Copyright (c) 2002 Kimio Suganuma <k-suganuma@da.jp.nec.com>
36 #define local_node_data (local_cpu_data->node_data)
41 * NODE_DATA - should be used in all code not related to system
47 #define NODE_DATA(nid) (local_node_data->pg_data_ptrs[nid])
50 * LOCAL_DATA_ADDR - This is to calculate the address of other node's
51 * "local_node_data" at hot-plug phase. The local_node_data
53 * just executing cpu. However, when new node is hot-added,
/Linux-v6.1/Documentation/devicetree/bindings/display/panel/
Dpanel-common.yaml1 # 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-v6.1/drivers/gpu/drm/vboxvideo/
Dvbox_irq.c1 // 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-v6.1/include/linux/platform_data/media/
Ds5p_hdmi.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
19 * @hpd_gpio: GPIO for Hot-Plug-Detect pin

123456789