Home
last modified time | relevance | path

Searched +full:termination +full:- +full:current (Results 1 – 25 of 461) sorted by relevance

12345678910>>...19

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/
Dbq24257.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Bq24250, bq24251 and bq24257 Li-Ion Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
19 - ti,bq24250
20 - ti,bq24251
21 - ti,bq24257
29 ti,battery-regulation-voltage:
[all …]
Dbq2415x.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: TI bq2415x Li-Ion Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
19 - ti,bq24150
20 - ti,bq24150a
21 - ti,bq24151
22 - ti,bq24151a
[all …]
Dbq25890.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Bq25890, bq25892, bq25895 and bq25896 Li-Ion Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
19 - enum:
20 - ti,bq25890
21 - items:
22 - enum:
[all …]
Dsc2731-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/sc2731-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
17 const: sprd,sc2731-charger
26 monitored-battery:
29 - charge-term-current-microamp: current for charge termination phase.
30 - constant-charge-voltage-max-microvolt: maximum constant input voltage.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dbq24257.txt1 Binding for TI bq24250/bq24251/bq24257 Li-Ion Charger
4 - compatible: Should contain one of the following:
8 - reg: integer, i2c address of the device.
9 - interrupts: Interrupt mapping for GPIO IRQ (configure for both edges). Use in
10 conjunction with "interrupt-parent".
11 - ti,battery-regulation-voltage: integer, maximum charging voltage in uV.
12 - ti,charge-current: integer, maximum charging current in uA.
13 - ti,termination-current: integer, charge will be terminated when current in
14 constant-voltage phase drops below this value (in uA).
17 - pg-gpios: GPIO used for connecting the bq2425x device PG (Power Good) pin.
[all …]
Dbq2415x.txt1 Binding for TI bq2415x Li-Ion Charger
4 - compatible: Should contain one of the following:
17 - reg: integer, i2c address of the device.
18 - ti,current-limit: integer, initial maximum current charger can pull
20 - ti,weak-battery-voltage: integer, weak battery voltage threshold in mV.
23 - ti,battery-regulation-voltage: integer, maximum charging voltage in mV.
24 - ti,charge-current: integer, maximum charging current in mA.
25 - ti,termination-current: integer, charge will be terminated when current in
26 constant-voltage phase drops below this value (in mA).
27 - ti,resistor-sense: integer, value of sensing resistor in milliohm.
[all …]
Dbq25890.txt1 Binding for TI bq25890 Li-Ion Charger
7 - compatible: Should contain one of the following:
12 - reg: integer, i2c address of the device.
13 - interrupts: interrupt line;
14 - ti,battery-regulation-voltage: integer, maximum charging voltage (in uV);
15 - ti,charge-current: integer, maximum charging current (in uA);
16 - ti,termination-current: integer, charge will be terminated when current in
17 constant-voltage phase drops below this value (in uA);
18 - ti,precharge-current: integer, maximum charge current during precharge
20 - ti,minimum-sys-voltage: integer, when battery is charging and it is below
[all …]
Dsc2731_charger.txt4 - compatible: Should be "sprd,sc2731-charger".
5 - reg: Address offset of charger register.
6 - phys: Contains a phandle to the USB phy.
9 - monitored-battery: phandle of battery characteristics devicetree node.
11 - charge-term-current-microamp: current for charge termination phase.
12 - constant-charge-voltage-max-microvolt: maximum constant input voltage.
18 compatible = "simple-battery";
19 charge-term-current-microamp = <120000>;
20 constant-charge-voltage-max-microvolt = <4350000>;
27 spi-max-frequency = <26000000>;
[all …]
/kernel/linux/linux-6.6/include/linux/power/
Dbq2415x_charger.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright (C) 2011-2013 Pali Rohár <pali@kernel.org>
14 * value is -1 then default chip value (specified in datasheet) will be
18 * termination current. If it is less or equal to zero, configuring charge
19 * and termination current will not be possible.
23 * POWER_SUPPLY_PROP_CURRENT_MAX when current changed.
26 /* Supported modes with maximal current limit */
/kernel/linux/linux-5.10/include/linux/power/
Dbq2415x_charger.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright (C) 2011-2013 Pali Rohár <pali@kernel.org>
14 * value is -1 then default chip value (specified in datasheet) will be
18 * termination current. If it is less or equal to zero, configuring charge
19 * and termination current will not be possible.
23 * POWER_SUPPLY_PROP_CURRENT_MAX when current changed.
26 /* Supported modes with maximal current limit */
/kernel/linux/linux-6.6/include/linux/
Dprime_numbers.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 * for_each_prime_number - iterate over each prime upto a value
12 * @prime: the current prime number in this iteration
16 * the @max value. On each iteration, @prime is set to the current prime number.
17 * @max should be less than ULONG_MAX to ensure termination. To begin with
25 * for_each_prime_number_from - iterate over each prime upto a value
26 * @prime: the current prime number in this iteration
31 * @max value. On each iteration, @prime is set to the current prime number.
33 * termination.
Didr.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * 2002-10-18 written by Jim Houston jim.houston@ccur.com
15 #include <linux/radix-tree.h>
42 * IDR_INIT() - Initialise an IDR.
45 * A freshly-initialised IDR contains no IDs.
50 * DEFINE_IDR() - Define a statically-allocated IDR.
59 * idr_get_cursor - Return the current position of the cyclic allocator
68 return READ_ONCE(idr->idr_next); in idr_get_cursor()
72 * idr_set_cursor - Set the current position of the cyclic allocator
81 WRITE_ONCE(idr->idr_next, val); in idr_set_cursor()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dprime_numbers.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 * for_each_prime_number - iterate over each prime upto a value
12 * @prime: the current prime number in this iteration
16 * the @max value. On each iteration, @prime is set to the current prime number.
17 * @max should be less than ULONG_MAX to ensure termination. To begin with
25 * for_each_prime_number_from - iterate over each prime upto a value
26 * @prime: the current prime number in this iteration
31 * @max value. On each iteration, @prime is set to the current prime number.
33 * termination.
Dscatterlist.h1 /* SPDX-License-Identifier: GPL-2.0 */
34 #define sg_dma_address(sg) ((sg)->dma_address)
37 #define sg_dma_len(sg) ((sg)->dma_length)
39 #define sg_dma_len(sg) ((sg)->length)
70 * Those low bits are there for everyone! (thanks mason :-)
72 #define sg_is_chain(sg) ((sg)->page_link & SG_CHAIN)
73 #define sg_is_last(sg) ((sg)->page_link & SG_END)
75 ((struct scatterlist *) ((sg)->page_link & ~(SG_CHAIN | SG_END)))
78 * sg_assign_page - Assign a given page to an SG entry
89 unsigned long page_link = sg->page_link & (SG_CHAIN | SG_END); in sg_assign_page()
[all …]
Didr.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * 2002-10-18 written by Jim Houston jim.houston@ccur.com
15 #include <linux/radix-tree.h>
42 * IDR_INIT() - Initialise an IDR.
45 * A freshly-initialised IDR contains no IDs.
50 * DEFINE_IDR() - Define a statically-allocated IDR.
59 * idr_get_cursor - Return the current position of the cyclic allocator
68 return READ_ONCE(idr->idr_next); in idr_get_cursor()
72 * idr_set_cursor - Set the current position of the cyclic allocator
81 WRITE_ONCE(idr->idr_next, val); in idr_set_cursor()
[all …]
/kernel/linux/linux-6.6/drivers/power/supply/
Dsc2731_charger.c1 // SPDX-License-Identifier: GPL-2.0
46 /* Default current definition (unit is mA) */
69 regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_stop_charge()
72 regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_stop_charge()
80 /* Enable charger constant current mode */ in sc2731_charger_start_charge()
81 ret = regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_start_charge()
87 return regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_start_charge()
105 return regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG5, in sc2731_charger_set_current_limit()
121 val = (cur - SC2731_CURRENT_PRECHG) / SC2731_CURRENT_STEP; in sc2731_charger_set_current()
123 /* Set pre-charge current as 450 mA */ in sc2731_charger_set_current()
[all …]
Dbd99954-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
16 * Curve (1) represents charging current.
20 * a) Trickle-charge with constant current (8).
21 * b) pre-charge with constant current (6)
22 * c) fast-charge, first with constant current (5) phase. After
24 * voltage phase until charging current has dropped to termination
30 *(4)` `.` ` ` ` ` ` ` ` ` ` ` ` ` ` ----------------------------.
32 * . o----+/:/ ` ` ` ` ` ` ` ` ` ` ` ` `.` ` (5)
34 * . + /- -- .
35 * . +`/- + .
[all …]
/kernel/linux/linux-5.10/drivers/power/supply/
Dsc2731_charger.c1 // SPDX-License-Identifier: GPL-2.0
46 /* Default current definition (unit is mA) */
69 regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_stop_charge()
72 regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_stop_charge()
80 /* Enable charger constant current mode */ in sc2731_charger_start_charge()
81 ret = regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_start_charge()
87 return regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_start_charge()
105 return regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG5, in sc2731_charger_set_current_limit()
121 val = (cur - SC2731_CURRENT_PRECHG) / SC2731_CURRENT_STEP; in sc2731_charger_set_current()
123 /* Set pre-charge current as 450 mA */ in sc2731_charger_set_current()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads_termtbl.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
26 hash = jhash_1word(flow_act->action, 0); in mlx5_eswitch_termtbl_hash()
27 hash = jhash((const void *)&flow_act->vlan, in mlx5_eswitch_termtbl_hash()
28 sizeof(flow_act->vlan), hash); in mlx5_eswitch_termtbl_hash()
29 hash = jhash((const void *)&dest->vport.num, in mlx5_eswitch_termtbl_hash()
30 sizeof(dest->vport.num), hash); in mlx5_eswitch_termtbl_hash()
31 hash = jhash((const void *)&dest->vport.vhca_id, in mlx5_eswitch_termtbl_hash()
32 sizeof(dest->vport.num), hash); in mlx5_eswitch_termtbl_hash()
33 if (flow_act->pkt_reformat) in mlx5_eswitch_termtbl_hash()
34 hash = jhash(flow_act->pkt_reformat, in mlx5_eswitch_termtbl_hash()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/pxp/
Dintel_pxp_types.h1 /* SPDX-License-Identifier: MIT */
20 * struct intel_pxp - pxp state
31 * vs newer platforms where the KCR is inside the media-tile.
66 /** @ce: kernel-owned context used for PXP operations */
81 * to determine if an object was created using the current key or a
98 * re-initialize the session. We keep track of this state to make sure
99 * we only re-start the arb session when required.
106 * @termination: tracks the status of a pending termination. Only
107 * re-initialized under gt->irq_lock and completed in &session_work.
109 struct completion termination; member
[all …]
Dintel_pxp.c1 // SPDX-License-Identifier: MIT
29 * Objects can opt-in to PXP encryption at creation time via the
57 return IS_ENABLED(CONFIG_DRM_I915_PXP) && pxp && pxp->ce; in intel_pxp_is_enabled()
62 return IS_ENABLED(CONFIG_DRM_I915_PXP) && pxp && pxp->arb_is_valid; in intel_pxp_is_active()
70 intel_uncore_write(pxp->ctrl_gt->uncore, KCR_INIT(pxp->kcr_base), val); in kcr_pxp_set_status()
86 struct intel_gt *gt = pxp->ctrl_gt; in create_vcs_context()
96 engine = gt->engine_class[VIDEO_DECODE_CLASS][i]; in create_vcs_context()
98 GEM_BUG_ON(!engine || engine->class != VIDEO_DECODE_CLASS); in create_vcs_context()
100 ce = intel_engine_create_pinned_context(engine, engine->gt->vm, SZ_4K, in create_vcs_context()
104 drm_err(&gt->i915->drm, "failed to create VCS ctx for PXP\n"); in create_vcs_context()
[all …]
/kernel/linux/linux-5.10/include/linux/mfd/
Drt5033-private.h1 /* SPDX-License-Identifier: GPL-2.0-only */
109 /* RT5033 charger property - model, manufacturer */
115 * RT5033 charger fast-charge current lmits (as in CHGCTRL1 register),
116 * AICR mode limits the input current for example,
117 * the AIRC 100 mode limits the input current to 100 mA.
138 /* RT5033 charger termination enable mask */
149 /* RT5033 charger termination enable */
160 /* RT5033 charger pre-charge current limits (as in CHGCTRL4 register), uA */
165 /* RT5033 charger fast-charge current (as in CHGCTRL5 register), uA */
171 * RT5033 charger const-charge end of charger current (
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads_termtbl.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
26 hash = jhash_1word(flow_act->action, 0); in mlx5_eswitch_termtbl_hash()
27 hash = jhash((const void *)&flow_act->vlan, in mlx5_eswitch_termtbl_hash()
28 sizeof(flow_act->vlan), hash); in mlx5_eswitch_termtbl_hash()
29 hash = jhash((const void *)&dest->vport.num, in mlx5_eswitch_termtbl_hash()
30 sizeof(dest->vport.num), hash); in mlx5_eswitch_termtbl_hash()
31 hash = jhash((const void *)&dest->vport.vhca_id, in mlx5_eswitch_termtbl_hash()
32 sizeof(dest->vport.num), hash); in mlx5_eswitch_termtbl_hash()
33 if (flow_act->pkt_reformat) in mlx5_eswitch_termtbl_hash()
34 hash = jhash(flow_act->pkt_reformat, in mlx5_eswitch_termtbl_hash()
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/
Dimx8mq-librem5-r3.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 /dts-v1/;
6 #include "imx8mq-librem5.dtsi"
14 mount-matrix = "1", "0", "0",
16 "0", "0", "-1";
20 ti,battery-regulation-voltage = <4200000>; /* uV */
21 ti,charge-current = <1500000>; /* uA */
22 ti,termination-current = <144000>; /* uA */
26 regulator-always-on;
30 proximity-near-level = <25>;
Dimx8mq-librem5-r2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "imx8mq-librem5.dtsi"
16 ti,battery-regulation-voltage = <4192000>; /* uV */
17 ti,charge-current = <1600000>; /* uA */
18 ti,termination-current = <66000>; /* uA */
22 mount-matrix = "1", "0", "0",
23 "0", "-1", "0",
28 proximity-near-level = <220>;

12345678910>>...19