/linux-4.1.27/tools/testing/selftests/memory-hotplug/ |
H A D | Makefile | 6 override RUN_TESTS := ./mem-on-off-test.sh -r 2 || echo "selftests: memory-hotplug [FAIL]" 10 @/bin/bash ./mem-on-off-test.sh || echo "memory-hotplug selftests: [FAIL]"
|
H A D | mem-on-off-test.sh | 22 echo $msg memory hotplug is not supported >&2 145 echo "Test scope: $ratio% hotplug memory" 146 echo -e "\t online all hotplug memory in offline state" 147 echo -e "\t offline $ratio% hotplug memory in online state" 148 echo -e "\t online all hotplug memory in offline state"
|
/linux-4.1.27/arch/blackfin/mach-bf561/ |
H A D | Makefile | 9 obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
|
/linux-4.1.27/arch/arm/mach-hisi/ |
H A D | Makefile | 9 obj-$(CONFIG_SMP) += platsmp.o hotplug.o
|
/linux-4.1.27/tools/testing/selftests/cpu-hotplug/ |
H A D | Makefile | 8 @/bin/bash ./cpu-on-off-test.sh -a || echo "cpu-hotplug selftests: [FAIL]"
|
H A D | cpu-on-off-test.sh | 24 echo $msg cpu hotplug is not supported >&2 169 echo "Limited scope test: one hotplug cpu" 182 echo "Full scope test: all hotplug cpus"
|
/linux-4.1.27/arch/arm/mach-realview/ |
H A D | Makefile | 13 obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
|
H A D | hotplug.c | 2 * linux/arch/arm/mach-realview/hotplug.c
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
H A D | Makefile | 15 obj-$(CONFIG_HOTPLUG_CPU) += hotplug-cpu.o 16 obj-$(CONFIG_MEMORY_HOTPLUG) += hotplug-memory.o
|
H A D | pci_dlpar.c | 73 pr_debug("PCI: Initializing new hotplug PHB %s\n", dn->full_name); init_phb_dynamic()
|
H A D | cmm.c | 77 MODULE_PARM_DESC(delay, "Delay (in seconds) after memory hotplug remove " 108 static int hotplug_occurred; /* protected by the hotplug mutex */ 128 /* Exit if a hotplug operation is in progress or occurred */ cmm_alloc_pages() 575 "management. Memory hotplug " cmm_mem_going_offline() 600 * cmm_memory_cb - Handle memory hotplug notifier calls
|
/linux-4.1.27/tools/testing/selftests/ |
H A D | Makefile | 2 TARGETS += cpu-hotplug 9 TARGETS += memory-hotplug 23 TARGETS_HOTPLUG = cpu-hotplug 24 TARGETS_HOTPLUG += memory-hotplug 44 hotplug: 49 run_hotplug: hotplug
|
/linux-4.1.27/drivers/pci/hotplug/ |
H A D | pci_hotplug_core.c | 91 retval = get_power_status(slot->hotplug, &value); power_read_file() 101 struct hotplug_slot *slot = pci_slot->hotplug; power_write_file() 148 retval = get_attention_status(slot->hotplug, &value); attention_read_file() 158 struct hotplug_slot_ops *ops = slot->hotplug->ops; attention_write_file() 172 retval = ops->set_attention_status(slot->hotplug, attention); attention_write_file() 192 retval = get_latch_status(slot->hotplug, &value); latch_read_file() 209 retval = get_adapter_status(slot->hotplug, &value); presence_read_file() 224 struct hotplug_slot *slot = pci_slot->hotplug; test_write_file() 254 struct hotplug_slot *slot = pci_slot->hotplug; has_power_file() 267 struct hotplug_slot *slot = pci_slot->hotplug; has_attention_file() 279 struct hotplug_slot *slot = pci_slot->hotplug; has_latch_file() 290 struct hotplug_slot *slot = pci_slot->hotplug; has_adapter_file() 301 struct hotplug_slot *slot = pci_slot->hotplug; has_test_file() 314 /* Create symbolic link to the hotplug driver module */ fs_add_slot() 410 * __pci_hp_register - register a hotplug_slot with the PCI hotplug subsystem 418 * Registers a hotplug slot with the pci hotplug subsystem, which will allow 435 dbg("Why are you trying to register a hotplug slot without a proper release function?\n"); __pci_hp_register() 455 pci_slot->hotplug = slot; __pci_hp_register() 469 * pci_hp_deregister - deregister a hotplug_slot with the PCI hotplug subsystem 470 * @hotplug: pointer to the &struct hotplug_slot to deregister 472 * The @slot must have been registered with the pci hotplug subsystem 477 int pci_hp_deregister(struct hotplug_slot *hotplug) pci_hp_deregister() argument 482 if (!hotplug) pci_hp_deregister() 486 temp = get_slot_from_name(hotplug_slot_name(hotplug)); pci_hp_deregister() 487 if (temp != hotplug) { pci_hp_deregister() 492 list_del(&hotplug->slot_list); pci_hp_deregister() 494 slot = hotplug->pci_slot; pci_hp_deregister() 496 dbg("Removed slot %s from the list\n", hotplug_slot_name(hotplug)); pci_hp_deregister() 498 hotplug->release(hotplug); pci_hp_deregister() 499 slot->hotplug = NULL; pci_hp_deregister() 509 * @hotplug: pointer to the slot whose info has changed 513 * hotplug subsystem previously with a call to pci_hp_register(). 517 int pci_hp_change_slot_info(struct hotplug_slot *hotplug, pci_hp_change_slot_info() argument 520 if (!hotplug || !info) pci_hp_change_slot_info() 523 memcpy(hotplug->info, info, sizeof(struct hotplug_slot_info)); pci_hp_change_slot_info()
|
H A D | acpi_pcihp.c | 49 /* acpi_run_oshp - get control of hotplug from the firmware 51 * @handle - the handle of the hotplug controller. 79 * @dev: the pci_dev of the bridge that has a hotplug controller 82 * Attempt to take hotplug control from firmware. 98 * method to get control of hotplug hardware before using it. If acpi_get_hp_hw_control_from_firmware() 102 * OSHP within the scope of the hotplug controller and its parents, acpi_get_hp_hw_control_from_firmware() 108 dbg("Trying to get hotplug control for %s\n", acpi_get_hp_hw_control_from_firmware() 122 * This hotplug controller was not listed in the ACPI name acpi_get_hp_hw_control_from_firmware() 135 dbg("Trying to get hotplug control for %s \n", acpi_get_hp_hw_control_from_firmware() 148 dbg("Cannot get control of hotplug hardware for pci %s\n", acpi_get_hp_hw_control_from_firmware() 153 dbg("Gained control for hotplug HW for pci %s (%s)\n", acpi_get_hp_hw_control_from_firmware()
|
H A D | pciehp_core.c | 93 struct hotplug_slot *hotplug = NULL; init_slot() local 99 hotplug = kzalloc(sizeof(*hotplug), GFP_KERNEL); init_slot() 100 if (!hotplug) init_slot() 107 /* Setup hotplug slot ops */ init_slot() 124 /* register this slot with the hotplug pci core */ init_slot() 125 hotplug->info = info; init_slot() 126 hotplug->private = slot; init_slot() 127 hotplug->release = &release_slot; init_slot() 128 hotplug->ops = ops; init_slot() 129 slot->hotplug_slot = hotplug; init_slot() 135 retval = pci_hp_register(hotplug, init_slot() 144 kfree(hotplug); init_slot() 276 ctrl_warn(ctrl, "Slot already registered by another hotplug driver\n"); pciehp_probe()
|
H A D | rpadlpar_core.c | 107 * find_php_slot - return hotplug slot structure for device node 110 * This routine will return the hotplug slot structure 201 /* Add hotplug slot */ dlpar_add_pci_slot() 203 printk(KERN_ERR "%s: unable to add hotplug slot %s\n", dlpar_add_pci_slot() 219 /* If pci slot is hotpluggable, use hotplug to remove it */ dlpar_remove_phb() 222 printk(KERN_ERR "%s: unable to remove hotplug slot %s\n", dlpar_remove_phb() 252 printk(KERN_ERR "%s: unable to add hotplug slot %s\n", dlpar_add_phb() 277 * Make the hotplug module and the kernel aware of a newly added I/O Slot. 324 * Remove the kernel and hotplug representations of an I/O Slot. 346 * Remove the kernel and hotplug representations of a PCI I/O Slot. 371 pr_debug("PCI: Removing hotplug slot for %04x:%02x...\n", dlpar_remove_pci_slot() 376 "%s: unable to remove hotplug slot %s\n", dlpar_remove_pci_slot() 408 * Remove the kernel and hotplug representations of an I/O Slot.
|
H A D | cpcihp_generic.c | 30 * This generic CompactPCI hotplug driver should allow using the PCI hotplug 95 err("Invalid hotplug bus bridge device bus number"); validate_parameters() 101 err("Invalid hotplug bus bridge device"); validate_parameters() 107 err("Invalid hotplug bus bridge device slot number"); validate_parameters() 173 err("Could not register cPCI hotplug controller"); cpcihp_generic_init() 180 err("Could not register cPCI hotplug bus"); cpcihp_generic_init() 187 err("Could not started cPCI hotplug system"); cpcihp_generic_init()
|
H A D | Makefile | 2 # Makefile for the Linux kernel pci hotplug controller drivers.
|
H A D | rpaphp_core.c | 214 /* Node isn't DLPAR/hotplug capable */ rpaphp_get_drc_props() 291 * rpaphp_add_slot -- declare a hotplug slot to the hotplug subsystem. 295 * PCI hotplug infrastructure. This routine is typically called 296 * during boot time, if the hotplug slots are present at boot time, 317 /* If this is not a hotplug slot, return without doing anything. */ rpaphp_add_slot()
|
H A D | acpiphp_glue.c | 68 * acpiphp_init_context - Create hotplug context and grab a reference to it. 89 * acpiphp_get_context - Get hotplug context and grab a reference to it. 107 * acpiphp_put_context - Drop a reference to ACPI hotplug context. 108 * @context: ACPI hotplug context to drop a reference to. 174 /* Root bridges will not have hotplug context. */ free_bridge() 225 /* Check whether the PCI device is managed by native PCIe hotplug driver */ device_is_managed_by_native_pciehp() 232 /* Check whether the PCIe port supports native PCIe hotplug */ device_is_managed_by_native_pciehp() 239 * Check whether native PCIe hotplug has been enabled for device_is_managed_by_native_pciehp() 293 acpi_handle_err(handle, "No hotplug context\n"); acpiphp_add_context() 333 * by the native PCIe hotplug (PCIeHP), becuase that code is supposed to acpiphp_add_context() 354 pr_warn("Slot %llu already registered by another hotplug driver\n", sun); acpiphp_add_context() 548 * pci_scan_slot(), whether they have associated ACPI hotplug disable_slot() 853 * removed via PCI core logical hotplug. The ref pins the bus acpiphp_enumerate_slots() 872 * This bridge should have been registered as a hotplug function acpiphp_enumerate_slots()
|
H A D | sgi_hotplug.c | 51 #define SN_MAX_HP_SLOTS 32 /* max hotplug slots */ 97 struct slot *slot = pci_slot->hotplug->private; path_show() 123 /* Do not allow hotplug operations on base I/O cards */ sn_pci_slot_valid() 144 /* Only register slots in I/O Bricks that support hotplug */ sn_pci_bus_valid() 646 dev_dbg(&pci_bus->self->dev, "Registered bus with hotplug\n"); sn_hotplug_slot_register() 675 printk(KERN_ERR "%s: PROM version does not support hotplug.\n", sn_pci_hotplug_init() 688 dev_dbg(&pci_bus->self->dev, "not a valid hotplug bus\n"); sn_pci_hotplug_init() 691 dev_dbg(&pci_bus->self->dev, "valid hotplug bus\n"); sn_pci_hotplug_init()
|
H A D | cpcihp_zt5550.c | 234 err("could not register cPCI hotplug controller"); zt5550_hc_init_one() 251 err("could not register cPCI hotplug bus"); zt5550_hc_init_one() 258 err("could not started cPCI hotplug system"); zt5550_hc_init_one()
|
H A D | cpqphp.h | 194 /* offsets to the hotplug resource table registers based on the above 223 /* offsets to the hotplug slot resource table registers based on the above 307 u8 bus; /* bus number for the pci hotplug controller */ 406 /* debugfs functions for the hotplug controller info */ 620 * @ctrl: hotplug controller. 621 * @hp_slot: hotplug slot where adapter is installed.
|
H A D | pciehp_hpc.c | 94 ctrl_err(ctrl, "Cannot get irq %d for the hotplug controller\n", pciehp_request_irq() 174 ctrl_info(ctrl, "Timeout on hotplug command %#06x (issued %u msec ago)\n", pcie_wait_cmd() 571 ctrl_dbg(ctrl, "ignoring hotplug event %#06x (%s requested no hotplug)\n", pcie_isr() 622 * always be treated as hotplug and unplug respectively. Enable pcie_enable_notification()
|
H A D | pcihp_skeleton.c | 25 * with the pci hotplug core easily.
|
/linux-4.1.27/arch/arm/mach-spear/ |
H A D | Makefile | 11 smp-$(CONFIG_HOTPLUG_CPU) += hotplug.o
|
H A D | hotplug.c | 2 * linux/arch/arm/mach-spear13xx/hotplug.c 7 * based upon linux/arch/arm/mach-realview/hotplug.c
|
H A D | platsmp.c | 26 * or not. This is necessary for the hotplug code to work reliably.
|
/linux-4.1.27/arch/arm/mach-ux500/ |
H A D | Makefile | 11 obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
|
H A D | platsmp.c | 35 * or not. This is necessary for the hotplug code to work reliably.
|
/linux-4.1.27/arch/arm/mach-vexpress/ |
H A D | Makefile | 17 obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
|
H A D | hotplug.c | 2 * linux/arch/arm/mach-realview/hotplug.c
|
/linux-4.1.27/drivers/pci/ |
H A D | hotplug-pci.c | 1 /* Core PCI functionality used only by PCI hotplug */
|
H A D | slot.c | 214 * @hotplug: set if caller is hotplug driver, NULL otherwise 249 struct hotplug_slot *hotplug) pci_create_slot() 267 if (hotplug) { pci_create_slot() 268 if ((err = slot->hotplug ? -EBUSY : 0) pci_create_slot() 344 * pci_hp_create_link - create symbolic link to the hotplug driver module. 348 * the hotplug driver module. 352 struct hotplug_slot *slot = pci_slot->hotplug; pci_hp_create_module_link() 370 * pci_hp_remove_link - remove symbolic link to the hotplug driver module. 374 * the hotplug driver module. 247 pci_create_slot(struct pci_bus *parent, int slot_nr, const char *name, struct hotplug_slot *hotplug) pci_create_slot() argument
|
H A D | remove.c | 109 * (/sbin/hotplug).
|
/linux-4.1.27/include/linux/ |
H A D | pci_hotplug.h | 32 * struct hotplug_slot_ops -the callbacks that the hotplug pci core can use 55 * hotplug events or where a slot can be reset independent of the bus. 57 * The table of function pointers that is passed to the hotplug pci core by a 58 * hotplug pci driver. These functions are called by the hotplug pci core when 77 * struct hotplug_slot_info - used to notify the hotplug pci core of the state of the slot 83 * Used to notify the hotplug pci core of the status of a specific slot. 93 * struct hotplug_slot - used to register a physical slot with the hotplug pci core 99 * @private: used by the hotplug pci controller driver to store whatever it 108 /* Variables below this are for use only by the hotplug pci core. */
|
H A D | rcutree.h | 67 * that is acquired by a CPU-hotplug notifier. And yes, it is also illegal 68 * to call this function from a CPU-hotplug notifier. Failing to observe
|
H A D | page_ext.h | 35 * All page_ext are allocated at boot or memory hotplug event,
|
H A D | smpboot.h | 11 * struct smp_hotplug_thread - CPU hotplug related thread descriptor
|
H A D | cpu_pm.h | 29 * and hotplug implementations to notify the drivers for these blocks that
|
H A D | stop_machine.h | 124 * won't come or go while it's being called. Used by hotplug cpu.
|
H A D | memory.h | 73 * Priorities for the hotplug memory callback routines (stored in decreasing
|
H A D | padata.h | 142 * @cpu_notifier: cpu hotplug notifier.
|
H A D | cpu.h | 104 /* Used for CPU hotplug events occurring while tasks are frozen due to a suspend
|
H A D | memory_hotplug.h | 200 * Stub functions for when hotplug is off
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_probe_helper.c | 50 * generic hotplug interrupt handling where the driver doesn't or cannot keep 54 * Drivers can also overwrite different parts e.g. use their own hotplug 131 * pick up any changes and fire the hotplug event. But if drm_helper_probe_single_connector_modes_merge_bits() 133 * check here, and if anything changed start the hotplug code. drm_helper_probe_single_connector_modes_merge_bits() 142 * The hotplug event code might call into the fb drm_helper_probe_single_connector_modes_merge_bits() 275 * drm_kms_helper_hotplug_event - fire off KMS hotplug events 282 * Drivers should call this from their hotplug handling code when a change is 323 * want any hotplug detection at all for polling. */ output_poll_execute() 347 * call after receiving a hotplug event due to this output_poll_execute() 433 * @dev. Drivers which do not have reliable hotplug support in hardware can use 444 * Note that a connector can be both polled and probed from the hotplug handler, 445 * in case the hotplug interrupt is known to be unreliable. 467 * drm_helper_hpd_irq_event - hotplug processing 475 * This helper function is useful for drivers which can't or don't track hotplug 478 * Drivers which support hotplug interrupts for each connector individually and 486 * Note that a connector can be both polled and probed from the hotplug handler, 487 * in case the hotplug interrupt is known to be unreliable.
|
H A D | drm_fb_helper.c | 69 * hotplug detection using the fbdev helpers. The drm_fb_helper_prepare() 71 * hotplug detection work. Drivers also need to make sure to properly set up 73 * it is safe to enable interrupts and start processing hotplug events. At the 917 * the fbdev core when registering the driver, and later on through the hotplug 1094 * Set the fb pointer - usually drm_setup_crtcs does this for hotplug drm_fb_helper_single_fb_probe() 1769 * drm_fb_helper_hotplug_event - respond to a hotplug notification by 1779 * hotplug interrupt). 1784 * not miss any hotplug events.
|
H A D | drm_sysfs.c | 460 * generate a hotplug event so userspace knows there's a new connector 526 DRM_DEBUG("generating hotplug event\n"); drm_sysfs_hotplug_event()
|
/linux-4.1.27/arch/arm/mach-prima2/ |
H A D | hotplug.c | 2 * CPU hotplug support for CSR Marco dual-core SMP SoCs
|
/linux-4.1.27/arch/arm/mach-mvebu/ |
H A D | platsmp-a9.c | 49 * in the offline state after using CPU hotplug. mvebu_cortex_a9_boot_secondary() 62 * When a CPU is brought back online, either through CPU hotplug, or 78 * CPU hotplug is implemented by putting offline CPUs into the armada_38x_cpu_die() 86 * we support CPU hotplug. However, the function does not need to do
|
H A D | platsmp.c | 87 * using CPU hotplug. armada_xp_boot_secondary() 105 * When a CPU is brought back online, either through CPU hotplug, or 155 * CPU hotplug is implemented by putting offline CPUs into the armada_xp_cpu_die() 163 * we support CPU hotplug. However, the function does not need to do
|
H A D | pmsu.c | 484 * the CPU hotplug uses some of the CPU idle functions it is mvebu_v7_cpu_pm_init() 489 pr_warn("CPU hotplug support is currently broken on Armada 38x: disabling"); mvebu_v7_cpu_pm_init()
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
H A D | output.c | 136 "HDMI hotplug detect"); tegra_output_probe() 167 * initialized to avoid a race in the hotplug interrupt tegra_output_probe() 198 * The connector is now registered and ready to receive hotplug events tegra_output_init() 199 * so the hotplug interrupt can be enabled. tegra_output_init() 211 * prevent the hotplug interrupt handler from potentially crashing. tegra_output_exit()
|
/linux-4.1.27/drivers/thunderbolt/ |
H A D | tb.c | 201 /* hotplug handling */ 212 * tb_handle_hotplug() - handle hotplug event 229 "hotplug event from non existent switch %llx:%x (unplug: %d)\n", tb_handle_hotplug() 235 "hotplug event from non existent port %llx:%x (unplug: %d)\n", tb_handle_hotplug() 242 "hotplug event for upstream port %llx:%x (unplug: %d)\n", tb_handle_hotplug() 261 tb_port_info(port, "hotplug: scanning\n"); tb_handle_hotplug() 264 tb_port_info(port, "hotplug: no switch found\n"); tb_handle_hotplug() 267 "hotplug: chaining not supported\n"); tb_handle_hotplug() 270 "hotplug: activating pcie devices\n"); tb_handle_hotplug()
|
H A D | path.c | 159 * defunct) firmeware path. This causes the hotplug operation to tb_path_activate()
|
/linux-4.1.27/include/xen/interface/io/ |
H A D | xenbus.h | 23 or hotplug scripts. */
|
/linux-4.1.27/kernel/ |
H A D | cpu.c | 36 * hotplug callback (un)registration performed using __register_cpu_notifier() 68 * an ongoing cpu hotplug operation. 137 * This ensures that the hotplug operation can begin only when the 140 * Note that during a cpu-hotplug operation, the new readers, if any, 184 * Wait for currently running CPU hotplug operations to complete (if any) and 185 * disable future CPU hotplug (from sysfs). The 'cpu_add_remove_lock' protects 187 * hotplug path before performing hotplug operations. So acquiring that lock 188 * guarantees mutual exclusion from any currently running hotplug operations. 581 * with the userspace trying to use the CPU hotplug at the same time disable_nonboot_cpus() 623 /* Allow everyone to use the CPU hotplug again */ enable_nonboot_cpus() 660 * When callbacks for CPU hotplug notifications are being executed, we must 664 * Hence we need to prevent the freezer from racing with regular CPU hotplug. 667 * hotplug and Suspend/Hibernate call paths by hooking onto the Suspend/ 699 * to disable cpu hotplug to avoid cpu hotplug race. cpu_hotplug_pm_sync_init()
|
H A D | smpboot.c | 23 * For the hotplug case we keep the task structs around and reuse 96 * smpboot_thread_fn - percpu hotplug thread loop function 274 * smpboot_register_percpu_thread - Register a per_cpu thread related to hotplug 303 * smpboot_unregister_percpu_thread - Unregister a per_cpu thread related to hotplug 340 * done in architectures that do no CPU-hotplug error checking. 396 * done in architectures that do no CPU-hotplug error checking.
|
H A D | irq_work.c | 166 * hotplug calls this through:
|
H A D | stop_machine.c | 144 /* Like num_online_cpus(), but hotplug cpu uses us, so we need this. */ 602 * is not active. The local CPU is in the process of hotplug (so no other 603 * CPU hotplug can start) and not marked active and doesn't have enough 625 /* Local CPU must be inactive and CPU hotplug in progress. */ stop_machine_from_inactive_cpu()
|
H A D | relay.c | 10 * November 2006 - CPU hotplug support by Mathieu Desnoyers 26 /* list of open channels, for cpu hotplug */ 438 * used by relay_open() and CPU hotplug. 512 * relay_hotcpu_callback - CPU hotplug callback 514 * @action: hotplug action to take 673 * The CPU hotplug notifier ran before us and created buffers with relay_late_setup_files()
|
H A D | cpuset.c | 17 * 2008 Rework of the scheduler domains and CPU hotplug handling 89 * changed or hotplug happens. 290 * CPU / memory hotplug is handled asynchronously. 807 * We have raced with CPU hotplug. Don't do anything to avoid rebuild_sched_domains_locked() 809 * Anyways, hotplug work item will rebuild sched domains. rebuild_sched_domains_locked() 1525 * if this task is being moved automatically due to hotplug. 1653 * resources, in which case the hotplug code asynchronously updates cpuset_write_resmask() 2093 * If CPU and/or memory hotplug handlers, below, unplug any CPUs 2230 * actively using CPU hotplug but making no active use of cpusets. 2304 * We're inside cpu hotplug critical region which usually nests cpuset_update_active_cpus() 2305 * inside cgroup synchronization. Bounce actual hotplug processing cpuset_update_active_cpus() 2320 * See cpuset_update_active_cpus() for CPU hotplug handling.
|
/linux-4.1.27/arch/parisc/include/asm/ |
H A D | smp.h | 23 * physical and logical are equivalent until we support CPU hotplug.
|
/linux-4.1.27/include/drm/ |
H A D | exynos_drm.h | 66 * @cfg_hpd: function pointer to configure hdmi hotplug detection pin 67 * @get_hpd: function pointer to get value of hdmi hotplug detection pin
|
H A D | drm_fb_helper.h | 120 /* we got a hotplug but fbdev wasn't running the console
|
/linux-4.1.27/drivers/xen/ |
H A D | xen-stub.c | 33 stub driver for Xen memory hotplug 67 stub driver for Xen cpu hotplug
|
H A D | xen-acpi-cpuhotplug.c | 131 Acpi processor hotplug support 312 /* non-hotplug event; possibly handled by other handler */ acpi_processor_hotplug_notify()
|
H A D | xen-acpi-memhotplug.c | 284 /* non-hotplug event; possibly handled by other handler */ acpi_memory_device_notify() 321 * hotplug is not necessary for them. xen_acpi_memory_device_add()
|
H A D | xen-acpi-processor.c | 48 /* Mutex to protect the acpi_ids_done - for CPU hotplug use. */ 318 max_acpi_id *= 2; /* Slack for CPU hotplug support. */ get_max_acpi_id()
|
/linux-4.1.27/drivers/acpi/ |
H A D | sysfs.c | 729 struct acpi_hotplug_profile *hotplug = to_acpi_hotplug_profile(kobj); hotplug_enabled_show() local 731 return sprintf(buf, "%d\n", hotplug->enabled); hotplug_enabled_show() 738 struct acpi_hotplug_profile *hotplug = to_acpi_hotplug_profile(kobj); hotplug_enabled_store() local 744 acpi_scan_hotplug_enabled(hotplug, val); hotplug_enabled_store() 762 void acpi_sysfs_add_hotplug_profile(struct acpi_hotplug_profile *hotplug, acpi_sysfs_add_hotplug_profile() argument 770 error = kobject_init_and_add(&hotplug->kobj, acpi_sysfs_add_hotplug_profile() 775 kobject_uevent(&hotplug->kobj, KOBJ_ADD); acpi_sysfs_add_hotplug_profile() 779 pr_err(PREFIX "Unable to add hotplug profile '%s'\n", name); acpi_sysfs_add_hotplug_profile() 817 hotplug_kobj = kobject_create_and_add("hotplug", acpi_kobj); acpi_sysfs_init()
|
H A D | utils.c | 440 * acpi_evaluate_ost: Evaluate _OST for hotplug operations 446 * Evaluate _OST for hotplug operations. All ACPI hotplug handlers 447 * must call this function when evaluating _OST for hotplug operations. 578 * acpi_evaluate_ej0: Evaluate _EJ0 method for hotplug operations 581 * Evaluate device's _EJ0 method for hotplug operations.
|
H A D | wakeup.c | 17 * that time, there is no device hotplug
|
H A D | container.c | 113 .hotplug = {
|
H A D | scan.c | 113 acpi_sysfs_add_hotplug_profile(&handler->hotplug, hotplug_profile_name); acpi_scan_add_handler_with_hotplug() 408 if (device->handler && !device->handler->hotplug.enabled) { acpi_bus_offline() 519 if (device->handler && device->handler->hotplug.demand_offline acpi_scan_hot_remove() 614 if (handler && handler->hotplug.scan_dependent) acpi_scan_bus_check() 615 return handler->hotplug.scan_dependent(adev); acpi_scan_bus_check() 639 if (adev->handler && !adev->handler->hotplug.enabled) { acpi_generic_hotplug_event() 738 if ((!acpi_device->handler || !acpi_device->handler->hotplug.enabled) acpi_eject_store() 1324 * Use the ACPI hotplug workqueue which is ordered, so this work item acpi_scan_drop_device() 1325 * won't run after any hotplug work items submitted subsequently. That acpi_scan_drop_device() 1328 * hotplug events handled via the ACPI hotplug workqueue). It also will acpi_scan_drop_device() 2253 void acpi_scan_hotplug_enabled(struct acpi_hotplug_profile *hotplug, bool val) acpi_scan_hotplug_enabled() argument 2255 if (!!hotplug->enabled == !!val) acpi_scan_hotplug_enabled() 2260 hotplug->enabled = val; acpi_scan_hotplug_enabled() 2506 if (device->handler && device->handler->hotplug.notify_online) acpi_bus_attach() 2507 device->handler->hotplug.notify_online(device); acpi_bus_attach()
|
H A D | internal.h | 64 void acpi_sysfs_add_hotplug_profile(struct acpi_hotplug_profile *hotplug, acpi_cmos_rtc_init() 68 void acpi_scan_hotplug_enabled(struct acpi_hotplug_profile *hotplug, bool val); acpi_cmos_rtc_init()
|
H A D | dock.c | 270 * to perform hotplug operations after a dock event has occurred. 272 * hotplug handler, and call the handler. 282 /* Call driver specific hotplug functions. */ hotplug_dock_devices() 442 * and then hotplug and devices that may need hotplugging.
|
H A D | ioapic.c | 19 * This driver manages I/O APICs added by hotplug after boot.
|
H A D | acpi_memhotplug.c | 67 .hotplug = { 229 * Don't try to do the following memory hotplug flowchart. acpi_memory_enable_device()
|
H A D | processor_core.c | 8 * I/O APIC hotplug support
|
H A D | processor_driver.c | 8 * - Added processor hotplug support
|
H A D | processor_thermal.c | 8 * - Added processor hotplug support
|
/linux-4.1.27/arch/x86/power/ |
H A D | cpu.c | 249 * When bsp_check() is called in hibernate and suspend, cpu hotplug 251 * cpumask query and cpu hotplug. 292 * This works for normal boot case in our CPU0 hotplug debug bsp_pm_callback() 300 * user debugging CPU0 hotplug. Even if users hit this case, bsp_pm_callback() 321 * earlier to disable cpu hotplug before bsp online check. bsp_pm_check_init()
|
/linux-4.1.27/arch/x86/mm/ |
H A D | srat.c | 198 hotpluggable ? " hotplug" : ""); acpi_numa_memory_affinity_init() 200 /* Mark hotplug range in memblock. */ acpi_numa_memory_affinity_init() 202 pr_warn("SRAT: Failed to mark hotplug range [mem %#010Lx-%#010Lx] in memblock\n", acpi_numa_memory_affinity_init()
|
/linux-4.1.27/drivers/tty/hvc/ |
H A D | hvc_console.h | 43 * for the tty device. Since this driver supports hotplug of vty adapters we 87 /* register a vterm for hvc tty operation (module_init or hotplug add) */ 90 /* remove a vterm from hvc tty operation (module_exit or hotplug remove) */
|
/linux-4.1.27/drivers/leds/trigger/ |
H A D | ledtrig-cpu.c | 125 * ignores CPU hotplug, but after this CPU hotplug works ledtrig_cpu_init()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | radeon_irq_kms.c | 61 * Handle hotplug events outside the interrupt handler proper. 64 * radeon_hotplug_work_func - display hotplug work handler 71 * and calls the hotplug handler for each one, then sends 72 * a drm hotplug event to alert userspace. 488 * radeon_irq_kms_enable_hpd - enable hotplug detect interrupt 493 * Enables the hotplug detect interrupt for a specific hpd pin (all asics). 511 * radeon_irq_kms_disable_hpd - disable hotplug detect interrupt 516 * Disables the hotplug detect interrupt for a specific hpd pin (all asics).
|
H A D | radeon_dp_mst.c | 331 .hotplug = radeon_dp_mst_hotplug, 747 /* send a hotplug event */ radeon_dp_mst_check_status()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | pci-hotplug.c | 92 * Use legacy probe. In the partial hotplug case, we pcibios_add_pci_devices() 96 * They can have been removed during partial hotplug. pcibios_add_pci_devices()
|
H A D | eeh_dev.c | 14 * 4) PCI hotplug needs redoing the binding between PCI device and EEH device. If 50 * might be called by PCI emunation, DR, PHB hotplug.
|
H A D | eeh_driver.c | 617 * hotplug shutdown scripts, e.g. ifdown for ethernet. Yes, eeh_reset_device() 623 pr_info("EEH: Sleep 5s ahead of complete hotplug\n"); eeh_reset_device() 634 pr_info("EEH: Sleep 5s ahead of partial hotplug\n"); eeh_reset_device() 704 pr_info("EEH: Reset with hotplug activity\n"); eeh_handle_normal_event() 756 pr_info("EEH: Reset without hotplug activity\n"); eeh_handle_normal_event() 929 * generated hotplug events to userspace), then issuing a PCI #RST to 932 * drivers (which cause a second set of hotplug events to go out to
|
H A D | Makefile | 107 pci64-$(CONFIG_PPC64) += pci_dn.o pci-hotplug.o isa-bridge.o
|
H A D | smp.c | 65 /* State of each CPU during hotplug phases */ 498 * hotplug __cpu_up() 528 * hotplug case. Wait five seconds. __cpu_up()
|
H A D | eeh.c | 1064 * devices that were added after system boot (e.g. hotplug, dlpar). 1097 * hotplug, dlpar). 1117 * devices that were added after system boot (e.g. hotplug, dlpar). 1174 * is added after system boot through hotplug or dlpar. 1197 * is added after system boot through hotplug or dlpar. 1219 * a running system (e.g. by hotplug or dlpar). It unregisters 1241 * During the hotplug for EEH error recovery, we need the EEH eeh_remove_device() 1256 * well. So we rely on hotplug completely to do recovery eeh_remove_device()
|
H A D | pci_64.c | 89 * Note: If we ever support P2P hotplug on Book3E, we'll have pcibios_unmap_io_space()
|
/linux-4.1.27/include/linux/usb/ |
H A D | ohci_pdriver.h | 43 /* Turn on only VBUS suspend power and hotplug detection,
|
H A D | ehci_pdriver.h | 57 /* Turn on only VBUS suspend power and hotplug detection,
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | omap-hotplug.c | 2 * OMAP4 SMP cpu-hotplug support
|
H A D | pm44xx.c | 78 * CPU hotplug path in system wide suspend. On OMAP4, CPU power omap4_pm_suspend() 125 * through hotplug path and CPU0 explicitly programmed pwrdms_setup()
|
H A D | Makefile | 37 smp-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o
|
/linux-4.1.27/arch/arm/mach-tegra/ |
H A D | hotplug.c | 43 WARN(1, "hotplug is not yet initialized\n"); tegra_cpu_die()
|
H A D | platsmp.c | 86 * For warm boot CPU that was resumed from CPU hotplug, the tegra30_boot_secondary()
|
H A D | sleep-tegra30.S | 201 /* flow controller set up for hotplug */ 202 mov r3, #FLOW_CTRL_WAITEVENT @ For hotplug 286 mov r0, #0 @ power mode flags (!hotplug)
|
H A D | reset-handler.S | 205 * Can only be secondary boot (initial or hotplug)
|
/linux-4.1.27/tools/testing/selftests/rcutorture/configs/lock/ |
H A D | ver_functions.sh | 29 echo CPU-hotplug kernel, adding locktorture onoff. 1>&2
|
/linux-4.1.27/tools/testing/selftests/rcutorture/configs/rcu/ |
H A D | ver_functions.sh | 41 echo CPU-hotplug kernel, adding rcutorture onoff. 1>&2
|
/linux-4.1.27/drivers/powercap/ |
H A D | intel_rapl.c | 181 * cpu hotplug. so we have to track ourselves. 237 static LIST_HEAD(rapl_packages); /* guarded by CPU hotplug lock */ 248 /* caller to ensure CPU hotplug lock is held */ find_package_by_id() 261 /* caller to ensure CPU hotplug lock is held */ find_active_cpu_on_package() 275 /* caller must hold cpu hotplug lock */ rapl_cleanup_data() 292 /* prevent CPU hotplug, make sure the RAPL domain does not go get_energy_counter() 1105 * hotplug lock held rapl_unregister_powercap() 1322 /* caller prevents cpu hotplug, there will be no new packages added is_package_new() 1334 * We have to consider the possiblity of CPU online/offline due to hotplug and 1376 /* called from CPU hotplug notifier, hotplug lock held */ rapl_remove_package() 1395 /* called from CPU hotplug notifier, hotplug lock held */ rapl_add_package() 1429 /* Handles CPU hotplug on multi-socket systems. 1488 /* prevent CPU hotplug during detection */ rapl_init()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | intel_crt.c | 39 /* Here's the desired hotplug mode */ 349 DRM_DEBUG_KMS("trigger hotplug detect cycle: adpa=0x%x\n", adpa); intel_ironlake_crt_detect_hotplug() 373 DRM_DEBUG_KMS("ironlake hotplug adpa=0x%x, result %d\n", adpa, ret); intel_ironlake_crt_detect_hotplug() 388 DRM_DEBUG_KMS("trigger hotplug detect cycle: adpa=0x%x\n", adpa); valleyview_crt_detect_hotplug() 407 DRM_DEBUG_KMS("valleyview hotplug adpa=0x%x, result %d\n", adpa, ret); valleyview_crt_detect_hotplug() 683 DRM_DEBUG_KMS("CRT detected via hotplug\n"); intel_crt_detect() 687 DRM_DEBUG_KMS("CRT not detected via hotplug\n"); intel_crt_detect() 852 /* Skip machines without VGA that falsely report hotplug events */ intel_crt_init() 921 * Configure the automatic hotplug detection stuff intel_crt_init()
|
H A D | i915_irq.c | 143 /* For display hotplug interrupt */ 875 * Handle hotplug events outside the interrupt handler proper. 893 DRM_DEBUG_KMS("running encoder hotplug functions\n"); i915_hotplug_work_func() 908 "switching from hotplug detection to polling\n", i915_hotplug_work_func() 916 DRM_DEBUG_KMS("Connector %s (pin %i) received hotplug event.\n", i915_hotplug_work_func() 1431 DRM_DEBUG_DRIVER("hotplug event received, stat 0x%08x, dig 0x%08x\n", intel_hpd_irq_handler() 1474 * hotplug bits itself. So only WARN about unexpected intel_hpd_irq_handler() 1516 * Our hotplug handler can grab modeset locks (by calling down into the intel_hpd_irq_handler() 1753 * Make sure hotplug status is cleared before we clear IIR, or else we i9xx_hpd_irq_handler() 1754 * may miss hotplug events. i9xx_hpd_irq_handler() 2043 /* should clear PCH hotplug event before clear CPU irq */ 2083 /* clear PCH hotplug event before clear CPU irq */ 3144 u32 hotplug_irqs, hotplug, enabled_irqs = 0; ibx_hpd_irq_setup() local 3161 * Enable digital hotplug on the PCH, and configure the DP short pulse ibx_hpd_irq_setup() 3166 hotplug = I915_READ(PCH_PORT_HOTPLUG); ibx_hpd_irq_setup() 3167 hotplug &= ~(PORTD_PULSE_DURATION_MASK|PORTC_PULSE_DURATION_MASK|PORTB_PULSE_DURATION_MASK); ibx_hpd_irq_setup() 3168 hotplug |= PORTD_HOTPLUG_ENABLE | PORTD_PULSE_DURATION_2ms; ibx_hpd_irq_setup() 3169 hotplug |= PORTC_HOTPLUG_ENABLE | PORTC_PULSE_DURATION_2ms; ibx_hpd_irq_setup() 3170 hotplug |= PORTB_HOTPLUG_ENABLE | PORTB_PULSE_DURATION_2ms; ibx_hpd_irq_setup() 3171 I915_WRITE(PCH_PORT_HOTPLUG, hotplug); ibx_hpd_irq_setup() 4032 /* Note HDMI and DP share hotplug bits */ i915_hpd_irq_setup() 4038 to generate a spurious hotplug event about three i915_hpd_irq_setup() 4327 * This function enables the hotplug support. It requires that interrupts have 4328 * already been enabled with intel_irq_init_hw(). From this point on hotplug and 4367 * This function enables the hardware interrupt handling, but leaves the hotplug 4371 * but don't want to deal with the hassle of concurrent probe and hotplug 4390 * This stops interrupt and hotplug handling and unregisters and frees all
|
H A D | i915_dma.c | 447 /* Only enable hotplug handling once the fbdev is fully set up. */ i915_load_modeset_init() 455 * only once hotplug handling is enabled, but due to screwed-up locking i915_load_modeset_init() 457 * scanning against hotplug events. Hence do this first and ignore the i915_load_modeset_init() 458 * tiny window where we will loose hotplug notifactions. i915_load_modeset_init()
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-wiimote-core.c | 899 * MP hotplug events are not generated by the wiimote. Therefore, we need 929 * may change during hotplug and initialization so we might get hotplug events 932 * expected state, we can ignore the hotplug event. 935 * redo hotplug handling and extension initialization. 994 /* poll MP for hotplug events */ wiimote_init_check() 1021 /* poll MP for hotplug events */ wiimote_init_check() 1081 * Handle hotplug events 1082 * If we receive an hotplug event and the device-check failed, we deinitialize 1161 /* delete MP hotplug timer */ wiimote_init_hotplug() 1164 /* reschedule MP hotplug timer */ wiimote_init_hotplug() 1172 /* enable data forwarding again and set expected hotplug state */ wiimote_init_hotplug() 1187 /* request status report for hotplug state updates */ wiimote_init_hotplug() 1312 /* this bit is set for invalid events (eg. during hotplug) */ handler_ext() 1318 hid_dbg(wdata->hdev, "MP hotplug: 1\n"); handler_ext() 1324 hid_dbg(wdata->hdev, "MP hotplug: 0\n"); handler_ext() 1420 hid_dbg(wdata->hdev, "EXT hotplug: 1\n"); handler_status() 1426 hid_dbg(wdata->hdev, "EXT hotplug: 0\n"); handler_status()
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | topology.c | 113 * vendors can add hotplug support later. arch_register_cpu() 123 * enable BSP hotplug. This basically adds a control file and arch_register_cpu()
|
H A D | smpboot.c | 36 * Rusty Russell : Hacked into shape for new "hotplug" boot process. 38 * Ashok Raj : CPU hotplug support 1115 /* mark all to hotplug */ for_each_possible_cpu() 1232 * Three ways to find out the number of additional hotplug CPUs: 1278 pr_info("Allowing %d CPUs, %d hotplug CPUs\n", prefill_possible_map() 1387 * With physical CPU hotplug, we should halt the cpu play_dead_common()
|
H A D | tsc_sync.c | 14 * ( The serial nature of the boot logic and the CPU hotplug lock
|
/linux-4.1.27/include/linux/mfd/ |
H A D | tmio.h | 74 * A GPIO is used for card hotplug detection. We need an extra flag for this, 76 * cd_gpio < 0 to disable GPIO hotplug would break backwards compatibility.
|
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/linux/ |
H A D | linux-cpu.h | 65 /* version, reserved for hotplug */
|
/linux-4.1.27/arch/arm/plat-versatile/ |
H A D | platsmp.c | 24 * or not. This is necessary for the hotplug code to work reliably.
|
/linux-4.1.27/arch/arm/common/ |
H A D | mcpm_platsmp.c | 11 * Code to handle secondary CPU bringup and hotplug for the cluster power API.
|
/linux-4.1.27/arch/x86/kernel/apic/ |
H A D | apic_flat_64.c | 88 int hotplug = 1; flat_send_IPI_allbutself() local 90 int hotplug = 0; flat_send_IPI_allbutself() local 92 if (hotplug || vector == NMI_VECTOR) { flat_send_IPI_allbutself()
|
H A D | x2apic_uv_x.c | 789 * cpu hotplug notifier 860 * FIXME: hotplug not supported yet
|
/linux-4.1.27/drivers/platform/x86/ |
H A D | eeepc-laptop.c | 57 "Disable hotplug for wireless device. " 558 * PCI hotplug (for wlan rfkill) 609 pr_warn("skipped wireless hotplug as probably inappropriate for this model\n"); eeepc_rfkill_hotplug() 680 * Refresh pci hotplug in case the rfkill state was eeepc_register_rfkill_notifier() 705 * Refresh pci hotplug in case the rfkill eeepc_unregister_rfkill_notifier() 765 pr_err("Unable to register hotplug slot - %d\n", ret); eeepc_setup_pci_hotplug() 896 * If we get -EBUSY then something else is handling the PCI hotplug - eeepc_rfkill_init() 939 /* Refresh both wlan rfkill state and pci hotplug */ eeepc_hotk_restore() 1317 * Blacklist for wlan hotplug eeepc_dmi_check() 1320 * hotplug code. In fact, current hotplug code seems to unplug another eeepc_dmi_check() 1326 pr_info("wlan hotplug disabled\n"); eeepc_dmi_check()
|
H A D | asus-wmi.c | 582 * PCI hotplug (for wlan rfkill) 629 pr_warn("skipped wireless hotplug as probably " asus_rfkill_hotplug() 780 pr_err("Unable to register hotplug slot - %d\n", ret); asus_setup_pci_hotplug() 841 * This handler is enabled only if hotplug is enabled. asus_rfkill_wlan_set() 912 * Refresh pci hotplug in case the rfkill state was changed after asus_wmi_rfkill_exit() 997 * If we get -EBUSY then something else is handling the PCI hotplug - asus_wmi_rfkill_init() 1007 * Refresh pci hotplug in case the rfkill state was changed during asus_wmi_rfkill_init() 1867 /* Refresh both wlan rfkill state and pci hotplug */ asus_hotk_restore()
|
H A D | eeepc-wmi.c | 56 "Enable hotplug for wireless device. "
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
H A D | cdv_device.c | 440 /* The core driver has received a hotplug IRQ. We are in IRQ context 454 u32 hotplug = REG_READ(PORT_HOTPLUG_EN); cdv_hotplug_enable() local 455 hotplug |= HDMIB_HOTPLUG_INT_EN | HDMIC_HOTPLUG_INT_EN | cdv_hotplug_enable() 457 REG_WRITE(PORT_HOTPLUG_EN, hotplug); cdv_hotplug_enable() 612 .hotplug = cdv_hotplug_event,
|
H A D | psb_irq.c | 297 if (hotplug_int && dev_priv->ops->hotplug) { psb_irq_handler() 298 handled = dev_priv->ops->hotplug(dev); psb_irq_handler() 340 if (dev_priv->ops->hotplug) psb_irq_preinstall()
|
H A D | cdv_intel_hdmi.c | 55 /* Should set this when detect hotplug */
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/ |
H A D | linux-cpu.c | 69 /* serialize hotplug etc */ 71 /* reserved for hotplug */ 175 /* Reserved for hotplug */ cfs_cpt_table_alloc() 585 CERROR("No online CPU found in CPU partition %d, did someone do CPU hotplug on system? You might need to reload Lustre modules to keep system working well.\n", cfs_cpt_bind() 797 CERROR("Expect %d(%d) CPU partitions but got %d(%d), CPU hotplug/unplug while setting?\n", 1042 CERROR("CPU hotplug/unplug during setup\n"); cfs_cpu_init()
|
/linux-4.1.27/drivers/input/misc/ |
H A D | cobalt_btns.c | 152 /* work with hotplug and coldplug */
|
/linux-4.1.27/drivers/input/mouse/ |
H A D | gpio_mouse.c | 181 MODULE_ALIAS("platform:gpio_mouse"); /* work with hotplug and coldplug */
|
/linux-4.1.27/drivers/input/touchscreen/ |
H A D | jornada720_ts.c | 144 /* work with hotplug and coldplug */
|
/linux-4.1.27/block/ |
H A D | blk-mq.h | 38 * CPU hotplug helpers
|
/linux-4.1.27/drivers/ata/ |
H A D | ahci_imx.c | 73 module_param_named(hotplug, ahci_imx_hotplug, int, 0644); 74 MODULE_PARM_DESC(hotplug, "AHCI IMX hot-plug support (0=Don't support, 1=support)"); 325 dev_info(ap->dev, "pass " MODULE_PARAM_PREFIX ".hotplug=1 to enable hotplug\n"); ahci_imx_error_handler()
|
H A D | sata_promise.c | 212 and ->freeze/thaw that ignore the hotplug controls. */ 736 /* Disable hotplug events on this port. pdc_sata_freeze() 739 * 1) hotplug register accesses must be serialised via host->lock pdc_sata_freeze() 776 /* Enable hotplug events on this port. pdc_sata_thaw() 829 /* hotplug IRQs should have been masked by pdc_sata_freeze() */ pdc_sata_hardreset() 956 /* read and clear hotplug flags for all ports */ pdc_interrupt() 1141 * Except for the hotplug stuff, this is voodoo from the pdc_host_init()
|
H A D | sata_inic162x.c | 41 * LBA48, CD/DVD burning, suspend/resume and hotplug. There are some 334 ata_ehi_push_desc(ehi, "hotplug"); inic_host_err_intr()
|
/linux-4.1.27/drivers/usb/chipidea/ |
H A D | ci_hdrc_pci.c | 51 * @id: PCI hotplug ID connecting controller to UDC framework
|
/linux-4.1.27/arch/arm64/kernel/ |
H A D | smp_spin_table.c | 39 * in coherency or not. This is necessary for the hotplug code to work
|
H A D | smp.c | 285 * of the other hotplug-cpu capable cores, so presumably coming 300 * Actually shutdown the CPU. This must never fail. The specific hotplug cpu_die()
|
H A D | debug-monitors.c | 155 /* Register hotplug handler. */ debug_monitors_init()
|
/linux-4.1.27/arch/arm/mach-imx/ |
H A D | Makefile | 88 obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
|
/linux-4.1.27/sound/pci/asihpi/ |
H A D | hpidspcd.c | 4 Functions for reading DSP code using hotplug firmware loader
|
/linux-4.1.27/drivers/mtd/maps/ |
H A D | physmap.c | 277 /* legacy platform drivers can't hotplug or coldplg */ 279 /* work with hotplug and coldplug */
|
H A D | plat-ram.c | 246 /* work with hotplug and coldplug */
|
/linux-4.1.27/drivers/net/xen-netback/ |
H A D | xenbus.c | 30 * active hotplug script completes. 239 xenbus_rm(XBT_NIL, dev->nodename, "hotplug-status"); netback_remove() 369 /* This kicks hotplug scripts, so do it immediately. */ netback_probe() 387 * Handle the creation of the hotplug script environment. We add the script 388 * and vif variables to the environment, for the benefit of the vif-* hotplug 462 /* If we are waiting for a hotplug script then defer the backend_switch_state() 731 str = xenbus_read(XBT_NIL, be->dev->nodename, "hotplug-status", &len); hotplug_status_changed() 838 "%s/%s", dev->nodename, "hotplug-status"); connect()
|
/linux-4.1.27/drivers/media/i2c/ |
H A D | ad9389b.c | 87 /* Did we receive hotplug and rx-sense signals? */ 384 v4l2_info(sd, "%s hotplug, %s Rx Sense, %s EDID (%d block(s))\n", ad9389b_log_status() 517 disabled if there is no hotplug. */ ad9389b_set_isr() 916 /* read hotplug and rx-sense state */ ad9389b_update_monitor_present_status() 922 status & MASK_AD9389B_HPD_DETECT ? ", hotplug" : "", ad9389b_update_monitor_present_status() 926 v4l2_dbg(1, debug, sd, "%s: hotplug detected\n", __func__); ad9389b_update_monitor_present_status() 939 v4l2_dbg(1, debug, sd, "%s: hotplug not detected\n", __func__); ad9389b_update_monitor_present_status() 964 * Rapid toggling of the hotplug may leave the chip powered off, ad9389b_check_monitor_present_status()
|
H A D | adv7511.c | 96 /* Did we receive hotplug and rx-sense signals? */ 445 v4l2_info(sd, "%s hotplug, %s Rx Sense, %s EDID (%d block(s))\n", adv7511_log_status() 555 disabled if there is no hotplug. */ adv7511_set_isr() 1151 /* read hotplug and rx-sense state */ adv7511_check_monitor_present_status() 1157 status & MASK_ADV7511_HPD_DETECT ? ", hotplug" : "", adv7511_check_monitor_present_status() 1165 v4l2_dbg(1, debug, sd, "%s: hotplug and (rx-sense or edid)\n", __func__); adv7511_check_monitor_present_status() 1180 v4l2_dbg(1, debug, sd, "%s: hotplug detected\n", __func__); adv7511_check_monitor_present_status() 1184 v4l2_dbg(1, debug, sd, "%s: hotplug not detected\n", __func__); adv7511_check_monitor_present_status() 1310 * in particular with regards to hotplug bounces. adv7511_init_setup()
|
/linux-4.1.27/include/xen/interface/ |
H A D | vcpu.h | 4 * VCPU initialisation, query, and hotplug. 101 * This is a 'catch all' state for things like hotplug and pauses by the
|
/linux-4.1.27/mm/ |
H A D | page_isolation.c | 36 * Later, for example, when memory hotplug notifier runs, these set_migratetype_isolate() 45 * FIXME: Now, memory hotplug doesn't call shrink_slab() by itself. set_migratetype_isolate()
|
H A D | page_ext.c | 110 * for the first time during bootup or memory hotplug. lookup_page_ext() 184 * for the first time during bootup or memory hotplug. lookup_page_ext()
|
H A D | memory_hotplug.c | 52 /* The same as the cpu_hotplug lock, but for memory hotplug. */ 58 * an ongoing mem hotplug operation. 490 * expected that archs that support memory hotplug will 1180 pr_err("Section-unaligned hotplug range: start 0x%llx, size 0x%llx\n", check_hotplug_memory_range() 1551 * cannot migrate the kernel pages. When memory hotplug is cmdline_parse_movable_node() 1683 /* This makes hotplug much easier...and readable. __offline_pages() 1927 * NOTE: The caller must call lock_device_hotplug() to serialize hotplug 1983 * NOTE: The caller must call lock_device_hotplug() to serialize hotplug
|
/linux-4.1.27/tools/testing/selftests/rcutorture/bin/ |
H A D | functions.sh | 26 # test CPU-hotplug operations. 89 # Returns 1 if the config fragment specifies hotplug CPU.
|
/linux-4.1.27/drivers/firmware/ |
H A D | memmap.c | 91 * For memory hotplug, there is no way to free memory map entries allocated 277 * memory hotplug. 282 * Adds a firmware mapping entry. This function is for memory hotplug, it is
|
H A D | qcom_scm.c | 446 * out of a power down. CPU power down may be executed on cpuidle or hotplug. 455 * Reassign only if we are switching from hotplug entry point qcom_scm_set_warm_boot_addr()
|
/linux-4.1.27/drivers/media/common/siano/ |
H A D | smscoreapi.c | 44 hotplug_t hotplug; member in struct:smscore_device_notifyee_t 532 * @param hotplug callback 536 int smscore_register_hotplug(hotplug_t hotplug) smscore_register_hotplug() argument 554 rc = hotplug(coredev, coredev->device, 1); smscore_register_hotplug() 558 notifyee->hotplug = hotplug; smscore_register_hotplug() 574 * @param hotplug callback 577 void smscore_unregister_hotplug(hotplug_t hotplug) smscore_unregister_hotplug() argument 590 if (notifyee->hotplug == hotplug) { smscore_unregister_hotplug() 620 rc = elem->hotplug(coredev, device, arrival); smscore_notify_callbacks() 1708 * @param coredev pointer to a coredev object from clients hotplug
|
H A D | sms-cards.c | 189 case BOARD_EVENT_POWER_INIT: /* including hotplug */ sms_board_event()
|
/linux-4.1.27/drivers/isdn/hisax/ |
H A D | st5481_init.c | 17 * hotplug / unregister issues
|
/linux-4.1.27/drivers/scsi/ |
H A D | jazz_esp.c | 221 /* work with hotplug and coldplug */
|
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-bq4802.c | 189 /* work with hotplug and coldplug */
|
H A D | rtc-vr41xx.c | 371 /* work with hotplug and coldplug */
|
/linux-4.1.27/drivers/input/keyboard/ |
H A D | jornada720_kbd.c | 164 /* work with hotplug and coldplug */
|
/linux-4.1.27/drivers/usb/host/ |
H A D | ohci-omap3.c | 59 * through the hotplug entry's driver_data.
|
H A D | ehci-omap.c | 98 * through the hotplug entry's driver_data.
|
H A D | ehci-pmcmsp.c | 158 * through the hotplug entry's driver_data.
|
H A D | ohci-nxp.c | 311 /* work with hotplug and coldplug */
|
/linux-4.1.27/arch/s390/include/asm/ |
H A D | pci.h | 70 struct list_head entry; /* list of all zpci_devices, needed for hotplug, etc. */
|
/linux-4.1.27/arch/arm64/mm/ |
H A D | context.c | 97 * after secondary CPU boot or hotplug. TTBR0_EL1 is already set to reset_context()
|
/linux-4.1.27/arch/ia64/kernel/ |
H A D | salinfo.c | 29 * Replace some NR_CPUS by cpus_online, for hotplug cpu. 32 * Handle hotplug cpus coming online. 33 * Handle hotplug cpus going offline while they still have outstanding records. 187 * context, interrupt context, non-maskable interrupt context and hotplug cpu,
|
H A D | acpi.c | 796 * ACPI based hotplug CPU support 837 * Three ways to find out the number of additional hotplug CPUs: 861 printk(KERN_INFO "SMP: Allowing %d CPUs, %d hotplug CPUs\n", prefill_possible_map()
|
/linux-4.1.27/arch/arm/mach-shmobile/ |
H A D | platsmp-apmu.c | 143 /* nicked from arch/arm/mach-exynos/hotplug.c */ cpu_enter_lowpower_a15()
|
/linux-4.1.27/arch/arm/mach-zynq/ |
H A D | platsmp.c | 118 * This function is in the hotplug path. Don't move it into the
|
/linux-4.1.27/arch/arm/kernel/ |
H A D | machine_kexec.c | 46 * and implements CPU hotplug for the current HW. If not, we won't be machine_kexec_prepare()
|
H A D | reboot.c | 90 * avoid any code or data used by any SW CPU pin loop. The CPU hotplug
|
/linux-4.1.27/sound/aoa/soundbus/ |
H A D | core.c | 76 /* stuff we want to pass to /sbin/hotplug */ soundbus_uevent()
|
/linux-4.1.27/tools/usb/usbip/src/ |
H A D | usbip.c | 3 * (git://git.kernel.org/pub/scm/linux/hotplug/udev.git)
|
/linux-4.1.27/drivers/acpi/acpica/ |
H A D | tbxfload.c | 247 * Note1: Mainly intended to support hotplug addition of SSDTs. ACPI_EXPORT_SYMBOL_INIT() 325 * Note: Mainly intended to support hotplug removal of SSDTs. ACPI_EXPORT_SYMBOL()
|
/linux-4.1.27/drivers/block/xen-blkback/ |
H A D | xenbus.c | 563 * structures, and watch the store waiting for the hotplug scripts to tell us 614 * Callback received when the hotplug scripts have placed the physical-device 639 * hotplug scripts. backend_changed()
|
/linux-4.1.27/drivers/media/pci/cx18/ |
H A D | cx18-firmware.c | 111 CX18_ERR("Did you put the firmware in the hotplug firmware directory?\n"); load_cpu_fw_direct() 155 CX18_ERR("did you put the firmware in the hotplug firmware directory?\n"); load_apu_fw_direct()
|
/linux-4.1.27/drivers/scsi/bnx2i/ |
H A D | bnx2i_init.c | 75 /* notification function for CPU hotplug events */ 466 * bnx2i_cpu_callback - Handler for CPU hotplug events
|
/linux-4.1.27/arch/x86/kernel/cpu/mcheck/ |
H A D | therm_throt.c | 98 preempt_disable(); /* CPU hotplug */ \ 274 /* Get notified when a cpu comes on/off. Be hotplug friendly. */
|
/linux-4.1.27/arch/x86/kernel/cpu/microcode/ |
H A D | core.c | 106 * All non cpu-hotplug-callback call sites use: 110 * the cpu-hotplug-callback call sites.
|
H A D | intel_early.c | 479 * Hold hotplug lock so mc_saved_data is not accessed by a CPU in save_mc_for_early() 480 * hotplug. save_mc_for_early()
|
/linux-4.1.27/drivers/usb/renesas_usbhs/ |
H A D | common.c | 368 * hotplug 438 * notify hotplug
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
H A D | or51211.c | 30 * download/extract it, and then copy it to /usr/lib/hotplug/firmware 31 * or /lib/firmware (depending on configuration of firmware hotplug).
|
H A D | sp8870.c | 25 * download/extract it, and then copy it to /usr/lib/hotplug/firmware 26 * or /lib/firmware (depending on configuration of firmware hotplug).
|
H A D | sp887x.c | 8 * download/extract it, and then copy it to /usr/lib/hotplug/firmware 9 * or /lib/firmware (depending on configuration of firmware hotplug).
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | eeh.h | 79 #define EEH_PE_KEEP (1 << 8) /* Keep PE on hotplug */ 142 struct pci_bus *bus; /* PCI bus for partial hotplug */
|
/linux-4.1.27/drivers/i2c/busses/ |
H A D | i2c-designware-pcidrv.c | 297 /* work with hotplug and coldplug */
|
H A D | i2c-designware-platdrv.c | 351 /* work with hotplug and coldplug */
|
/linux-4.1.27/drivers/gpu/drm/bridge/ |
H A D | ptn3460.c | 148 * There's a bug in the PTN chip where it falsely asserts hotplug before ptn3460_pre_enable()
|
/linux-4.1.27/drivers/cpufreq/ |
H A D | pasemi-cpufreq.c | 226 * We don't support CPU hotplug. Don't unmap after the system pas_cpufreq_cpu_exit()
|
H A D | powernow-k8.h | 38 * handle hotplug events - so just point at cpufreq pol->cpus
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | x86_init.h | 135 * struct x86_cpuinit_ops - platform specific cpu hotplug setups
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | outpdp.c | 269 /* hotplug detect, replaces gpio-based mechanism with aux events */ nvkm_output_dp_create_()
|
/linux-4.1.27/drivers/gpu/drm/omapdrm/ |
H A D | omap_connector.c | 299 #if 0 /* enable when dss2 supports hotplug */ omap_connector_init()
|
/linux-4.1.27/drivers/usb/core/ |
H A D | file.c | 10 * (C) Copyright David Brownell 2000-2001 (kernel hotplug, usb_device_id,
|
/linux-4.1.27/arch/powerpc/platforms/cell/ |
H A D | cbe_regs.c | 25 * we implement cpu hotplug, we'll have to install an appropriate norifier
|
/linux-4.1.27/arch/s390/mm/ |
H A D | vmem.c | 362 * we reserve enough space in the vmalloc area for vmemmap to hotplug
|
/linux-4.1.27/arch/powerpc/mm/ |
H A D | tlb_hash64.c | 181 * This function is mostly to be used by some IO hotplug code in order
|
/linux-4.1.27/arch/arm/mach-bcm/ |
H A D | platsmp-brcmstb.c | 2 * Broadcom STB CPU SMP and hotplug support for ARM
|
/linux-4.1.27/drivers/xen/xenbus/ |
H A D | xenbus_probe_backend.c | 114 /* stuff we want to pass to /sbin/hotplug */ xenbus_uevent_backend()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
H A D | nouveau_display.c | 371 /* enable hotplug interrupts */ nouveau_display_init() 391 /* disable hotplug interrupts */ nouveau_display_fini()
|
/linux-4.1.27/drivers/bus/ |
H A D | mips_cdmm.c | 544 * CPU hotplug and initialisation 688 * hotplug notifications so the CDMM drivers can be kept up to date.
|