Home
last modified time | relevance | path

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

12345678910>>...14

/openbmc/linux/Documentation/devicetree/bindings/power/supply/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A Drichtek,rt9467.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - ChiYuan Huang <cy_huang@richtek.com>
11 - ChiaEn Wu <chiaen_wu@richtek.com>
14 RT9467 is a switch-mode single cell Li-Ion/Li-Polymer battery charger for
16 MOSFETs, input current sensing and regulation, high-accuracy voltage
17 regulation, and charge termination. The charge current is regulated through
20 The RT9467 also features USB On-The-Go (OTG) support. It also integrates
21 D+/D- pin for USB host/charging port detection.
[all …]
/openbmc/linux/include/linux/power/
H A 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 */
/openbmc/linux/include/linux/
H A 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.
H A 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 …]
H A Dscatterlist.h1 /* SPDX-License-Identifier: GPL-2.0 */
31 #define sg_dma_address(sg) ((sg)->dma_address)
34 #define sg_dma_len(sg) ((sg)->dma_length)
36 #define sg_dma_len(sg) ((sg)->length)
73 * Those low bits are there for everyone! (thanks mason :-)
79 return sg->page_link & SG_PAGE_LINK_MASK; in __sg_flags()
84 return (struct scatterlist *)(sg->page_link & ~SG_PAGE_LINK_MASK); in sg_chain_ptr()
98 * sg_assign_page - Assign a given page to an SG entry
109 unsigned long page_link = sg->page_link & (SG_CHAIN | SG_END); in sg_assign_page()
113 * must be aligned at a 32-bit boundary as a minimum. in sg_assign_page()
[all …]
/openbmc/linux/drivers/power/supply/
H A 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 …]
H A 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 …]
H A Drt5033_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/mfd/rt5033-private.h>
33 struct regmap *regmap = charger->regmap; in rt5033_get_charger_state()
64 struct regmap *regmap = charger->regmap; in rt5033_get_charger_type()
86 struct regmap *regmap = charger->regmap; in rt5033_get_charger_current_limit()
102 struct regmap *regmap = charger->regmap; in rt5033_get_charger_const_voltage()
118 struct rt5033_charger_data *chg = charger->chg; in rt5033_init_const_charge()
124 if (chg->const_uvolt < RT5033_CHARGER_CONST_VOLTAGE_LIMIT_MIN || in rt5033_init_const_charge()
125 chg->const_uvolt > RT5033_CHARGER_CONST_VOLTAGE_LIMIT_MAX) { in rt5033_init_const_charge()
126 dev_err(charger->dev, in rt5033_init_const_charge()
[all …]
/openbmc/openbmc/poky/meta/files/common-licenses/
H A DOCLC-2.011 …riginal Contributor, the "Contributors") hereby grant you a non-exclusive, worldwide, no-charge, t…
22 Except as necessary to recognize third-party rights or third-party restriction (see below), a distr…
24 …h of your Modifications includes complete details of any third-party right or other third-party re…
30 YOU AGREE THAT THE PROGRAM IS PROVIDED AS-IS, WITHOUT WARRANTY OF ANY KIND (EITHER EXPRESS OR IMPLI…
35- (insert then current year) OCLC Online Computer Library Center, Inc. and other contributors. All…
37 C. Requirements for a Distribution of Non-modifiable Code
40 "Copyright (c) 2000- (insert then current year) OCLC Online Computer Library Center, Inc. and other…
47 A Combined Work may be distributed as either modifiable or non-modifiable code. The requirements of…
53-exclusive, worldwide, royalty-free, transferable, sublicenseable license to execute, copy, alter,…
55 Section 5. Termination of Rights
[all …]
H A DOSL-1.014 world-wide, royalty-free, non-exclusive, perpetual, non-sublicenseable
31 2) Grant of Patent License. Licensor hereby grants You a world-wide,
32 royalty-free, non-exclusive, perpetual, non-sublicenseable license,
36 Licensor hereby grants You a world-wide, royalty-free, non-exclusive,
37 perpetual, non-sublicenseable license under the Licensed Claims to
43 Original Work. Licensor hereby agrees to provide a machine-readable
46 right to satisfy this obligation by placing a machine-readable copy of
78 THE ORIGINAL WORK IS DISTRIBUTED BY LICENSOR UNDER A VALID CURRENT
83 NON-INFRINGEMENT AND WARRANTIES THAT THE ORIGINAL WORK IS MERCHANTABLE
104 8) Acceptance and Termination. Nothing else but this License (or
[all …]
H A DOSL-1.17 …pyright License. Licensor hereby grants You a world-wide, royalty-free, non-exclusive, perpetual, …
19-wide, royalty-free, non-exclusive, perpetual, non-sublicenseable license, under patent claims own…
21-readable copy of the Source Code of the Original Work along with each copy of the Original Work t…
29current license from the copyright owner. Except as expressly stated in the immediately proceeding…
33 9) Acceptance and Termination. If You distribute copies of the Original Work or a Derivative Work, …
35Termination for Patent Action. This License shall terminate automatically and You may no longer ex…
37-of-law provisions. The application of the United Nations Convention on Contracts for the Internat…
39 …n, including any appeal of such action. This section shall survive the termination of this License.
H A DAFL-1.18 …taining a copy of the Original Work ("You") a world-wide, royalty-free, non-exclusive, perpetual, …
18CURRENT LICENSE FROM THE COPYRIGHT OWNER. EXCEPT AS EXPRESSLY STATED IN THE IMMEDIATELY PRECEEDING…
22-readable copy of the Source Code of the Original Work along with each copy of the Original Work t…
24Termination for Patent Action. This License shall terminate automatically and You may no longer ex…
H A DAMDPLPA16CURRENT CONDITION AND WITHOUT ANY REPRESENTATIONS, GUARANTEE, OR WARRANTY OF ANY KIND OR IN ANY WA…
18- EXPORTED IN ANY MANNER PROHIBITED UNDER ANY APPLICABLE LAWS, INCLUDING U.S. EXPORT CONTROL LAWS …
H A DAFL-1.213 copy of the Original Work ("You") a world-wide, royalty-free,
14 non-exclusive, perpetual, non-sublicenseable license (1) to use, copy,
38 Work is distributed by Licensor under a valid current license from the
42 limitation, the warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS
64 agrees to provide a machine-readable copy of the Source Code of the Original
67 machine-readable copy of the Source Code in an information repository
73 Mutual Termination for Patent Action. This License shall terminate
77 this "Mutual Termination for Patent Action" clause infringes any patent
89 --
/openbmc/linux/drivers/gpu/drm/i915/pxp/
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A 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 …]
/openbmc/linux/Documentation/filesystems/
H A Dnetfs_library.rst1 .. SPDX-License-Identifier: GPL-2.0
9 - Overview.
10 - Per-inode context.
11 - Inode context helper functions.
12 - Buffered read helpers.
13 - Read helper functions.
14 - Read helper structures.
15 - Read helper operations.
16 - Read helper procedure.
17 - Read helper cache API.
[all …]
/openbmc/linux/Documentation/driver-api/dmaengine/
H A Dclient.rst8 ``Documentation/crypto/async-tx-api.rst``
11 Below is a guide to device driver writers on how to use the Slave-DMA API of the
19 - Allocate a DMA slave channel
21 - Set slave and controller specific parameters
23 - Get a descriptor for transaction
25 - Submit the transaction
27 - Issue pending requests and wait for callback notification
40 .. code-block:: c
66 .. code-block:: c
79 DMA-engine are:
[all …]
/openbmc/linux/include/dt-bindings/usb/
H A Dpd.h1 /* SPDX-License-Identifier: GPL-2.0 */
64 #define PDO_APDO_TYPE_SHIFT 28 /* Only valid value currently is 0x0 - PPS */
89 * Based on "Table 6-14 Fixed Supply PDO - Sink" of "USB Power Delivery Specification Revision 3.0,
91 * Initial current capability of the new source when vSafe5V is applied.
99 * --------------------
107 * <15:0> :: USB-IF assigned VID for this cable vendor
139 * -------------
140 * <31:0> : USB-IF assigned XID for this cable
146 * -----------
154 * --------
[all …]
/openbmc/linux/drivers/scsi/
H A Dadvansys.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * advansys.c - Linux Host Driver for AdvanSys SCSI Adapters
5 * Copyright (c) 1995-2000 Advanced System Products, Inc.
6 * Copyright (c) 2000-2001 ConnectCom Solutions, Inc.
34 #include <linux/dma-mapping.h>
109 #define ASC_CHIP_LATEST_VER_EISA ((ASC_CHIP_MIN_VER_EISA - 1) + 3)
125 * Narrow boards only support 12-byte commands, while wide boards
126 * extend to 16-byte commands.
391 #define ASC_IERR_BIST_PRE_TEST 0x0800 /* BIST pre-test error */
412 * is Ultra-capable or not. These tables let us convert from one to the other.
[all …]

12345678910>>...14