/linux-6.12.1/drivers/input/keyboard/ |
D | pmic8xxx-keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (c) 2009-2011, Code Aurora Forum. All rights reserved. 78 * struct pmic8xxx_kp - internal keypad data structure 80 * @num_rows: number of row of keypad 85 * @keycodes: array to hold the key codes 110 /* all keys pressed on that particular row? */ in pmic8xxx_col_state() 112 return 1 << kp->num_cols; in pmic8xxx_col_state() 114 return col & ((1 << kp->num_cols) - 1); in pmic8xxx_col_state() 134 rc = regmap_read(kp->regmap, KEYP_SCAN, &scan_val); in pmic8xxx_chk_sync_read() 136 dev_err(kp->dev, "Error reading KEYP_SCAN reg, rc=%d\n", rc); in pmic8xxx_chk_sync_read() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/input/ |
D | qcom,pm8921-keypad.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/qcom,pm8921-keypad.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 13 - $ref: input.yaml# 14 - $ref: matrix-keymap.yaml# 19 - qcom,pm8058-keypad 20 - qcom,pm8921-keypad 27 - description: key sense [all …]
|
/linux-6.12.1/drivers/tty/vt/ |
D | consolemap.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Mapping from internal code (such as Latin-1 or Unicode or IBM PC code) 15 * &mm->mmap_lock --> cpu_hotplug.lock --> console_lock --> &mm->mmap_lock 42 /* 8-bit Latin-1 mapped to Unicode -- trivial mapping */ 147 /* User mapping -- default to codes for direct font mapping */ 184 /* The standard kernel character-to-font mappings are not invertible 185 -- this is just a best effort. */ 203 #define UNI(dir, row, glyph) (FIELD_PREP(UNI_DIR_BITS, (dir)) | \ argument 204 FIELD_PREP(UNI_ROW_BITS, (row)) | \ 208 * struct uni_pagedict - unicode directory [all …]
|
/linux-6.12.1/drivers/gpu/ipu-v3/ |
D | ipu-image-convert.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2012-2016 Mentor Graphics Inc. 9 #include <linux/dma-mapping.h> 12 #include <video/imx-ipu-image-convert.h> 14 #include "ipu-prv.h" 29 * the DMA channel's parameter memory!). IDMA double-buffering is used 30 * to convert each tile back-to-back when possible (see note below 36 * +---------+-----+ 37 * +-----+---+ | A | B | 39 * +-----+---+ --> +---------+-----+ [all …]
|
/linux-6.12.1/drivers/media/platform/ti/vpe/ |
D | sc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 struct device *dev = &sc->pdev->dev; in sc_dump_regs() 25 #define DUMPREG(r) dev_dbg(dev, "%-35s %08x\n", #r, \ in sc_dump_regs() 26 ioread32(sc->base + CFG_##r)) in sc_dump_regs() 28 dev_dbg(dev, "SC Registers @ %pa:\n", &sc->res->start); in sc_dump_regs() 84 idx = HS_LT_9_16_SCALE + sixteenths - 8; in sc_set_hs_coeffs() 97 * row to hold coefficients for the next phase in sc_set_hs_coeffs() 99 coeff_h += SC_NUM_TAPS_MEM_ALIGN - SC_H_NUM_TAPS; in sc_set_hs_coeffs() 102 sc->load_coeff_h = true; in sc_set_hs_coeffs() 127 idx = VS_LT_9_16_SCALE + sixteenths - 8; in sc_set_vs_coeffs() [all …]
|
/linux-6.12.1/drivers/accessibility/speakup/ |
D | DefaultKeyAssignments | 8 InsKeyPad-period means hold down the insert key like a shift key and 11 KeyPad-8 Say current Line 12 InsKeyPad-8 say from top of screen to reading cursor. 13 KeyPad-7 Say Previous Line (UP one line) 14 KeyPad-9 Say Next Line (down one line) 15 KeyPad-5 Say Current Word 16 InsKeyPad-5 Spell Current Word 17 KeyPad-4 Say Previous Word (left one word) 18 InsKeyPad-4 say from left edge of line to reading cursor. 19 KeyPad-6 Say Next Word (right one word) [all …]
|
/linux-6.12.1/net/netfilter/ipvs/ |
D | ip_vs_est.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 36 avgrate = avgrate*(1-W) + rate*W 38 where W = 2^(-2) 44 * Netlink users can see 64-bit values but sockopt users are restricted 45 to 32-bit values for conns, packets, bps, cps and pps. 50 - cpustats counters are updated per-cpu in SoftIRQ context with BH disabled 51 - kthreads read the cpustats to update the estimators (svcs, dests, total) 52 - the states of estimators can be read (get stats) or modified (zero stats) 56 - estimators are added initially to est_temp_list and later kthread 0 58 - kthread contexts are created and attached to array [all …]
|
/linux-6.12.1/drivers/edac/ |
D | i82443bxgx_edac.c | 20 * not completely so - I haven't studied them in enough detail to know 38 * rows" "The 82443BX supports multiple-bit error detection and 39 * single-bit error correction when ECC mode is enabled and 40 * single/multi-bit error detection when correction is disabled. 42 * on a QWord basis. Partial QWord writes require a read-modify-write 48 * error within the same QWord would result in a double-bit error 65 * row is non-ECC */ 69 #define I82443BXGX_NBXCFG_INTEGRITY_NONE 0x0 /* 00 = Non-ECC */ 81 #define I82443BXGX_EAP_OFFSET_MBE BIT(1) /* Err at EAP was multi-bit (W1TC) */ 82 #define I82443BXGX_EAP_OFFSET_SBE BIT(0) /* Err at EAP was single-bit (W1TC) */ [all …]
|
D | edac_mc.c | 9 * http://www.anime.net/~goemon/linux-ecc/ 64 struct mem_ctl_info *mci = dimm->mci; in edac_dimm_info_location() 68 for (i = 0; i < mci->n_layers; i++) { in edac_dimm_info_location() 70 edac_layer_name[mci->layers[i].type], in edac_dimm_info_location() 71 dimm->location[i]); in edac_dimm_info_location() 73 len -= n; in edac_dimm_info_location() 84 edac_dbg(4, " channel->chan_idx = %d\n", chan->chan_idx); in edac_mc_dump_channel() 86 edac_dbg(4, " channel->csrow = %p\n", chan->csrow); in edac_mc_dump_channel() 87 edac_dbg(4, " channel->dimm = %p\n", chan->dimm); in edac_mc_dump_channel() 94 if (!dimm->nr_pages) in edac_mc_dump_dimm() [all …]
|
/linux-6.12.1/arch/arm/boot/dts/qcom/ |
D | pm8921.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #interrupt-cells = <2>; 7 interrupt-controller; 8 #address-cells = <1>; 9 #size-cells = <0>; 12 compatible = "qcom,pm8921-pwrkey"; 14 interrupts-extended = <&pm8921 50 IRQ_TYPE_EDGE_RISING>, 17 pull-up; 21 compatible = "qcom,pm8921-mpp", 22 "qcom,ssbi-mpp"; [all …]
|
D | pm8058.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #interrupt-cells = <2>; 7 interrupt-controller; 8 #address-cells = <1>; 9 #size-cells = <0>; 12 compatible = "qcom,pm8058-pwrkey"; 14 interrupts-extended = <&pm8058 50 IRQ_TYPE_EDGE_RISING>, 17 pull-up; 21 compatible = "qcom,pm8058-keypad-led"; 27 compatible = "qcom,pm8058-vib"; [all …]
|
/linux-6.12.1/drivers/thermal/intel/ |
D | intel_hfi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Ricardo Neri <ricardo.neri-calderon@linux.intel.com> 22 #define pr_fmt(fmt) "intel-hfi: " fmt 33 #include <linux/percpu-defs.h> 79 * struct hfi_cpu_data - HFI capabilities per CPU 92 * struct hfi_hdr - Header of the HFI table 104 * struct hfi_instance - Representation of an HFI instance (i.e., a table) 133 * struct hfi_features - Supported HFI features 136 * processor within the table (i.e., row stride) 148 * struct hfi_cpu_info - Per-CPU attributes to consume HFI data [all …]
|
/linux-6.12.1/arch/arm/crypto/ |
D | blake2s-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 13 // Registers used to hold message words temporarily. There aren't 14 // enough ARM registers to hold the whole message block, so we have to 15 // load the words on-demand. 59 // Execute a quarter-round of BLAKE2s by mixing two columns or two diagonals. 61 // columns/diagonals. s0-s1 are the word offsets to the message words the first 62 // column/diagonal needs, and likewise s2-s3 for the second column/diagonal. 115 // spilling v[8..9], then to v[9..15], then to the message block. r10-r12 and 116 // r14 are free to use. The macro arguments s0-s15 give the order in which the 124 // when the values are used. 'brot' is the number of bits the values in row 'b' [all …]
|
D | chacha-scalar-core.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 * 16 registers would be needed to hold the state matrix, but only 14 are 22 * when the values are used. 'brot' is the number of bits the values in row 'b' 24 * similarly for row 'd'. (brot, drot) start out as (0, 0) but we make it such 78 // drot == 32 - 16 == 16 85 // brot == 32 - 12 == 20 92 // drot == 32 - 8 == 24 99 // brot == 32 - 7 == 25 143 // Stack: unused0-unused1 x10-x11 x0-x15 OUT IN LEN 144 // Registers contain x0-x9,x12-x15. [all …]
|
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_exec_queue_types.h | 1 /* SPDX-License-Identifier: MIT */ 25 XE_EXEC_QUEUE_PRIORITY_UNSET = -2, /* For execlist usage only */ 35 * struct xe_exec_queue - Execution queue 70 * @last_fence: last fence on exec queue, protected by vm->lock in write 71 * mode if bind exec queue, protected by dma resv lock if non-bind exec 80 /* for VM jobs. Caller needs to hold rpm ref when creating queue with this flag */ 82 /* child of VM queue for multi-tile VM jobs */ 94 /** @multi_gt_list: list head for VM bind engines if multi-GT */ 96 /** @multi_gt_link: link for VM bind engines if multi-GT */ 109 /** @sched_props.timeslice_us: timeslice period in micro-seconds */ [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/ |
D | i915_vma.c | 26 #include <linux/dma-fence-array.h> 55 if (kref_read(&vma->vm->ref)) in assert_vma_held_evict() 56 assert_object_held_shared(vma->obj); in assert_vma_held_evict() 79 if (!vma->node.stack) { in vma_print_allocator() 80 drm_dbg(vma->obj->base.dev, in vma_print_allocator() 82 vma->node.start, vma->node.size, reason); in vma_print_allocator() 86 stack_depot_snprint(vma->node.stack, buf, sizeof(buf), 0); in vma_print_allocator() 87 drm_dbg(vma->obj->base.dev, in vma_print_allocator() 89 vma->node.start, vma->node.size, reason, buf); in vma_print_allocator() 110 return -ENOENT; in __i915_vma_active() [all …]
|
/linux-6.12.1/drivers/usb/typec/ucsi/ |
D | ucsi_ccg.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * UCSI driver for Cypress CCGx Type-C controller 5 * Copyright (C) 2017-2018 NVIDIA Corporation. All rights reserved. 26 FW1, /* FW partition-1 (contains secondary fw) */ 27 FW2, /* FW partition-2 (contains primary fw) */ 240 struct i2c_client *client = uc->client; in ccg_read() 241 const struct i2c_adapter_quirks *quirks = client->adapter->quirks; in ccg_read() 245 .addr = client->addr, in ccg_read() 251 .addr = client->addr, in ccg_read() 260 if (quirks && quirks->max_read_len) in ccg_read() [all …]
|
/linux-6.12.1/net/sched/ |
D | sch_htb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 50 classes have level TC_HTB_MAXDEPTH-1. Interior nodes has level 78 struct rb_root row; member 82 /* When class changes from state 1->2 and disconnects from 101 int quantum; /* but stored for parent-to-leaf return */ 172 /* time of nearest event per level (row) */ 191 clc = qdisc_class_find(&q->clhash, handle); in htb_find() 202 #define HTB_DIRECT ((struct htb_class *)-1L) 205 * htb_classify - classify a packet into class 210 * It returns NULL if the packet should be dropped or -1 if the packet [all …]
|
/linux-6.12.1/tools/perf/pmu-events/ |
D | jevents.py | 2 # SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 63 def removesuffix(s: str, suffix: str) -> str: 69 return s[0:-len(suffix)] if s.endswith(suffix) else s 73 dirname: str) -> str: 79 return tblname.replace('-', '_') 82 def c_len(s: str) -> int: 94 utf = s.encode(encoding='utf-8',errors='strict') 98 return len(utf) - utf.count(b'\\') + utf.count(b'\\\\') - (utf.count(b'\\000') * 2) 101 """A class to hold many strings concatenated together. 103 Generating a large number of stand-alone C strings creates a large [all …]
|
/linux-6.12.1/drivers/mtd/devices/ |
D | pmc551.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 * Device) so that it can be used to hold a file system, or for 137 struct mypriv *priv = mtd->priv; in pmc551_erase() 145 printk(KERN_DEBUG "pmc551_erase(pos:%ld, len:%ld)\n", (long)instr->addr, in pmc551_erase() 146 (long)instr->len); in pmc551_erase() 149 end = instr->addr + instr->len - 1; in pmc551_erase() 150 eoff_hi = end & ~(priv->asize - 1); in pmc551_erase() 151 soff_hi = instr->addr & ~(priv->asize - 1); in pmc551_erase() 152 eoff_lo = end & (priv->asize - 1); in pmc551_erase() 154 pmc551_point(mtd, instr->addr, instr->len, &retlen, in pmc551_erase() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/ |
D | dml1_display_rq_dlg_calc.c | 33 * This file is gcc-parseable HW gospel, coming straight from HW engineers. 37 * remain as-is as it provides us with a guarantee from HW that it is correct. 142 double tmp0 = (max_num_sw * swath_height) / (l_sw - (prefill - 3.0) / 2.0); in get_vratio_pre() 185 …*max_num_sw = (unsigned int) (dml_ceil((prefill - 1.0) / (double) swath_height, 1) + 1.0); /* pref… in get_swath_need() 188 (swath_height - 1) : in get_swath_need() 189 ((unsigned int) (prefill - 2.0) % swath_height); in get_swath_need() 214 rq_regs->chunk_size = dml_log2(rq_sizing->chunk_bytes) - 10; in extract_rq_sizing_regs() 216 if (rq_sizing->min_chunk_bytes == 0) in extract_rq_sizing_regs() 217 rq_regs->min_chunk_size = 0; in extract_rq_sizing_regs() 219 rq_regs->min_chunk_size = dml_log2(rq_sizing->min_chunk_bytes) - 8 + 1; in extract_rq_sizing_regs() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl_bloom_filter.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 19 /* Bloom filter uses a crc-16 hash over chunks of data which contain 4 key 20 * blocks, eRP ID and region ID. In Spectrum-2 and above, region key is combined 25 * +-------------------------+------------------------+------------------------+ 26 * | Chunk 2 Key blocks 11-8 | Chunk 1 Key blocks 7-4 | Chunk 0 Key blocks 3-0 | 27 * +-------------------------+------------------------+------------------------+ 31 /* Spectrum-2 and Spectrum-3 chunks */ 35 * 36 bits, 2 bytes which hold eRP ID and region ID, and 3 bytes of zero 39 * +---------+----------------------+-----------------------------------+ 41 * +---------+-----------+----------+-----------------------------------+ [all …]
|
/linux-6.12.1/drivers/char/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 28 int "ttyprintk log level (1-7)" 42 Also read the Printing-HOWTO, available from 50 <file:Documentation/admin-guide/parport.rst>. The module will be called lp. 79 tristate "Support for user-space parallel port device drivers" 84 port, for instance deviceid (which displays Plug-and-Play device 88 It is safe to say N to this -- it is not needed for normal printing 89 or parallel port CD-ROM/disk support. 104 Also serves as a general-purpose serial device for data 133 If unsure, say M here to build it as a module called powernv-op-panel. [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_rq_dlg_calc_21.c | 34 * This file is gcc-parseable HW gospel, coming straight from HW engineers. 38 * remain as-is as it provides us with a guarantee from HW that it is correct. 149 rq_regs->chunk_size = dml_log2(rq_sizing->chunk_bytes) - 10; in extract_rq_sizing_regs() 151 if (rq_sizing->min_chunk_bytes == 0) in extract_rq_sizing_regs() 152 rq_regs->min_chunk_size = 0; in extract_rq_sizing_regs() 154 rq_regs->min_chunk_size = dml_log2(rq_sizing->min_chunk_bytes) - 8 + 1; in extract_rq_sizing_regs() 156 rq_regs->meta_chunk_size = dml_log2(rq_sizing->meta_chunk_bytes) - 10; in extract_rq_sizing_regs() 157 if (rq_sizing->min_meta_chunk_bytes == 0) in extract_rq_sizing_regs() 158 rq_regs->min_meta_chunk_size = 0; in extract_rq_sizing_regs() 160 rq_regs->min_meta_chunk_size = dml_log2(rq_sizing->min_meta_chunk_bytes) - 6 + 1; in extract_rq_sizing_regs() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_rq_dlg_calc_20.c | 34 // pipe_src_param - pipe source configuration (e.g. vp, pitch, etc.) 36 // rq_param - values that can be used to setup RQ (e.g. swath_height, plane1_addr, etc.) 58 * This file is gcc-parseable HW gospel, coming straight from HW engineers. 62 * remain as-is as it provides us with a guarantee from HW that it is correct. 172 rq_regs->chunk_size = dml_log2(rq_sizing->chunk_bytes) - 10; in extract_rq_sizing_regs() 174 if (rq_sizing->min_chunk_bytes == 0) in extract_rq_sizing_regs() 175 rq_regs->min_chunk_size = 0; in extract_rq_sizing_regs() 177 rq_regs->min_chunk_size = dml_log2(rq_sizing->min_chunk_bytes) - 8 + 1; in extract_rq_sizing_regs() 179 rq_regs->meta_chunk_size = dml_log2(rq_sizing->meta_chunk_bytes) - 10; in extract_rq_sizing_regs() 180 if (rq_sizing->min_meta_chunk_bytes == 0) in extract_rq_sizing_regs() [all …]
|