Home
last modified time | relevance | path

Searched +full:retain +full:- +full:state +full:- +full:shutdown (Results 1 – 25 of 81) sorted by relevance

1234

/Linux-v6.1/arch/arm/boot/dts/
Daspeed-bmc-ibm-everest.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/i2c/i2c.h>
8 #include <dt-bindings/leds/leds-pca955x.h>
12 compatible = "ibm,everest-bmc", "aspeed,ast2600";
151 stdout-path = &uart5;
160 reserved-memory {
161 #address-cells = <1>;
[all …]
Daspeed-bmc-ibm-rainier.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/i2c/i2c.h>
8 #include <dt-bindings/leds/leds-pca955x.h>
12 compatible = "ibm,rainier-bmc", "aspeed,ast2600";
84 stdout-path = &uart5;
93 reserved-memory {
94 #address-cells = <1>;
[all …]
Daspeed-bmc-facebook-bletchley.dts1 // SPDX-License-Identifier: GPL-2.0+
3 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/usb/pd.h>
8 #include <dt-bindings/leds/leds-pca955x.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/i2c/i2c.h>
14 compatible = "facebook,bletchley-bmc", "aspeed,ast2600";
29 iio-hwmon {
[all …]
Daspeed-bmc-opp-mowgli.dts1 // SPDX-License-Identifier: GPL-2.0+
2 /dts-v1/;
3 #include "aspeed-g5.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
5 #include <dt-bindings/leds/leds-pca955x.h>
9 compatible = "ibm,mowgli-bmc", "aspeed,ast2500";
13 stdout-path = &uart5;
21 reserved-memory {
22 #address-cells = <1>;
23 #size-cells = <1>;
[all …]
Daspeed-bmc-opp-witherspoon.dts1 // SPDX-License-Identifier: GPL-2.0+
2 /dts-v1/;
3 #include "aspeed-g5.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
5 #include <dt-bindings/leds/leds-pca955x.h>
9 compatible = "ibm,witherspoon-bmc", "aspeed,ast2500";
12 stdout-path = &uart5;
20 reserved-memory {
21 #address-cells = <1>;
22 #size-cells = <1>;
[all …]
Daspeed-bmc-opp-swift.dts1 // SPDX-License-Identifier: GPL-2.0+
2 /dts-v1/;
3 #include "aspeed-g5.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
5 #include <dt-bindings/leds/leds-pca955x.h>
9 compatible = "ibm,swift-bmc", "aspeed,ast2500";
12 stdout-path = &uart5;
20 reserved-memory {
21 #address-cells = <1>;
22 #size-cells = <1>;
[all …]
Daspeed-bmc-opp-mihawk.dts1 // SPDX-License-Identifier: GPL-2.0+
2 /dts-v1/;
3 #include "aspeed-g5.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
5 #include <dt-bindings/leds/leds-pca955x.h>
9 compatible = "ibm,mihawk-bmc", "aspeed,ast2500";
59 stdout-path = &uart5;
67 reserved-memory {
68 #address-cells = <1>;
69 #size-cells = <1>;
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/leds/
Dleds-gpio.yaml1 # 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 …]
Dleds-lgm.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-lgm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Zhu, Yi Xin <Yixin.zhu@intel.com>
11 - Amireddy Mallikarjuna reddy <mallikarjunax.reddy@intel.com>
15 const: intel,lgm-ssoled
23 clock-names:
25 - const: sso
26 - const: fpid
[all …]
Dcommon.yaml1 # 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 …]
/Linux-v6.1/drivers/leds/
Dleds-gpio.c1 // SPDX-License-Identifier: GPL-2.0-only
46 if (led_dat->blinking) { in gpio_led_set()
47 led_dat->platform_gpio_blink_set(led_dat->gpiod, level, in gpio_led_set()
49 led_dat->blinking = 0; in gpio_led_set()
51 if (led_dat->can_sleep) in gpio_led_set()
52 gpiod_set_value_cansleep(led_dat->gpiod, level); in gpio_led_set()
54 gpiod_set_value(led_dat->gpiod, level); in gpio_led_set()
70 led_dat->blinking = 1; in gpio_blink_set()
71 return led_dat->platform_gpio_blink_set(led_dat->gpiod, GPIO_LED_BLINK, in gpio_blink_set()
80 int ret, state; in create_gpio_led() local
[all …]
Dled-class.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (C) 2005-2007 Richard Purdie <rpurdie@openedhand.com>
35 return sprintf(buf, "%u\n", led_cdev->brightness); in brightness_show()
42 unsigned long state; in brightness_store() local
45 mutex_lock(&led_cdev->led_access); in brightness_store()
48 ret = -EBUSY; in brightness_store()
52 ret = kstrtoul(buf, 10, &state); in brightness_store()
56 if (state == LED_OFF) in brightness_store()
58 led_set_brightness(led_cdev, state); in brightness_store()
59 flush_work(&led_cdev->set_brightness_work); in brightness_store()
[all …]
/Linux-v6.1/Documentation/scsi/
Daic79xx.rst1 .. SPDX-License-Identifier: GPL-2.0
28 AIC-7901A Single Channel 64-bit PCI-X 133MHz to
30 AIC-7901B Single Channel 64-bit PCI-X 133MHz to
32 AIC-7902A4 Dual Channel 64-bit PCI-X 133MHz to
34 AIC-7902B Dual Channel 64-bit PCI-X 133MHz to
41 Adaptec SCSI Card 39320 Dual Channel 64-bit PCI-X 133MHz to 7902A4/7902B
43 68-pin, two internal 68-pin)
44 Adaptec SCSI Card 39320A Dual Channel 64-bit PCI-X 133MHz to 7902B
46 68-pin, two internal 68-pin)
47 Adaptec SCSI Card 39320D Dual Channel 64-bit PCI-X 133MHz to 7902A4
[all …]
/Linux-v6.1/drivers/parisc/
Dpower.c5 * Copyright (c) 2001-2007 Helge Deller <deller@gmx.de>
12 * 1. Redistributions of source code must retain the above copyright
79 /* local shutdown counter */
82 /* check, give feedback and start shutdown after one second */
86 printk(KERN_ALERT KTHREAD_NAME ": Shutdown requested...\n"); in process_shutdown()
114 /* main kernel thread worker. It polls the button state */
130 * Non-Gecko-style machines: in kpowerswd()
152 printk(KERN_INFO KTHREAD_NAME ": Shutdown request aborted.\n"); in kpowerswd()
180 * executed any longer. This function then re-enables the
181 * soft-power switch and allows the user to switch off the system
[all …]
/Linux-v6.1/drivers/scsi/elx/libefc/
Defc_node.c1 // SPDX-License-Identifier: GPL-2.0
14 struct efc_node *node = rnode->node; in efc_remote_node_cb()
17 spin_lock_irqsave(&efc->lock, flags); in efc_remote_node_cb()
19 spin_unlock_irqrestore(&efc->lock, flags); in efc_remote_node_cb()
28 return xa_load(&nport->lookup, port_id); in efc_node_find()
35 struct efc *efc = node->efc; in _efc_node_free()
38 dma = &node->sparm_dma_buf; in _efc_node_free()
39 dma_pool_free(efc->node_dma_pool, dma->virt, dma->phys); in _efc_node_free()
41 mempool_free(node, efc->node_pool); in _efc_node_free()
49 struct efc *efc = nport->efc; in efc_node_alloc()
[all …]
/Linux-v6.1/arch/arm64/boot/dts/rockchip/
Drk3566-soquartz.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/pinctrl/rockchip.h>
21 stdout-path = "serial2:1500000n8";
24 gmac1_clkin: external-gmac1-clock {
25 compatible = "fixed-clock";
26 clock-frequency = <125000000>;
27 clock-output-names = "gmac1_clkin";
28 #clock-cells = <0>;
[all …]
Drk3566-quartz64-a.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/pinctrl/rockchip.h>
7 #include <dt-bindings/soc/rockchip,vop2.h>
11 model = "Pine64 RK3566 Quartz64-A Board";
12 compatible = "pine64,quartz64-a", "rockchip,rk3566";
21 stdout-path = "serial2:1500000n8";
24 gmac1_clkin: external-gmac1-clock {
25 compatible = "fixed-clock";
[all …]
/Linux-v6.1/include/uapi/linux/
Dtipc.h1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
5 * Copyright (c) 2003-2006, 2015-2016 Ericsson AB
6 * Copyright (c) 2005, 2010-2011, Wind River Systems
12 * 1. Redistributions of source code must retain the above copyright
65 * Application-accessible service types
68 #define TIPC_NODE_STATE 0 /* node state service type */
70 #define TIPC_LINK_STATE 2 /* link state service type */
71 #define TIPC_RESERVED_TYPES 64 /* lowest user-allowed service type */
97 * Msg rejection/connection shutdown reasons
180 * TIPC-specific socket option names
[all …]
/Linux-v6.1/crypto/
Dalgif_rng.c2 * algif_rng: User-space interface for random number generators
4 * This file provides the user-space API for random number generators.
11 * 1. Redistributions of source code must retain the above copyright
25 * the restrictions contained in a BSD-style copyright.)
51 MODULE_DESCRIPTION("User-space interface for random number generators");
68 kfree_sensitive(ctx->addtl); in rng_reset_addtl()
69 ctx->addtl = NULL; in rng_reset_addtl()
70 ctx->addtl_len = 0; in rng_reset_addtl()
110 struct sock *sk = sock->sk; in rng_recvmsg()
112 struct rng_ctx *ctx = ask->private; in rng_recvmsg()
[all …]
/Linux-v6.1/drivers/soc/fsl/qbman/
Dbman_portal.c1 /* Copyright 2008 - 2016 Freescale Semiconductor, Inc.
5 * * Redistributions of source code must retain the above copyright
44 dev_crit(pcfg->dev, "%s: Portal failure on cpu %d\n", in init_pcfg()
45 __func__, pcfg->cpu); in init_pcfg()
50 affine_bportals[pcfg->cpu] = p; in init_pcfg()
52 dev_info(pcfg->dev, "Portal initialised, cpu %d\n", pcfg->cpu); in init_pcfg()
71 irq_set_affinity(pcfg->irq, cpumask_of(cpu)); in bman_offline_cpu()
87 irq_set_affinity(pcfg->irq, cpumask_of(cpu)); in bman_online_cpu()
99 struct device *dev = &pdev->dev; in bman_portal_probe()
100 struct device_node *node = dev->of_node; in bman_portal_probe()
[all …]
/Linux-v6.1/fs/xfs/
Dxfs_mount.h1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
45 #define XFS_ERR_RETRY_FOREVER -1
50 * signed 32-bit long is sufficient for a HZ value up to 24855. Making it
51 * signed lets us store the special "-1" value, meaning retry forever.
56 long retry_timeout; /* in jiffies, -1 = infinite */
60 * Per-cpu deferred inode inactivation GC lists.
72 * The struct xfsmount layout is optimised to separate read-mostly variables
73 * from variables that are frequently modified. We put the read-mostly variables
76 * Typically, read-mostly variables are those that are set at mount time and
[all …]
/Linux-v6.1/net/rds/
Dthreads.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
56 * ANY -> ERROR
57 * UP -> DISCONNECTING
58 * ERROR -> DISCONNECTING
59 * DISCONNECTING -> DOWN
60 * DOWN -> CONNECTING
61 * CONNECTING -> UP
63 * Transition to state DISCONNECTING/DOWN:
64 * - Inside the shutdown worker; synchronizes with xmit path
[all …]
/Linux-v6.1/Documentation/admin-guide/pm/
Dsleep-states.rst1 .. SPDX-License-Identifier: GPL-2.0
13 Sleep states are global low-power states of the entire system in which user
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
35 working state), such that the processors can spend time in their deepest idle
38 The system is woken up from this state by in-band interrupts, so theoretically
39 any devices that can cause interrupts to be generated in the working state can
42 This state can be used on platforms without support for :ref:`standby <standby>`
[all …]
/Linux-v6.1/Documentation/ABI/stable/
Dsysfs-driver-mlxreg-io1 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic_health
6 0 - health failed, 2 - health OK, 3 - ASIC in booting state.
10 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version
11 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version
20 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/fan_dir
25 forward direction - relevant bit is set 0;
26 reversed direction - relevant bit is set 1.
30 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_version
39 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_enable
48 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/select_iio
[all …]
/Linux-v6.1/Documentation/core-api/
Dkernel-api.rst9 .. kernel-doc:: include/linux/list.h
22 ------------------
24 .. kernel-doc:: lib/vsprintf.c
27 .. kernel-doc:: include/linux/kstrtox.h
30 .. kernel-doc:: lib/kstrtox.c
33 .. kernel-doc:: lib/string_helpers.c
37 -------------------
39 .. kernel-doc:: lib/string.c
42 .. kernel-doc:: include/linux/string.h
45 .. kernel-doc:: mm/util.c
[all …]

1234