| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| D | qcom_smbb.txt | 1 Qualcomm Switch-Mode Battery Charger and Boost 4 - compatible: 8 - "qcom,pm8941-charger" 10 - reg: 12 Value type: <prop-encoded-array> 15 - interrupts: 17 Value type: <prop-encoded-array> 21 - charge done 22 - charge fast mode 23 - charge trickle mode [all …]
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| D | max77650-charger.c | 1 // SPDX-License-Identifier: GPL-2.0 6 // Battery charger driver for MAXIM 77650/77651 charger/power-supply. 28 /* Charger is in fast-charge constant current mode. */ 30 /* Charger is in JEITA modified fast-charge constant-current mode. */ 32 /* Charger is in fast-charge constant-voltage mode. */ 34 /* Charger is in JEITA modified fast-charge constant-voltage mode. */ 36 /* Charger is in top-off mode. */ 38 /* Charger is in JEITA modified top-off mode. */ 40 /* Charger is done. */ 42 /* Charger is JEITA modified done. */ [all …]
|
| D | qcom_smbb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * This driver is for the multi-block Switch-Mode Battery Charger and Boost 6 * integrated, single-cell lithium-ion battery charger. 8 * Sub-components: 9 * - Charger core 10 * - Buck 11 * - DC charge-path 12 * - USB charge-path 13 * - Battery interface 14 * - Boost (not implemented) [all …]
|
| D | mt6360_charger.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/devm-helpers.h> 170 ret = regmap_read(mci->regmap, MT6360_PMU_FOD_STAT, ®val); in mt6360_get_chrdet_ext_stat() 186 val->intval = pwr_rdy ? true : false; in mt6360_charger_get_online() 205 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_STAT, ®val); in mt6360_charger_get_status() 221 ret = -EIO; in mt6360_charger_get_status() 225 val->intval = status; in mt6360_charger_get_status() 236 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_STAT, ®val); in mt6360_charger_get_charge_type() 249 case 0x02: /* Charge Done */ in mt6360_charger_get_charge_type() 256 val->intval = type; in mt6360_charger_get_charge_type() [all …]
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | max77650-charger.c | 1 // SPDX-License-Identifier: GPL-2.0 6 // Battery charger driver for MAXIM 77650/77651 charger/power-supply. 28 /* Charger is in fast-charge constant current mode. */ 30 /* Charger is in JEITA modified fast-charge constant-current mode. */ 32 /* Charger is in fast-charge constant-voltage mode. */ 34 /* Charger is in JEITA modified fast-charge constant-voltage mode. */ 36 /* Charger is in top-off mode. */ 38 /* Charger is in JEITA modified top-off mode. */ 40 /* Charger is done. */ 42 /* Charger is JEITA modified done. */ [all …]
|
| D | qcom_smbb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * This driver is for the multi-block Switch-Mode Battery Charger and Boost 6 * integrated, single-cell lithium-ion battery charger. 8 * Sub-components: 9 * - Charger core 10 * - Buck 11 * - DC charge-path 12 * - USB charge-path 13 * - Battery interface 14 * - Boost (not implemented) [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/ |
| D | qcom,pm8941-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/qcom,pm8941-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Switch-Mode Battery Charger and Boost 10 - Sebastian Reichel <sre@kernel.org> 15 - qcom,pm8226-charger 16 - qcom,pm8941-charger 23 - description: charge done 24 - description: charge fast mode [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/qcom/ |
| D | pm8226.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 3 #include <dt-bindings/input/linux-event-codes.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/spmi/spmi.h> 8 thermal-zones { 9 pm8226-thermal { 10 polling-delay-passive = <100>; 11 polling-delay = <0>; 12 thermal-sensors = <&pm8226_temp>; [all …]
|
| D | pm8941.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 3 #include <dt-bindings/interrupt-controller/irq.h> 4 #include <dt-bindings/spmi/spmi.h> 8 thermal-zones { 9 pm8941-thermal { 10 polling-delay-passive = <100>; 11 polling-delay = <0>; 12 thermal-sensors = <&pm8941_temp>; 40 compatible = "qcom,pm8941", "qcom,spmi-pmic"; [all …]
|
| /kernel/linux/linux-5.10/fs/xfs/ |
| D | xfs_trans.h | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc. 33 xfs_lsn_t li_lsn; /* last on-disk lsn */ 86 return lip->li_ops->iop_recover != NULL && in xlog_item_is_intent() 87 lip->li_ops->iop_match != NULL; in xlog_item_is_intent() 90 /* Is this a log intent-done item? */ 94 return lip->li_ops->iop_unpin == NULL && in xlog_item_is_intent_done() 95 lip->li_ops->iop_push == NULL; in xlog_item_is_intent_done() 139 int64_t t_fdblocks_delta; /* superblock fdblocks chg */ 140 int64_t t_res_fdblocks_delta; /* on-disk only chg */ [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | qcom-pm8941.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 3 #include <dt-bindings/interrupt-controller/irq.h> 4 #include <dt-bindings/spmi/spmi.h> 9 compatible = "qcom,pm8941", "qcom,spmi-pmic"; 11 #address-cells = <1>; 12 #size-cells = <0>; 15 compatible = "qcom,pm8941-rtc"; 18 reg-names = "rtc", "alarm"; 23 compatible = "qcom,pm8941-pwrkey"; [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
| D | ice_flex_pipe.c | 1 // SPDX-License-Identifier: GPL-2.0 77 * ice_sect_id - returns section ID 90 * ice_hw_ptype_ena - check if the PTYPE is enabled or not 97 test_bit(ptype, hw->hw_ptype); in ice_hw_ptype_ena() 112 * ice_gen_key_word - generate 16-bits of a key/mask word 120 * This function generates 16-bits from a 8-bit value, an 8-bit don't care mask 121 * and an 8-bit never match mask. The 16-bits of output are divided into 8 bits 133 * ------------------------------ 145 return -EIO; in ice_gen_key_word() 150 /* encode the 8 bits into 8-bit key and 8-bit key invert */ in ice_gen_key_word() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
| D | ice_flex_pipe.c | 1 // SPDX-License-Identifier: GPL-2.0 85 * ice_sect_id - returns section ID 109 hdr = (struct ice_buf_hdr *)buf->buf; in ice_pkg_val_buf() 111 section_count = le16_to_cpu(hdr->section_count); in ice_pkg_val_buf() 115 data_end = le16_to_cpu(hdr->data_end); in ice_pkg_val_buf() 133 (ice_seg->device_table + in ice_find_buf_table() 134 le32_to_cpu(ice_seg->device_table_count)); in ice_find_buf_table() 137 (nvms->vers + le32_to_cpu(nvms->table_count)); in ice_find_buf_table() 146 * call is made with the ice_seg parameter non-NULL; on subsequent calls, 156 state->buf_table = ice_find_buf_table(ice_seg); in ice_pkg_enum_buf() [all …]
|
| /kernel/linux/linux-5.10/mm/ |
| D | hugetlb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 84 return page_private(head + 4) == -1UL; in PageHugeFreed() 89 set_page_private(head + 4, -1UL); in SetPageHugeFreed() 102 bool free = (spool->count == 0) && (spool->used_hpages == 0); in unlock_or_release_subpool() 104 spin_unlock(&spool->lock); in unlock_or_release_subpool() 110 if (spool->min_hpages != -1) in unlock_or_release_subpool() 111 hugetlb_acct_memory(spool->hstate, in unlock_or_release_subpool() 112 -spool->min_hpages); in unlock_or_release_subpool() 126 spin_lock_init(&spool->lock); in hugepage_new_subpool() 127 spool->count = 1; in hugepage_new_subpool() [all …]
|
| /kernel/linux/linux-6.6/mm/ |
| D | hugetlb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 60 return cma_pages_valid(hugetlb_cma[folio_nid(folio)], &folio->page, in hugetlb_cma_folio() 104 if (spool->count) in subpool_is_free() 106 if (spool->max_hpages != -1) in subpool_is_free() 107 return spool->used_hpages == 0; in subpool_is_free() 108 if (spool->min_hpages != -1) in subpool_is_free() 109 return spool->rsv_hpages == spool->min_hpages; in subpool_is_free() 117 spin_unlock_irqrestore(&spool->lock, irq_flags); in unlock_or_release_subpool() 123 if (spool->min_hpages != -1) in unlock_or_release_subpool() 124 hugetlb_acct_memory(spool->hstate, in unlock_or_release_subpool() [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/host/ |
| D | max3421-hcd.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Author: David Mosberger-Tang <davidm@egauge.net> 7 * (C) Copyright 2014 David Mosberger-Tang <davidm@egauge.net> 9 * MAX3421 is a chip implementing a USB 2.0 Full-/Low-Speed host 16 * https://www.hdl.co.jp/ftpdata/utl-001/AN3785.pdf 24 * Important note on worst-case (full-speed) packet size constraints 27 * - control: 64 bytes 28 * - isochronous: 1023 bytes 29 * - interrupt: 64 bytes 30 * - bulk: 64 bytes [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/host/ |
| D | max3421-hcd.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Author: David Mosberger-Tang <davidm@egauge.net> 7 * (C) Copyright 2014 David Mosberger-Tang <davidm@egauge.net> 9 * MAX3421 is a chip implementing a USB 2.0 Full-/Low-Speed host 16 * https://www.hdl.co.jp/ftpdata/utl-001/AN3785.pdf 24 * Important note on worst-case (full-speed) packet size constraints 27 * - control: 64 bytes 28 * - isochronous: 1023 bytes 29 * - interrupt: 64 bytes 30 * - bulk: 64 bytes [all …]
|
| /kernel/linux/linux-6.6/drivers/scsi/sym53c8xx_2/ |
| D | sym_hipd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * of PCI-SCSI IO processors. 6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr> 7 * Copyright (c) 2003-2005 Matthew Wilcox <matthew@wil.cx> 10 * Copyright (C) 1998-2000 Gerard Roudier 13 * a port of the FreeBSD ncr driver to Linux-1.2.13. 17 * Stefan Esser <se@mi.Uni-Koeln.de> 25 *----------------------------------------------------------------------------- 55 while (n-- > 0) in sym_printl_hex() 62 sym_print_addr(cp->cmd, "%s: ", label); in sym_print_msg() [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/ |
| D | sym_hipd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * of PCI-SCSI IO processors. 6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr> 7 * Copyright (c) 2003-2005 Matthew Wilcox <matthew@wil.cx> 10 * Copyright (C) 1998-2000 Gerard Roudier 13 * a port of the FreeBSD ncr driver to Linux-1.2.13. 17 * Stefan Esser <se@mi.Uni-Koeln.de> 25 *----------------------------------------------------------------------------- 55 while (n-- > 0) in sym_printl_hex() 62 sym_print_addr(cp->cmd, "%s: ", label); in sym_print_msg() [all …]
|
| /kernel/linux/linux-5.10/drivers/input/touchscreen/ |
| D | atmel_mxt_ts.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2011-2014 Atmel Corporation 29 #include <media/v4l2-device.h> 30 #include <media/v4l2-ioctl.h> 31 #include <media/videobuf2-v4l2.h> 32 #include <media/videobuf2-vmalloc.h> 352 return obj->size_minus_one + 1; in mxt_obj_size() 357 return obj->instances_minus_one + 1; in mxt_obj_instances() 397 dev_dbg(&data->client->dev, "message: %*ph\n", in mxt_dump_message() 398 data->T5_msg_size, message); in mxt_dump_message() [all …]
|
| /kernel/linux/linux-6.6/drivers/input/touchscreen/ |
| D | atmel_mxt_ts.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2011-2014 Atmel Corporation 30 #include <media/v4l2-device.h> 31 #include <media/v4l2-ioctl.h> 32 #include <media/videobuf2-v4l2.h> 33 #include <media/videobuf2-vmalloc.h> 34 #include <dt-bindings/input/atmel-maxtouch.h> 367 return obj->size_minus_one + 1; in mxt_obj_size() 372 return obj->instances_minus_one + 1; in mxt_obj_instances() 413 dev_dbg(&data->client->dev, "message: %*ph\n", in mxt_dump_message() [all …]
|
| /kernel/linux/linux-6.6/drivers/scsi/ |
| D | ncr53c8xx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 ** Device driver for the PCI-SCSI NCR538XX controller family. 8 **----------------------------------------------------------------------------- 22 ** Stefan Esser <se@mi.Uni-Koeln.de> 27 **----------------------------------------------------------------------------- 38 ** Support for Fast-20 scsi. 42 ** Support for Fast-40 scsi. 43 ** Support for on-Board RAM. 46 ** Full support for scsi scripts instructions pre-fetching. 57 ** Low PCI traffic for command handling when on-chip RAM is present. [all …]
|
| /kernel/linux/linux-6.6/Documentation/mm/ |
| D | hugetlbfs_reserv.rst | 8 Huge pages as described at Documentation/admin-guide/mm/hugetlbpage.rst are 16 done with a simple check in the code at mmap() time to determine if there 21 describe how huge page reserve processing is done in the v4.10 kernel. 34 This is a global (per-hstate) count of reserved huge pages. Reserved 37 as (``free_huge_pages - resv_huge_pages``). 89 - For private mappings, the reservation map hangs off the VMA structure. 90 Specifically, vma->vm_private_data. This reserve map is created at the 92 - For shared mappings, the reservation map hangs off the inode. Specifically, 93 inode->i_mapping->private_data. Since shared mappings are always backed 124 - For shared mappings, an entry in the reservation map indicates a reservation [all …]
|
| /kernel/linux/linux-5.10/Documentation/vm/ |
| D | hugetlbfs_reserv.rst | 18 done with a simple check in the code at mmap() time to determine if there 23 describe how huge page reserve processing is done in the v4.10 kernel. 36 This is a global (per-hstate) count of reserved huge pages. Reserved 39 as (``free_huge_pages - resv_huge_pages``). 91 - For private mappings, the reservation map hangs off the VMA structure. 92 Specifically, vma->vm_private_data. This reserve map is created at the 94 - For shared mappings, the reservation map hangs off the inode. Specifically, 95 inode->i_mapping->private_data. Since shared mappings are always backed 126 - For shared mappings, an entry in the reservation map indicates a reservation 129 - For private mappings, the lack of an entry in the reservation map indicates [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/ |
| D | esp_scsi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 40 /* ESP config reg 1, read-write, found on all ESP chips */ 48 /* ESP config reg 2, read-write, found only on esp100a+esp200+esp236 chips */ 52 #define ESP_CONFIG2_SCSI2ENAB 0x08 /* Enable SCSI-2 features (tgtmode) */ 55 #define ESP_CONFIG2_BCM 0x20 /* Enable byte-ctrl (236) */ 58 #define ESP_CONFIG2_SPL 0x40 /* Enable status-phase latch (236) */ 63 /* ESP config register 3 read-write, found only esp236+fas236+fas100a+hme chips */ 65 #define ESP_CONFIG3_TEM 0x01 /* Enable thresh-8 mode (esp/fas236) */ 67 #define ESP_CONFIG3_ADMA 0x02 /* Enable alternate-dma (esp/fas236) */ 70 #define ESP_CONFIG3_TMS 0x08 /* Three-byte msg's ok (esp100a/hme) */ [all …]
|