Home
last modified time | relevance | path

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

12345678910>>...26

/openbmc/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 …]
/openbmc/openbmc/meta-facebook/meta-minerva/recipes-phosphor/gpio/phosphor-gpio-monitor/
H A Dminerva-phosphor-multi-gpio-monitor.json8 "FALLING": ["power-good-assert@mtia-blade-1.service"],
9 "RISING": ["power-good-deassert@mtia-blade-1.service"]
19 "FALLING": ["power-good-assert@mtia-blade-2.service"],
20 "RISING": ["power-good-deassert@mtia-blade-2.service"]
30 "FALLING": ["power-good-assert@mtia-blade-3.service"],
31 "RISING": ["power-good-deassert@mtia-blade-3.service"]
41 "FALLING": ["power-good-assert@mtia-blade-4.service"],
42 "RISING": ["power-good-deassert@mtia-blade-4.service"]
52 "FALLING": ["power-good-assert@mtia-blade-5.service"],
53 "RISING": ["power-good-deassert@mtia-blade-5.service"]
[all …]
H A Dac-power-good-assert@.service2 Description=%i AC Power Good Status Assert
6 ExecStart=/usr/libexec/phosphor-gpio-monitor/logging "%i AC power good assert" "BLADE" "%i"
7 SyslogIdentifier=%i-AC-power-good-assert
H A Dac-power-good-deassert@.service2 Description=%i AC Power Good Status Deassert
6 ExecStart=/usr/libexec/phosphor-gpio-monitor/logging "%i AC power good deassert" "BLADE" "%i"
7 SyslogIdentifier=%i-AC-power-good-deassert
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/files/
H A Dpower-ctrl3 # Power Control tool
4 # Enable/disable AC relay
5 # On/off System by step moter to press power key
9 # shellcheck source=meta-facebook/meta-bletchley/recipes-bletchley/plat-tools/files/bletchley-commo…
10 source /usr/libexec/bletchley-common-functions
30 HOST_AC_ON="AC On"
31 HOST_AC_OFF="AC Off"
39 ACTION_AC_ON="ac-on"
40 ACTION_AC_OFF="ac-off"
42 ACTION_BOOT_MODE="boot-from-bootmode"
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/power/
H A Dphosphor-power_%.bbappend3 inherit obmc-phosphor-systemd
5 SRC_URI:append:df-openpower = " file://psu.json"
7 EXTRA_OEMESON:append:ibm-ac-server = " -Ducd90160-yaml=${STAGING_DIR_HOST}${datadir}/power-sequence…
8 EXTRA_OEMESON:append:p10bmc = " -Dibm-vpd=true"
10 DEPENDS:append:ibm-ac-server = " power-sequencer"
11 DEPENDS:append:p10bmc = " power-sequencer"
13 PACKAGECONFIG:append:ibm-ac-server = " monitor"
14 PACKAGECONFIG:append:p10bmc = " monitor-ng"
16 do_install:append:df-openpower(){
17 install -D ${UNPACKDIR}/psu.json ${D}${datadir}/phosphor-power/psu.json
[all …]
H A Dpower-sequencer.bb1 SUMMARY = "Power sequencer data definition"
3 LICENSE = "Apache-2.0"
4 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd…
8 SRC_URI:append:ibm-ac-server = " file://ucd90160.yaml"
10 FILES:${PN}:append:ibm-ac-server = " ${datadir}/power-sequencer/ucd90160.yaml"
15 do_install:append:ibm-ac-server() {
16 DEST=${D}${datadir}/power-sequencer
18 install -D ucd90160.yaml ${DEST}/ucd90160.yaml
/openbmc/linux/drivers/power/supply/
H A Daxp20x_ac_power.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * AXP20X and AXP22X PMICs' ACIN power supply driver
6 * Quentin Schulz <quentin.schulz@free-electrons.com>
30 #define AXP813_VHOLD_UV_TO_BIT(x) ((((x) / 100000) - 40) << 3)
35 #define AXP813_CURR_LIMIT_UA_TO_BIT(x) (((x) / 500000) - 3)
39 #define DRVNAME "axp20x-ac-power-supply"
53 struct axp20x_ac_power *power = devid; in axp20x_ac_power_irq() local
55 power_supply_changed(power->supply); in axp20x_ac_power_irq()
64 struct axp20x_ac_power *power = power_supply_get_drvdata(psy); in axp20x_ac_power_get_property() local
69 ret = regmap_read(power->regmap, AXP20X_PWR_INPUT_STATUS, &reg); in axp20x_ac_power_get_property()
[all …]
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 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 …]
/openbmc/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.
/openbmc/openbmc/meta-ibm/recipes-phosphor/packagegroups/
H A Dpackagegroup-obmc-apps.bbappend2 phosphor-power-monitor \
3 phosphor-power-systemd-links-monitor \
4 phosphor-power-sequencer \
5 phosphor-power-systemd-links-sequencer \
6 phosphor-power-utils \
7 phosphor-power \
12 phosphor-power-control \
13 phosphor-power-utils \
14 phosphor-power \
15 phosphor-power-regulators \
[all …]
/openbmc/openbmc-test-automation/docs/
H A Dboot_test.md3 The boot plugins are used in the test and as well can be use a stand-alone
9 robot -v OPENBMC_HOST:xx.xx.xx.xx -v OPENBMC_PASSWORD:xxx -v 'boot_stack:<boot1>:<boot2>:<bootn>:' …
13 [data/boot_lists/All](https://github.com/openbmc/openbmc-test-automation/blob/master/data/boot_list…
18 robot -v OPENBMC_HOST:xx.xx.xx.xx -v OPENBMC_PASSWORD:xxx -v 'boot_stack:Redfish Power On:Redfish
25 ---------------------------------------- ----- ---- ----
26 Redfish Power On 1 1 0
27 Redfish Power On (mfg) 0 0 0
28 IPMI Power On 0 0 0
29 IPMI Power On (mfg) 0 0 0
30 Istep Power On 0 0 0
[all …]
/openbmc/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 …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/sensors/
H A Dphosphor-hwmon_%.bbappend3 SRC_URI:append:ibm-ac-server = " \
4 file://70-hwmon.rules \
9 bus@1e78a000/i2c@100/power-supply@68 \
10 bus@1e78a000/i2c@100/power-supply@69 \
20 CHIPS:witherspoon-tacoma = " \
22 bus@1e78a000/i2c@200/power-supply@68 \
23 bus@1e78a000/i2c@200/power-supply@69 \
34 1e78a200.i2c/i2c-3/3-0068 \
35 1e78a200.i2c/i2c-3/3-0069 \
36 1e78a200.i2c/i2c-3/3-006a \
[all …]
/openbmc/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 …]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/
H A DPower.v1_7_3.json2 "$id": "http://redfish.dmtf.org/schemas/v1/Power.v1_7_3.json",
3 "$ref": "#/definitions/Power",
4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
26 "#Power.PowerSupplyReset": {
31 "description": "The available OEM-specific actions for this resource.",
32 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
40 "description": "This type describes an input range for a power supply.",
41 …"longDescription": "This type shall describe an input range that the associated power supply can u…
[all …]
H A DPhysicalContext.json3 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
4 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
16 "Capacity": "Capacity-related logical context.",
17 "Environment": "Environment-related logical context.",
18 "Network": "Network-related logical context.",
19 "Performance": "Performance-related logical context.",
20 "Security": "Security-related logical context.",
21 "Storage": "Storage-related logical context."
84 "ACInput": "An AC electrical input or input-related circuit.",
85 "ACMaintenanceBypassInput": "An AC electrical maintenance bypass input.",
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DPower.v1_7_3.json2 "$id": "http://redfish.dmtf.org/schemas/v1/Power.v1_7_3.json",
3 "$ref": "#/definitions/Power",
4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
26 "#Power.PowerSupplyReset": {
31 "description": "The available OEM-specific actions for this resource.",
32 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
40 "description": "This type describes an input range for a power supply.",
41 …"longDescription": "This type shall describe an input range that the associated power supply can u…
[all …]
/openbmc/linux/drivers/of/
H A Dcpu.c1 // SPDX-License-Identifier: GPL-2.0
7 * of_get_cpu_hwid - Get the hardware ID from a CPU device node
17 int ac, len; in of_get_cpu_hwid() local
19 ac = of_n_addr_cells(cpun); in of_get_cpu_hwid()
21 if (!cell || !ac || ((sizeof(*cell) * ac * (thread + 1)) > len)) in of_get_cpu_hwid()
24 cell += ac * thread; in of_get_cpu_hwid()
25 return of_read_number(cell, ac); in of_get_cpu_hwid()
29 * arch_match_cpu_phys_id - Match the given logical CPU and physical id
56 int ac, prop_len, tid; in __of_find_n_match_cpu_property() local
59 ac = of_n_addr_cells(cpun); in __of_find_n_match_cpu_property()
[all …]
/openbmc/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
21 struct ieee80211_sub_if_data *sdata = sta->sdata; in mps_qos_null_get()
22 struct ieee80211_local *local = sdata->local; in mps_qos_null_get()
28 skb = dev_alloc_skb(local->hw.extra_tx_headroom + size + 2); in mps_qos_null_get()
31 skb_reserve(skb, local->hw.extra_tx_headroom); in mps_qos_null_get()
35 ieee80211_fill_mesh_addresses(nullfunc, &fc, sta->sta.addr, in mps_qos_null_get()
36 sdata->vif.addr); in mps_qos_null_get()
[all …]
/openbmc/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 …]
/openbmc/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 …]

12345678910>>...26