Home
last modified time | relevance | path

Searched +full:power +full:- +full:off +full:- +full:time +full:- +full:sec (Results 1 – 25 of 625) sorted by relevance

12345678910>>...25

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/
H A Dmtk-pmic-keys.txt6 of Muti-Function Device (MFD)
12 - compatible: "mediatek,mt6397-keys" or "mediatek,mt6323-keys"
13 - linux,keycodes: See Documentation/devicetree/bindings/input/input.yaml
16 - wakeup-source: See Documentation/devicetree/bindings/power/wakeup-source.txt
17 - mediatek,long-press-mode: Long press key shutdown setting, 1 for
19 - power-off-time-sec: See Documentation/devicetree/bindings/input/input.yaml
29 compatible = "mediatek,mt6397-keys";
30 mediatek,long-press-mode = <1>;
31 power-off-time-sec = <0>;
33 power {
[all …]
H A Dinput.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
21 $ref: /schemas/types.yaml#/definitions/uint32-array
26 poll-interval:
27 description: Poll interval time in milliseconds.
30 power-off-time-sec:
33 power off automatically. Device with key pressed shutdown feature can
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/crypto/
H A Dfsl-sec4.txt2 SEC 4 Device Tree Binding
3 Copyright (C) 2008-2011 Freescale Semiconductor Inc.
6 -Overview
7 -SEC 4 Node
8 -Job Ring Node
9 -Run Time Integrity Check (RTIC) Node
10 -Run Time Integrity Check (RTIC) Memory Node
11 -Secure Non-Volatile Storage (SNVS) Node
12 -Secure Non-Volatile Storage (SNVS) Low Power (LP) RTC Node
13 -Full Example
[all …]
/OK3568_Linux_fs/kernel/drivers/input/misc/
H A Dstpmic1_onkey.c1 // SPDX-License-Identifier: GPL-2.0
15 * struct stpmic1_onkey - OnKey data
29 struct input_dev *input_dev = onkey->input_dev; in onkey_falling_irq()
32 pm_wakeup_event(input_dev->dev.parent, 0); in onkey_falling_irq()
41 struct input_dev *input_dev = onkey->input_dev; in onkey_rising_irq()
44 pm_wakeup_event(input_dev->dev.parent, 0); in onkey_rising_irq()
52 struct stpmic1 *pmic = dev_get_drvdata(pdev->dev.parent); in stpmic1_onkey_probe()
53 struct device *dev = &pdev->dev; in stpmic1_onkey_probe()
61 return -ENOMEM; in stpmic1_onkey_probe()
63 onkey->irq_falling = platform_get_irq_byname(pdev, "onkey-falling"); in stpmic1_onkey_probe()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/
H A Dst,stpmic1.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectonics STPMIC1 Power Management IC bindings
9 description: STMicroelectronics STPMIC1 Power Management IC
12 - pascal Paillet <p.paillet@st.com>
24 "#interrupt-cells":
27 interrupt-controller: true
36 const: st,stpmic1-onkey
40 - description: onkey-falling, happens when onkey is pressed. IT_PONKEY_F of pmic
[all …]
/OK3568_Linux_fs/kernel/drivers/rtc/
H A Drtc-mrst.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rtc-mrst.c: Driver for Moorestown virtual RTC
15 * This driver is based upon drivers/rtc/rtc-cmos.c
23 * * Alarm function is also limited to hr/min/sec.
37 #include <asm/intel-mid.h>
74 * driver chose to use 1972 (1970 is UNIX time start point) as the base,
75 * and does the translation at read/write time.
78 * make it consistent in leap year setting for both vrtc and low-level
81 * year will be parsed as 1960 which is not a valid UNIX time and will
84 static int mrst_read_time(struct device *dev, struct rtc_time *time) in mrst_read_time() argument
[all …]
/OK3568_Linux_fs/u-boot/drivers/power/
H A Dcharge_animation.c4 * SPDX-License-Identifier: GPL-2.0+
20 #include <power/charge_display.h>
21 #include <power/charge_animation.h>
22 #include <power/rockchip_pm.h>
23 #include <power/fuel_gauge.h>
24 #include <power/pmic.h>
25 #include <power/rk8xx_pmic.h>
26 #include <power/regulator.h>
29 #include <irq-generic.h>
37 #define IMAGE_RECALC_IDX -1
[all …]
/OK3568_Linux_fs/kernel/Documentation/hwmon/
H A Dasc7621.rst20 Andigilog has both the PECI and pre-PECI versions of the Heceta-6, as
21 Intel calls them. Heceta-6e has high frequency PWM and Heceta-6p has
23 Heceta-6e part and aSC7621 is the Heceta-6p part. They are both in
28 have used registers below 20h for vendor-specific functions in addition
29 to those in the Intel-specified vendor range.
32 The fan speed control uses this finer value to produce a "step-less" fan
33 PWM output. These two bytes are "read-locked" to guarantee that once a
34 high or low byte is read, the other byte is locked-in until after the
37 sheet says 10-bits of resolution, although you may find the lower bits
47 We offer GPIO features on the former VID pins. These are open-drain
[all …]
/OK3568_Linux_fs/kernel/sound/pci/hda/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "HD-Audio"
23 This option enables the HD-audio controller. Don't forget
27 will be called snd-hda-intel.
43 will be called snd-hda-tegra.
48 bool "Build hwdep interface for HD-audio driver"
51 Say Y here to build a hwdep interface for HD-audio driver.
52 This interface can be used for out-of-band communication
58 Say Y here to enable the HD-audio codec re-configuration feature.
60 codec setup, add extra verbs, and re-configure the codec dynamically.
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dpower.h8 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
9 * Copyright(c) 2013 - 2014 Intel Mobile Communications GmbH
10 * Copyright(c) 2015 - 2017 Intel Deutschland GmbH
11 * Copyright (C) 2018 - 2020 Intel Corporation
27 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
31 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
32 * Copyright(c) 2013 - 2014 Intel Mobile Communications GmbH
33 * Copyright(c) 2015 - 2017 Intel Deutschland GmbH
34 * Copyright (C) 2018 - 2020 Intel Corporation
68 /* Power Management Commands, Responses, Notifications */
[all …]
/OK3568_Linux_fs/kernel/Documentation/networking/device_drivers/hamradio/
H A Dz8530drv.rst1 .. SPDX-License-Identifier: GPL-2.0
5 SCC.C - Linux driver for Z8530 based HDLC cards for AX.25
14 1. ftp://ftp.ccac.rwth-aachen.de/pub/jr/z8530drv-utils_3.0-3.tar.gz
16 2. ftp://ftp.pspt.fi/pub/ham/linux/ax25/z8530drv-utils_3.0-3.tar.gz
41 AX.25-HOWTO on how to emulate a KISS TNC on network device drivers.
54 please read 'man insmod' that comes with module-init-tools.
64 of your rc.*-files. This has to be done BEFORE you can
92 - this is just a delimiter to make sccinit a bit simpler to
96 - the address of the data port A of this Z8530 (needed)
98 - the address of the control port A (needed)
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/
H A Dwlioctl_defs.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * Copyright (C) 1999-2017, Broadcom Corporation
29 * <<Broadcom-WL-IPTag/Open:>>
31 * $Id: wlioctl_defs.h 677667 2017-01-04 07:43:05Z $
87 #define OLD_NRATE_MCS_INUSE 0x00000080 /* MSC in use,indicates b0-6 holds an mcs */
108 #define IBSS_MED 15 /* Mediom in-bss congestion percentage */
109 #define IBSS_HI 25 /* Hi in-bss congestion percentage */
117 #define CCA_FLAG_IGNORE_DURATION 0x04 /* Ignore dwell time for each channel */
138 #define WL_STA_PS 0x00000100 /* STA is in power save mode from AP's viewpoint */
173 #define WL_STA_CAP_PSMP 0x2000 /* Power Save Multi Poll support */
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/include/
H A Drtw_pwrctrl.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
49 * BIT[4] = sub-state
87 #define LPS_DELAY_TIME 1 * HZ /* 1 sec */
96 rf_sleep, /* 802.11 Power Save mode */
97 rf_off, /* HW/SW Radio OFF or Inactive Power Save */
102 /* RF Off Level for IPS or HW/SW radio off */
106 #define RT_RF_OFF_LEVL_HALT_NIC BIT(3) /* NIC halt, re-init hw param*/
107 #define RT_RF_OFF_LEVL_FREE_FW BIT(4) /* FW free, re-download the FW*/
118 ((ppsc->cur_ps_level & _PS_FLAG) ? true : false)
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/ipw2x00/
H A Dipw2100.c1 // SPDX-License-Identifier: GPL-2.0-only
4 Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved.
9 Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
12 Extensions 0.26 package and copyright (c) 1997-2003 Jean Tourrilhes
16 Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen
18 Copyright (c) 2002-2003, Jouni Malinen <j@w1.fi>
34 Tx - Commands and Data
84 There are two locks utilized. The first is the low level lock (priv->low_lock)
87 - Access to the Tx/Rx queue lists via priv->low_lock. The lists are as follows:
89 tx_free_list : Holds pre-allocated Tx buffers.
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/
H A Dwlioctl_defs.h9 * Copyright (C) 1999-2017, Broadcom Corporation
30 * <<Broadcom-WL-IPTag/Open:>>
84 #define GET_PROPRIETARY_11N_MCS_NSS(mcs) (1 + ((mcs) - 85) / 8)
92 #define OLD_NRATE_MCS_INUSE 0x00000080 /* MSC in use,indicates b0-6 holds an mcs */
113 #define IBSS_MED 15 /* Mediom in-bss congestion percentage */
114 #define IBSS_HI 25 /* Hi in-bss congestion percentage */
122 #define CCA_FLAG_IGNORE_DURATION 0x04 /* Ignore dwell time for each channel */
143 #define WL_STA_PS 0x00000100 /* STA is in power save mode from AP's viewpoint */
178 #define WL_STA_CAP_PSMP 0x2000 /* Power Save Multi Poll support */
180 #define WL_STA_CAP_LSIG_TXOP 0x8000 /* L-SIG TXOP protection support */
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A Dwlioctl_defs.h9 * Copyright (C) 1999-2017, Broadcom Corporation
30 * <<Broadcom-WL-IPTag/Open:>>
84 #define GET_PROPRIETARY_11N_MCS_NSS(mcs) (1 + ((mcs) - 85) / 8)
92 #define OLD_NRATE_MCS_INUSE 0x00000080 /* MSC in use,indicates b0-6 holds an mcs */
113 #define IBSS_MED 15 /* Mediom in-bss congestion percentage */
114 #define IBSS_HI 25 /* Hi in-bss congestion percentage */
122 #define CCA_FLAG_IGNORE_DURATION 0x04 /* Ignore dwell time for each channel */
143 #define WL_STA_PS 0x00000100 /* STA is in power save mode from AP's viewpoint */
178 #define WL_STA_CAP_PSMP 0x2000 /* Power Save Multi Poll support */
180 #define WL_STA_CAP_LSIG_TXOP 0x8000 /* L-SIG TXOP protection support */
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A Dwlioctl_defs.h9 * Copyright (C) 1999-2017, Broadcom Corporation
30 * <<Broadcom-WL-IPTag/Open:>>
84 #define GET_PROPRIETARY_11N_MCS_NSS(mcs) (1 + ((mcs) - 85) / 8)
92 #define OLD_NRATE_MCS_INUSE 0x00000080 /* MSC in use,indicates b0-6 holds an mcs */
113 #define IBSS_MED 15 /* Mediom in-bss congestion percentage */
114 #define IBSS_HI 25 /* Hi in-bss congestion percentage */
122 #define CCA_FLAG_IGNORE_DURATION 0x04 /* Ignore dwell time for each channel */
143 #define WL_STA_PS 0x00000100 /* STA is in power save mode from AP's viewpoint */
178 #define WL_STA_CAP_PSMP 0x2000 /* Power Save Multi Poll support */
180 #define WL_STA_CAP_LSIG_TXOP 0x8000 /* L-SIG TXOP protection support */
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/vt6655/
H A Dcard.c1 // SPDX-License-Identifier: GPL-2.0+
9 * s_vSafeResetTx - Rest Tx
10 * CARDvSetRSPINF - Set RSPINF
11 * CARDvUpdateBasicTopRate - Update BasicTopRate
12 * CARDbAddBasicRate - Add to BasicRateSet
13 * CARDbIsOFDMinBasicRate - Check if any OFDM rate is in BasicRateSet
14 * CARDqGetTSFOffset - Calculate TSFOffset
15 * CARDbGetCurrentTSF - Read Current NIC TSF counter
16 * CARDqGetNextTBTT - Calculate Next Beacon TSF counter
17 * CARDvSetFirstNextTBTT - Set NIC Beacon time
[all …]
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A Dapm_32.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* -*- linux-c -*-
4 * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au)
16 * (Thanks to Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>)
43 * 1.1: support user-space standby and suspend, power off after system
45 * 1.2: When resetting RTC after resume, take care so that the time
46 * is only incorrect by 30-60mS (vs. 1S previously) (Gabor J. Toth
48 * screen-blanking and gpm (Stephen Rothwell); Linux 1.99.4
61 * Only try to turn off the first display device.
62 * Fix OOPS at power off with no APM BIOS by Jan Echternach
[all …]
/OK3568_Linux_fs/kernel/drivers/char/
H A Dapm-emulation.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * bios-less APM driver for ARM Linux
8 * Intel Corporation, Microsoft Corporation. Advanced Power Management
25 #include <linux/apm-emulation.h>
36 * One option can be changed at boot time as follows:
37 * apm=on/off enable/disable APM
66 * NONE -1-> PENDING -2-> READ -3-> ACKED -4-> DONE -5-> NONE
67 * -6-> ACKTO -7-> NONE
68 * NONE -8-> WAIT -9-> NONE
101 * The per-file APM data
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/
H A Dps.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2009-2012 Realtek Corporation.*/
18 if (rtlhal->interface == INTF_PCI) in rtl_ps_enable_nic()
19 rtlpriv->intf_ops->reset_trx_ring(hw); in rtl_ps_enable_nic()
26 if (rtlpriv->cfg->ops->hw_init(hw)) in rtl_ps_enable_nic()
28 rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_RETRY_LIMIT, in rtl_ps_enable_nic()
29 &rtlmac->retry_long); in rtl_ps_enable_nic()
32 rtlpriv->cfg->ops->switch_channel(hw); in rtl_ps_enable_nic()
33 rtlpriv->cfg->ops->set_channel_access(hw); in rtl_ps_enable_nic()
34 rtlpriv->cfg->ops->set_bw_mode(hw, in rtl_ps_enable_nic()
[all …]
/OK3568_Linux_fs/kernel/drivers/watchdog/
H A Dpcwd_pci.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Berkshire PCI-PC Watchdog Card Driver
5 * (c) Copyright 2003-2007 Wim Van Sebroeck <wim@iguana.be>.
16 * provided "AS-IS" and at no charge.
36 #include <linux/errno.h> /* For the -ENODEV/... values */
46 #include <linux/ioport.h> /* For io-port access */
53 #define WATCHDOG_DRIVER_NAME "PCI-PC Watchdog"
68 * PCI-PC Watchdog card.
76 #define WD_PCI_R2DS 0x40 /* Relay 2 Disable Temperature-trip /
85 /* according to documentation max. time to process a command for the pci
[all …]
H A Dpcwd_usb.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Berkshire USB-PC Watchdog Card Driver
5 * (c) Copyright 2004-2007 Wim Van Sebroeck <wim@iguana.be>.
12 * Greg Kroah-Hartman <greg@kroah.com>
16 * provided "AS-IS" and at no charge.
28 #include <linux/errno.h> /* For the -ENODEV/... values */
47 #define DRIVER_DESC "Berkshire USB-PC Watchdog driver"
55 delay-time from dip-switches */
59 "(0<heartbeat<65536 or 0=delay-time from dip-switches, default="
67 /* The vendor and product id's for the USB-PC Watchdog card */
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dstm32mp157c-odyssey-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
6 /dts-v1/;
10 #include "stm32mp15-pinctrl.dtsi"
11 #include "stm32mp15xxac-pinctrl.dtsi"
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/leds/common.h>
14 #include <dt-bindings/mfd/st,stpmic1.h>
17 model = "Seeed Studio Odyssey-STM32MP157C SOM";
18 compatible = "seeed,stm32mp157c-odyssey-som", "st,stm32mp157";
25 reserved-memory {
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Drtas-proc.c1 // SPDX-License-Identifier: GPL-2.0
11 * Split off a header file and maybe move it to a different
21 #include <linux/time.h>
34 #include <asm/time.h>
63 #define SENSOR_HW_ERROR -1
64 #define SENSOR_BUSY -2
65 #define SENSOR_NOT_EXIST -3
66 #define SENSOR_DR_ENTITY -9000
97 #define TONE_FREQUENCY 0x0001 /* 0 - 1000 (HZ)*/
98 #define TONE_VOLUME 0x0002 /* 0 - 100 (%) */
[all …]

12345678910>>...25