Home
last modified time | relevance | path

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

12345678

/linux/Documentation/devicetree/bindings/crypto/
H A Dfsl,sec-v4.0-mon.yaml1 # SPDX-License-Identifier: GPL-2.0
2 # Copyright (C) 2008-2011 Freescale Semiconductor Inc.
4 ---
5 $id: http://devicetree.org/schemas/crypto/fsl,sec-v4.0-mon.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Freescale Secure Non-Volatile Storage (SNVS)
11 - '"Horia Geantă" <horia.geanta@nxp.com>'
12 - Pankaj Gupta <pankaj.gupta@nxp.com>
13 - Gaurav Jain <gaurav.jain@nxp.com>
18 violations. This also included rtc, system power off and ON/OFF key.
[all …]
/linux/Documentation/devicetree/bindings/input/
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
34 linux,input-type:
37 - 1 # EV_KEY
38 - 2 # EV_REL
39 - 3 # EV_ABS
40 - 5 # EV_SW
[all …]
H A Dmediatek,pmic-keys.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/mediatek,pmic-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen Zhong <chen.zhong@mediatek.com>
13 - $ref: input.yaml#
19 by the PMIC that is defined as a Multi-Function Device (MFD).
27 - mediatek,mt6323-keys
28 - mediatek,mt6328-keys
29 - mediatek,mt6331-keys
[all …]
/linux/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 …]
/linux/drivers/input/keyboard/
H A Dsnvs_pwrkey.c1 // SPDX-License-Identifier: GPL-2.0+
3 // Driver for the IMX SNVS ON/OFF Power Key
51 struct input_dev *input = pdata->input; in imx_imx_snvs_check_for_events()
54 regmap_read(pdata->snvs, SNVS_HPSR_REG, &state); in imx_imx_snvs_check_for_events()
58 if (state ^ pdata->keystate) { in imx_imx_snvs_check_for_events()
59 pdata->keystate = state; in imx_imx_snvs_check_for_events()
60 input_event(input, EV_KEY, pdata->keycode, state); in imx_imx_snvs_check_for_events()
62 pm_relax(pdata->input->dev.parent); in imx_imx_snvs_check_for_events()
67 mod_timer(&pdata->check_timer, in imx_imx_snvs_check_for_events()
76 struct input_dev *input = pdata->input; in imx_snvs_pwrkey_interrupt()
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A Dactions,atc260x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Actions Semi ATC260x Power Management IC
10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
11 - Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
14 ATC260x series PMICs integrates Audio Codec, Power Management, RTC, IR
16 (i.e. regulators and system power-off/reboot) for the ATC2603C and ATC2609A
18 ATC2603C includes 3 programmable DC-DC converters, 9 programmable LDO
20 ATC2609A includes 5 programmable DC-DC converters and 10 programmable LDO
[all …]
H A Drohm,bd96801-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/rohm,bd96801-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ROHM BD96801/BD96805 Scalable Power Management Integrated Circuit
10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
13 BD96801 and BD96805 are automotive grade, single-chip power management ICs.
15 over-/under voltage and over current detection and a watchdog.
20 - rohm,bd96801
21 - rohm,bd96805
[all …]
H A Dmediatek,mt6397.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sen Chu <sen.chu@mediatek.com>
11 - Macpaul Lin <macpaul.lin@mediatek.com>
14 MT6397/MT6323 is a power management system chip.
15 Please see the sub-modules below for supported features.
18 - Regulators
19 - RTC
20 - ADC
[all …]
/linux/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 …]
/linux/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 …]
/linux/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 …]
/linux/drivers/staging/rtl8723bs/include/
H A Drtw_pwrctrl.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
35 BIT[4] = sub-state
61 #define LPS_DELAY_TIME (1 * HZ) /* 1 sec */
66 rf_sleep, /* 802.11 Power Save mode */
67 rf_off, /* HW/SW Radio OFF or Inactive Power Save */
72 /* RF Off Level for IPS or HW/SW radio off */
76 #define RT_RF_OFF_LEVL_HALT_NIC BIT(3) /* NIC halt, re-initialize hw parameters */
77 #define RT_RF_OFF_LEVL_FREE_FW BIT(4) /* FW free, re-download the FW */
83 #define RT_IN_PS_LEVEL(ppsc, _PS_FLAG) ((ppsc->cur_ps_level & _PS_FLAG) ? true : false)
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dpower.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018-2025 Intel Corporation
4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH
5 * Copyright (C) 2015-2017 Intel Deutschland GmbH
10 #include "nvm-reg.h"
12 /* Power Management Commands, Responses, Notifications */
15 * enum iwl_ltr_config_flags - masks for LTR config command flags
41 * struct iwl_ltr_config_cmd_v1 - configures the LTR
55 * struct iwl_ltr_config_cmd - configures the LTR
79 * enum iwl_power_flags - masks for power table command flags
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstm32mp157c-ed1.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved
6 /dts-v1/;
10 #include "stm32mp15-pinctrl.dtsi"
11 #include "stm32mp15xxaa-pinctrl.dtsi"
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/leds/common.h>
14 #include <dt-bindings/mfd/st,stpmic1.h>
18 compatible = "st,stm32mp157c-ed1", "st,stm32mp157";
25 stdout-path = "serial0:115200n8";
[all …]
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 …]
H A Dstm32mp15xx-dkx.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2019 - All Rights Reserved
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/mfd/st,stpmic1.h>
22 reserved-memory {
23 #address-cells = <1>;
24 #size-cells = <1>;
28 compatible = "shared-dma-pool";
30 no-map;
34 compatible = "shared-dma-pool";
[all …]
/linux/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 …]
/linux/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 …]
/linux/drivers/rtc/
H A Drtc-renesas-rtca3.c1 // SPDX-License-Identifier: GPL-2.0
3 * On-Chip RTC Support available on RZ/G3S SoC
93 * enum rtca3_alrm_set_step - RTCA3 alarm set steps
105 * struct rtca3_ppb_per_cycle - PPB per cycle
115 * struct rtca3_priv - RTCA3 private data structure
136 static void rtca3_byte_update_bits(struct rtca3_priv *priv, u8 off, u8 mask, u8 val) in rtca3_byte_update_bits() argument
140 tmp = readb(priv->base + off); in rtca3_byte_update_bits()
143 writeb(tmp, priv->base + off); in rtca3_byte_update_bits()
150 val = readb(priv->base + RTCA3_RSR); in rtca3_alarm_handler_helper()
152 writeb(val & ~pending, priv->base + RTCA3_RSR); in rtca3_alarm_handler_helper()
[all …]
H A Drtc-omap.c1 // SPDX-License-Identifier: GPL-2.0+
3 * TI OMAP Real Time Clock interface for Linux
23 #include <linux/pinctrl/pinconf-generic.h>
28 #include <linux/rtc/rtc-omap.h>
32 * with century-range alarm matching, driven by the 32kHz clock.
34 * The main user-visible ways it differs from PC RTCs are by omitting
35 * "don't care" alarm fields and sub-second periodic IRQs, and having
38 * Board-specific wiring options include using split power mode with
41 * low power modes) for OMAP1 boards (OMAP-L138 has this built into
42 * the SoC). See the BOARD-SPECIFIC CUSTOMIZATION comment.
[all …]
/linux/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 …]
/linux/drivers/net/ieee802154/
H A Dca8210.c2 * http://www.cascoda.com/products/ca-821x/
6 * This code is dual-licensed under both GPLv2 and 3-clause BSD. What follows is
51 #include <linux/clk-provider.h>
131 #define NS_IEEE_ADDRESS (0xFF) /* Non-standard IEEE address */
140 #define MAX_BEACON_PAYLOAD_LENGTH (IEEE802154_MTU - MAX_BEACON_OVERHEAD)
251 * struct cas_control - spi transfer structure
272 * struct ca8210_test - ca8210 test interface structure
286 * struct ca8210_priv - ca8210 private data structure
335 * struct work_priv_container - link between a work object and the relevant
347 * struct ca8210_platform_data - ca8210 platform data structure
[all …]
/linux/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 …]
/linux/drivers/net/wireless/ath/ath5k/
H A Dath5k.h2 * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org>
3 * Copyright (c) 2006-2007 Nick Kossifidis <mickflemm@gmail.com>
62 #define PCI_DEVICE_ID_ATHEROS_AR5312_REV7 0x0057 /* AR5312 WMAC (AP30-040) */
63 #define PCI_DEVICE_ID_ATHEROS_AR5312_REV8 0x0058 /* AR5312 WMAC (AP43-030) */
70 #define PCI_DEVICE_ID_ATHEROS_AR2413 0x001a /* AR2413 (Griffin-lite) */
72 #define PCI_DEVICE_ID_ATHEROS_AR5424 0x001c /* AR5424 (Condor PCI-E) */
189 #define AR5K_TUNE_NOISE_FLOOR -72
190 #define AR5K_TUNE_CCA_MAX_GOOD_VALUE -95
194 #define ATH5K_TUNE_CALIBRATION_INTERVAL_FULL 60000 /* 60 sec */
195 #define ATH5K_TUNE_CALIBRATION_INTERVAL_SHORT 10000 /* 10 sec */
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Dhw.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2009-2012 Realtek Corporation.*/
27 *((u32 *) (val)) = rtlpci->receive_config; in rtl92se_get_hw_reg()
31 *((enum rf_pwrstate *)(val)) = ppsc->rfpwr_state; in rtl92se_get_hw_reg()
35 *((bool *) (val)) = ppsc->fw_current_inpsmode; in rtl92se_get_hw_reg()
51 *((bool *)(val)) = rtlpriv->dm.current_mrc_switch; in rtl92se_get_hw_reg()
81 if (rtlhal->version == VERSION_8192S_ACUT) in rtl92se_set_hw_reg()
120 rtlpriv->cfg->ops->set_hw_reg(hw, in rtl92se_set_hw_reg()
129 reg_tmp = (mac->cur_40_prime_sc) << 5; in rtl92se_set_hw_reg()
142 if (rtlpriv->sec.pairwise_enc_algorithm == in rtl92se_set_hw_reg()
[all …]

12345678