| /linux/Documentation/devicetree/bindings/mmc/ |
| H A D | mmc-controller-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/mmc-controller-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ulf Hansson <ulf.hansson@linaro.org> 14 possible slots or ports for multi-slot controllers. 17 "#address-cells": 22 "#size-cells": 29 broken-cd: 32 There is no card detection available; polling must be used. [all …]
|
| /linux/drivers/video/fbdev/omap2/omapfb/dss/ |
| H A D | hdmi_wp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 void hdmi_wp_dump(struct hdmi_wp_data *wp, struct seq_file *s) in hdmi_wp_dump() argument 23 #define DUMPREG(r) seq_printf(s, "%-35s %08x\n", #r, hdmi_read_reg(wp->base, r)) in hdmi_wp_dump() 45 u32 hdmi_wp_get_irqstatus(struct hdmi_wp_data *wp) in hdmi_wp_get_irqstatus() argument 47 return hdmi_read_reg(wp->base, HDMI_WP_IRQSTATUS); in hdmi_wp_get_irqstatus() 50 void hdmi_wp_set_irqstatus(struct hdmi_wp_data *wp, u32 irqstatus) in hdmi_wp_set_irqstatus() argument 52 hdmi_write_reg(wp->base, HDMI_WP_IRQSTATUS, irqstatus); in hdmi_wp_set_irqstatus() 54 hdmi_read_reg(wp->base, HDMI_WP_IRQSTATUS); in hdmi_wp_set_irqstatus() 57 void hdmi_wp_set_irqenable(struct hdmi_wp_data *wp, u32 mask) in hdmi_wp_set_irqenable() argument 59 hdmi_write_reg(wp->base, HDMI_WP_IRQENABLE_SET, mask); in hdmi_wp_set_irqenable() [all …]
|
| H A D | hdmi5.c | 1 // SPDX-License-Identifier: GPL-2.0-only 32 #include <sound/omap-hdmi-audio.h> 46 r = pm_runtime_resume_and_get(&hdmi.pdev->dev); in hdmi_runtime_get() 59 r = pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_put() 60 WARN_ON(r < 0 && r != -ENOSYS); in hdmi_runtime_put() 65 struct hdmi_wp_data *wp = data; in hdmi_irq_handler() local 68 irqstatus = hdmi_wp_get_irqstatus(wp); in hdmi_irq_handler() 69 hdmi_wp_set_irqstatus(wp, irqstatus); in hdmi_irq_handler() 81 hdmi_wp_set_phy_pwr(wp, HDMI_PHYPWRCMD_OFF); in hdmi_irq_handler() 93 hdmi_wp_set_irqstatus(wp, HDMI_IRQ_LINK_CONNECT | in hdmi_irq_handler() [all …]
|
| H A D | hdmi4.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/ 27 #include <sound/omap-hdmi-audio.h> 42 r = pm_runtime_resume_and_get(&hdmi.pdev->dev); in hdmi_runtime_get() 55 r = pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_put() 56 WARN_ON(r < 0 && r != -ENOSYS); in hdmi_runtime_put() 61 struct hdmi_wp_data *wp = data; in hdmi_irq_handler() local 64 irqstatus = hdmi_wp_get_irqstatus(wp); in hdmi_irq_handler() 65 hdmi_wp_set_irqstatus(wp, irqstatus); in hdmi_irq_handler() 75 hdmi_wp_set_phy_pwr(wp, HDMI_PHYPWRCMD_OFF); in hdmi_irq_handler() [all …]
|
| /linux/drivers/gpu/drm/omapdrm/dss/ |
| H A D | hdmi_wp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 20 void hdmi_wp_dump(struct hdmi_wp_data *wp, struct seq_file *s) in hdmi_wp_dump() argument 22 #define DUMPREG(r) seq_printf(s, "%-35s %08x\n", #r, hdmi_read_reg(wp->base, r)) in hdmi_wp_dump() 44 u32 hdmi_wp_get_irqstatus(struct hdmi_wp_data *wp) in hdmi_wp_get_irqstatus() argument 46 return hdmi_read_reg(wp->base, HDMI_WP_IRQSTATUS); in hdmi_wp_get_irqstatus() 49 void hdmi_wp_set_irqstatus(struct hdmi_wp_data *wp, u32 irqstatus) in hdmi_wp_set_irqstatus() argument 51 hdmi_write_reg(wp->base, HDMI_WP_IRQSTATUS, irqstatus); in hdmi_wp_set_irqstatus() 53 hdmi_read_reg(wp->base, HDMI_WP_IRQSTATUS); in hdmi_wp_set_irqstatus() 56 void hdmi_wp_set_irqenable(struct hdmi_wp_data *wp, u32 mask) in hdmi_wp_set_irqenable() argument [all …]
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | marvell,dove-pinctrl.txt | 3 Please refer to marvell,mvebu-pinctrl.txt in this directory for common binding 7 - compatible: "marvell,dove-pinctrl" 8 - clocks: (optional) phandle of pdma clock 9 - reg: register specifiers of MPP, MPP4, and PMU MPP registers 19 mpp1 1 gpio, pmu, uart2(cts), sdio0(wp), lcd1(pwm), pmu* 23 uart1(cts), lcd-spi(cs1), pmu* 25 mpp5 5 gpio, pmu, uart3(cts), sdio1(wp), spi1(cs), pmu* 31 mpp11 11 gpio, pmu, sata(prsnt), sata-1(act), sdio0(ledctrl), 35 mpp13 13 gpio, pmu, uart2(cts), audio1(extclk), sdio1(wp), 39 mpp16 16 gpio, uart3(rts), sdio0(cd), ac97(sdi1), lcd-spi(cs1) [all …]
|
| /linux/arch/riscv/boot/dts/sophgo/ |
| H A D | sg2042-evb-v2.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 13 compatible = "sophgo,sg2042-evb-v2", "sophgo,sg2042"; 16 stdout-path = "serial0"; 19 pwmfan: pwm-fan { 20 compatible = "pwm-fan"; 21 cooling-levels = <103 128 179 230 255>; 23 #cooling-cells = <2>; 26 thermal-zones { [all …]
|
| H A D | sg2042-milkv-pioneer.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 12 model = "Milk-V Pioneer"; 16 stdout-path = "serial0"; 19 gpio-power { 20 compatible = "gpio-keys"; 22 key-power { 26 linux,input-type = <EV_KEY>; 27 debounce-interval = <100>; [all …]
|
| H A D | sg2042-evb-v1.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 13 compatible = "sophgo,sg2042-evb-v1", "sophgo,sg2042"; 16 stdout-path = "serial0"; 19 gpio-power { 20 compatible = "gpio-keys"; 22 key-power { 26 linux,input-type = <EV_KEY>; 27 debounce-interval = <100>; [all …]
|
| H A D | cv1812h-huashan-pi.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 12 compatible = "sophgo,huashan-pi", "sophgo,cv1812h"; 27 stdout-path = "serial0:115200n8"; 30 reserved-memory { 31 #address-cells = <1>; 32 #size-cells = <1>; 37 no-map; 43 clock-frequency = <25000000>; 48 bus-width = <4>; [all …]
|
| H A D | sg2044-sophgo-srd3-10.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 11 model = "Sophgo SG2044 SRD3-10"; 12 compatible = "sophgo,srd3-10", "sophgo,sg2044"; 22 stdout-path = "serial1:115200n8"; 27 clock-frequency = <25000000>; 31 bus-width = <4>; 32 no-sdio; 33 no-sd; 34 non-removable; [all …]
|
| /linux/tools/testing/selftests/mm/ |
| H A D | uffd-unit-tests.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2015-2023 Red Hat, Inc. 8 #include "uffd-common.h" 27 ((__typeof__(x))((((unsigned long)(x)) + ((align_to)-1)) & ~((align_to)-1))) 53 .name = "shmem-private", 65 .name = "hugetlb-private", 192 return (features & test->uffd_feature_required) == in uffd_feature_supported() 193 test->uffd_feature_required; in uffd_feature_supported() 207 #define pagemap_check_wp(value, wp) do { \ argument 208 if (!!(value & PM_UFFD_WP) != wp) \ [all …]
|
| /linux/Documentation/virt/kvm/x86/ |
| H A D | mmu.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 - correctness: 18 - security: 21 - performance: 23 - scaling: 25 - hardware: 27 - integration: 31 - dirty tracking: 33 and framebuffer-based displays 34 - footprint: [all …]
|
| /linux/arch/powerpc/math-emu/ |
| H A D | math_efp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * arch/powerpc/math-emu/math_efp.c 5 * Copyright (C) 2006-2008, 2010 Freescale Semiconductor, Inc. 10 * Derived from arch/alpha/math-emu/math.c 11 * arch/powerpc/math-emu/math.c 15 * fully comply with IEEE-754 floating point standard. 26 #include <asm/sfp-machine.h> 28 #include <math-emu/soft-fp.h> 29 #include <math-emu/single.h> 30 #include <math-emu/double.h> [all …]
|
| /linux/Documentation/mhi/ |
| H A D | mhi.rst | 1 .. SPDX-License-Identifier: GPL-2.0 26 ---- 48 --------------- 74 -------- 82 bidirectional data pipe, which can be used by the upper-layer protocols to 88 -------------- 95 [Read Pointer (RP)] ----------->[Ring Element] } TD 96 [Write Pointer (WP)]- [Ring Element] 97 - [Ring Element] 98 --------->[Ring Element] [all …]
|
| /linux/arch/arm/kernel/ |
| H A D | hw_breakpoint.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * HW_breakpoint: a unified kernel/user-space hardware breakpoint facility, 13 #define pr_fmt(fmt) "hw-breakpoint: " fmt 151 /* We don't support the memory-mapped interface. */ in debug_arch_supported() 216 return core_has_mismatch_brps() ? brps - 1 : brps; in get_num_brps() 257 return -ENODEV; in enable_monitor_mode() 265 return -EPERM; in enable_monitor_mode() 293 * Check if 8-bit byte-address select is available. 333 addr = info->address; in arch_install_hw_breakpoint() 334 ctrl = encode_ctrl_reg(info->ctrl) | 0x1; in arch_install_hw_breakpoint() [all …]
|
| /linux/drivers/media/pci/saa7164/ |
| H A D | saa7164-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2010-2015 Steven Toth <stoth@kernellabs.com> 45 MODULE_PARM_DESC(encoder_buffers, "Total buffers in read queue 16-512 def:64"); 49 MODULE_PARM_DESC(vbi_buffers, "Total buffers in read queue 16-512 def:64"); 55 static unsigned int card[] = {[0 ... (SAA7164_MAXBOARDS - 1)] = UNSET }; 86 u8 *p = (u8 *)buf->cpu; in saa7164_pack_verifier() 89 for (i = 0; i < buf->actual_size; i += 2048) { in saa7164_pack_verifier() 93 printk(KERN_ERR "No pack at 0x%x\n", i); in saa7164_pack_verifier() 107 struct saa7164_port *port = buf->port; in saa7164_ts_verifier() 111 u8 *bufcpu = (u8 *)buf->cpu; in saa7164_ts_verifier() [all …]
|
| /linux/fs/btrfs/ |
| H A D | zoned.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include "disk-io.h" 13 #include "block-group.h" 14 #include "dev-replace.h" 15 #include "space-info.h" 25 #define WP_MISSING_DEV ((u64)-1) 27 #define WP_CONVENTIONAL ((u64)-2) 32 * - primary superblock: 0B (zone 0) 33 * - first copy: 512G (zone starting at that offset) 34 * - second copy: 4T (zone starting at that offset) [all …]
|
| /linux/include/uapi/linux/ |
| H A D | blkzoned.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 23 * enum blk_zone_type - Types of zones allowed in a zoned device. 25 * @BLK_ZONE_TYPE_CONVENTIONAL: The zone has no write pointer and can be writen 26 * randomly. Zone reset has no effect on the zone. 28 * @BLK_ZONE_TYPE_SEQWRITE_PREF: The zone can be written non-sequentially 39 * enum blk_zone_cond - Condition [state] of a zone in a zoned device. 41 * @BLK_ZONE_COND_NOT_WP: The zone has no write pointer, it is conventional. 49 * @BLK_ZONE_COND_READONLY: The zone is read-only. 54 * - ZC1: Empty | BLK_ZONE_COND_EMPTY 55 * - ZC2: Implicit Open | BLK_ZONE_COND_IMP_OPEN [all …]
|
| /linux/drivers/dma/qcom/ |
| H A D | gpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/dma/qcom-gpi.h> 9 #include <linux/dma-mapping.h> 14 #include <linux/dma/qcom-gpi-dma.h> 18 #include "../virt-dma.h" 70 /* Register offsets from gpi-top */ 183 /* GPII specific Global - Enable bit register */ 188 /* GPII general interrupt - Enable bit register */ 360 * @DISABLE_STATE: no register access allowed [all …]
|
| /linux/sound/hda/core/ |
| H A D | bus.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HD-audio core bus driver 24 * snd_hdac_bus_init - initialize a HD-audio bas bus 35 bus->dev = dev; in snd_hdac_bus_init() 37 bus->ops = ops; in snd_hdac_bus_init() 39 bus->op in snd_hdac_bus_init() 150 unsigned int wp; snd_hdac_bus_queue_event() local [all...] |
| H A D | controller.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HD-audio controller helpers 19 for (timeout = 1000; timeout > 0; timeout--) { in azx_clear_corbrp() 25 dev_err(bus->dev, "CORB reset timeout#1, CORBRP = %d\n", in azx_clear_corbrp() 29 for (timeout = 1000; timeout > 0; timeout--) { in azx_clear_corbrp() 229 unsigned int wp, rp; snd_hdac_bus_send_cmd_corb() local 272 unsigned int rp, wp; snd_hdac_bus_update_rirb() local [all...] |
| /linux/arch/arm64/kernel/ |
| H A D | hw_breakpoint.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HW_breakpoint: a unified kernel/user-space hardware breakpoint facility, 10 #define pr_fmt(fmt) "hw-breakpoint: " fmt 23 #include <asm/debug-monitors.h> 37 /* Currently stepping a per-CPU kernel breakpoint. */ 151 return -EINVAL; in debug_exception_level() 164 struct task_struct *tsk = bp->hw.target; in is_compat_bp() 167 * tsk can be NULL for per-cpu (non-ptrace) breakpoints. in is_compat_bp() 177 * hw_breakpoint_slot_setup - Find and setup a perf slot according to 187 * -ENOSPC if no slot is available/matches [all …]
|
| /linux/arch/x86/mm/pat/ |
| H A D | memtype.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 * memory ranges: uncached, write-combining, write-through, write-protected, 15 * and the most commonly used and default attribute: write-back caching. 20 * Even modern CPUs have MTRRs enabled - but these are typically not touched 21 * by the kernel or by user-space (such as the X server), we rely on PAT for any 71 * various user-requested or hardware-forced reasons: 112 * - _PAGE_CACHE_MODE_WB 113 * - _PAGE_CACHE_MODE_WC 114 * - _PAGE_CACHE_MODE_UC_MINUS 115 * - _PAGE_CACHE_MODE_WT [all …]
|
| /linux/Documentation/admin-guide/mm/ |
| H A D | userfaultfd.rst | 8 Userfaults allow the implementation of on-demand paging from userland 38 Vmas are not suitable for page- (or hugepage) granular fault tracking 48 is a corner case that would currently return ``-EBUSY``). 54 ---------------------- 63 - Any user can always create a userfaultfd which traps userspace page faults 67 - In order to also trap kernel page faults for the address space, either the 84 -------------------------- 101 - The ``UFFD_FEATURE_EVENT_*`` flags indicate that various other events 103 detail below in the `Non-cooperative userfaultfd`_ section. 105 - ``UFFD_FEATURE_MISSING_HUGETLBFS`` and ``UFFD_FEATURE_MISSING_SHMEM`` [all …]
|