| /linux/drivers/irqchip/ |
| H A D | qcom-pdc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 47 #define pin_to_hwirq(r, p) ((r)->parent_base + (p) - (r)->pin_base) 78 case 0 ... 1: in pdc_x1e_irq_enable_write() 79 /* Use previous DRV (client) region and shift to bank 3-4 */ in pdc_x1e_irq_enable_write() 83 case 2 ... 4: in pdc_x1e_irq_enable_write() 84 /* Use our own region and shift to bank 0-2 */ in pdc_x1e_irq_enable_write() 86 bank -= 2; in pdc_x1e_irq_enable_write() 88 case 5: in pdc_x1e_irq_enable_write() 129 __pdc_enable_intr(d->hwirq, on); in pdc_enable_intr() [all …]
|
| H A D | irq-mst-intc.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 4 * Author Mark-PK Tsai <mark-pk.tsai@mediatek.com> 49 raw_spin_lock_irqsave(&cd->lock, flags); in mst_set_irq() 50 val = readw_relaxed(cd->base + offset) | mask; in mst_set_irq() 51 writew_relaxed(val, cd->base + offset); in mst_set_irq() 52 raw_spin_unlock_irqrestore(&cd->lock, flags); in mst_set_irq() 65 raw_spin_lock_irqsave(&cd->lock, flags); in mst_clear_irq() 66 val = readw_relaxed(cd->base + offset) & ~mask; in mst_clear_irq() 67 writew_relaxed(val, cd->base + offset); in mst_clear_irq() 68 raw_spin_unlock_irqrestore(&cd->lock, flags); in mst_clear_irq() [all …]
|
| /linux/Documentation/security/ |
| H A D | self-protection.rst | 2 Kernel Self-Protection 5 Kernel self-protection is the design and implementation of systems and 13 In the worst-case scenario, we assume an unprivileged local attacker 16 but with systems in place that defend against the worst case we'll 23 The goals for successful self-protection systems would be that they 24 are effective, on by default, require no opt-in by developers, have no 36 from limiting the exposed APIs available to userspace, making in-kernel 41 -------------------------------- 47 Executable code and read-only data must not be writable 61 writable, data is not executable, and read-only data is neither writable [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | colorspaces.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 21 the human eye has color receptors that are sensitive to three different 23 color. Be glad you are not a mantis shrimp as those are sensitive to 12 60 colors are specified with lower case 'x' and 'y', then the CIE xyY 61 colorspace is used. Upper case 'X' and 'Y' refer to the CIE XYZ 98 the non-linear component value, which is a closer match to the 99 non-linear performance of both the eye and displays. Linear component 100 values are denoted RGB, non-linear are denoted as R'G'B'. In general 103 provide linear RGB colors or to use the built-in openGL support to apply 107 non-linear R'G'B' to non-linear Y'CbCr. This function is determined by [all …]
|
| H A D | ext-ctrls-image-source.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _image-source-controls: 10 The Image Source control class is intended for low-level control of 16 .. _image-source-control-id: 29 same sub-device. 59 The unit cell consists of the whole area of the pixel, sensitive and 60 non-sensitive. 65 .. flat-table:: struct v4l2_area 66 :header-rows: 0 67 :stub-columns: 0 [all …]
|
| /linux/Documentation/power/ |
| H A D | swsusp.rst | 17 [this is actually same case as above] 47 - If you feel ACPI works pretty well on your system, you might try:: 51 - If you would like to write hibernation image to swap and then suspend 56 - If you have SATA disks, you'll need recent kernels with SATA suspend 58 are built into kernel -- not modules. [There's way to make 68 - The resume process checks for the presence of the resume device, 72 - The resume process may be triggered in two ways: 81 read-only) otherwise data may be corrupted. 87 Last revised: 2003-10-20 by Pavel Machek 90 ------------------------- [all …]
|
| /linux/fs/efivarfs/ |
| H A D | super.c | 1 // SPDX-License-Identifier: GPL-2.0-only 32 case EFIVAR_OPS_RDONLY: in efivarfs_ops_notifier() 33 sfi->sb->s_flags |= SB_RDONLY; in efivarfs_ops_notifier() 35 case EFIVAR_OPS_RDWR: in efivarfs_ops_notifier() 36 sfi->sb->s_flags &= ~SB_RDONLY; in efivarfs_ops_notifier() 52 inode_init_once(&entry->vfs_inode); in efivarfs_alloc_inode() 53 entry->removed = false; in efivarfs_alloc_inode() 55 return &entry->vfs_inode; in efivarfs_alloc_inode() 67 struct super_block *sb = root->d_sb; in efivarfs_show_options() 68 struct efivarfs_fs_info *sbi = sb->s_fs_info; in efivarfs_show_options() [all …]
|
| /linux/arch/arm64/kvm/vgic/ |
| H A D | vgic-v2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <linux/irqchip/arm-gic.h> 12 #include "vgic-mmio.h" 33 struct vgic_v2_cpu_if *cpuif = &vcpu->arch.vgic_cpu.vgic_v2; in vgic_v2_configure_hcr() 35 cpuif->vgic_hcr = GICH_HCR_EN; in vgic_v2_configure_hcr() 38 cpuif->vgic_hcr |= GICH_HCR_NPIE; in vgic_v2_configure_hcr() 40 cpuif->vgic_hcr |= GICH_HCR_LRENPIE; in vgic_v2_configure_hcr() 42 cpuif->vgic_hcr |= GICH_HCR_UIE; in vgic_v2_configure_hcr() 44 cpuif->vgic_hcr |= (cpuif->vgic_vmcr & GICH_VMCR_ENABLE_GRP0_MASK) ? in vgic_v2_configure_hcr() 46 cpuif->vgic_hcr |= (cpuif->vgic_vmcr & GICH_VMCR_ENABLE_GRP1_MASK) ? in vgic_v2_configure_hcr() [all …]
|
| /linux/fs/ntfs3/ |
| H A D | upcase.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2019-2021 Paragon Software GmbH, All rights reserved. 19 return chr - ('a' - 'A'); in upcase_unicode_char() 30 * - Case insensitive 31 * - If name equals and 'bothcases' then 32 * - Case sensitive 33 * 'Straight way' code scans input names twice in worst case. 46 for (; len; s1++, s2++, len--) { in ntfs_cmp_names() 47 diff1 = le16_to_cpu(*s1) - le16_to_cpu(*s2); in ntfs_cmp_names() 55 return l1 - l2; in ntfs_cmp_names() [all …]
|
| /linux/Documentation/admin-guide/pm/ |
| H A D | intel_uncore_frequency_scaling.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 :Copyright: |copy| 2022-2023 Intel Corporation 13 ------------ 23 Users may have some latency sensitive workloads where they do not want any 30 --------------- 45 This is a read-only attribute. If users adjust max_freq_khz, 50 This is a read-only attribute. If users adjust min_freq_khz, 63 ----------------------------------------------------------------- 119 directory with the same package id will be updated. In this case user can 128 ------------------------------- [all …]
|
| /linux/fs/ntfs/ |
| H A D | dir.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2001-2007 Anton Altaparmakov 27 * ntfs_lookup_inode_by_name - find an inode in a directory given its name 37 * is a 64-bit number containing the sequence number. 40 * particular if the inode is not found -ENOENT is returned. Note that you 47 * Note, we look for a case sensitive match first but we also look for a case 48 * insensitive match at the same time. If we find a case insensitive match, we 49 * save that for the case that we don't find an exact match, where we return 50 * the case insensitive match and setup @res (which we allocate!) with the mft 59 * Locking: - Caller must hold i_mutex on the directory. [all …]
|
| /linux/arch/arm/kernel/ |
| H A D | sigreturn_codes.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * sigreturn_codes.S - code sinpets for sigreturn syscalls 5 * Created by: Victor Kamensky, 2013-08-13 10 #include <asm/asm-offsets.h> 19 * need two 16-bit instructions in .thumb encoding 23 * arch/arm/kernel/signal.c is very sensitive to layout of these code 28 * In CPU_THUMBONLY case kernel arm opcodes are not allowed. 29 * Note in this case codes skips those instructions but it uses .org 80 ARM_OK( mov r7, #(__NR_sigreturn - __NR_SYSCALL_BASE) ) 85 movs r7, #(__NR_sigreturn - __NR_SYSCALL_BASE) [all …]
|
| /linux/arch/x86/kernel/ |
| H A D | mpparse.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * compliant MP-table parsing routines. 45 while (len--) in mpf_checksum() 55 topology_register_apic(m->apicid, CPU_ACPIID_INVALID, m->cpuflag & CPU_ENABLED); in MP_processor_info() 56 if (!(m->cpuflag & CPU_ENABLED)) in MP_processor_info() 59 if (m->cpuflag & CPU_BOOTPROCESSOR) in MP_processor_info() 60 bootup_cpu = " (Bootup-CPU)"; in MP_processor_info() 62 pr_info("Processor #%d%s\n", m->apicid, bootup_cpu); in MP_processor_info() 69 memcpy(str, m->bustype, 6); in mpc_oem_bus_info() 71 apic_pr_verbose("Bus #%d is %s\n", m->busid, str); in mpc_oem_bus_info() [all …]
|
| /linux/Documentation/virt/hyperv/ |
| H A D | coco.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 Hyper-V can create and run Linux guests that are Confidential Computing 9 CoCo VMs on Hyper-V share the generic CoCo VM threat model and security 10 objectives described in Documentation/security/snp-tdx-threat-model.rst. Note 11 that Hyper-V specific code in Linux refers to CoCo VMs as "isolated VMs" or 14 A Linux CoCo VM on Hyper-V requires the cooperation and interaction of the 19 * The hardware runs a version of Windows/Hyper-V with support for CoCo VMs 25 * AMD processor with SEV-SNP. Hyper-V does not run guest VMs with AMD SME, 26 SEV, or SEV-ES encryption, and such encryption is not sufficient for a CoCo 27 VM on Hyper-V. [all …]
|
| /linux/Documentation/filesystems/nfs/ |
| H A D | nfsd-maintainer-entry-profile.rst | 4 A Maintainer Entry Profile supplements the top-level process 12 -------- 14 protocols that enable access to files across a set of network- 20 kernel. An in-kernel NFS server has fast access to files stored 26 ------------ 27 The linux-nfs@vger.kernel.org mailing list is a public list. Its 32 The linux-nfs mailing list is archived on `lore.kernel.org <https://lore.kernel.org/linux-nfs/>`_. 37 -------------- 38 If you experience an NFSD-related bug on a distribution-built 42 linux-nfs@vger.kernel.org mailing list, where some active triage [all …]
|
| /linux/Documentation/admin-guide/ |
| H A D | kernel-parameters.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 The kernel's command-line parameters 11 punctuation and sorting digits before letters in a case insensitive 14 The kernel parses parameters from the kernel command line up to "``--``"; 18 Everything after "``--``" is passed as an argument to init. 33 "modinfo -p ${modulename}" shows a current list of all parameters of a loadable 37 ``echo -n ${value} > /sys/module/${modulename}/parameters/${parm}``. 40 ---------------- 44 log_buf_len=1M print-fatal-signals=1 48 log-buf-len=1M print_fatal_signals=1 [all …]
|
| /linux/arch/x86/kvm/ |
| H A D | i8259.c | 4 * Copyright (c) 2003-2004 Fabrice Bellard 47 __acquires(&s->lock) in pic_lock() 49 spin_lock(&s->lock); in pic_lock() 53 __releases(&s->lock) in pic_unlock() 55 bool wakeup = s->wakeup_needed; in pic_unlock() 59 s->wakeup_needed = false; in pic_unlock() 61 spin_unlock(&s->lock); in pic_unlock() 64 kvm_for_each_vcpu(i, vcpu, s->kvm) { in pic_unlock() 76 s->isr &= ~(1 << irq); in pic_clear_isr() 77 if (s != &s->pics_state->pics[0]) in pic_clear_isr() [all …]
|
| /linux/tools/testing/selftests/kvm/arm64/ |
| H A D | vgic_irq.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * vgic_irq.c - Test userspace injection of IRQs 37 * 0x00 (highest priority) - 0xF8 (lowest priority), in steps of 8 39 * Note that these macros will still be correct in the case that KVM implements 45 #define LOWEST_PRIO (KVM_NUM_PRIOS - 1) 47 #define IRQ_DEFAULT_PRIO (LOWEST_PRIO - 1) 82 kvm_inject_call(cmd, intid, num, -1 /* not used */, expect_failure) 126 for ((f) = (t); (f)->cmd; (f)++) 130 if ((args)->kvm_supports_irqfd || (f)->cmd != KVM_INJECT_IRQFD) 236 for (i = 0; i < args->nr_irqs; i++) in reset_priorities() [all …]
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | hvcserver.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 28 * functions aren't performance sensitive, so this conversion isn't an 34 case H_SUCCESS: in hvcs_convert() 36 case H_PARAMETER: in hvcs_convert() 37 return -EINVAL; in hvcs_convert() 38 case H_HARDWARE: in hvcs_convert() 39 return -EIO; in hvcs_convert() 40 case H_BUSY: in hvcs_convert() 41 case H_LONG_BUSY_ORDER_1_MSEC: in hvcs_convert() 42 case H_LONG_BUSY_ORDER_10_MSEC: in hvcs_convert() [all …]
|
| /linux/Documentation/devicetree/bindings/iio/pressure/ |
| H A D | honeywell,mprls0025pa.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andreas Klinger <ak@it-klinger.de> 11 - Petre Rodan <petre.rodan@subdimension.ro> 26 the pressure values can be specified manually via honeywell,pmin-pascal and 27 honeywell,pmax-pascal. 35 https://prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/ 36 products/sensors/pressure-sensors/board-mount-pressure-sensors/ 37 micropressure-mpr-series/documents/ [all …]
|
| H A D | honeywell,hsc030pa.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 23 pressure-triplet (directly extracted from the part number) or in case it's 27 by the sensor. pmin-pascal and pmax-pascal corespond to the minimum and 30 Please note that in case of an SPI-based sensor, the clock signal should not 34 …-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/bo… 35 …-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/bo… 38 - Petre Rodan <petre.rodan@subdimension.ro> 47 honeywell,transfer-function: [all …]
|
| /linux/drivers/gpio/ |
| H A D | gpio-rcar.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Renesas R-Car GPIO Support 71 return ioread32(p->base + offs); in gpio_rcar_read() 77 iowrite32(value, p->base + offs); in gpio_rcar_write() 122 * "Setting Edge-Sensitive Interrupt Input Mode" and in gpio_rcar_config_interrupt_input_mode() 123 * "Setting Level-Sensitive Interrupt Input Mode" in gpio_rcar_config_interrupt_input_mode() 126 raw_spin_lock_irqsave(&p->lock, flags); in gpio_rcar_config_interrupt_input_mode() 135 if (p->info.has_both_edge_trigger) in gpio_rcar_config_interrupt_input_mode() 141 /* Write INTCLR in case of edge trigger */ in gpio_rcar_config_interrupt_input_mode() 145 raw_spin_unlock_irqrestore(&p->lock, flags); in gpio_rcar_config_interrupt_input_mode() [all …]
|
| /linux/drivers/gpu/drm/etnaviv/ |
| H A D | etnaviv_cmd_parser.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2015-2018 Etnaviv Project 93 if (state->num_relocs && state->relocs->submit_offset < buf_offset) { in etnaviv_warn_if_non_sensitive() 94 dev_warn_once(state->gpu->dev, in etnaviv_warn_if_non_sensitive() 95 "%s: relocation for non-sensitive state 0x%x at offset %u\n", in etnaviv_warn_if_non_sensitive() 97 state->relocs->submit_offset); in etnaviv_warn_if_non_sensitive() 98 while (state->num_relocs && in etnaviv_warn_if_non_sensitive() 99 state->relocs->submit_offset < buf_offset) { in etnaviv_warn_if_non_sensitive() 100 state->relocs++; in etnaviv_warn_if_non_sensitive() 101 state->num_relocs--; in etnaviv_warn_if_non_sensitive() [all …]
|
| /linux/Documentation/misc-devices/ |
| H A D | lis3lv02d.rst | 12 - Yan Burman <burman.yan@gmail.com> 13 - Eric Piel <eric.piel@tremplin-utc.net> 17 ----------- 31 - 3D position that the accelerometer reports. Format: "(x,y,z)" 33 - read reports the sampling rate of the accelerometer device in HZ. 37 - performs selftest for the chip as specified by chip manufacturer. 40 the laptop to act as a pinball machine-esque joystick. Joystick device can be 42 By default output values are scaled between -32768 .. 32767. In joystick raw 63 acts similar to /dev/rtc and reacts on free-fall interrupts received 66 result is number of free-fall interrupts since the last successful [all …]
|
| /linux/tools/perf/scripts/python/ |
| H A D | exported-sql-viewer.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # exported-sql-viewer.py: view data from sql database 4 # Copyright (c) 2014-2018, Intel Corporation. 7 # export-to-sqlite.py or the export-to-postgresql.py script. Refer to those 11 # call-graph can be displayed for the pt_example database like this: 13 # python tools/perf/scripts/python/exported-sql-viewer.py pt_example 18 # python tools/perf/scripts/python/exported-sql-viewer.py "hostname=myhost username=myuser password… 20 # The result is a GUI window with a tree representing a context-sensitive 21 # call-graph. Expanding a couple of levels of the tree and adjusting column 26 # v- ls [all …]
|