/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | sitronix,st1232.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bastian Hecht <hechtb@gmail.com> 13 - $ref: touchscreen.yaml# 18 - sitronix,st1232 19 - sitronix,st1633 32 - compatible 33 - reg 34 - interrupts [all …]
|
/linux/fs/overlayfs/ |
H A D | namei.c | 1 // SPDX-License-Identifier: GPL-2.0-only 39 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_check_redirect() 41 d->absolute_redirect = false; in ovl_check_redirect() 47 d->absolute_redirect = true; in ovl_check_redirect() 51 * that will stop further lookup in lower layers (d->stop=true) in ovl_check_redirect() 54 * layers (reset d->stop). in ovl_check_redirect() 56 d->stop = false; in ovl_check_redirect() 60 memcpy(buf, d->name.name, prelen); in ovl_check_redirect() 64 kfree(d->redirect); in ovl_check_redirect() 65 d->redirect = buf; in ovl_check_redirect() [all …]
|
/linux/fs/netfs/ |
H A D | write_collect.c | 1 // SPDX-License-Identifier: GPL-2.0-only 26 pr_err("Request R=%08x r=%d fl=%lx or=%x e=%ld\n", in netfs_dump_request() 27 rreq->debug_id, refcount_read(&rreq->ref), rreq->flags, in netfs_dump_request() 28 rreq->origin, rreq->error); in netfs_dump_request() 30 rreq->start, rreq->transferred, rreq->submitted, rreq->len); in netfs_dump_request() 32 rreq->cleaned_to, rreq->collected_to, atomic64_read(&rreq->issued_to)); in netfs_dump_request() 33 pr_err(" iw=%pSR\n", rreq->netfs_ops->issue_write); in netfs_dump_request() 36 const struct netfs_io_stream *s = &rreq->io_streams[i]; in netfs_dump_request() 38 pr_err(" str[%x] s=%x e=%d acnf=%u,%u,%u,%u\n", in netfs_dump_request() 39 s->stream_nr, s->source, s->error, in netfs_dump_request() [all …]
|
H A D | read_collect.c | 1 // SPDX-License-Identifier: GPL-2.0-only 31 WARN_ON_ONCE(subreq->len - subreq->transferred != iov_iter_count(&subreq->io_iter)); in netfs_clear_unread() 32 iov_iter_zero(iov_iter_count(&subreq->io_iter), &subreq->io_iter); in netfs_clear_unread() 33 if (subreq->start + subreq->transferred >= subreq->rreq->i_size) in netfs_clear_unread() 34 __set_bit(NETFS_SREQ_HIT_EOF, &subreq->flags); in netfs_clear_unread() 49 if (unlikely(folio_pos(folio) < rreq->abandon_to)) { in netfs_unlock_read_folio() 57 if (!test_bit(NETFS_RREQ_USE_PGPRIV2, &rreq->flags)) { in netfs_unlock_read_folio() 61 if (finfo->netfs_group) in netfs_unlock_read_folio() 62 folio_change_private(folio, finfo->netfs_group); in netfs_unlock_read_folio() 68 if (test_bit(NETFS_RREQ_FOLIO_COPY_TO_CACHE, &rreq->flags)) { in netfs_unlock_read_folio() [all …]
|
H A D | write_issue.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Network filesystem high-level (buffered) writeback. 11 * +---+---+-----+-----+---+----------+ 13 * +---+---+-----+-----+---+----------+ 15 * +------+------+ +----+----+ 17 * (Stream 0) +------+------+ +----+----+ 19 * +------+------+------+------+------+ 21 * (Stream 1) +------+------+------+------+------+ 60 group = finfo->netfs_group; in netfs_kill_dirty_pages() 65 /* Kill copy-to-cache folio */ in netfs_kill_dirty_pages() [all …]
|
/linux/drivers/net/ethernet/hisilicon/ |
H A D | hns_mdio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2014-2015 Hisilicon Limited. 23 #define MDIO_DRV_NAME "Hi-HNS_MDIO" 101 mdio_write_reg((a)->vbase, (reg), (value)) 108 #define mdio_set_field(origin, mask, shift, val) \ argument 110 (origin) &= (~((mask) << (shift))); \ 111 (origin) |= (((val) & (mask)) << (shift)); \ 114 #define mdio_get_field(origin, mask, shift) (((origin) >> (shift)) & (mask)) argument 119 u32 origin = mdio_read_reg(base, reg); in mdio_set_reg_field() local 121 mdio_set_field(origin, mask, shift, val); in mdio_set_reg_field() [all …]
|
/linux/arch/s390/kvm/ |
H A D | interrupt.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #define KMSG_COMPONENT "kvm-s390" 24 #include <asm/access-regs.h> 25 #include <asm/asm-offsets.h> 34 #include "kvm-s390.h" 36 #include "trace-s390.h" 54 read_lock(&vcpu->kvm->arch.sca_lock); in sca_ext_call_pending() 55 if (vcpu->kvm->arch.use_esca) { in sca_ext_call_pending() 56 struct esca_block *sca = vcpu->kvm->arch.sca; in sca_ext_call_pending() 58 sca->cpu[vcpu->vcpu_id].sigp_ctrl; in sca_ext_call_pending() [all …]
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_gt_sriov_pf_service.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2023-2024 Intel Corporation 125 regs = ERR_PTR(-ENOPKG); in pick_runtime_regs() 140 xe_gt_assert(gt, !gt->sriov.pf.service.runtime.size); in pf_alloc_runtime_info() 141 xe_gt_assert(gt, !gt->sriov.pf.service.runtime.regs); in pf_alloc_runtime_info() 142 xe_gt_assert(gt, !gt->sriov.pf.service.runtime.values); in pf_alloc_runtime_info() 151 values = drmm_kcalloc(&xe->drm, size, sizeof(u32), GFP_KERNEL); in pf_alloc_runtime_info() 153 return -ENOMEM; in pf_alloc_runtime_info() 155 gt->sriov.pf.service.runtime.size = size; in pf_alloc_runtime_info() 156 gt->sriov.pf.service.runtime.regs = regs; in pf_alloc_runtime_info() [all …]
|
H A D | xe_gt_sriov_pf_monitor.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2023-2024 Intel Corporation 17 * xe_gt_sriov_pf_monitor_flr - Cleanup VF data after VF FLR. 32 gt->sriov.pf.vfs[vfid].monitor.guc.events[e] = 0; in xe_gt_sriov_pf_monitor_flr() 41 gt->sriov.pf.vfs[vfid].monitor.guc.events[e]++; in pf_update_event_counter() 46 char origin[8]; in pf_handle_vf_threshold_event() local 50 xe_sriov_function_name(vfid, origin, sizeof(origin)); in pf_handle_vf_threshold_event() 54 xe_gt_sriov_notice(gt, "unknown threshold key %#x reported for %s\n", in pf_handle_vf_threshold_event() 55 threshold, origin); in pf_handle_vf_threshold_event() 56 return -ENOTCONN; in pf_handle_vf_threshold_event() [all …]
|
/linux/arch/um/drivers/ |
H A D | mconsole_user.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 17 * With uts namespaces, uts information becomes process-specific, so 48 msg.msg_name = &(req->origin); in mconsole_reply_v0() 49 msg.msg_namelen = req->originlen; in mconsole_reply_v0() 56 return sendmsg(req->originating_fd, &msg, 0); in mconsole_reply_v0() 66 if (!strncmp(req->request.data, cmd->command, in mconsole_parse() 67 strlen(cmd->command))) { in mconsole_parse() 78 #define STRINGX(x) #x argument 79 #define STRING(x) STRINGX(x) argument [all …]
|
/linux/mm/kmsan/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2017-2022 Google LLC 21 #include <linux/percpu-defs.h> 35 * Per-CPU KMSAN context to be used in interrupts, where current->kmsan is 42 struct kmsan_ctx *ctx = &task->kmsan_ctx; in kmsan_internal_task_create() 58 kmsan_internal_set_shadow_origin(address, size, -1, handle, checked); in kmsan_internal_poison_memory() 113 step = backwards ? -1 : 1; in kmsan_internal_memmove_metadata() 114 iter = backwards ? n - 1 : 0; in kmsan_internal_memmove_metadata() 136 * origin value. in kmsan_internal_memmove_metadata() 172 * are copied around many times. Origin chains for such structures are in kmsan_internal_chain_origin() [all …]
|
/linux/scripts/ |
H A D | checktransupdate.py | 2 # SPDX-License-Identifier: GPL-2.0 12 - ./scripts/checktransupdate.py -l zh_CN 14 - ./scripts/checktransupdate.py Documentation/translations/zh_CN/dev-tools/testing-overview.rst 18 Documentation/dev-tools/kfence.rst 21 Documentation/translations/zh_CN/dev-tool [all...] |
/linux/drivers/acpi/acpica/ |
H A D | pstree.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: pstree - Parser op tree manipulation/traversal/search 6 * Copyright (C) 2000 - 2025, Intel Corp. 28 * PARAMETERS: op - Get an argument for this op 29 * argn - Nth argument to get 45 if (Op->Common.aml_opcode == AML_INT_CONNECTION_OP) in acpi_ps_get_arg() 47 return (Op->Common.Value.Arg); in acpi_ps_get_arg() 52 op_info = acpi_ps_get_opcode_info(op->common.aml_opcode); in acpi_ps_get_arg() 53 if (op_info->class == AML_CLASS_UNKNOWN) { in acpi_ps_get_arg() 60 /* Check if this opcode requires argument sub-objects */ in acpi_ps_get_arg() [all …]
|
H A D | acapps.h | 1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ 4 * Module Name: acapps - common include for ACPI applications/tools 6 * Copyright (C) 2000 - 2025, Intel Corp. 20 #define ACPICA_COPYRIGHT "Copyright (c) 2000 - 2025 Intel Corporation" 23 #define ACPI_WIDTH " (64-bit version)" 26 #define ACPI_WIDTH " (32-bit version)" 37 "\n%s\n%s version %8.8X\n%s\n\n", \ 43 "%s%s\n%s%s version %8.8X%s\n%s%s\n%s\n", \ 61 printf (" %-20s%s\n", name, description); 68 acpi_os_printf ("Unexpected %s from %s (%s-%d)\n", \ [all …]
|
/linux/block/partitions/ |
H A D | msdos.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 1991-1998 Linus Torvalds 9 * in the early extended-partition checks and added DM partitions 11 * Support for DiskManager v6.0x added by Mark Lord, 16 * More flexible handling of extended partitions - aeb, 950831 20 * Re-organised Feb 1998 Russell King 43 return (sector_t)get_unaligned_le32(&p->nr_sects); in nr_sects() 48 return (sector_t)get_unaligned_le32(&p->start_sect); in start_sect() 53 return (p->sys_ind == DOS_EXTENDED_PARTITION || in is_extended_partition() 54 p->sys_ind == WIN98_EXTENDED_PARTITION || in is_extended_partition() [all …]
|
/linux/arch/s390/include/asm/ |
H A D | dat-bits.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 unsigned long rsto: 52;/* Region- or Segment-Table Origin */ 19 unsigned long s : 1; /* Storage-Alteration-Event control */ 20 unsigned long x : 1; /* Space-Switch-Event control */ member 21 unsigned long r : 1; /* Real-Space control */ 23 unsigned long dt : 2; /* Designation-Type control */ 24 unsigned long tl : 2; /* Region- or Segment-Table Length */ 38 unsigned long rto: 52;/* Region-Table Origin */ 40 unsigned long p : 1; /* DAT-Protection Bit */ 42 unsigned long tf : 2; /* Region-Second-Table Offset */ [all …]
|
/linux/tools/testing/selftests/drivers/platform/x86/intel/ifs/ |
H A D | test_ifs.sh | 2 # SPDX-License-Identifier: GPL-2.0 34 # Matches arch/x86/include/asm/intel-family.h and 61 echo -e "$1" | tee -a "$IFS_LOG" 73 if [[ -n "$target_cpus" ]]; then 75 if [[ "$cpu" == *"-"* ]]; then 79 cpu_start=$(echo "$cpu" | cut -d "-" -f 1) 80 cpu_end=$(echo "$cpu" | cut -d "-" -f 2) 97 if [[ -e "$IFS_LOG" ]]; then 99 fail_num=$(grep -c ^"\[${FAIL}\]" "$IFS_LOG") 100 skip_num=$(grep -c ^"\[${SKIP}\]" "$IFS_LOG") [all …]
|
/linux/include/linux/ |
H A D | fb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 77 __u32 serial; /* Serial Number - Integer */ 84 __u16 input; /* display type - see FB_DISP_* */ 85 __u16 dpms; /* DPMS support - see FB_DPMS_ */ 86 __u16 signal; /* Signal Type - see FB_SIGNAL_* */ 89 __u16 gamma; /* Gamma - in fractions of 100 */ 91 __u16 misc; /* Misc flags - see FB_MISC_* */ 133 /* only used by mach-pxa/am200epd.c */ 148 DECLARE_BITMAP(x, FB_MAX_BLIT_WIDTH); 197 /* Format: test_bit(width - 1, blit_x) */ [all …]
|
/linux/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | head827d.c | 32 struct nvif_push *push = &nv50_disp(head->base.base.dev)->core->chan.push; in head827d_curs_clr() 33 const int i = head->base.index; in head827d_curs_clr() 51 struct nvif_push *push = &nv50_disp(head->base.base.dev)->core->chan.push; in head827d_curs_set() 52 const int i = head->base.index; in head827d_curs_set() 60 NVVAL(NV827D, HEAD_SET_CONTROL_CURSOR, FORMAT, asyh->curs.format) | in head827d_curs_set() 61 NVVAL(NV827D, HEAD_SET_CONTROL_CURSOR, SIZE, asyh->curs.layout) | in head827d_curs_set() 67 HEAD_SET_OFFSET_CURSOR(i), asyh->curs.offset >> 8); in head827d_curs_set() 69 PUSH_MTHD(push, NV827D, HEAD_SET_CONTEXT_DMA_CURSOR(i), asyh->curs.handle); in head827d_curs_set() 76 struct nvif_push *push = &nv50_disp(head->base.base.dev)->core->chan.push; in head827d_core_set() 77 const int i = head->base.index; in head827d_core_set() [all …]
|
/linux/Documentation/maintainer/ |
H A D | modifying-patches.rst | 9 rule (c) of the developers certificate of origin, you should ask the submitter 10 to rediff, but this is a totally counter-productive waste of time and energy. 13 is recommended that you add a line between the last Signed-off-by header and 17 that you are responsible for last-minute changes. Example:: 19 Signed-off-by: Random J Developer <random@developer.example.org> 21 Signed-off-by: Lucky K Maintainer <lucky@maintainer.example.org> 29 Special note to back-porters: It seems to be a common and useful practice 30 to insert an indication of the origin of a patch at the top of the commit 32 here's what we see in a 3.x-stable release:: 34 Date: Tue Oct 7 07:26:38 2014 -0400 [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | bpf_cubic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 * "while (ca->ack_cnt > delta)" loop is changed to the equivalent 14 * "ca->ack_cnt / delta" operation. 27 return (__s32)(seq1-seq2) < 0; in before() 47 #define HYSTART_DELAY_THRESH(x) clamp(x, HYSTART_DELAY_MIN, HYSTART_DELAY_MAX) argument 62 / (BICTCP_BETA_SCALE - beta); 63 /* calculate the "K" for (wmax-cwnd) = c/rtt * K^3 64 * so K = cubic_root( (wmax-cwnd)*rtt/c ) 73 * HZ < 1,000,00 (corresponding to 10 nano-second) 86 __u32 bic_origin_point;/* origin point of bic function */ [all …]
|
/linux/drivers/pci/controller/plda/ |
H A D | pcie-plda-host.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/irqchip/irq-msi-lib.h> 18 #include <linux/pci-ecam.h> 21 #include "pcie-plda.h" 26 struct plda_pcie_rp *pcie = bus->sysdata; in plda_pcie_map_bus() 28 return pcie->config_base + PCIE_ECAM_OFFSET(bus->number, devfn, where); in plda_pcie_map_bus() 36 struct device *dev = port->dev; in plda_handle_msi() 37 struct plda_msi *msi = &port->msi; in plda_handle_msi() 38 void __iomem *bridge_base_addr = port->bridge_addr; in plda_handle_msi() 50 for_each_set_bit(bit, &status, msi->num_vectors) { in plda_handle_msi() [all …]
|
/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hnae3.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 // Copyright (c) 2016-2017 Hisilicon Limited. 74 hnae3_get_bit((hdev)->ae_dev->flag, HNAE3_DEV_SUPPORT_ROCE_B) 77 hnae3_get_bit((hdev)->ae_dev->flag, HNAE3_DEV_SUPPORT_DCB_B) 111 test_bit(HNAE3_DEV_SUPPORT_FD_B, (ae_dev)->caps) 114 test_bit(HNAE3_DEV_SUPPORT_GRO_B, (ae_dev)->caps) 117 test_bit(HNAE3_DEV_SUPPORT_FEC_B, (hdev)->ae_dev->caps) 120 test_bit(HNAE3_DEV_SUPPORT_UDP_GSO_B, (hdev)->ae_dev->caps) 123 test_bit(HNAE3_DEV_SUPPORT_QB_B, (hdev)->ae_dev->caps) 126 test_bit(HNAE3_DEV_SUPPORT_FD_FORWARD_TC_B, (hdev)->ae_dev->caps) [all …]
|
/linux/arch/mips/include/asm/sn/ |
H A D | mapped_kernel.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 * using the change-addresses makefile option. Use elfdump -of 18 * on IRIX to see where the sections go. The Origin loader loads 32 #define MAPPED_ADDR_RO_TO_PHYS(x) (x - REP_BASE) argument 33 #define MAPPED_ADDR_RW_TO_PHYS(x) (x - REP_BASE - 16777216) argument 35 #define MAPPED_KERN_RO_PHYSBASE(n) (hub_data(n)->kern_vars.kv_ro_baseaddr) 36 #define MAPPED_KERN_RW_PHYSBASE(n) (hub_data(n)->kern_vars.kv_rw_baseaddr) 38 #define MAPPED_KERN_RO_TO_PHYS(x) \ argument 39 ((unsigned long)MAPPED_ADDR_RO_TO_PHYS(x) | \ 41 #define MAPPED_KERN_RW_TO_PHYS(x) \ argument [all …]
|
/linux/Documentation/input/devices/ |
H A D | atarikbd.rst | 12 provides a convenient connection point for a mouse and switch-type joysticks. 13 The ikbd processor also maintains a time-of-day clock with one second 18 The ikbd communicates with the main processor over a high speed bi-directional 41 0xF8-0xFB relative mouse position records (lsbs determined by 43 0xFC time-of-day 67 --------------------------- 75 significantly more than the threshold delta x or y. This may happen since no 85 ; and x is the left button state 86 X ; delta x as twos complement integer 92 +127...-128 range, the motion is broken into multiple packets. [all …]
|