Home
last modified time | relevance | path

Searched +full:ac +full:- +full:power (Results 1 – 25 of 356) sorted by relevance

12345678910>>...15

/linux/Documentation/devicetree/bindings/power/supply/
H A Dx-powers,axp20x-ac-power-supply.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-ac-power-supply.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: AXP20x AC power-supply
10 The AXP20X can read the current current and voltage supplied by AC by
12 tell if an AC power supply is present and usable. AXP813/AXP803 are
16 - Chen-Yu Tsai <wens@csie.org>
17 - Sebastian Reichel <sre@kernel.org>
20 - $ref: power-supply.yaml#
[all …]
H A Dti,lp8727.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/ti,lp8727.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
25 debounce-ms:
29 '^(ac|usb)$':
32 description: USB/AC charging parameters
34 charger-type:
[all …]
H A Dbq24735.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 $id: http://devicetree.org/schemas/power/supply/bq24735.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: TI BQ24735 Li-Ion Battery Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
24 description: AC adapter plug event interrupt
27 ti,ac-detect-gpios:
30 This GPIO is optionally used to read the AC adapter status. This is a Host GPIO
[all …]
H A Dbq2515x.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/power/supply/bq2515x.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: TI bq2515x 500-mA Linear charger family
11 - Andrew Davis <afd@ti.com>
17 push-button controller.
26 - ti,bq25150
27 - ti,bq25155
33 ac-detect-gpios:
[all …]
H A Dtps65217-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/tps65217-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
17 const: ti,tps65217-charger
23 interrupt-names:
25 - const: USB
26 - const: AC
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-platform-wilco-ec5 Boot on AC is a policy which makes the device boot from S5
6 when AC power is connected. This is useful for users who
41 low power states:
43 - In S0, the port will always provide power.
44 - In S0ix, if usb_charge is enabled, then power will be
45 supplied to the port when on AC or if battery is > 50%.
46 Else no power is supplied.
47 - In S5, if usb_charge is enabled, then power will be supplied
48 to the port when on AC. Else no power is supplied.
/linux/drivers/staging/nvec/
H A Dnvec_power.c1 // SPDX-License-Identifier: GPL-2.0
3 * nvec_power: power supply driver for a NVIDIA compliant embedded controller
64 AC, enumerator
87 struct nvec_power *power = in nvec_power_notifier() local
94 if (res->sub_type == 0) { in nvec_power_notifier()
95 if (power->on != res->plu) { in nvec_power_notifier()
96 power->on = res->plu; in nvec_power_notifier()
109 static void get_bat_mfg_data(struct nvec_power *power) in get_bat_mfg_data() argument
116 nvec_write_async(power->nvec, buf, 2); in get_bat_mfg_data()
123 struct nvec_power *power = in nvec_power_bat_notifier() local
[all …]
/linux/net/mac80211/
H A Dmesh_ps.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2012-2013, Marco Porsch <marco.porsch@s2005.tu-chemnitz.de>
4 * Copyright 2012-2013, cozybit Inc.
16 * mps_qos_null_get - create pre-addressed QoS Null frame for mesh powersave
23 struct ieee80211_sub_if_data *sdata = sta->sdat in mps_qos_null_get()
459 int ac; mps_frame_deliver() local
584 int ac, buffer_local = 0; ieee80211_mps_frame_release() local
[all...]
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-ipq4018-ap120c-ac-bit.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
4 #include "qcom-ipq4018-ap120c-ac.dtsi"
7 model = "ALFA Network AP120C-AC Bit";
10 compatible = "gpio-leds";
12 led-power {
13 label = "ap120c-ac:green:power";
17 default-state = "on";
20 led-wlan {
21 label = "ap120c-ac:green:wlan";
[all …]
/linux/include/sound/ac97/
H A Dregs.h1 /* SPDX-License-Identifier: GPL-2.0+
6 * For more details look to AC '97 component specification revision 2.1
10 * AC'97 codec registers
31 #define AC97_INT_PAGING 0x24 /* Audio Interrupt & Paging (AC'97 2.3) */
33 /* range 0x28-0x3a - AUDIO AC'97 2.0 extensions */
44 /* range 0x3c-0x58 - MODEM */
59 /* range 0x5a-0x7b - Vendor Specific */
62 /* range 0x60-0x6f (page 1) - extended codec registers */
108 #define AC97_BC_16BIT_DAC 0x0000 /* 16-bit DAC resolution */
109 #define AC97_BC_18BIT_DAC 0x0040 /* 18-bit DAC resolution */
[all …]
/linux/drivers/power/supply/
H A Dsurface_charger.c1 // SPDX-License-Identifier: GPL-2.0+
3 * AC driver for 7th-generation Microsoft Surface devices via Surface System
6 * Copyright (C) 2019-2021 Maximilian Luz <luzmaximilian@gmail.com>
19 /* -- SAM interface. -------------------------------------------------------- */
36 /* Get platform power source for battery (_PSR / DPTF PSRC). */
43 /* -- Device structures. ---------------------------------------------------- */
65 /* -- State management. ----------------------------------------------------- */
67 static int spwr_ac_update_unlocked(struct spwr_ac_device *ac) in spwr_ac_update_unlocked() argument
69 __le32 old = ac->state; in spwr_ac_update_unlocked()
72 lockdep_assert_held(&ac->lock); in spwr_ac_update_unlocked()
[all …]
H A Dmax8925_power.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2009-2010 Marvell International Ltd.
68 struct power_supply *ac; member
87 struct max8925_chip *chip = info->chip; in __set_charger()
90 if (info->set_charger) in __set_charger()
91 info->set_charger(1); in __set_charger()
93 max8925_set_bits(info->gpm, MAX8925_CHG_CNTL1, 1 << 7, 0); in __set_charger()
96 max8925_set_bits(info->gpm, MAX8925_CHG_CNTL1, 1 << 7, 1 << 7); in __set_charger()
97 if (info->set_charger) in __set_charger()
98 info->set_charger(0); in __set_charger()
[all …]
H A Dwm8350_power.c1 // SPDX-License-Identifier: GPL-2.0-only
44 if (!wm8350->power.rev_g_coeff) in wm8350_charge_time_min()
45 return (((min - 30) / 15) & 0xf) << 8; in wm8350_charge_time_min()
47 return (((min - 30) / 30) & 0xf) << 8; in wm8350_charge_time_min()
92 dev_warn(wm8350->dev, in wm8350_charger_config()
94 return -EINVAL; in wm8350_charger_config()
98 if (policy->fast_limit_USB_mA > 500) { in wm8350_charger_config()
99 dev_err(wm8350->dev, "USB fast charge > 500mA\n"); in wm8350_charger_config()
100 return -EINVAL; in wm8350_charger_config()
103 eoc_mA = WM8350_CHG_EOC_mA(policy->eoc_mA); in wm8350_charger_config()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dpower.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2024-2025 Intel Corporation
9 #include "power.h"
20 if (vif->type != NL80211_IFTYPE_STATION) in iwl_mld_vif_ps_iterator()
23 *ps_enable &= !mld_vif->ps_disabled; in iwl_mld_vif_ps_iterator()
34 /* Disable power save if any STA interface has in iwl_mld_update_device_power()
35 * power save turned off in iwl_mld_update_device_power()
37 ieee80211_iterate_active_interfaces_mtx(mld->hw, in iwl_mld_update_device_power()
52 "Sending device power command with flags = 0x%X\n", in iwl_mld_update_device_power()
68 if (ieee80211_vif_type_p2p(link_conf->vif) != NL80211_IFTYPE_STATION) in iwl_mld_enable_beacon_filter()
[all …]
/linux/arch/arm64/boot/dts/allwinner/
H A Daxp803.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 * AXP803 Integrated Power Management Chip
10 interrupt-controller;
11 #interrupt-cells = <1>;
13 ac_power_supply: ac-power {
14 compatible = "x-powers,axp803-ac-power-supply",
15 "x-powers,axp813-ac-power-supply";
20 compatible = "x-powers,axp803-adc", "x-powers,axp813-adc";
21 #io-channel-cells = <1>;
25 compatible = "x-powers,axp803-gpio", "x-powers,axp813-gpio";
[all …]
/linux/sound/pci/cs5535audio/
H A Dcs5535audio_pm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Power management for audio on multifunction CS5535 companion device
24 that the codec power-down is issued. instead, in snd_cs5535audio_stop_hardware()
26 time. excluding codec specific build_ops->suspend in snd_cs5535audio_stop_hardware()
34 - analog mixer (vref off) 0x0800 in snd_cs5535audio_stop_hardware()
35 - AC-link powerdown 0x1000 in snd_cs5535audio_stop_hardware()
36 - codec internal clock 0x2000 in snd_cs5535audio_stop_hardware()
39 /* set LNK_SHUTDOWN to shutdown AC link */ in snd_cs5535audio_stop_hardware()
47 struct cs5535audio *cs5535au = card->private_data; in snd_cs5535audio_suspend()
51 snd_ac97_suspend(cs5535au->ac97); in snd_cs5535audio_suspend()
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A Dx-powers,axp152.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mfd/x-powers,axp152.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: X-Powers AXP PMIC
10 - Chen-Yu Tsai <wens@csie.org>
13 - if:
18 - x-powers,axp152
19 - x-powers,axp202
20 - x-powers,axp209
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dcs43130.txt5 - compatible : "cirrus,cs43130", "cirrus,cs4399", "cirrus,cs43131",
8 - reg : the I2C address of the device for I2C
10 - VA-supply, VP-supply, VL-supply, VCP-supply, VD-supply:
11 power supplies for the device, as covered in
17 - reset-gpios : Active low GPIO used to reset the device
19 - cirrus,xtal-ibias:
28 - cirrus,dc-measure:
31 - cirrus,ac-measure:
32 Boolean, define to enable headphone AC impedance measurement.
33 DC impedance must also be enabled for AC impedance measurement.
[all …]
/linux/include/soc/at91/
H A Dsama7-ddr.h1 /* SPDX-License-Identifier: GPL-2.0-only */
29 #define DDR3PHY_ACDLLCR (0x14) /* DDR3PHY AC DLL Control Register */
32 #define DDR3PHY_ACIOCR (0x24) /* DDR3PHY AC I/O Configuration Register */
33 #define DDR3PHY_ACIOCR_CSPDD_CS0 (1 << 18) /* CS#[0] Power Down Driver */
34 #define DDR3PHY_ACIOCR_CKPDD_CK0 (1 << 8) /* CK[0] Power Down Driver */
35 #define DDR3PHY_ACIORC_ACPDD (1 << 3) /* AC Power Down Driver */
38 #define DDR3PHY_DXCCR_DXPDR (1 << 3) /* Data Power Down Receiver */
41 #define DDR3PHY_DSGCR_ODTPDD_ODT0 (1 << 20) /* ODT[0] Power Down Driver */
44 #define DDR3PHY_ZQ0SR0_PDO_OFF (0) /* Pull-down output impedance select offset */
45 #define DDR3PHY_ZQ0SR0_PUO_OFF (5) /* Pull-up output impedance select offset */
[all …]
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-facebook-greatlakes.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
4 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/leds/leds-pca955x.h>
8 #include <dt-bindings/i2c/i2c.h>
12 compatible = "facebook,greatlakes-bmc", "aspeed,ast2600";
23 iio-hwmon {
24 compatible = "iio-hwmon";
25 io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
[all …]
/linux/Documentation/hwmon/
H A Dbel-pfe.rst1 Kernel driver bel-pfe
10 Addresses scanned: -
12 … Datasheet: https://www.belfuse.com/resources/datasheets/powersolutions/ds-bps-pfe1100-12-054xa.pdf
18 Addresses scanned: -
20 Datasheet: https://www.belfuse.com/resources/datasheets/powersolutions/ds-bps-pfe3000-series.pdf
26 -----------
28 This driver supports hardware monitoring for below power supply devices
33 1100 Watt AC to DC power-factor-corrected (PFC) power supply.
38 3000 Watt AC/DC power-factor-corrected (PFC) and DC-DC power supply.
46 -----------
[all …]
/linux/arch/arm/boot/dts/allwinner/
H A Daxp209.dtsi2 * Copyright 2015 Chen-Yu Tsai
4 * Chen-Yu Tsai <wens@csie.org>
6 * This file is dual-licensed: you can use it either under the terms
46 * AXP202/209 Integrated Power Management Chip
47 * http://www.x-powers.com/product/AXP20X.php
48 * http://dl.linux-sunxi.org/AXP/AXP209%20Datasheet%20v1.0_cn.pdf
52 pmic-temp {
53 compatible = "iio-hwmon";
54 io-channels = <&axp_adc 4>; /* Internal temperature */
59 compatible = "x-powers,axp209";
[all …]
H A Daxp81x.dtsi2 * Copyright 2017 Chen-Yu Tsai
4 * Chen-Yu Tsai <wens@csie.org>
6 * This file is dual-licensed: you can use it either under the terms
45 /* AXP813/818 Integrated Power Management Chip */
48 interrupt-controller;
49 #interrupt-cells = <1>;
51 ac_power_supply: ac-power {
52 compatible = "x-powers,axp813-ac-power-supply";
57 compatible = "x-powers,axp813-adc";
58 #io-channel-cells = <1>;
[all …]
H A Daxp22x.dtsi2 * Copyright 2015 Chen-Yu Tsai
4 * Chen-Yu Tsai <wens@csie.org>
6 * This file is dual-licensed: you can use it either under the terms
46 * AXP221/221s/223 Integrated Power Management Chip
47 * http://www.x-powers.com/product/AXP22X.php
48 * http://dl.linux-sunxi.org/AXP/AXP221%20Datasheet%20V1.2%2020130326%20.pdf
52 interrupt-controller;
53 #interrupt-cells = <1>;
55 ac_power_supply: ac-power {
56 compatible = "x-powers,axp221-ac-power-supply";
[all …]
/linux/Documentation/power/
H A Dpower_supply_class.rst2 Linux power supply class
7 Power supply class used to represent battery, UPS, AC or DC power supply
8 properties to user-space.
11 every power supply out there. Attributes are available via sysfs and uevent
16 power supply, specific monitoring hardware may not be able to provide them
19 Power supply class is extensible, and allows to define drivers own attributes.
21 if it will be found that some attribute is applicable to many power supply
26 AC/USB power supply online status. (Note that specific details of the
34 Power supply class has predefined set of attributes, this eliminates code
35 duplication across drivers. Power supply class insist on reusing its
[all …]

12345678910>>...15