/Linux-v6.1/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,bq24150a 21 - ti,bq24151 22 - ti,bq24151a [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 | 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 …]
|
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 …]
|
/Linux-v6.1/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-v6.1/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 */ 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 …]
|
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-v6.1/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 …]
|
/Linux-v6.1/drivers/gpu/drm/i915/pxp/ |
D | intel_pxp_types.h | 1 /* SPDX-License-Identifier: MIT */ 18 * struct intel_pxp - pxp state 33 /** @ce: kernel-owned context used for PXP operations */ 48 * to determine if an object was created using the current key or a 59 * re-initialize the session. We keep track of this state to make sure 60 * we only re-start the arb session when required. 67 * @termination: tracks the status of a pending termination. Only 68 * re-initialized under gt->irq_lock and completed in &session_work. 70 struct completion termination; member 74 /** @session_events: pending session events, protected with gt->irq_lock. */
|
D | intel_pxp.c | 1 // SPDX-License-Identifier: MIT 21 * Objects can opt-in to PXP encryption at creation time via the 49 return pxp->ce; in intel_pxp_is_enabled() 54 return pxp->arb_is_valid; in intel_pxp_is_active() 64 intel_uncore_write(gt->uncore, KCR_INIT, in kcr_pxp_enable() 70 intel_uncore_write(gt->uncore, KCR_INIT, in kcr_pxp_disable() 87 engine = gt->engine_class[VIDEO_DECODE_CLASS][i]; in create_vcs_context() 89 GEM_BUG_ON(!engine || engine->class != VIDEO_DECODE_CLASS); in create_vcs_context() 91 ce = intel_engine_create_pinned_context(engine, engine->gt->vm, SZ_4K, in create_vcs_context() 95 drm_err(>->i915->drm, "failed to create VCS ctx for PXP\n"); in create_vcs_context() [all …]
|
/Linux-v6.1/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-v6.1/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 (flow_act->pkt_reformat) in mlx5_eswitch_termtbl_hash() 34 hash = jhash(flow_act->pkt_reformat, in mlx5_eswitch_termtbl_hash() [all …]
|
/Linux-v6.1/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.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 /dts-v1/; 11 #include "imx8mq-librem5.dtsi" 19 mount-matrix = "1", "0", "0", 21 "0", "0", "-1"; 25 ti,battery-regulation-voltage = <4200000>; /* uV */ 26 ti,charge-current = <1500000>; /* uA */ 27 ti,termination-current = <144000>; /* uA */ 31 pinctrl-0 = <&pinctrl_csi1>, <&pinctrl_r3_camera_pwr>; 32 shutdown-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>; [all …]
|
/Linux-v6.1/Documentation/filesystems/ |
D | netfs_library.rst | 1 .. 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 …]
|
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/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
|