Searched +full:bat +full:- +full:ov (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | qcom,pmi8998-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/power/supply/qcom,pmi8998-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm PMI8998/PM660 Switch-Mode Battery Charger "2" 10 - Caleb Connolly <caleb.connolly@linaro.org> 15 - qcom,pmi8998-charger 16 - qcom,pm660-charger 24 interrupt-names: 26 - const: usb-plugin [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | pmi8998.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/interrupt-controller/irq.h> 3 #include <dt-bindings/spmi/spmi.h> 7 compatible = "qcom,pmi8998", "qcom,spmi-pmic"; 9 #address-cells = <1>; 10 #size-cells = <0>; 13 compatible = "qcom,pmi8998-charger"; 20 interrupt-names = "usb-plugin", 21 "bat-ov", 22 "wdog-bark", [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | qcom_pmi8998_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2016-2019 The Linux Foundation. All rights reserved. 7 * This driver is for the switch-mode battery charger and boost 12 #include <linux/devm-helpers.h> 26 /* clang-format off */ 352 /* clang-format on */ 372 * struct smb2_chip - smb2 chip structure 426 rc = regmap_read(chip->regmap, chip->base + POWER_PATH_STATUS, &stat); in smb2_get_prop_usb_online() 428 dev_err(chip->dev, "Couldn't read power path status: %d\n", rc); in smb2_get_prop_usb_online() 453 rc = regmap_read(chip->regmap, chip->base + APSD_STATUS, &apsd_stat); in smb2_apsd_get_charger_type() [all …]
|
/openbmc/qemu/target/ppc/ |
H A D | cpu.h | 4 * Copyright (c) 2003-2007 Jocelyn Mayer 24 #include "qemu/cpu-float.h" 25 #include "exec/cpu-defs.h" 26 #include "cpu-qom.h" 41 #define PPC_BIT_NR(bit) (63 - (bit)) 43 #define PPC_BIT32_NR(bit) (31 - (bit)) 46 #define PPC_BITMASK(bs, be) ((PPC_BIT(bs) - PPC_BIT(be)) | PPC_BIT(bs)) 47 #define PPC_BITMASK32(bs, be) ((PPC_BIT32(bs) - PPC_BIT32(be)) | \ 49 #define PPC_BITMASK8(bs, be) ((PPC_BIT8(bs) - PPC_BIT8(be)) | PPC_BIT8(bs)) 58 #define MASK_TO_LSH(m) (__builtin_ffsll(m) - 1) [all …]
|