/Linux-v6.1/drivers/leds/trigger/ |
D | ledtrig-disk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * LED Disk Activity Trigger 40 led_trigger_register_simple("disk-activity", &ledtrig_disk); in ledtrig_disk_init() 41 led_trigger_register_simple("disk-read", &ledtrig_disk_read); in ledtrig_disk_init() 42 led_trigger_register_simple("disk-write", &ledtrig_disk_write); in ledtrig_disk_init() 43 led_trigger_register_simple("ide-disk", &ledtrig_ide); in ledtrig_disk_init()
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 18 For more details read Documentation/leds/leds-class.rst. 23 tristate "LED One-shot Trigger" 25 This allows LEDs to blink in one-shot pulses with parameters 36 bool "LED Disk Trigger" 39 This allows LEDs to be controlled by disk activity. 46 This allows LEDs to be controlled by MTD activity. 53 The flash frequency is a hyperbolic function of the 1-minute 76 tristate "LED activity Trigger" 131 This allows LEDs to be controlled by network device activity. [all …]
|
D | ledtrig-mtd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Based on LED IDE-Disk Activity Trigger 37 led_trigger_register_simple("nand-disk", &ledtrig_nand); in ledtrig_mtd_init()
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledtrig-timer.o 3 obj-$(CONFIG_LEDS_TRIGGER_ONESHOT) += ledtrig-oneshot.o 4 obj-$(CONFIG_LEDS_TRIGGER_DISK) += ledtrig-disk.o 5 obj-$(CONFIG_LEDS_TRIGGER_MTD) += ledtrig-mtd.o 6 obj-$(CONFIG_LEDS_TRIGGER_HEARTBEAT) += ledtrig-heartbeat.o 7 obj-$(CONFIG_LEDS_TRIGGER_BACKLIGHT) += ledtrig-backlight.o 8 obj-$(CONFIG_LEDS_TRIGGER_GPIO) += ledtrig-gpio.o 9 obj-$(CONFIG_LEDS_TRIGGER_CPU) += ledtrig-cpu.o 10 obj-$(CONFIG_LEDS_TRIGGER_ACTIVITY) += ledtrig-activity.o [all …]
|
/Linux-v6.1/Documentation/ABI/testing/ |
D | sysfs-block-device | 4 Contact: linux-ide@vger.kernel.org 6 (RW) Used by drivers which support software controlled activity 12 0 OFF - the LED is not activated on activity 13 1 BLINK_ON - the LED blinks on every 10ms when activity is 15 2 BLINK_OFF - the LED is on when idle, and blinks off 16 every 10ms when activity is detected. 20 control the activity LED via the em_message file. 26 Contact: linux-ide@vger.kernel.org 28 (RW) Hard disk shock protection 34 - If the device does not support the unload heads feature, [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/leds/ |
D | common.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacek Anaszewski <jacek.anaszewski@gmail.com> 11 - Pavel Machek <pavel@ucw.cz> 25 led-sources: 30 $ref: /schemas/types.yaml#/definitions/uint32-array 35 from the header include/dt-bindings/leds/common.h. If there is no 42 the header include/dt-bindings/leds/common.h. If there is no matching 48 function-enumerator: [all …]
|
D | leds-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacek Anaszewski <jacek.anaszewski@gmail.com> 11 - Pavel Machek <pavel@ucw.cz> 14 Each LED is represented as a sub-node of the gpio-leds device. Each 19 const: gpio-leds 24 "(^led-[0-9a-f]$|led)": 33 retain-state-suspended: [all …]
|
/Linux-v6.1/include/dt-bindings/leds/ |
D | common.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 45 /* Obsolete equivalent: "shift-key-light" */ 56 #define LED_FUNCTION_DISK "disk" 61 Obsolete equivalents: "status-led:{red,green,blue}" (Motorola Droid 4), 69 #define LED_FUNCTION_PLAYER1 "player-1" 70 #define LED_FUNCTION_PLAYER2 "player-2" 71 #define LED_FUNCTION_PLAYER3 "player-3" 72 #define LED_FUNCTION_PLAYER4 "player-4" 73 #define LED_FUNCTION_PLAYER5 "player-5" 76 #define LED_FUNCTION_ACTIVITY "activity" [all …]
|
/Linux-v6.1/include/linux/ |
D | lru_cache.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 Copyright (C) 2003-2008, LINBIT Information Technologies GmbH. 8 Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>. 9 Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. 24 This header file (and its .c file; kernel-doc of functions see there) 39 We replicate IO (more or less synchronously) to local and remote disk. 42 we need to resync all regions that have been target of in-flight WRITE IO 48 This is known as "write intent log", and can be implemented as on-disk 53 in-flight WRITE IO, e.g. by only lazily clearing the on-disk write-intent 64 [*] usually as a result of a cluster split-brain and insufficient protection. [all …]
|
/Linux-v6.1/arch/parisc/include/asm/ |
D | led.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 #define LED_LAN_TX LED0 /* for LAN transmit activity */ 15 #define LED_LAN_RCV LED1 /* for LAN receive activity */ 16 #define LED_DISK_IO LED2 /* for disk activity */
|
/Linux-v6.1/drivers/block/drbd/ |
D | drbd_actlog.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 Copyright (C) 2003-2008, LINBIT Information Technologies GmbH. 8 Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>. 9 Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. 31 * in the on disk ring buffer */ 38 * purge-all, set-all-idle, set-all-active, ... to-be-defined 48 /* maximum slot number, "al-extents" in drbd.conf speak. 57 * sectors-written since device creation, and other data generation tag 61 /* --- 36 byte used --- */ 76 /* --- 420 bytes used (36 + 64*6) --- */ [all …]
|
D | drbd_int.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 Copyright (C) 2001-2008, LINBIT Information Technologies GmbH. 8 Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>. 9 Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. 29 #include <linux/backing-dev.h> 71 #define ID_SYNCER (-1ULL) 79 dev_printk(level, disk_to_dev((device)->vdisk), fmt, ## args) 81 dev_printk(level, disk_to_dev((peer_device)->device->vdisk), fmt, ## args) 83 printk(level "drbd %s: " fmt, (resource)->name, ## args) 85 printk(level "drbd %s: " fmt, (connection)->resource->name, ## args) [all …]
|
D | drbd_proc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 Copyright (C) 2001-2008, LINBIT Information Technologies GmbH. 8 Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>. 9 Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. 46 typecheck(unsigned long, device->rs_total); in drbd_get_syncer_progress() 47 *rs_total = device->rs_total; in drbd_get_syncer_progress() 54 *bits_left = device->ov_left; in drbd_get_syncer_progress() 56 *bits_left = drbd_bm_total_weight(device) - device->rs_failed; in drbd_get_syncer_progress() 78 unsigned long tmp = 1000UL - left * 1000UL/total; in drbd_get_syncer_progress() 101 y = 20-x; in drbd_syncer_progress() [all …]
|
/Linux-v6.1/Documentation/admin-guide/pm/ |
D | sleep-states.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Sleep states are global low-power states of the entire system in which user 14 space code cannot be executed and the overall system activity is significantly 28 Suspend-to-Idle 29 --------------- 31 This is a generic, pure software, light-weight variant of system suspend (also 34 I/O devices into low-power states (possibly lower-power than available in the 38 The system is woken up from this state by in-band interrupts, so theoretically 43 or :ref:`suspend-to-RAM <s2ram>`, or it can be used in addition to any of the 50 ------- [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | kirkwood-ns2lite.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "kirkwood-ns2-common.dtsi" 8 compatible = "lacie,netspace_lite_v2", "marvell,kirkwood-88f6192", "marvell,kirkwood"; 17 pinctrl-0 = <&pmx_ns2_sata0>; 18 pinctrl-names = "default"; 20 nr-ports = <1>; 24 gpio-leds { 25 compatible = "gpio-leds"; 27 blue-sata { [all …]
|
D | kirkwood-topkick.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 5 #include "kirkwood-6282.dtsi" 8 model = "Universal Scientific Industrial Co. Topkick-1281P2"; 9 compatible = "usi,topkick-1281P2", "usi,topkick", "marvell,kirkwood-88f6282", "marvell,kirkwood"; 18 stdout-path = &uart0; 22 pinctrl: pin-controller@10000 { 26 * /-SW_LEFT(2) 28 * | /-SW_IDLE 30 * | | /-SW_RIGHT [all …]
|
D | intel-ixp42x-iomega-nas100d.dts | 1 // SPDX-License-Identifier: ISC 6 /dts-v1/; 8 #include "intel-ixp42x.dtsi" 9 #include <dt-bindings/input/input.h> 13 compatible = "iom,nas-100d", "intel,ixp42x"; 14 #address-cells = <1>; 15 #size-cells = <1>; 25 stdout-path = "uart0:115200n8"; 33 compatible = "gpio-leds"; 34 led-wlan { [all …]
|
/Linux-v6.1/tools/perf/Documentation/ |
D | perf-timechart.txt | 1 perf-timechart(1) 5 ---- 6 perf-timechart - Tool to visualize total system behavior during a workload 9 -------- 14 ----------- 20 but it's possible to record IO (disk, network) activity using -I argument. 28 Upper bar shows incoming events (disk reads, ingress network packets). 29 Lower bar shows outgoing events (disk writes, egress network packets). 34 ----------------- 35 -o:: [all …]
|
/Linux-v6.1/Documentation/admin-guide/ |
D | iostats.rst | 6 more extensive disk statistics have been introduced to help measure disk 7 activity. Tools such as ``sar`` and ``iostat`` typically interpret these and do 44 each snapshot of your disk statistics. 56 or long-lived system; so applications should be prepared to deal with 58 int (32 bit) or unsigned long (32-bit or 64-bit, depending on your 59 machine) as noted per-field below. Unless your observations are very 63 system-wide stats you'll have to find all the devices and sum them all up. 65 Field 1 -- # of reads completed (unsigned long) 68 Field 2 -- # of reads merged, field 6 -- # of writes merged (unsigned long) 71 ultimately handed to the disk, and so it will be counted (and queued) [all …]
|
/Linux-v6.1/drivers/leds/ |
D | leds-hp6xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * this driver is based on leds-spitz.c by Richard Purdie. 43 .default_trigger = "hp6xx-charge", 50 .default_trigger = "disk-activity", 59 ret = devm_led_classdev_register(&pdev->dev, &hp6xx_red_led); in hp6xxled_probe() 63 return devm_led_classdev_register(&pdev->dev, &hp6xx_green_led); in hp6xxled_probe() 69 .name = "hp6xx-led", 78 MODULE_ALIAS("platform:hp6xx-led");
|
/Linux-v6.1/arch/arm/mach-orion5x/ |
D | board-d2net.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * arch/arm/mach-orion5x/board-d2net.c 5 * LaCie d2Network and Big Disk Network NAS setup 17 #include <asm/mach-types.h> 20 #include <plat/orion-gpio.h> 34 * SATA activity. 57 .default_trigger = "default-on", 73 .name = "leds-gpio", 74 .id = -1, 84 /* Configure register blink_ctrl to allow SATA activity LED blinking. */ in d2net_gpio_leds_init()
|
/Linux-v6.1/Documentation/admin-guide/device-mapper/ |
D | dm-zoned.rst | 2 dm-zoned 5 The dm-zoned device mapper target exposes a zoned block device (ZBC and 7 pattern constraints. In effect, it implements a drive-managed zoned 10 host-managed zoned block devices and can mitigate the potential 11 device-side performance degradation due to excessive random writes on 12 host-aware zoned block devices. 21 http://www.t13.org/Documents/UploadedDocuments/docs2015/di537r05-Zoned_Device_ATA_Command_Set_ZAC.p… 23 The dm-zoned implementation is simple and minimizes system overhead (CPU 25 host-managed disk with 256 MB zones, dm-zoned memory usage per disk 29 dm-zoned target devices are formatted and checked using the dmzadm [all …]
|
/Linux-v6.1/arch/mips/boot/dts/ralink/ |
D | mt7621-gnubee-gb-pc1.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /dts-v1/; 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 10 compatible = "gnubee,gb-pc1", "mediatek,mt7621-soc"; 11 model = "GB-PC1"; 23 gpio-keys { 24 compatible = "gpio-keys"; 26 key-reset { 33 gpio-leds { [all …]
|
D | mt7621-gnubee-gb-pc2.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /dts-v1/; 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 10 compatible = "gnubee,gb-pc2", "mediatek,mt7621-soc"; 11 model = "GB-PC2"; 23 gpio-keys { 24 compatible = "gpio-keys"; 26 key-reset { 33 gpio-leds { [all …]
|
/Linux-v6.1/block/ |
D | blk-core.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 1994, Karl Keyte: Added support for disk statistics 7 * kernel-doc documentation started by NeilBrown <neilb@cse.unsw.edu.au> 8 * - July2000 9 * bio rewrite, highmem i/o, etc, Jens Axboe <axboe@suse.de> - may 2001 19 #include <linux/blk-pm.h> 20 #include <linux/blk-integrity.h> 32 #include <linux/fault-inject.h> 37 #include <linux/t10-pi.h> 42 #include <linux/blk-crypto.h> [all …]
|