| /Linux-v5.15/Documentation/devicetree/bindings/power/supply/ |
| D | bq24257.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 8 title: Binding for 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 …]
|
| D | bq2415x.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 8 title: Binding for TI bq2415x Li-Ion Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 19 - ti,bq24150 20 - ti,bq24150 21 - ti,bq24150a 22 - ti,bq24151 [all …]
|
| D | bq25890.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 8 title: Binding for bq25890, bq25892, bq25895 and bq25896 Li-Ion Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 19 - ti,bq25890 20 - ti,bq25892 21 - ti,bq25895 22 - ti,bq25896 [all …]
|
| D | sc2731-charger.yaml | 1 # 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 …]
|
| D | battery.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 14 In smart batteries, these are typically stored in non-volatile memory 16 no appropriate non-volatile memory, or it is unprogrammed/incorrect. 27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle. 28 The phandle's property should be named "monitored-battery". 32 const: simple-battery 34 device-chemistry: [all …]
|
| D | rohm,bd99954.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> 11 - Markus Laine <markus.laine@fi.rohmeurope.com> 12 - Mikko Mutanen <mikko.mutanen@fi.rohmeurope.com> 15 The ROHM BD99954 is a Battery Management LSI for 1-4 cell Lithium-Ion 16 secondary battery intended to be used in space-constraint equipment such 18 provides a Dual-source Battery Charger, two port BC1.2 detection and a 28 # Curve (1) represents charging current. [all …]
|
| /Linux-v5.15/include/linux/power/ |
| D | bq2415x_charger.h | 1 /* 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 */
|
| /Linux-v5.15/include/linux/ |
| D | prime_numbers.h | 1 /* 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.
|
| D | scatterlist.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 28 #define sg_dma_address(sg) ((sg)->dma_address) 31 #define sg_dma_len(sg) ((sg)->dma_length) 33 #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 …]
|
| D | idr.h | 1 /* 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 …]
|
| /Linux-v5.15/drivers/power/supply/ |
| D | sc2731_charger.c | 1 // 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 …]
|
| D | bd99954-charger.c | 1 // 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 …]
|
| D | smb347-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 #include <dt-bindings/power/summit,smb347-charger.h> 26 #define SMB3XX_SOFT_TEMP_COMPENSATE_DEFAULT -1 29 #define SMB3XX_TEMP_USE_DEFAULT -273 34 * reloaded from non-volatile registers after POR. 136 * struct smb347_charger - smb347 charger instance 147 * @max_charge_current: maximum current (in uA) the battery can be charged 149 * @pre_charge_current: current (in uA) to use in pre-charging phase 150 * @termination_current: current (in uA) used to determine when the 153 * pre-charge to fast charge mode [all …]
|
| /Linux-v5.15/include/linux/mfd/ |
| D | rt5033-private.h | 1 /* 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 …]
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | eswitch_offloads_termtbl.c | 1 // 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 (dest->vport.pkt_reformat) in mlx5_eswitch_termtbl_hash() 34 hash = jhash(dest->vport.pkt_reformat, in mlx5_eswitch_termtbl_hash() [all …]
|
| /Linux-v5.15/arch/arm64/boot/dts/freescale/ |
| D | imx8mq-librem5-r2.dts | 1 // 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 = <120>;
|
| D | imx8mq-librem5-r3.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 /dts-v1/; 6 #include "imx8mq-librem5.dtsi" 14 opp-1000000000 { 15 opp-microvolt = <1000000>; 20 mount-matrix = "1", "0", "0", 22 "0", "0", "-1"; 26 ti,battery-regulation-voltage = <4200000>; /* uV */ 27 ti,charge-current = <1500000>; /* uA */ 28 ti,termination-current = <144000>; /* uA */ [all …]
|
| D | imx8mq-librem5-r4.dts | 1 // 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 maxim,rsns-microohm = <1667>; 24 ti,battery-regulation-voltage = <4200000>; /* uV */ 25 ti,charge-current = <1500000>; /* uA */ 26 ti,termination-current = <144000>; /* uA */ 30 led-max-microamp = <25000>; [all …]
|
| /Linux-v5.15/Documentation/filesystems/ |
| D | netfs_library.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 - Overview. 10 - Buffered read helpers. 11 - Read helper functions. 12 - Read helper structures. 13 - Read helper operations. 14 - Read helper procedure. 15 - Read helper cache API. 34 The library provides a set of read helpers that handle the ->readpage(), 35 ->readahead() and much of the ->write_begin() VM operations and translate them [all …]
|
| /Linux-v5.15/Documentation/driver-api/dmaengine/ |
| D | client.rst | 8 ``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 …]
|
| /Linux-v5.15/drivers/scsi/ |
| D | advansys.c | 1 // 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 …]
|
| /Linux-v5.15/include/dt-bindings/usb/ |
| D | pd.h | 1 /* 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 …]
|
| /Linux-v5.15/include/linux/usb/ |
| D | pd_vdo.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright 2015-2017 Google, Inc 21 * ---------- 26 * <10:8> :: object position (1-7 valid ... used for enter/exit mode only) 85 * SVDM Identity request -> response 106 * -------------------- 114 * <15:0> :: USB-IF assigned VID for this cable vendor 156 * ------------- 157 * <31:0> : USB-IF assigned XID for this cable 164 * ----------- [all …]
|
| /Linux-v5.15/drivers/scsi/aic7xxx/ |
| D | aic79xx_pci.c | 5 * Copyright (c) 1994-2001 Justin T. Gibbs. 6 * Copyright (c) 2000-2002 Adaptec Inc. 20 * 3. Neither the names of the above-listed copyright holders nor the names 220 "PCI-X 101-133MHz", 221 "PCI-X 67-100MHz", 222 "PCI-X 50-66MHz", 278 if (entry->full_id == (full_id & entry->id_mask)) { in ahd_find_pci_device() 280 if (entry->name == NULL) in ahd_find_pci_device() 296 ahd->description = entry->name; in ahd_pci_config() 300 subvendor = ahd_pci_read_config(ahd->dev_softc, in ahd_pci_config() [all …]
|
| /Linux-v5.15/arch/alpha/lib/ |
| D | strncat.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Append no more than COUNT characters from the null-terminated string SRC 7 * to the null-terminated string DST. Always null-terminate the new DST. 29 lda $2, -1($31) 58 /* Worry about the null termination. */ 71 /* Here there are bytes left in the current word. Clear one. */ 72 addq $24, $24, $24 # end-of-count bit <<= 1
|