| /linux/drivers/input/keyboard/ |
| H A 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/drivers/media/platform/ti/vpe/ |
| H A 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/drivers/edac/ |
| H A 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 …]
|
| /linux/drivers/accessibility/speakup/ |
| H A 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/drivers/thermal/intel/ |
| H A 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/arch/arm/boot/dts/qcom/ |
| H A 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/lib/crypto/arm/ |
| H A D | blake2s-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 // Registers used to hold message words temporarily. There aren't 17 // enough ARM registers to hold the whole message block, so we have to 18 // load the words on-demand. 62 // Execute a quarter-round of BLAKE2s by mixing two columns or two diagonals. 64 // columns/diagonals. s0-s1 are the word offsets to the message words the first 65 // column/diagonal needs, and likewise s2-s3 for the second column/diagonal. 118 // spilling v[8..9], then to v[10..15], then to the message block. r10-r12 and 119 // r14 are free to use. The macro arguments s0-s15 give the order in which the 127 // when the values are used. 'brot' is the number of bits the values in row 'b' [all …]
|
| H A 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/drivers/gpu/drm/i915/ |
| H A D | i915_vma.c | 26 #include <linux/dma-fence-array.h> 57 if (kref_read(&vma->vm->ref)) in assert_vma_held_evict() 58 assert_object_held_shared(vma->obj); 81 if (!vma->node.stack) { in vma_print_allocator() 82 drm_dbg(vma->obj->base.dev, in vma_print_allocator() 84 vma->node.start, vma->nod in vma_print_allocator() 973 unsigned int column, row; rotate_pages() local 1086 unsigned int row; remap_tiled_color_plane_pages() local [all...] |
| /linux/net/sched/ |
| H A 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/drivers/gpu/drm/xe/ |
| H A D | xe_exec_queue_types.h | 1 /* SPDX-License-Identifier: MIT */ 26 XE_EXEC_QUEUE_PRIORITY_UNSET = -2, /* For execlist usage only */ 36 * struct xe_exec_queue - Execution queue 67 /** @msix_vec: MSI-X vector (for platforms that support it) */ 73 * @last_fence: last fence on exec queue, protected by vm->lock in write 74 * mode if bind exec queue, protected by dma resv lock if non-bind exec 83 /* for VM jobs. Caller needs to hold rpm ref when creating queue with this flag */ 85 /* child of VM queue for multi-tile VM jobs */ 101 /** @multi_gt_list: list head for VM bind engines if multi-G [all...] |
| /linux/drivers/usb/typec/ucsi/ |
| H A 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) */ 239 struct i2c_client *client = uc->client; in ccg_read() 240 const struct i2c_adapter_quirks *quirks = client->adapter->quirks; in ccg_read() 244 .addr = client->addr, in ccg_read() 250 .addr = client->addr, in ccg_read() 259 if (quirks && quirks->max_read_len) in ccg_read() [all …]
|
| /linux/drivers/mtd/devices/ |
| H A 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/drivers/gpu/drm/amd/display/dc/dml/ |
| H A 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/tools/perf/pmu-events/ |
| H A D | jevents.py | 2 # SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 66 def removesuffix(s: str, suffix: str) -> str: 72 return s[0:-len(suffix)] if s.endswith(suffix) else s 76 dirname: str) -> str: 82 return tblname.replace('-', '_') 85 def c_len(s: str) -> int: 97 utf = s.encode(encoding='utf-8',errors='strict') 101 return len(utf) - utf.count(b'\\') + utf.count(b'\\\\') - (utf.count(b'\\000') * 2) 104 """A class to hold many strings concatenated together. 106 Generating a large number of stand-alone C strings creates a large [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A 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/drivers/ras/amd/ |
| H A D | fmpm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * FRU (Field-Replaceable Unit) Memory Poison Manager 15 * - FRU memory poison section and memory poison descriptor definitions are not yet 19 * - Platforms based on AMD MI300 systems will be the first to use these structures. 23 * AMD MI300-based platform(s) assumptions: 24 * - Memory errors are reported through x86 MCA. 25 * - The entire DRAM row containing a memory error should be retired. 26 * - There will be (1) FRU memory poison section per CPER. 27 * - The FRU will be the CPU package (processor socket). 28 * - The default number of memory poison descriptor entries should be (8). [all …]
|
| /linux/drivers/char/ |
| H A 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/Documentation/admin-guide/ |
| H A D | spkguide.txt | 16 Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A 25 http://linux-speakup.org/. Speakup is a set of patches to the standard 72 acntsa -- Accent SA 73 acntpc -- Accent PC 74 apollo -- Apollo 75 audptr -- Audapter 76 bns -- Braille 'n Speak 77 dectlk -- DecTalk Express (old and new, db9 serial only) 78 decext -- DecTalk (old) External 79 dtlk -- DoubleTalk PC [all …]
|
| /linux/drivers/input/touchscreen/ |
| H A D | iqs7211.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 52 * The following delay is used during instances that must wait for the open- 124 .name = "event-prox", 131 .name = "event-touch", 138 .name = "event-tap", 145 .name = "event-hold", 152 .name = "event-swipe-x-neg", 159 .name = "event-swipe-x-pos", 166 .name = "event-swipe-y-pos", 173 .name = "event-swipe-y-neg", [all …]
|
| /linux/net/batman-adv/ |
| H A D | fragmentation.c | 1 // SPDX-License-Identifier: GPL-2.0 26 #include "hard-interface.h" 31 * batadv_frag_clear_chain() - delete entries in the fragment buffer chain 43 hlist_del(&entry->list); in batadv_frag_clear_chain() 46 kfree_skb(entry->skb); in batadv_frag_clear_chain() 48 consume_skb(entry->skb); in batadv_frag_clear_chain() 55 * batadv_frag_purge_orig() - free fragments associated to an orig 66 chain = &orig_node->fragments[i]; in batadv_frag_purge_orig() 67 spin_lock_bh(&chain->lock); in batadv_frag_purge_orig() 70 batadv_frag_clear_chain(&chain->fragment_list, true); in batadv_frag_purge_orig() [all …]
|
| /linux/tools/perf/util/ |
| H A D | genelf_debug.c | 1 // SPDX-License-Identifier: GPL-2.0-only 51 for (i = 0 ; i < be->cur_pos; i++) in buffer_ext_dump() 52 warnx("%4zu 0x%02x", i, (((char *)be->data)[i]) & 0xff); in buffer_ext_dump() 59 size_t be_sz = be->max_sz; in buffer_ext_add() 62 if ((be->cur_pos + sz) < be_sz) { in buffer_ext_add() 63 memcpy(be->data + be->cur_pos, addr, sz); in buffer_ext_add() 64 be->cur_pos += sz; in buffer_ext_add() 73 tmp = realloc(be->data, be_sz); in buffer_ext_add() 75 return -1; in buffer_ext_add() 77 be->data = tmp; in buffer_ext_add() [all …]
|
| /linux/block/ |
| H A D | bfq-iosched.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 #include "blk-cgroup-rwstat.h" 29 * Soft real-time applications are extremely more latency sensitive 30 * than interactive ones. Over-raise the weight of the former to 38 * per-actuator data. The current value is hopefully a good upper 46 * struct bfq_service_tree - per ioprio_class service tree. 48 * Each service tree represents a B-WF2Q+ scheduler on its own. Each 71 * struct bfq_sched_data - multi-class scheduler. 81 * queue requests are served according to B-WF2Q+. 86 * before the current in-service entity is expired, 2) the in-service [all …]
|
| /linux/sound/pci/asihpi/ |
| H A D | hpi6000.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 Copyright (C) 1997-2011 AudioScience Inc. <support@audioscience.com> 18 (C) Copyright AudioScience Inc. 1998-2003 78 /* can't access SDRAM - test#1 */ 80 /* can't access SDRAM - test#2 */ 210 switch (phm->function) { in subsys_message() 215 phr->error = HPI_ERROR_INVALID_FUNC; in subsys_message() 223 struct hpi_hw_obj *phw = pao->priv; in control_message() 225 switch (phm->function) { in control_message() 227 if (pao->has_control_cache) { in control_message() [all …]
|
| /linux/drivers/video/fbdev/ |
| H A D | cg14.c | 1 // SPDX-License-Identifier: GPL-2.0-only 124 u32 vbr; /* Frame Base Row */ 166 /* Each one of these arrays hold the color lookup table (for 256 203 struct cg14_regs __iomem *regs = par->regs; in __cg14_reset() 206 val = sbus_readb(®s->mcr); in __cg14_reset() 208 sbus_writeb(val, ®s->mcr); in __cg14_reset() 213 struct cg14_par *par = (struct cg14_par *) info->par; in cg14_pan_display() 219 spin_lock_irqsave(&par->lock, flags); in cg14_pan_display() 221 spin_unlock_irqrestore(&par->lock, flags); in cg14_pan_display() 223 if (var->xoffset || var->yoffset || var->vmode) in cg14_pan_display() [all …]
|