Home
last modified time | relevance | path

Searched refs:hotplug (Results 1 – 25 of 231) sorted by relevance

12345678910

/Linux-v6.6/drivers/gpu/drm/i915/display/
Dintel_hotplug.c147 struct intel_hotplug *hpd = &dev_priv->display.hotplug; in intel_hpd_irq_storm_detect()
155 (!long_hpd && !dev_priv->display.hotplug.hpd_short_storm_enabled)) in intel_hpd_irq_storm_detect()
197 dev_priv->display.hotplug.stats[pin].state != HPD_MARK_DISABLED) in intel_hpd_irq_storm_switch_to_polling()
205 dev_priv->display.hotplug.stats[pin].state = HPD_DISABLED; in intel_hpd_irq_storm_switch_to_polling()
216 &dev_priv->display.hotplug.reenable_work, in intel_hpd_irq_storm_switch_to_polling()
225 display.hotplug.reenable_work.work); in intel_hpd_irq_storm_reenable_work()
239 dev_priv->display.hotplug.stats[pin].state != HPD_DISABLED) in intel_hpd_irq_storm_reenable_work()
251 if (dev_priv->display.hotplug.stats[pin].state == HPD_DISABLED) in intel_hpd_irq_storm_reenable_work()
252 dev_priv->display.hotplug.stats[pin].state = HPD_ENABLED; in intel_hpd_irq_storm_reenable_work()
303 container_of(work, struct drm_i915_private, display.hotplug.dig_port_work); in i915_digport_work_func()
[all …]
Dintel_hotplug_irq.c136 struct intel_hotplug *hpd = &dev_priv->display.hotplug; in intel_hpd_init_pins()
373 if (dev_priv->display.hotplug.stats[encoder->hpd_pin].state == HPD_ENABLED) in intel_hpd_enabled_irqs()
395 u32 hotplug = 0; in intel_hpd_hotplug_mask() local
398 hotplug |= hotplug_mask(pin); in intel_hpd_hotplug_mask()
400 return hotplug; in intel_hpd_hotplug_mask()
407 u32 hotplug = 0; in intel_hpd_hotplug_enables() local
410 hotplug |= hotplug_enables(encoder); in intel_hpd_hotplug_enables()
412 return hotplug; in intel_hpd_hotplug_enables()
467 dev_priv->display.hotplug.hpd, in i9xx_hpd_irq_handler()
504 dev_priv->display.hotplug.pch_hpd, in ibx_hpd_irq_handler()
[all …]
/Linux-v6.6/drivers/pci/hotplug/
Dpci_hotplug_core.c72 retval = get_power_status(pci_slot->hotplug, &value); in GET_STATUS()
82 struct hotplug_slot *slot = pci_slot->hotplug; in power_write_file()
129 retval = get_attention_status(pci_slot->hotplug, &value); in attention_read_file()
139 struct hotplug_slot *slot = pci_slot->hotplug; in attention_write_file()
174 retval = get_latch_status(pci_slot->hotplug, &value); in latch_read_file()
191 retval = get_adapter_status(pci_slot->hotplug, &value); in presence_read_file()
206 struct hotplug_slot *slot = pci_slot->hotplug; in test_write_file()
236 struct hotplug_slot *slot = pci_slot->hotplug; in has_power_file()
249 struct hotplug_slot *slot = pci_slot->hotplug; in has_attention_file()
261 struct hotplug_slot *slot = pci_slot->hotplug; in has_latch_file()
[all …]
/Linux-v6.6/Documentation/power/
Dsuspend-and-cpuhotplug.rst2 Interaction of Suspend code (S3) with the CPU hotplug infrastructure
8 I. Differences between CPU hotplug and Suspend-to-RAM
11 How does the regular CPU hotplug code differ from how the Suspend-to-RAM
17 interactions involving the freezer and CPU hotplug and also tries to explain
21 What happens when regular CPU hotplug and Suspend-to-RAM race with each other
79 Disable regular cpu hotplug
99 | Decrease cpu_hotplug_disabled, thereby enabling regular cpu hotplug
117 Regular CPU hotplug call path
149 regular CPU hotplug]
154 regular CPU hotplug and the suspend code path converge at the _cpu_down() and
[all …]
/Linux-v6.6/Documentation/core-api/
Dcpu_hotplug.rst2 CPU hotplug in the Kernel
19 insertion and removal require support for CPU hotplug.
23 system execution path. Hence the need for CPU hotplug support in the
26 A more novel use of CPU-hotplug support is its use today in suspend resume
79 of them may be online. When physical hotplug is processed by the relevant
83 at which time hotplug is disabled.
93 Using CPU hotplug
110 drwxr-xr-x 2 root root 0 Dec 21 16:33 hotplug
131 and excluded from CPU hotplug.
133 The CPU hotplug coordination
[all …]
Dmemory-hotplug.rst4 Memory hotplug
7 Memory hotplug event notifier
96 - synchronize against CPU hotplug and similar (e.g. relevant for ACPI and PPC)
116 write mode to serialise memory hotplug (e.g. access to global/zone
/Linux-v6.6/Documentation/translations/zh_CN/core-api/
Dcpu_hotplug.rst111 drwxr-xr-x 2 root root 0 Dec 21 16:33 hotplug
363 对于一个驱动程序或子系统有多个实例,并且每个实例都需要调用相同的CPU hotplug状态回
364 调的情况,CPU hotplug核心提供多实例支持。与驱动程序特定的实例列表相比,其优势在于
365 与实例相关的函数完全针对CPU hotplug操作进行序列化,并在添加和删除时提供状态回调的
454 状态移除和回调调用是针对CPU热拔插操作进行序列化的。如果移除函数必须从CPU hotplug
504 CPU hotplug回调和CPU hotplug读取锁定区域内使用。
560 所有注册的状态都被列举在 ``/sys/devices/system/cpu/hotplug/states`` ::
562 $ tail /sys/devices/system/cpu/hotplug/states
576 $ cat /sys/devices/system/cpu/cpu4/hotplug/state
578 $ echo 140 > /sys/devices/system/cpu/cpu4/hotplug/target
[all …]
Dmemory-hotplug.rst3 :Original: Documentation/core-api/memory-hotplug.rst
13 .. _cn_core-api_memory-hotplug:
Dindex.rst89 memory-hotplug
95 memory-hotplug
/Linux-v6.6/tools/testing/selftests/
DMakefile14 TARGETS += cpu-hotplug
47 TARGETS += memory-hotplug
106 TARGETS_HOTPLUG = cpu-hotplug
107 TARGETS_HOTPLUG += memory-hotplug
209 hotplug: target
215 run_hotplug: hotplug
291 .PHONY: all run_tests hotplug run_hotplug clean_hotplug run_pstore_crash install clean gen_tar
/Linux-v6.6/Documentation/fault-injection/
Dnotifier-error-inject.rst10 * Memory hotplug notifier
33 Memory hotplug notifier error injection module
44 Example: Inject memory hotplug offline error (-12 == -ENOMEM)::
94 * tools/testing/selftests/cpu-hotplug/cpu-on-off-test.sh
95 * tools/testing/selftests/memory-hotplug/mem-on-off-test.sh
/Linux-v6.6/Documentation/arch/x86/x86_64/
Dcpu-hotplug-spec.rst4 Firmware support for CPU hotplug under Linux/x86-64
7 Linux/x86-64 supports CPU hotplug now. For various reasons Linux wants to
16 For CPU hotplug Linux/x86-64 expects now that any possible future hotpluggable
/Linux-v6.6/drivers/firmware/psci/
DKconfig9 Run the PSCI checker during startup. This checks that hotplug and
13 on and off through hotplug, so for now torture tests and PSCI checker
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-firmware-acpi67 What: /sys/firmware/acpi/hotplug/
71 There are separate hotplug profiles for different classes of
73 processors, PCI root bridges etc. A hotplug profile for a given
75 that class of devices will be handled by the ACPI core hotplug
77 of /sys/firmware/acpi/hotplug/.
80 hotplug profile:
84 hotplug events associated with the given class of
87 effectively disables hotplug for the corresponding
/Linux-v6.6/Documentation/admin-guide/media/
Dttusb-dec.rst44 Copy the three files downloaded above into the /usr/lib/hotplug/firmware or
45 /lib/firmware directory (depending on configuration of firmware hotplug).
/Linux-v6.6/drivers/staging/media/av7110/
DKconfig30 download/extract it, and then copy it to /usr/lib/hotplug/firmware
31 or /lib/firmware (depending on configuration of firmware hotplug).
91 download/extract it, and then copy it to /usr/lib/hotplug/firmware
92 or /lib/firmware (depending on configuration of firmware hotplug).
/Linux-v6.6/drivers/net/wireless/intel/iwlegacy/
DKconfig28 look in the hotplug script /etc/hotplug/firmware.agent to
55 look in the hotplug script /etc/hotplug/firmware.agent to
/Linux-v6.6/drivers/media/usb/ttusb-dec/
DKconfig19 download/extract them, and then copy them to /usr/lib/hotplug/firmware
20 or /lib/firmware (depending on configuration of firmware hotplug).
/Linux-v6.6/drivers/pci/
Dslot.c228 struct hotplug_slot *hotplug) in pci_create_slot() argument
246 if (hotplug) { in pci_create_slot()
247 if ((err = slot->hotplug ? -EBUSY : 0) in pci_create_slot()
335 struct hotplug_slot *slot = pci_slot->hotplug; in pci_hp_create_module_link()
/Linux-v6.6/arch/powerpc/platforms/pseries/
DMakefile15 obj-$(CONFIG_HOTPLUG_CPU) += hotplug-cpu.o
16 obj-$(CONFIG_MEMORY_HOTPLUG) += hotplug-memory.o pmem.o
/Linux-v6.6/Documentation/driver-api/usb/
Dhotplug.rst38 Kernel Hotplug Helper (``/sbin/hotplug``)
41 There is a kernel parameter: ``/proc/sys/kernel/hotplug``, which normally
42 holds the pathname ``/sbin/hotplug``. That parameter names a program
45 The /sbin/hotplug program can be invoked by any subsystem as part of its
54 http://linux-hotplug.sourceforge.net
62 The USB subsystem currently invokes ``/sbin/hotplug`` when USB devices
/Linux-v6.6/arch/powerpc/kernel/
Deeh_driver.c774 if (!slot || !slot->hotplug) in eeh_slot_presence_check()
777 ops = slot->hotplug->ops; in eeh_slot_presence_check()
783 ops->set_attention_status(slot->hotplug, 1); in eeh_slot_presence_check()
785 rc = ops->get_adapter_status(slot->hotplug, &state); in eeh_slot_presence_check()
804 if (!slot || !slot->hotplug) in eeh_clear_slot_attention()
807 ops = slot->hotplug->ops; in eeh_clear_slot_attention()
811 ops->set_attention_status(slot->hotplug, 0); in eeh_clear_slot_attention()
/Linux-v6.6/drivers/gpu/drm/
Ddrm_client.c138 if (client->funcs && client->funcs->hotplug) { in drm_client_register()
149 ret = client->funcs->hotplug(client); in drm_client_register()
229 if (!client->funcs || !client->funcs->hotplug) in drm_client_dev_hotplug()
235 ret = client->funcs->hotplug(client); in drm_client_dev_hotplug()
/Linux-v6.6/drivers/acpi/
Dsysfs.c947 struct acpi_hotplug_profile *hotplug = to_acpi_hotplug_profile(kobj); in enabled_show() local
949 return sprintf(buf, "%d\n", hotplug->enabled); in enabled_show()
955 struct acpi_hotplug_profile *hotplug = to_acpi_hotplug_profile(kobj); in enabled_store() local
961 acpi_scan_hotplug_enabled(hotplug, val); in enabled_store()
978 void acpi_sysfs_add_hotplug_profile(struct acpi_hotplug_profile *hotplug, in acpi_sysfs_add_hotplug_profile() argument
986 error = kobject_init_and_add(&hotplug->kobj, in acpi_sysfs_add_hotplug_profile()
989 kobject_put(&hotplug->kobj); in acpi_sysfs_add_hotplug_profile()
993 kobject_uevent(&hotplug->kobj, KOBJ_ADD); in acpi_sysfs_add_hotplug_profile()
/Linux-v6.6/Documentation/locking/
Dlocktorture.rst87 randomly selected CPU-hotplug operation. Defaults
90 refuse to do any CPU-hotplug operations regardless of
94 The number of seconds to wait until starting CPU-hotplug
167 were no locking failures, CPU-hotplug problems were detected.

12345678910