Home
last modified time | relevance | path

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

123

/Linux-v5.10/arch/arm/boot/dts/
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-v5.10/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 …]
/Linux-v5.10/drivers/leds/
Dleds-gpio.c1 // SPDX-License-Identifier: GPL-2.0-only
45 if (led_dat->blinking) { in gpio_led_set()
46 led_dat->platform_gpio_blink_set(led_dat->gpiod, level, in gpio_led_set()
48 led_dat->blinking = 0; in gpio_led_set()
50 if (led_dat->can_sleep) in gpio_led_set()
51 gpiod_set_value_cansleep(led_dat->gpiod, level); in gpio_led_set()
53 gpiod_set_value(led_dat->gpiod, level); in gpio_led_set()
69 led_dat->blinking = 1; in gpio_blink_set()
70 return led_dat->platform_gpio_blink_set(led_dat->gpiod, GPIO_LED_BLINK, in gpio_blink_set()
79 int ret, state; in create_gpio_led() local
[all …]
/Linux-v5.10/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-v5.10/drivers/parisc/
Dpower.c5 * Copyright (c) 2001-2007 Helge Deller <deller@gmx.de>
12 * 1. Redistributions of source code must retain the above copyright
78 /* local shutdown counter */
81 /* check, give feedback and start shutdown after one second */
85 printk(KERN_ALERT KTHREAD_NAME ": Shutdown requested...\n"); in process_shutdown()
113 /* main kernel thread worker. It polls the button state */
129 * Non-Gecko-style machines: in kpowerswd()
151 printk(KERN_INFO KTHREAD_NAME ": Shutdown request aborted.\n"); in kpowerswd()
179 * executed any longer. This function then re-enables the
180 * soft-power switch and allows the user to switch off the system
[all …]
/Linux-v5.10/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-v5.10/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-v5.10/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-v5.10/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 …]
Dqman_portal.c1 /* Copyright 2008 - 2016 Freescale Semiconductor, Inc.
5 * * Redistributions of source code must retain the above copyright
48 struct device *dev = pcfg->dev; in portal_set_cpu()
54 pcfg->iommu_domain = iommu_domain_alloc(&platform_bus_type); in portal_set_cpu()
55 if (!pcfg->iommu_domain) { in portal_set_cpu()
61 ((dma_addr_t)1 << min(8 * sizeof(dma_addr_t), (size_t)36)) - 1; in portal_set_cpu()
63 ret = iommu_domain_set_attr(pcfg->iommu_domain, DOMAIN_ATTR_GEOMETRY, in portal_set_cpu()
70 ret = iommu_domain_set_attr(pcfg->iommu_domain, DOMAIN_ATTR_WINDOWS, in portal_set_cpu()
79 ret = iommu_domain_set_attr(pcfg->iommu_domain, in portal_set_cpu()
87 ret = iommu_domain_window_enable(pcfg->iommu_domain, 0, 0, 1ULL << 36, in portal_set_cpu()
[all …]
/Linux-v5.10/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-v5.10/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 …]
Dconnection.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
46 #define RDS_CONNECTION_HASH_MASK (RDS_CONNECTION_HASH_ENTRIES - 1)
65 lhash = (__force u32)laddr->s6_addr32[3]; in rds_conn_bucket()
69 fhash = (__force u32)faddr->s6_addr32[3]; in rds_conn_bucket()
92 if (ipv6_addr_equal(&conn->c_faddr, faddr) && in rds_conn_lookup()
93 ipv6_addr_equal(&conn->c_laddr, laddr) && in rds_conn_lookup()
94 conn->c_trans == trans && in rds_conn_lookup()
95 conn->c_tos == tos && in rds_conn_lookup()
97 conn->c_dev_if == dev_if) { in rds_conn_lookup()
[all …]
Dib_cm.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
52 conn->c_version = version; in rds_ib_set_protocol()
60 struct rds_ib_connection *ic = conn->c_transport_data; in rds_ib_set_flow_control()
64 ic->i_flowctl = 1; in rds_ib_set_flow_control()
67 ic->i_flowctl = 0; in rds_ib_set_flow_control()
73 * low timeout, but not the absolute minimum - this should
77 * smallest infinite number :-) above.
82 * Caller passes in a qp_attr pointer - don't waste stack spacv
90 attr->min_rnr_timer = IB_RNR_TIMER_000_32; in rds_ib_tune_rnr()
[all …]
/Linux-v5.10/Documentation/core-api/
Dkernel-api.rst9 .. kernel-doc:: include/linux/list.h
22 ------------------
24 .. kernel-doc:: lib/vsprintf.c
27 .. kernel-doc:: include/linux/kernel.h
30 .. kernel-doc:: include/linux/kernel.h
33 .. kernel-doc:: lib/kstrtox.c
36 .. kernel-doc:: lib/string_helpers.c
40 -------------------
42 .. kernel-doc:: lib/string.c
45 .. kernel-doc:: include/linux/string.h
[all …]
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/pcie/
Dtrans-gen2.c9 * Copyright(c) 2018 - 2020 Intel Corporation
23 * Copyright(c) 2018 - 2020 Intel Corporation
30 * * Redistributions of source code must retain the above copyright
53 #include "iwl-trans.h"
54 #include "iwl-prph.h"
55 #include "iwl-context-info.h"
56 #include "iwl-context-info-gen3.h"
62 * (e.g. after platform boot, or shutdown via iwl_pcie_apm_stop())
88 * wake device's PCI Express link L1a -> L0s in iwl_pcie_gen2_apm_init()
95 ret = iwl_finish_nic_init(trans, trans->trans_cfg); in iwl_pcie_gen2_apm_init()
[all …]
/Linux-v5.10/drivers/usb/dwc2/
Dplatform.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * platform.c - DesignWare HS OTG Controller platform driver
10 * 1. Redistributions of source code must retain the above copyright
16 * 3. The names of the above-listed copyright holders may not be used
43 #include <linux/dma-mapping.h>
48 #include <linux/platform_data/s3c-hsotg.h>
69 * ------------------------------
71 * HST DEV any : ---
74 * DEV HST any : ---
86 hsotg->dr_mode = usb_get_dr_mode(hsotg->dev); in dwc2_get_dr_mode()
[all …]
/Linux-v5.10/include/linux/
Dremoteproc.h12 * * Redistributions of source code must retain the above copyright
47 * struct resource_table - firmware resource table header
81 * struct fw_rsc_hdr - firmware resource entry header
95 * enum fw_resource_type - types of resource entries
99 * @RSC_DEVMEM: request to iommu_map a memory-based peripheral.
126 #define FW_RSC_ADDR_ANY (-1)
129 * struct fw_rsc_carveout - physically contiguous memory request
135 * @name: human-readable name of the requested memory region
181 * struct fw_rsc_devmem - iommu mapping request
187 * @name: human-readable name of the requested region to be mapped
[all …]
/Linux-v5.10/drivers/net/wimax/i2400m/
Di2400m.h3 * Declarations for bus-generic internal APIs
6 * Copyright (C) 2007-2008 Intel Corporation. All rights reserved.
12 * * Redistributions of source code must retain the above copyright
35 * Intel Corporation <linux-wimax@intel.com>
36 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
38 * - Initial implementation
45 * - bus specific driver
46 * - bus generic driver (this part)
49 * device is connected to (USB, PCI, tam-tam...non-authoritative
50 * nor binding list) which is basically the device-model management
[all …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c2 * Copyright (c) 2013-2015, Mellanox Technologies. All rights reserved.
14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
38 #include <linux/dma-mapping.h>
40 #include <linux/io-mapping.h>
88 MODULE_PARM_DESC(prof_sel, "profile selector. Valid range 0 - 2");
183 return ioread32be(&dev->iseg->initializing) >> 31; in fw_initializing()
197 err = -EBUSY; in wait_fw_init()
202 jiffies_to_msecs(end - warn) / 1000); in wait_fw_init()
226 remaining_size = max_t(int, 0, driver_ver_sz - strlen(string)); in mlx5_set_driver_version()
[all …]
/Linux-v5.10/drivers/infiniband/ulp/iser/
Diser_verbs.c4 * Copyright (c) 2013-2014 Mellanox Technologies. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
50 ib_event_msg(cause->event), cause->event); in iser_qp_event_callback()
57 ib_event_msg(event->event), event->event, in iser_event_handler()
58 dev_name(&event->device->dev), event->element.port_num); in iser_event_handler()
62 * iser_create_device_ib_res - creates Protection Domain (PD), Completion
66 * Return: 0 on success, -1 on failure
70 struct ib_device *ib_dev = device->ib_device; in iser_create_device_ib_res()
72 if (!(ib_dev->attrs.device_cap_flags & IB_DEVICE_MEM_MGT_EXTENSIONS)) { in iser_create_device_ib_res()
[all …]
/Linux-v5.10/arch/arm64/boot/dts/rockchip/
Drk3399-pinebook-pro.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
9 #include <dt-bindings/input/gpio-keys.h>
10 #include <dt-bindings/input/linux-event-codes.h>
11 #include <dt-bindings/pwm/pwm.h>
12 #include <dt-bindings/usb/pd.h>
13 #include <dt-bindings/leds/common.h>
15 #include "rk3399-opp.dtsi"
19 compatible = "pine64,pinebook-pro", "rockchip,rk3399";
22 stdout-path = "serial2:1500000n8";
[all …]

123