Home
last modified time | relevance | path

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

1234567

/linux/drivers/platform/surface/
H A 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 …]
H A 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/Documentation/driver-api/
H A 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/drivers/gpu/drm/amd/include/ivsrcid/dcn/
H A 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/drivers/pci/hotplug/
H A 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 …]
H A 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 …]
H A 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 …]
H A Dcpqphp_core.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Compaq Hot Plug Controller Driver
6 * Copyright (C) 2001 Greg Kroah-Hartman <greg@kroah.com>
13 * Jan 12, 2003 - Added 66/100/133MHz PCI-X support,
51 #define DRIVER_AUTHOR "Dan Zink <dan.zink@compaq.com>, Greg Kroah-Hartman <greg@kroah.com>"
52 #define DRIVER_DESC "Compaq Hot Plug PCI Controller Driver"
68 return (readb(slot->p_sm_slot + SMBIOS_SLOT_WIDTH) == 0x06) ? 1 : 0; in is_slot64bit()
73 return (readb(slot->p_sm_slot + SMBIOS_SLOT_TYPE) == 0x0E) ? 1 : 0; in is_slot66mhz()
77 * detect_SMBIOS_pointer - find the System Management BIOS Table in mem region.
90 endp = (end - sizeof(u32) + 1); in detect_SMBIOS_pointer()
[all …]
H A Dibmphp_ebda.c1 // SPDX-License-Identifier: GPL-2.0+
3 * IBM Hot Plug Controller Driver
7 * Copyright (C) 2001,2003 Greg Kroah-Hartman (greg@kroah.com)
8 * Copyright (C) 2001-2003 IBM Corp.
26 * POST builds data blocks(in this data block definition, a char-1
27 * byte, short(or word)-2 byte, long(dword)-4 byte) in the Extended
28 * BIOS Data Area which describe the configuration of the hot-plug
29 * controllers and resources used by the PCI Hot-Plug devices.
33 * already assigned by POST, as well as linked lists about hot plug
76 controller->slots = slots; in alloc_ebda_hpc()
[all …]
H A 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)
H A Dcpqphp_pci.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Compaq Hot Plug Controller Driver
6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
39 * find the Hot Plug Resource Table in the specified region of memory.
49 endp = (end - sizeof(struct hrt) + 1); in detect_HRT_floating_pointer()
80 if (func->pci_dev == NULL) in cpqhp_configure_device()
81 func->pci_dev = pci_get_domain_bus_and_slot(0, func->bus, in cpqhp_configure_device()
82 PCI_DEVFN(func->device, in cpqhp_configure_device()
83 func->function)); in cpqhp_configure_device()
86 if (func->pci_dev == NULL) { in cpqhp_configure_device()
[all …]
H A Dcpqphp.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Compaq Hot Plug Controller Driver
6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
304 u8 pcix_speed_capability; /* PCI-X */
305 u8 pcix_support; /* PCI-X */
382 #define msg_HPC_rev_error "Unsupported revision of the PCI hot plug controller found.\n"
383 #define msg_HPC_non_compaq_or_intel "The PCI hot plug controller is not supported by this driver.\n"
385 #define msg_unable_to_save "unable to store PCI hot plug add resource information. This system must…
386 #define msg_button_on "PCI slot #%d - powering on due to button press.\n"
387 #define msg_button_off "PCI slot #%d - powering off due to button press.\n"
[all …]
H A Dpciehp_pci.c1 // SPDX-License-Identifier: GPL-2.0+
3 * PCI Express Hot Plug Controller Driver
6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
8 * Copyright (C) 2003-2004 Intel Corporation
25 * pciehp_configure_device() - enumerate PCI devices below a hotplug bridge
29 * Return 0 on success, %-EEXIST if the devices are already enumerated or
30 * %-ENODEV if enumeration failed.
35 struct pci_dev *bridge = ctrl->pcie->port; in pciehp_configure_device()
36 struct pci_bus *parent = bridge->subordinate; in pciehp_configure_device()
47 ctrl_dbg(ctrl, "Device %s already exists at %04x:%02x:00, skipping hot-add\n", in pciehp_configure_device()
[all …]
H A Dacpiphp_core.c1 // SPDX-License-Identifier: GPL-2.0+
3 * ACPI PCI Hot Plug Controller Driver
6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
8 * Copyright (C) 2002 Hiroshi Aono (h-aono@ap.jp.nec.com)
9 * Copyright (C) 2002,2003 Takayoshi Kochi (t-kochi@bq.jp.nec.com)
11 * Copyright (C) 2003-2005 Matthew Wilcox (willy@infradead.org)
12 * Copyright (C) 2003-2005 Hewlett Packard
28 #include <linux/pci-acpi.h>
43 #define DRIVER_AUTHOR "Greg Kroah-Hartman <gregkh@us.ibm.com>, Takayoshi Kochi <t-kochi@bq.jp.nec.c…
44 #define DRIVER_DESC "ACPI Hot Plug PCI Controller Driver"
[all …]
H A Dpciehp_core.c1 // SPDX-License-Identifier: GPL-2.0+
3 * PCI Express Hot Plug Controller Driver
6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
8 * Copyright (C) 2003-2004 Intel Corporation
16 * Greg Kroah-Hartman <greg@kroah.com>
43 MODULE_PARM_DESC(pciehp_poll_mode, "Using polling mechanism for hot-plug events or not");
60 return -ENOMEM; in init_slot()
62 ops->enable_slot = pciehp_sysfs_enable_slot; in init_slot()
63 ops->disable_slot = pciehp_sysfs_disable_slot; in init_slot()
64 ops->get_power_status = get_power_status; in init_slot()
[all …]
/linux/Documentation/PCI/
H A 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/arch/x86/kernel/
H A Ditmt.c1 // SPDX-License-Identifier: GPL-2.0-only
85 * sched_set_itmt_support() - Indicate platform supports ITMT
95 * It must not be called with cpu hot plug lock
115 return -ENOMEM; in sched_set_itmt_support()
123 return -ENOMEM; in sched_set_itmt_support()
137 * sched_clear_itmt_support() - Revoke platform's support of ITMT
142 * It must not be called with cpu hot plug lock
174 * sched_set_itmt_core_prio() - Set CPU priority based on ITMT
/linux/drivers/gpu/drm/bridge/
H A Daux-hpd-bridge.c1 // SPDX-License-Identifier: GPL-2.0+
13 #include <drm/bridge/aux-bridge.h>
26 ida_free(&drm_aux_hpd_bridge_ida, adev->id); in drm_aux_hpd_bridge_release()
28 of_node_put(adev->dev.platform_data); in drm_aux_hpd_bridge_release()
29 of_node_put(adev->dev.of_node); in drm_aux_hpd_bridge_release()
40 * devm_drm_dp_hpd_bridge_alloc - allocate a HPD DisplayPort bridge
57 return ERR_PTR(-ENOMEM); in devm_drm_dp_hpd_bridge_alloc()
65 adev->id = ret; in devm_drm_dp_hpd_bridge_alloc()
66 adev->name = "dp_hpd_bridge"; in devm_drm_dp_hpd_bridge_alloc()
67 adev->dev.parent = parent; in devm_drm_dp_hpd_bridge_alloc()
[all …]
/linux/Documentation/arch/s390/
H A Dvfio-ap.rst13 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 …]
/linux/drivers/gpu/drm/vboxvideo/
H A 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/Documentation/devicetree/bindings/pci/
H A Dbaikal,bt1-pcie.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pci/baikal,bt1-pcie.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Baikal-T1 PCIe Root Port Controller
10 - Serge Semin <fancer.lancer@gmail.com>
13 Embedded into Baikal-T1 SoC Root Complex controller with a single port
14 activated. It's based on the DWC RC PCIe v4.60a IP-core, which is configured
18 performed by software. There four in- and four outbound iATU regions
22 - $ref: /schemas/pci/snps,dw-pcie.yaml#
[all …]
/linux/arch/powerpc/platforms/pseries/
H A Dpmem.c1 // SPDX-License-Identifier: GPL-2.0
4 * Handles hot and cold plug of persistent memory regions on pseries.
7 #define pr_fmt(fmt) "pseries-pmem: " fmt
40 return -EINVAL; in pmem_drc_add_node()
45 pr_err("configure-connector failed for drc %x\n", drc_index); in pmem_drc_add_node()
47 return -EINVAL; in pmem_drc_add_node()
74 if (of_property_read_u32(dn, "ibm,my-drc-index", &index)) in pmem_drc_remove_node()
82 return -ENODEV; in pmem_drc_remove_node()
87 /* * NB: tears down the ibm,pmemory device as a side-effect */ in pmem_drc_remove_node()
112 pmem_node = of_find_node_by_type(NULL, "ibm,persistent-memory"); in dlpar_hp_pmem()
[all …]
/linux/drivers/video/fbdev/via/
H A Dioctl.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
4 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
19 switch (viaparinfo->chip_info->gfx_chip_name) { in viafb_ioctl_get_viafb_info()
61 return -EFAULT; in viafb_ioctl_get_viafb_info()
66 /* Hot-Plug Priority: DVI > CRT*/
72 if (viaparinfo->chip_info->tmds_chip_info.tmds_chip_name != in viafb_ioctl_hotplug()
88 DEBUG_MSG(KERN_INFO "DVI De-attached...\n"); in viafb_ioctl_hotplug()
/linux/Documentation/ABI/testing/
H A Dsysfs-devices-memory7 added or removed dynamically to represent hot-add/remove
10 http://www.ibm.com/developerworks/wikis/display/LinuxP/powerpc-utils
21 http://www.ibm.com/developerworks/wikis/display/LinuxP/powerpc-utils
22 lsmem/chmem part of util-linux
29 is read-only; it is a legacy interface only ever used on s390x
31 Users: Legacy s390-tools lsmem/chmem
38 is read-only and contains the section ID in hexadecimal
47 is read-write. When read, it returns the online/offline
67 http://www.ibm.com/developerworks/wikis/display/LinuxP/powerpc-utils
75 read-only.
[all …]
/linux/include/drm/bridge/
H A Dmhl.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Defines for Mobile High-Definition Link (MHL) interface
9 * Copyright (C) 2013-2014 Silicon Image, Inc.
205 MHL_SET_HPD = 0x64, /* Set Hot Plug Detect in follower */
206 MHL_CLR_HPD = 0x65, /* Clear Hot Plug Detect in follower */
209 MHL_MSC_MSG = 0x68, /* VS command to send RCP sub-commands */
210 MHL_GET_SC1_ERRORCODE = 0x69, /* Get Vendor-Specific error code */
213 MHL_WRITE_BURST = 0x6C, /* Write 1-16 bytes to responder's scratchpad */
226 MHL_MSC_MSG_RCP = 0x10, /* RCP sub-command */
227 MHL_MSC_MSG_RCPK = 0x11, /* RCP Acknowledge sub-command */
[all …]

1234567