| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/hwmon/ |
| D | ibm,occ-hwmon.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/hwmon/ibm,occ-hwmon.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: IBM On-Chip Controller (OCC) accessed from a service processor 10 - Eddie James <eajames@linux.ibm.com> 13 The POWER processor On-Chip Controller (OCC) helps manage power and 21 - ibm,p9-occ-hwmon 22 - ibm,p10-occ-hwmon 24 ibm,no-poll-on-init: [all …]
|
| /kernel/linux/linux-6.6/samples/nitro_enclaves/ |
| D | ne_ioctl_sample.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. 11 * ----- 19 * https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html#cpu-lists 26 * echo <cpu-list> > /sys/module/nitro_enclaves/parameters/ne_cpus 46 * https://www.kernel.org/doc/html/latest/admin-guide/mm/hugetlbpage.html 48 * By default, the allocation of hugetlb pages are distributed on all possible 52 * /sys/devices/system/node/node<X>/hugepages/hugepages-2048kB/nr_hugepages 53 * /sys/devices/system/node/node<X>/hugepages/hugepages-1048576kB/nr_hugepages 55 * or, if not on a system with multiple NUMA nodes, can also set the number [all …]
|
| /kernel/linux/linux-5.10/samples/nitro_enclaves/ |
| D | ne_ioctl_sample.c | 1 // SPDX-License-Identifier: GPL-2.0 11 * ----- 19 * https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html#cpu-lists 26 * echo <cpu-list> > /sys/module/nitro_enclaves/parameters/ne_cpus 46 * https://www.kernel.org/doc/html/latest/admin-guide/mm/hugetlbpage.html 48 * By default, the allocation of hugetlb pages are distributed on all possible 52 * /sys/devices/system/node/node<X>/hugepages/hugepages-2048kB/nr_hugepages 53 * /sys/devices/system/node/node<X>/hugepages/hugepages-1048576kB/nr_hugepages 55 * or, if not on a system with multiple NUMA nodes, can also set the number 58 * /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/sysdev/ |
| D | i8259.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 27 * acknowledge feature or poll. How i8259_init() is called determines 28 * which is called. It should be noted that polling is broken on some 29 * IBM and Motorola PReP boxes so we must use the int-ack feature on them. 36 /* Either int-ack or poll for the IRQ */ in i8259_irq() 43 /* Perform an interrupt acknowledge cycle on controller 1. */ in i8259_irq() 44 outb(0x0C, 0x20); /* prepare for poll */ in i8259_irq() 49 * acknowledge on controller 2. in i8259_irq() 51 outb(0x0C, 0xA0); /* prepare for poll */ in i8259_irq() 61 * significant bit is not set then there is no valid in i8259_irq() [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
| D | i8259.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 27 * acknowledge feature or poll. How i8259_init() is called determines 28 * which is called. It should be noted that polling is broken on some 29 * IBM and Motorola PReP boxes so we must use the int-ack feature on them. 36 /* Either int-ack or poll for the IRQ */ in i8259_irq() 43 /* Perform an interrupt acknowledge cycle on controller 1. */ in i8259_irq() 44 outb(0x0C, 0x20); /* prepare for poll */ in i8259_irq() 49 * acknowledge on controller 2. in i8259_irq() 51 outb(0x0C, 0xA0); /* prepare for poll */ in i8259_irq() 61 * significant bit is not set then there is no valid in i8259_irq() [all …]
|
| /kernel/linux/linux-5.10/arch/um/os-Linux/ |
| D | sigio.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2002 - 2008 Jeff Dike (jdike@{addtoit,linux.intel}.com) 9 #include <poll.h> 15 #include <init.h> 24 static int write_sigio_pid = -1; 30 * On the UML side, they are changed under the sigio_lock. 32 #define SIGIO_FDS_INIT {-1, -1} 38 struct pollfd *poll; member 61 n = poll(fds->poll, fds->used, -1); in write_sigio_thread() 65 printk(UM_KERN_ERR "write_sigio_thread : poll returned " in write_sigio_thread() [all …]
|
| /kernel/linux/linux-6.6/arch/um/os-Linux/ |
| D | sigio.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2002 - 2008 Jeff Dike (jdike@{addtoit,linux.intel}.com) 9 #include <poll.h> 15 #include <init.h> 24 static int write_sigio_pid = -1; 30 * On the UML side, they are changed under the sigio_lock. 32 #define SIGIO_FDS_INIT {-1, -1} 38 struct pollfd *poll; member 61 n = poll(fds->poll, fds->used, -1); in write_sigio_thread() 65 printk(UM_KERN_ERR "write_sigio_thread : poll returned " in write_sigio_thread() [all …]
|
| /kernel/linux/linux-6.6/drivers/macintosh/ |
| D | via-macii.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device driver for the via ADB on (many) Mac II-class machines 5 * Based on the original ADB keyboard handler Copyright (c) 1997 Alan Cox 13 * 1999-08-02 (jmt) - Initial rewrite for Unified ADB. 14 * 2000-03-29 Tony Mantler <tonym@mac.linux-m68k.org> 15 * - Big overhaul, should actually work now. 16 * 2006-12-31 Finn Thain - Another overhaul. 24 * ftp://ftp.apple.com/developer/Tool_Chest/Devices_-_Hardware/Apple_Desktop_Bus/ 32 #include <linux/init.h> 39 /* VIA registers - spaced 0x200 bytes apart */ [all …]
|
| /kernel/linux/linux-5.10/drivers/macintosh/ |
| D | via-macii.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device driver for the via ADB on (many) Mac II-class machines 5 * Based on the original ADB keyboard handler Copyright (c) 1997 Alan Cox 13 * 1999-08-02 (jmt) - Initial rewrite for Unified ADB. 14 * 2000-03-29 Tony Mantler <tonym@mac.linux-m68k.org> 15 * - Big overhaul, should actually work now. 16 * 2006-12-31 Finn Thain - Another overhaul. 24 * ftp://ftp.apple.com/developer/Tool_Chest/Devices_-_Hardware/Apple_Desktop_Bus/ 34 #include <linux/init.h> 41 /* VIA registers - spaced 0x200 bytes apart */ [all …]
|
| /kernel/linux/linux-6.6/drivers/isdn/mISDN/ |
| D | dsp_core.c | 3 * Based on source code structure by 12 * Real-time tone generation 14 * Real-time cross-connection and conferrence 23 * The dsp module provides layer 2 for b-channels (64kbit). It provides 26 * - (1) generation of tones 27 * - (2) detection of dtmf tones 28 * - (3) crossconnecting and conferences (clocking) 29 * - (4) echo generation for delay test 30 * - (5) volume control 31 * - (6) disable receive data [all …]
|
| /kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
| D | dsp_core.c | 3 * Based on source code structure by 12 * Real-time tone generation 14 * Real-time cross-connection and conferrence 23 * The dsp module provides layer 2 for b-channels (64kbit). It provides 26 * - (1) generation of tones 27 * - (2) detection of dtmf tones 28 * - (3) crossconnecting and conferences (clocking) 29 * - (4) echo generation for delay test 30 * - (5) volume control 31 * - (6) disable receive data [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | fuse.h | 1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */ 4 Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu> 9 This -- and only this -- header file may also be distributed under 12 Copyright (C) 2001-2007 Miklos Szeredi. All rights reserved. 26 ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE 30 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 42 * - add the following messages: 48 * - add padding to messages to accommodate 32-bit servers on 64-bit kernels 51 * - add FOPEN_DIRECT_IO and FOPEN_KEEP_CACHE flags 52 * - add FUSE_FSYNCDIR message [all …]
|
| /kernel/linux/linux-6.6/include/misc/ |
| D | cxl.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 10 #include <linux/poll.h> 35 * - cxl_dev_context_init() 36 * - cxl_start_context() 37 * - cxl_stop_context() 38 * - cxl_start_context() 39 * - cxl_stop_context() 41 * - cxl_release_context() 65 * On pci_enabled_device(), the cxl driver will init a single cxl context for 70 * doesn't need to be released as this will be done by the PCI subsystem on hot [all …]
|
| /kernel/linux/linux-5.10/include/misc/ |
| D | cxl.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 10 #include <linux/poll.h> 35 * - cxl_dev_context_init() 36 * - cxl_start_context() 37 * - cxl_stop_context() 38 * - cxl_start_context() 39 * - cxl_stop_context() 41 * - cxl_release_context() 65 * On pci_enabled_device(), the cxl driver will init a single cxl context for 70 * doesn't need to be released as this will be done by the PCI subsystem on hot [all …]
|
| /kernel/linux/linux-5.10/drivers/tty/vt/ |
| D | vc_screen.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * /dev/vcsuN: similar to /dev/vcsaN but using 4-byte unicode values 14 * instead of 1-byte screen glyph values. 22 * aeb@cwi.nl - efter Friedas begravelse - 950211 24 * machek@k332.feld.cvut.cz - modified not to send characters to wrong console 25 * - fixed some fatal off-by-one bugs (0-- no longer == -1 -> looping and looping and looping...) 26 * - making it shorter - scr_readw are macros which expand in PRETTY long code 36 #include <linux/init.h> 44 #include <linux/poll.h> 64 * This relies on MAX_NR_CONSOLES being <= 63, meaning 63 actual consoles [all …]
|
| /kernel/linux/linux-6.6/drivers/tty/vt/ |
| D | vc_screen.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * /dev/vcsuN: similar to /dev/vcsaN but using 4-byte unicode values 14 * instead of 1-byte screen glyph values. 22 * aeb@cwi.nl - efter Friedas begravelse - 950211 24 * machek@k332.feld.cvut.cz - modified not to send characters to wrong console 25 * - fixed some fatal off-by-one bugs (0-- no longer == -1 -> looping and looping and looping...) 26 * - making it shorter - scr_readw are macros which expand in PRETTY long code 36 #include <linux/init.h> 44 #include <linux/poll.h> 64 * This relies on MAX_NR_CONSOLES being <= 63, meaning 63 actual consoles [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | fuse.h | 1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */ 4 Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu> 9 This -- and only this -- header file may also be distributed under 12 Copyright (C) 2001-2007 Miklos Szeredi. All rights reserved. 26 ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE 30 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 42 * - add the following messages: 48 * - add padding to messages to accommodate 32-bit servers on 64-bit kernels 51 * - add FOPEN_DIRECT_IO and FOPEN_KEEP_CACHE flags 52 * - add FUSE_FSYNCDIR message [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
| D | wd_timer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * OMAP2+ MPU WD_TIMER-specific code 12 #include <linux/platform_data/omap-wd-timer.h> 23 * settings, WDT module is reset during init. This enables the watchdog 25 * during init. Otherwise the system would reboot as per the default 37 return -EINVAL; in omap2_wd_timer_disable() 43 oh->name, __func__); in omap2_wd_timer_disable() 44 return -EINVAL; in omap2_wd_timer_disable() 60 * omap2_wdtimer_reset - reset and disable the WDTIMER IP block 63 * After the WDTIMER IP blocks are reset on OMAP2/3, we must also take [all …]
|
| /kernel/linux/linux-6.6/arch/arm/mach-omap2/ |
| D | wd_timer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * OMAP2+ MPU WD_TIMER-specific code 12 #include <linux/platform_data/omap-wd-timer.h> 23 * settings, WDT module is reset during init. This enables the watchdog 25 * during init. Otherwise the system would reboot as per the default 37 return -EINVAL; in omap2_wd_timer_disable() 43 oh->name, __func__); in omap2_wd_timer_disable() 44 return -EINVAL; in omap2_wd_timer_disable() 60 * omap2_wdtimer_reset - reset and disable the WDTIMER IP block 63 * After the WDTIMER IP blocks are reset on OMAP2/3, we must also take [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
| D | base.c | 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 32 if (therm->func->temp_get) in nvkm_therm_temp_get() 33 return therm->func->temp_get(therm); in nvkm_therm_temp_get() 34 return -ENODEV; in nvkm_therm_temp_get() 40 struct nvbios_therm_trip_point *trip = therm->fan->bios.trip, in nvkm_therm_update_trip() 42 *last_trip = therm->last_trip; in nvkm_therm_update_trip() 43 u8 temp = therm->func->temp_get(therm); in nvkm_therm_update_trip() 48 for (i = 0; i < therm->fan->bios.nr_fan_trip; i++) { in nvkm_therm_update_trip() 54 if (last_trip && temp <= (last_trip->temp) && in nvkm_therm_update_trip() 55 temp > (last_trip->temp - last_trip->hysteresis)) in nvkm_therm_update_trip() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
| D | base.c | 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 32 if (therm->func->temp_get) in nvkm_therm_temp_get() 33 return therm->func->temp_get(therm); in nvkm_therm_temp_get() 34 return -ENODEV; in nvkm_therm_temp_get() 40 struct nvbios_therm_trip_point *trip = therm->fan->bios.trip, in nvkm_therm_update_trip() 42 *last_trip = therm->last_trip; in nvkm_therm_update_trip() 43 u8 temp = therm->func->temp_get(therm); in nvkm_therm_update_trip() 48 for (i = 0; i < therm->fan->bios.nr_fan_trip; i++) { in nvkm_therm_update_trip() 54 if (last_trip && temp <= (last_trip->temp) && in nvkm_therm_update_trip() 55 temp > (last_trip->temp - last_trip->hysteresis)) in nvkm_therm_update_trip() [all …]
|
| /kernel/linux/linux-5.10/arch/x86/kernel/ |
| D | kvm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 #define pr_fmt(fmt) "kvm-guest: " fmt 13 #include <linux/init.h> 54 early_param("no-kvmapf", parse_no_kvmapf); 63 early_param("no-steal-acc", parse_no_stealacc); 71 * No need for any "IO delay" on KVM 97 hlist_for_each(p, &b->list) { in _find_apf_task() 100 if (n->token == token) in _find_apf_task() 113 raw_spin_lock(&b->lock); in kvm_async_pf_queue_task() 116 /* dummy entry exist -> wake up was delivered ahead of PF */ in kvm_async_pf_queue_task() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/aspeed/ |
| D | ibm-power10-dual.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 #address-cells = <2>; 8 #size-cells = <0>; 10 cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_HIGH>; 14 #address-cells = <1>; 15 #size-cells = <1>; 16 chip-id = <0>; 24 compatible = "ibm,fsi-i2c-master"; 26 #address-cells = <1>; 27 #size-cells = <0>; [all …]
|
| /kernel/linux/linux-6.6/arch/x86/kernel/ |
| D | kvm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 #define pr_fmt(fmt) "kvm-guest: " fmt 13 #include <linux/init.h> 57 early_param("no-kvmapf", parse_no_kvmapf); 66 early_param("no-steal-acc", parse_no_stealacc); 74 * No need for any "IO delay" on KVM 100 hlist_for_each(p, &b->list) { in _find_apf_task() 103 if (n->token == token) in _find_apf_task() 116 raw_spin_lock(&b->lock); in kvm_async_pf_queue_task() 119 /* dummy entry exist -> wake up was delivered ahead of PF */ in kvm_async_pf_queue_task() [all …]
|
| /kernel/linux/linux-5.10/drivers/input/mouse/ |
| D | psmouse-base.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 1999-2002 Vojtech Pavlik 6 * Copyright (c) 2003-2004 Dmitry Torokhov 20 #include <linux/init.h> 113 * sysfs). We could use a per-device semaphore but since there 132 x = packet[1] ? packet[1] - ((packet[0] << 4) & 0x100) : 0; in psmouse_report_standard_motion() 133 y = packet[2] ? packet[2] - ((packet[0] << 3) & 0x100) : 0; in psmouse_report_standard_motion() 136 input_report_rel(dev, REL_Y, -y); in psmouse_report_standard_motion() 151 struct input_dev *dev = psmouse->dev; in psmouse_process_byte() 152 u8 *packet = psmouse->packet; in psmouse_process_byte() [all …]
|