Home
last modified time | relevance | path

Searched +full:off +full:- +full:on +full:- +full:delay +full:- +full:us (Results 1 – 25 of 1054) sorted by relevance

12345678910>>...43

/kernel/linux/linux-5.10/drivers/staging/hikey9xx/
Dhisilicon,hi6421-spmi-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mfd/hisilicon,hi6421-spmi-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
16 The GPIO and interrupt settings are represented as part of the top-level PMIC
20 drivers/staging/hikey9xx/hisilicon,hisi-spmi-controller.yaml.
24 pattern: "pmic@[0-9a-f]"
27 const: hisilicon,hi6421v600-spmi
32 '#interrupt-cells':
[all …]
Dhi6421v600-regulator.c1 // SPDX-License-Identifier: GPL-2.0
20 #include <linux/delay.h>
24 #include <linux/mfd/hi6421-spmi-pmic.h>
41 pr_debug("%s: %s: " fmt, (rdev)->desc->name, __func__, ##arg)
59 struct hi6421_spmi_pmic *pmic = sreg->pmic; in hi6421_spmi_regulator_is_enabled()
62 reg_val = hi6421_spmi_pmic_read(pmic, rdev->desc->enable_reg); in hi6421_spmi_regulator_is_enabled()
66 rdev->desc->enable_reg, in hi6421_spmi_regulator_is_enabled()
67 reg_val, (reg_val & rdev->desc->enable_mask)); in hi6421_spmi_regulator_is_enabled()
69 return ((reg_val & rdev->desc->enable_mask) != 0); in hi6421_spmi_regulator_is_enabled()
75 struct hi6421_spmi_pmic *pmic = sreg->pmic; in hi6421_spmi_regulator_enable()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
Dregulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liam Girdwood <lgirdwood@gmail.com>
11 - Mark Brown <broonie@kernel.org>
14 regulator-name:
18 regulator-min-microvolt:
21 regulator-max-microvolt:
24 regulator-microvolt-offset:
27 regulator-min-microamp:
[all …]
Dfixed-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/regulator/fixed-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liam Girdwood <lgirdwood@gmail.com>
11 - Mark Brown <broonie@kernel.org>
16 expected to have the regulator-min-microvolt and regulator-max-microvolt
20 - $ref: "regulator.yaml#"
26 const: regulator-fixed-clock
28 - clocks
[all …]
/kernel/linux/linux-5.10/drivers/leds/trigger/
Dledtrig-activity.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Partially based on Atsushi Nemoto's ledtrig-heartbeat.c.
36 struct led_classdev *led_cdev = activity_data->led_cdev; in led_activity_function()
39 int delay; in led_activity_function() local
47 if (test_and_clear_bit(LED_BLINK_BRIGHTNESS_CHANGE, &led_cdev->work_flags)) in led_activity_function()
48 led_cdev->blink_brightness = led_cdev->new_blink_brightness; in led_activity_function()
52 led_set_brightness_nosleep(led_cdev, led_cdev->blink_brightness); in led_activity_function()
74 * down to 16us, ensuring we won't overflow 32-bit computations below in led_activity_function()
75 * even up to 3k CPUs, while keeping divides cheap on smaller systems. in led_activity_function()
78 diff_boot = (curr_boot - activity_data->last_boot) >> 16; in led_activity_function()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mmc/
Dmmc-pwrseq-simple.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mmc/mmc-pwrseq-simple.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ulf Hansson <ulf.hansson@linaro.org>
14 of common properties between various SOC designs. It thus enables us to use
19 const: mmc-pwrseq-simple
21 reset-gpios:
28 They will be de-asserted right after the power has been provided to the
33 description: Handle for the entry in clock-names.
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Ds5pv210-aries.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
32 reserved-memory {
33 #address-cells = <1>;
34 #size-cells = <1>;
38 compatible = "shared-dma-pool";
39 no-map;
44 compatible = "shared-dma-pool";
[all …]
Drk3066a-mk808.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
14 stdout-path = "serial2:115200n8";
22 gpio-leds {
23 compatible = "gpio-leds";
25 blue_led: led-0 {
28 default-state = "off";
29 linux,default-trigger = "default-on";
34 compatible = "hdmi-connector";
39 remote-endpoint = <&hdmi_out_con>;
[all …]
/kernel/linux/linux-5.10/tools/power/pm-graph/config/
Dexample.cfg5 # all the tool arguments so that they don't have to be given on the
9 # sudo ./sleepgraph.py -config config/example.cfg
14 # ---- General Options ----
26 output-dir: suspend-{hostname}-{date}-{time}
29 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15)
37 # insert a small visible gap between suspend and resume on the timeline (default: false)
49 # Enable/disable runtime suspend for all devices, restore all after test (default: no-action)
52 # Turn display on/off for test
53 # Switch the display on/off for the test using xset (default: no-action)
54 # display: on
[all …]
Dsuspend-x2-proc.cfg2 # Proc S3 (Suspend to Mem) x2 test - includes user processes
5 # all the tool arguments so that they don't have to be given on the
9 # sudo ./sleepgraph.py -config config/suspend-proc.cfg
14 # ---- General Options ----
26 output-dir: suspend-{hostname}-{date}-{time}-x2-proc
29 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15)
37 # insert a small visible gap between suspend and resume on the timeline (default: false)
40 # ---- Advanced Options ----
57 # Back to Back Suspend Delay
58 # Time delay between the two test runs in ms (default: 0 ms)
[all …]
Dsuspend-dev.cfg2 # Dev S3 (Suspend to Mem) test - includes src calls / kernel threads
5 # all the tool arguments so that they don't have to be given on the
9 # sudo ./sleepgraph.py -config config/suspend-dev.cfg
14 # ---- General Options ----
26 output-dir: suspend-{hostname}-{date}-{time}-dev
29 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15)
37 # insert a small visible gap between suspend and resume on the timeline (default: false)
40 # ---- Advanced Options ----
57 # Back to Back Suspend Delay
58 # Time delay between the two test runs in ms (default: 0 ms)
[all …]
Dfreeze-dev.cfg2 # Dev S2 (Freeze) test - includes src calls / kernel threads
5 # all the tool arguments so that they don't have to be given on the
9 # sudo ./sleepgraph.py -config config/freeze-dev.cfg
14 # ---- General Options ----
26 output-dir: freeze-{hostname}-{date}-{time}-dev
29 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15)
37 # insert a small visible gap between suspend and resume on the timeline (default: false)
40 # ---- Advanced Options ----
57 # Back to Back Suspend Delay
58 # Time delay between the two test runs in ms (default: 0 ms)
[all …]
Dstandby-dev.cfg2 # Dev S1 (Standby) test - includes src calls / kernel threads
5 # all the tool arguments so that they don't have to be given on the
9 # sudo ./sleepgraph.py -config config/standby-dev.cfg
14 # ---- General Options ----
26 output-dir: standby-{hostname}-{date}-{time}-dev
29 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15)
37 # insert a small visible gap between suspend and resume on the timeline (default: false)
40 # ---- Advanced Options ----
57 # Back to Back Suspend Delay
58 # Time delay between the two test runs in ms (default: 0 ms)
[all …]
/kernel/linux/linux-5.10/drivers/scsi/ufs/
Dufs_quirks.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
22 * ufs_dev_fix - ufs device quirk info
51 * - As soon as SW sees the DL NAC error, it should schedule the error handler
52 * - Error handler would sleep for 50ms to see if there are any fatal errors
54 * - If there are fatal errors then SW does normal error recovery.
55 * - If there are no fatal errors then SW sends the NOP command to device
57 * - If NOP command times out, SW does normal error recovery
58 * - If NOP command succeed, skip the error handling.
68 * 600us which may not be enough for reliable hibern8 exit hardware sequence
[all …]
/kernel/linux/linux-5.10/Documentation/trace/
Dftrace.rst2 ftrace - Function Tracer
13 - Written for: 2.6.28-rc2
14 - Updated for: 3.10
15 - Updated for: 4.13 - Copyright 2017 VMware Inc. Steven Rostedt
16 - Converted to rst format - Changbin Du <changbin.du@intel.com>
19 ------------
22 designers of systems to find what is going on inside the kernel.
24 performance issues that take place outside of user-space.
35 going on in certain parts of the kernel.
41 ----------------------
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/
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 …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/nvidia/
Dtegra210-p2180.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/mfd/max77620.h>
17 stdout-path = "serial0:115200n8";
26 vdd-supply = <&vdd_gpu>;
36 clock-frequency = <400000>;
41 interrupt-parent = <&tegra_pmc>;
44 #interrupt-cells = <2>;
45 interrupt-controller;
47 #gpio-cells = <2>;
48 gpio-controller;
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/
Di2c-arb-gpio-challenge.txt1 GPIO-based I2C Arbitration Using a Challenge & Response Mechanism
7 the standard I2C multi-master rules. Using GPIOs is generally useful in
8 the case where there is a device on the bus that has errata and/or bugs
13 * Having two masters on a bus in general makes it relatively hard to debug
15 some device on the bus).
20 All masters on the bus have a 'bus claim' line which is an output that the
21 others can see. These are all active low with pull-ups enabled. We'll
24 - OUR_CLAIM: output from us signaling to other hosts that we want the bus
25 - THEIR_CLAIMS: output from others signaling that they want the bus
38 5. If not, back off, release the claim and wait for a few more milliseconds.
[all …]
/kernel/linux/linux-5.10/drivers/clk/qcom/
Dgdsc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2015, 2017-2018, 2022, The Linux Foundation. All rights reserved.
7 #include <linux/delay.h>
16 #include <linux/reset-controller.h>
41 /* Transition delay shifts */
58 /* Returns 1 if GDSC status is status, 0 if not, and < 0 on error */
65 if (sc->flags & POLL_CFG_GDSCR) in gdsc_check_status()
66 reg = sc->gdscr + CFG_GDSCR_OFFSET; in gdsc_check_status()
67 else if (sc->gds_hw_ctrl) in gdsc_check_status()
68 reg = sc->gds_hw_ctrl; in gdsc_check_status()
[all …]
/kernel/linux/linux-5.10/drivers/phy/intel/
Dphy-intel-keembay-emmc.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <linux/delay.h>
66 ret = regmap_update_bits(priv->syscfg, PHY_CFG_0, PWR_DOWN_MASK, in keembay_emmc_phy_power()
69 dev_err(&phy->dev, "CALIO power down bar failed: %d\n", ret); in keembay_emmc_phy_power()
73 ret = regmap_update_bits(priv->syscfg, PHY_CFG_0, DLL_EN_MASK, in keembay_emmc_phy_power()
76 dev_err(&phy->dev, "turn off the dll failed: %d\n", ret); in keembay_emmc_phy_power()
80 /* Already finish power off above */ in keembay_emmc_phy_power()
84 mhz = DIV_ROUND_CLOSEST(clk_get_rate(priv->emmcclk), 1000000); in keembay_emmc_phy_power()
100 dev_warn(&phy->dev, "Unsupported rate: %d MHz\n", mhz); in keembay_emmc_phy_power()
104 * cycle takes more than 2us without the minimal recommended in keembay_emmc_phy_power()
[all …]
/kernel/linux/linux-5.10/tools/power/pm-graph/
Dsleepgraph.83 sleepgraph \- Suspend/Resume timing analysis
21 Generates output files in subdirectory: suspend-yymmdd-HHMMSS
27 \fB-h\fR
30 \fB-v\fR
33 \fB-verbose\fR
36 \fB-config \fIfile\fR
39 \fB-m \fImode\fR
42 \fB-o \fIname\fR
46 e.g. suspend-{hostname}-{date}-{time}
48 \fB-rtcwake \fIt\fR | off
[all …]
/kernel/linux/linux-5.10/drivers/regulator/
Dhi6421-regulator.c1 // SPDX-License-Identifier: GPL-2.0
5 // Copyright (c) <2011-2014> HiSilicon Technologies Co., Ltd.
7 // Copyright (c) <2013-2014> Linaro Ltd.
22 #include <linux/mfd/hi6421-pmic.h>
25 * struct hi6421_regulator_pdata - Hi6421 regulator data of platform device
33 * struct hi6421_regulator_info - hi6421 regulator information
118 * _id - LDO id name string
119 * _match - of match name string
120 * v_table - voltage table
121 * vreg - voltage select register
[all …]
/kernel/linux/linux-5.10/include/linux/mfd/samsung/
Ds2mps14.h1 /* SPDX-License-Identifier: GPL-2.0+ */
117 * Default ramp delay in uv/us. Datasheet says that ramp delay can be
127 /* On/Off controlled by PWREN */
129 /* On/Off controlled by LDO10EN or EMMCEN */
/kernel/linux/linux-5.10/arch/mips/loongson2ef/lemote-2f/
Dec_kb3310b.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
6 * Author: liujl <liujl@lemote.com>, 2008-03-14
34 * EC delay time is 500us for register and status access
36 #define EC_REG_DELAY 500 /* unit : us */
134 /* LCD backlight control: off/restore */
138 /* Reset the machine auto-clear: rd/wr */
148 /* Test led mode, all led on/off */
152 /* Camera on/off */
170 EVENT_OVERTEMP, /* Over-temperature happened */
172 EVENT_CAMERA, /* Camera on/off */
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/
Didle-states.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/arm/idle-states.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
14 1 - Introduction
18 where cores can be put in different low-power states (ranging from simple wfi
20 range of dynamic idle states that a processor can enter at run-time, can be
22 enter/exit specific idle states on a given processor.
27 - Running
[all …]

12345678910>>...43