/linux/arch/arm/mach-omap1/ |
H A D | ams-delta-fiq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Amstrad E3 FIQ handling 10 * Parts of this code are taken from linux/arch/arm/mach-omap/irq.c 20 #include <linux/platform_data/ams-delta-fiq.h> 23 #include <asm/fiq.h> 24 #include <linux/soc/ti/omap1-io.h> 27 #include "ams-delta-fiq.h" 28 #include "board-ams-delta.h" 31 .name = "ams-delta-fiq" 35 * This buffer is shared between FIQ and IRQ contexts. [all …]
|
H A D | board-ams-delta.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-omap1/board-ams-delta.c 5 * Modified from board-generic.c 19 #include <linux/mtd/nand-gpio.h> 29 #include <linux/platform_data/gpio-omap.h> 30 #include <linux/soc/ti/omap1-mux.h> 33 #include <asm/mach-types.h> 37 #include <linux/platform_data/keypad-omap.h> 41 #include "ams-delta-fiq.h" 42 #include "board-ams-delta.h" [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 74 intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is 87 timer provides more intra-tick resolution than the 32KHz timer, 91 bool "Enable wake-up events for serial ports" 109 device drivers work properly. 149 have such a device. 154 select FIQ 161 if you have such a device.
|
/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | apple,aic2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/apple,aic2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Hector Martin <marcan@marcan.st> 18 - Level-triggered hardware IRQs wired to SoC blocks 19 - Single mask bit per IRQ 20 - Automatic masking on event delivery (auto-ack) 21 - Software triggering (ORed with hw line) 22 - Automatic prioritization (single event/ack register per CPU, lower IRQs = [all …]
|
H A D | apple,aic.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/apple,aic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Hector Martin <marcan@marcan.st> 19 - Level-triggered hardware IRQs wired to SoC blocks 20 - Single mask bit per IRQ 21 - Per-IRQ affinity setting 22 - Automatic masking on event delivery (auto-ack) 23 - Software triggering (ORed with hw line) [all …]
|
H A D | st,stih407-irq-syscfg.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/st,stih407-irq-syscfg.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Patrice Chotard <patrice.chotard@foss.st.com> 15 Configuration registers. This device is used to unmask them prior to use. 19 const: st,stih407-irq-syscfg 22 description: Phandle to Cortex-A9 IRQ system config registers 25 st,irq-device: 27 $ref: /schemas/types.yaml#/definitions/uint32-array [all …]
|
/linux/drivers/irqchip/ |
H A D | irq-st.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * This is a re-write of Christophe Kerello's PMU driver. 10 #include <dt-bindings/interrupt-controller/irq-st.h> 45 .compatible = "st,stih407-irq-syscfg", 52 int device, int channel, bool irq) in st_irq_xlate() argument 54 struct st_irq_syscfg *ddata = dev_get_drvdata(&pdev->dev); in st_irq_xlate() 56 /* Set the device enable bit. */ in st_irq_xlate() 57 switch (device) { in st_irq_xlate() 59 ddata->config |= ST_A9_IRQ_EN_EXT_0; in st_irq_xlate() 62 ddata->config |= ST_A9_IRQ_EN_EXT_1; in st_irq_xlate() [all …]
|
H A D | irq-ixp4xx.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Based on arch/arm/mach-ixp4xx/common.c 8 * Copyright 2003-2004 (C) MontaVista, Software, Inc. 28 #define IXP4XX_ICLR 0x08 /* Interrupt IRQ/FIQ Select */ 30 #define IXP4XX_ICFP 0x10 /* FIQ Status */ 33 #define IXP4XX_ICFH 0x1C /* FIQ Highest Pri Int */ 35 /* IXP43x and IXP46x-only */ 38 #define IXP4XX_ICLR2 0x28 /* Interrupt IRQ/FIQ Select 2 */ 40 #define IXP4XX_ICFP2 0x30 /* FIQ Status */ 44 * struct ixp4xx_irq - state container for the Faraday IRQ controller [all …]
|
H A D | irq-apple-aic.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Based on irq-lpc32xx: 6 * Copyright 2015-2016 Vladimir Zapolskiy <vz@mleia.com> 7 * Based on irq-bcm2836: 14 * - 896 level-triggered hardware IRQs 15 * - Single mask bit per IRQ 16 * - Per-IRQ affinity setting 17 * - Automatic masking on event delivery (auto-ack) 18 * - Software triggering (ORed with hw line) 19 * - 2 per-CPU IPIs (meant as "self" and "other", but they are [all …]
|
H A D | irq-omap-intc.c | 2 * linux/arch/arm/mach-omap2/irq.c 26 #include <linux/irqchip/irq-omap-intc.h> 134 /* Re-enable autoidle */ in omap3_intc_resume_idle() 139 /* XXX: FIQ and additional INTC support (only MPU at the moment) */ 205 gc->reg_base = base; in omap_alloc_gc_of() 206 ct = gc->chip_types; in omap_alloc_gc_of() 208 ct->type = IRQ_TYPE_LEVEL_MASK; in omap_alloc_gc_of() 210 ct->chip.irq_ack = omap_mask_ack_irq; in omap_alloc_gc_of() 211 ct->chip.irq_mask = irq_gc_mask_disable_reg; in omap_alloc_gc_of() 212 ct->chip.irq_unmask = irq_gc_unmask_enable_reg; in omap_alloc_gc_of() [all …]
|
H A D | irq-vic.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 1999 - 2003 ARM Limited 21 #include <linux/device.h> 23 #include <linux/irqchip/arm-vic.h> 31 #define VIC_INT_SELECT 0x0c /* 1 = FIQ, 0 = IRQ */ 49 * struct vic_device - VIC PM device 82 * vic_init2 - common initialisation code 103 void __iomem *base = vic->base; in resume_one_vic() 107 /* re-initialise static settings */ in resume_one_vic() 110 writel(vic->int_select, base + VIC_INT_SELECT); in resume_one_vic() [all …]
|
H A D | irq-armada-370-xp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Gregory CLEMENT <gregory.clement@free-electrons.com> 9 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 45 * +---------------+ +---------------+ 47 * | per-CPU | | per-CPU | 51 * +---------------+ +---------------+ 56 * +-------------------+ 61 * +-------------------+ 65 * device 69 * registers, which are relative to "mpic->base". [all …]
|
/linux/arch/arm/mach-rpc/ |
H A D | dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-rpc/dma.c 12 #include <linux/dma-mapping.h> 17 #include <asm/fiq.h> 48 #define ENDA (IOMD_IO0ENDA - IOMD_IO0CURA) 49 #define CURB (IOMD_IO0CURB - IOMD_IO0CURA) 50 #define ENDB (IOMD_IO0ENDB - IOMD_IO0CURA) 51 #define CR (IOMD_IO0CR - IOMD_IO0CURA) 52 #define ST (IOMD_IO0ST - IOMD_IO0CURA) 58 if (idma->dma.sg) { in iomd_get_next_sg() [all …]
|
/linux/sound/soc/fsl/ |
H A D | fsl_ssi.c | 1 // SPDX-License-Identifier: GPL-2.0 7 // Copyright 2007-2010 Freescale Semiconductor, Inc. 9 // Some notes why imx-pcm-fiq is used instead of DMA on some boards: 16 // we receive in our (PCM-) data stream. The only chance we have is to 17 // manually skip this data in the FIQ handler. With sampling rates different 19 // between pcm data and GPIO status data changes. Our FIQ handler is not 34 #include <linux/device.h> 43 #include <linux/dma/imx-dma.h> 53 #include "imx-pcm.h" 55 /* Define RX and TX to index ssi->regvals array; Can be 0 or 1 only */ [all …]
|
/linux/fs/fuse/ |
H A D | virtio_fs.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * virtio-fs: Virtio Filesystem 31 /* List of virtio-fs device instances and a lock for the list. Also provides 32 * mutual exclusion in device removal and mounting path 47 /* Per-virtqueue state */ 50 struct virtqueue *vq; /* protected by ->lock */ 63 /* A virtio-fs device instance */ 125 struct fuse_fs_context *ctx = fsc->fs_private; in virtio_fs_parse_param() 134 ctx->dax_mode = FUSE_DAX_ALWAYS; in virtio_fs_parse_param() 137 ctx->dax_mode = result.uint_32; in virtio_fs_parse_param() [all …]
|
H A D | inode.c | 3 Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu> 85 sl->forget = fuse_alloc_forget(); in fuse_alloc_submount_lookup() 86 if (!sl->forget) in fuse_alloc_submount_lookup() 104 fi->i_time = 0; in fuse_alloc_inode() 105 fi->inval_mask = ~0; in fuse_alloc_inode() 106 fi->nodeid = 0; in fuse_alloc_inode() 107 fi->nlookup = 0; in fuse_alloc_inode() 108 fi->attr_version = 0; in fuse_alloc_inode() 109 fi->orig_ino = 0; in fuse_alloc_inode() 110 fi->state = 0; in fuse_alloc_inode() [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | fsl,ssi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 13 Notes on fsl,playback-dma and fsl,capture-dma 14 On SOCs that have an SSI, specific DMA channels are hard-wired for playback 18 DMA controller to use, but the channels themselves are hard-wired. The 21 The device tree nodes for the DMA channels that are referenced by 22 "fsl,playback-dma" and "fsl,capture-dma" must be marked as compatible with 23 "fsl,ssi-dma-channel". The SOC-specific compatible string (e.g. [all …]
|
/linux/arch/arm/mach-imx/ |
H A D | tzic.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C)2004-2010 Freescale Semiconductor, Inc. All Rights Reserved. 7 #include <linux/device.h> 20 #include "irq-common.h" 58 return -EINVAL; in tzic_set_irq_fiq() 76 int idx = d->hwirq >> 5; in tzic_irq_suspend() 78 imx_writel(gc->wake_active, tzic_base + TZIC_WAKEUP0(idx)); in tzic_irq_suspend() 83 int idx = d->hwirq >> 5; in tzic_irq_resume() 107 gc->private = &tzic_extra_irq; in tzic_init_gc() 108 gc->wake_enabled = IRQ_MSK(32); in tzic_init_gc() [all …]
|
/linux/Documentation/arch/arm64/ |
H A D | booting.rst | 13 (EL0 - EL3), with EL0, EL1 and EL2 having a secure and a non-secure 27 2. Setup the device tree 33 --------------------------- 48 2. Setup the device tree 49 ------------------------- 53 The device tree blob (dtb) must be placed on an 8-byte boundary and must 62 ------------------------------ 74 ------------------------ 78 The decompressed kernel image contains a 64-byte header as follows:: 94 - As of v3.17, all fields are little endian unless stated otherwise. [all …]
|
/linux/Documentation/arch/arm/ |
H A D | tcm.rst | 2 ARM TCM (Tightly-Coupled Memory) handling in Linux 7 Some ARM SoCs have a so-called TCM (Tightly-Coupled Memory). 8 This is usually just a few (4-64) KiB of RAM inside the ARM 12 Harvard-architecture, so there is an ITCM (instruction TCM) 24 determine if ITCM (bits 1-0) and/or DTCM (bit 17-16) is present 52 - FIQ and other interrupt handlers that need deterministic 55 - Idle loops where all external RAM is set to self-refresh 56 retention mode, so only on-chip RAM is accessible by 60 - Other operations which implies shutting off or reconfiguring 66 - Define the physical address and size of ITCM and DTCM. [all …]
|
/linux/arch/arm/mach-bcm/ |
H A D | bcm_kona_smc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 {.compatible = "brcm,kona-smc"}, 26 {.compatible = "bcm,kona-smc"}, /* deprecated name */ 37 /* Read buffer addr and size from the device tree node */ in bcm_kona_smc_init() 40 return -ENODEV; in bcm_kona_smc_init() 45 return -EINVAL; in bcm_kona_smc_init() 49 return -ENOMEM; in bcm_kona_smc_init() 69 * Parameters to the "smc" request are passed in r4-r6 as follows: 96 r5 = 0x3; /* Keep IRQ and FIQ off in SM */ in bcm_kona_do_smc() 117 /* __bcm_kona_smc() should only run on CPU 0, with pre-emption disabled */ [all …]
|
/linux/arch/arm64/include/asm/ |
H A D | kvm_arm.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2012,2013 - ARM Ltd 96 * PTW: Take a stage2 fault if a stage1 walk steps in device memory 153 * We configure the Stage-2 page tables to always restrict the IPA space to be 172 * ----------------------------------------- 174 * ------------------------------------------ 175 * | Level: 0 | 2 | - | 176 * ------------------------------------------ 178 * ------------------------------------------ 180 * ------------------------------------------ [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A D | stih407-family.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "stih407-pinctrl.dtsi" 7 #include <dt-bindings/mfd/st-lpc.h> 8 #include <dt-bindings/phy/phy.h> 9 #include <dt-bindings/reset/stih407-resets.h> 10 #include <dt-bindings/interrupt-controller/irq-st.h> 12 #address-cells = <1>; 13 #size-cells = <1>; 15 reserved-memory { 16 #address-cells = <1>; [all …]
|
/linux/arch/arm64/kernel/ |
H A D | smp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 #include <linux/irqchip/arm-gic-v3.h> 98 return -ENOSYS; in op_cpu_kill() 111 if (ops->cpu_boot) in boot_secondary() 112 return ops->cpu_boot(cpu); in boot_secondary() 114 return -EOPNOTSUPP; in boot_secondary() 134 if (ret != -EPERM) in __cpu_up() 170 pr_crit("CPU%u: does not support 52-bit VAs\n", cpu); in __cpu_up() 181 return -EIO; in __cpu_up() 215 current->active_mm = mm; in secondary_start_kernel() [all …]
|
/linux/arch/arm/mach-sa1100/include/mach/ |
H A D | SA-1100.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * FILE SA-1100.h 9 * System StrongARM SA-1100 12 * SA-1100 microprocessor (Advanced RISC Machine (ARM) 14 * StrongARM SA-1100 data sheet version 2.2. 21 #error You must include hardware.h not SA-1100.h 77 * Universal Serial Bus (USB) Device Controller (UDC) control registers 80 * Ser0UDCCR Serial port 0 Universal Serial Bus (USB) Device 82 * Ser0UDCAR Serial port 0 Universal Serial Bus (USB) Device 84 * Ser0UDCOMP Serial port 0 Universal Serial Bus (USB) Device [all …]
|