data_type
large_stringclasses
3 values
source
large_stringclasses
29 values
code
large_stringlengths
98
49.4M
filepath
large_stringlengths
5
161
message
large_stringclasses
234 values
commit
large_stringclasses
234 values
subject
large_stringclasses
418 values
critique
large_stringlengths
101
1.26M
metadata
dict
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_CHMCTRL_H #define _SPARC64_CHMCTRL_H /* Cheetah memory controller programmable registers. */ #define CHMCTRL_TCTRL1 0x00 /* Memory Timing Control I */ #define CHMCTRL_TCTRL2 0x08 /* Memory Timing Control II */ #define CHMCTRL_TCTRL3 0x38 /* Memory Timing Cont...
arch/sparc/include/asm/chmctrl.h
null
null
null
null
null
source
linux
/* * clock.h: Definitions for clock operations on the Sparc. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SPARC_CLOCK_H #define _SPARC_CLOCK_H /* Foo for now. */ #endif /* !(_SPARC_CLOCK_H) */
arch/sparc/include/asm/clock.h
null
null
null
null
null
source
linux
/* * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved. */ #ifndef _ASM_SPARC_CLOCKSOURCE_H #define _ASM_SPARC_CLOCKSOURCE_H /* VDSO clocksources */ #define VCLOCK_NONE 0 /* Nothing userspace can do. */ #define VCLOCK_TICK 1 /* Use %tick. */ #define VCLOCK_STICK 2 /* Use %stick. */ stru...
arch/sparc/include/asm/clocksource.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_CMPXCHG_H #define ___ASM_SPARC_CMPXCHG_H #if defined(__sparc__) && defined(__arch64__) #include <asm/cmpxchg_64.h> #else #include <asm/cmpxchg_32.h> #endif #endif
arch/sparc/include/asm/cmpxchg.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* 32-bit atomic xchg() and cmpxchg() definitions. * * Copyright (C) 1996 David S. Miller (davem@davemloft.net) * Copyright (C) 2000 Anton Blanchard (anton@linuxcare.com.au) * Copyright (C) 2007 Kyle McMartin (kyle@parisc-linux.org) * * Additions by Keith M Wesolowski (wesol...
arch/sparc/include/asm/cmpxchg_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* 64-bit atomic xchg() and cmpxchg() definitions. * * Copyright (C) 1996, 1997, 2000 David S. Miller (davem@redhat.com) */ #ifndef __ARCH_SPARC64_CMPXCHG__ #define __ARCH_SPARC64_CMPXCHG__ static inline unsigned long __cmpxchg_u32(volatile int *m, int old, int new) { __asm_...
arch/sparc/include/asm/cmpxchg_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_SPARC64_COMPAT_H #define _ASM_SPARC64_COMPAT_H /* * Architecture specific compatibility types */ #include <linux/types.h> #define compat_mode_t compat_mode_t typedef u16 compat_mode_t; #define __compat_uid_t __compat_uid_t typedef u16 __compat_uid_t; typedef u16...
arch/sparc/include/asm/compat.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _COMPAT_SIGNAL_H #define _COMPAT_SIGNAL_H #include <linux/compat.h> #include <asm/signal.h> #ifdef CONFIG_COMPAT struct __new_sigaction32 { unsigned int sa_handler; unsigned int sa_flags; unsigned int sa_restorer; /* not used by Linux/SPARC yet */ compat_si...
arch/sparc/include/asm/compat_signal.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC_CONTREGS_H #define _SPARC_CONTREGS_H /* contregs.h: Addresses of registers in the ASI_CONTROL alternate address * space. These are for the mmu's context register, etc. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ /* s=Swift,...
arch/sparc/include/asm/contregs.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_CPU_TYPE_H #define __ASM_CPU_TYPE_H /* * Sparc (general) CPU types */ enum sparc_cpu { sun4m = 0x00, sun4d = 0x01, sun4e = 0x02, sun4u = 0x03, /* V8 ploos ploos */ sun_unknown = 0x04, ap1000 = 0x05, /* almost a sun4m */ s...
arch/sparc/include/asm/cpu_type.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_CPUDATA_H #define ___ASM_SPARC_CPUDATA_H #ifndef __ASSEMBLER__ #include <linux/threads.h> #include <linux/percpu.h> extern const struct seq_operations cpuinfo_op; #endif /* !(__ASSEMBLER__) */ #if defined(__sparc__) && defined(__arch64__) #include <asm/cp...
arch/sparc/include/asm/cpudata.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* cpudata.h: Per-cpu parameters. * * Copyright (C) 2004 Keith M Wesolowski (wesolows@foobazco.org) * * Based on include/asm/cpudata.h and Linux 2.4 smp.h * both (C) David S. Miller. */ #ifndef _SPARC_CPUDATA_H #define _SPARC_CPUDATA_H #include <linux/percpu.h> typedef st...
arch/sparc/include/asm/cpudata_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* cpudata.h: Per-cpu parameters. * * Copyright (C) 2003, 2005, 2006 David S. Miller (davem@davemloft.net) */ #ifndef _SPARC64_CPUDATA_H #define _SPARC64_CPUDATA_H #ifndef __ASSEMBLER__ typedef struct { /* Dcache line 1 */ unsigned int __softirq_pending; /* must be 1st, se...
arch/sparc/include/asm/cpudata_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* include/asm/current.h * * Copyright (C) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation * Copyright (C) 2002 Pete Zaitcev (zaitcev@yahoo.com) * Copyright (C) 2007 David S. Miller (davem@davemloft.net) * * Derived from "include/asm-s390/current.h" by * Martin Sch...
arch/sparc/include/asm/current.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_DCR_H #define _SPARC64_DCR_H /* UltraSparc-III/III+ Dispatch Control Register, ASR 0x12 */ #define DCR_DPE 0x0000000000001000 /* III+: D$ Parity Error Enable */ #define DCR_OBS 0x0000000000000fc0 /* Observability Bus Controls */ #define DCR_BPE 0x0000000000000...
arch/sparc/include/asm/dcr.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_DCU_H #define _SPARC64_DCU_H #include <linux/const.h> /* UltraSparc-III Data Cache Unit Control Register */ #define DCU_CP _AC(0x0002000000000000,UL) /* Phys Cache Enable w/o mmu */ #define DCU_CV _AC(0x0001000000000000,UL) /* Virt Cache Enable w/o mmu */ #defin...
arch/sparc/include/asm/dcu.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_DELAY_H #define ___ASM_SPARC_DELAY_H #if defined(__sparc__) && defined(__arch64__) #include <asm/delay_64.h> #else #include <asm/delay_32.h> #endif #endif
arch/sparc/include/asm/delay.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * delay.h: Linux delay routines on the Sparc. * * Copyright (C) 1994 David S. Miller (davem@caip.rutgers.edu). */ #ifndef __SPARC_DELAY_H #define __SPARC_DELAY_H #include <asm/cpudata.h> static inline void __delay(unsigned long loops) { __asm__ __volatile__("cmp %0, 0\n...
arch/sparc/include/asm/delay_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* delay.h: Linux delay routines on sparc64. * * Copyright (C) 1996, 2004, 2007 David S. Miller (davem@davemloft.net). */ #ifndef _SPARC64_DELAY_H #define _SPARC64_DELAY_H #ifndef __ASSEMBLER__ void __delay(unsigned long loops); void udelay(unsigned long usecs); #define mdel...
arch/sparc/include/asm/delay_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Arch specific extensions to struct device */ #ifndef _ASM_SPARC_DEVICE_H #define _ASM_SPARC_DEVICE_H #include <asm/openprom.h> struct device_node; struct platform_device; struct dev_archdata { void *iommu; void *stc; void *host_controller; struct platform_...
arch/sparc/include/asm/device.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_DMA_MAPPING_H #define ___ASM_SPARC_DMA_MAPPING_H extern const struct dma_map_ops *dma_ops; static inline const struct dma_map_ops *get_arch_dma_ops(void) { /* sparc32 uses per-device dma_ops */ return IS_ENABLED(CONFIG_SPARC64) ? dma_ops : NULL; } #endif
arch/sparc/include/asm/dma-mapping.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_SPARC_DMA_H #define _ASM_SPARC_DMA_H /* These are irrelevant for Sparc DMA, but we leave it in so that * things can compile. */ #define MAX_DMA_CHANNELS 8 #define DMA_MODE_READ 1 #define DMA_MODE_WRITE 2 #define MAX_DMA_ADDRESS (~0UL) /* Useful constants */ ...
arch/sparc/include/asm/dma.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_SPARC_EBUS_DMA_H #define __ASM_SPARC_EBUS_DMA_H struct ebus_dma_info { spinlock_t lock; void __iomem *regs; unsigned int flags; #define EBUS_DMA_FLAG_USE_EBDMA_HANDLER 0x00000001 #define EBUS_DMA_FLAG_TCI_DISABLE 0x00000002 /* These are only valid is EBUS_DM...
arch/sparc/include/asm/ebus_dma.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * ecc.h: Definitions and defines for the external cache/memory * controller on the sun4m. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SPARC_ECC_H #define _SPARC_ECC_H /* These registers are accessed through the SRMMU passthrough ASI...
arch/sparc/include/asm/ecc.h
null
null
null
null
null
source
linux
/* * eeprom.h: Definitions for the Sun eeprom. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ /* The EEPROM and the Mostek Mk48t02 use the same IO address space * for their registers/data areas. The IDPROM lives here too. */
arch/sparc/include/asm/eeprom.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_ELF_H #define ___ASM_SPARC_ELF_H #if defined(__sparc__) && defined(__arch64__) #include <asm/elf_64.h> #else #include <asm/elf_32.h> #endif #endif
arch/sparc/include/asm/elf.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASMSPARC_ELF_H #define __ASMSPARC_ELF_H /* * ELF register definitions.. */ #include <asm/ptrace.h> /* * Sparc section types */ #define STT_REGISTER 13 /* * Sparc ELF relocation types */ #define R_SPARC_NONE 0 #define R_SPARC_8 1 #define R_SPARC_16 2 #define...
arch/sparc/include/asm/elf_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_SPARC64_ELF_H #define __ASM_SPARC64_ELF_H /* * ELF register definitions.. */ #include <asm/ptrace.h> #include <asm/processor.h> #include <asm/spitfire.h> #include <asm/adi.h> /* * Sparc section types */ #define STT_REGISTER 13 /* * Sparc ELF relocation type...
arch/sparc/include/asm/elf_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_ESTATE_H #define _SPARC64_ESTATE_H /* UltraSPARC-III E-cache Error Enable */ #define ESTATE_ERROR_FMT 0x0000000000040000 /* Force MTAG ECC */ #define ESTATE_ERROR_FMESS 0x000000000003c000 /* Forced MTAG ECC val */ #define ESTATE_ERROR_FMD 0x0000000000002000 /* F...
arch/sparc/include/asm/estate.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_EXTABLE_H #define __ASM_EXTABLE_H /* * The exception table consists of pairs of addresses: the first is the * address of an instruction that is allowed to fault, and the second is * the address at which the program should continue. No registers are * modified, s...
arch/sparc/include/asm/extable.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_FBIO_H #define __LINUX_FBIO_H #include <uapi/asm/fbio.h> #define FBIOPUTCMAP_SPARC _IOW('F', 3, struct fbcmap) #define FBIOGETCMAP_SPARC _IOW('F', 4, struct fbcmap) /* Addresses on the fd of a cgsix that are mappable */ #define CG6_FBC 0x70000000 #define CG6_T...
arch/sparc/include/asm/fbio.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* fhc.h: FHC and Clock board register definitions. * * Copyright (C) 1997, 1999 David S. Miller (davem@redhat.com) */ #ifndef _SPARC64_FHC_H #define _SPARC64_FHC_H /* Clock board register offsets. */ #define CLOCK_CTRL 0x00UL /* Main control */ #define CLOCK_STAT1 0x10UL /* ...
arch/sparc/include/asm/fhc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_FLOPPY_H #define ___ASM_SPARC_FLOPPY_H #if defined(__sparc__) && defined(__arch64__) #include <asm/floppy_64.h> #else #include <asm/floppy_32.h> #endif #endif
arch/sparc/include/asm/floppy.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* asm/floppy.h: Sparc specific parts of the Floppy driver. * * Copyright (C) 1995 David S. Miller (davem@davemloft.net) */ #ifndef __ASM_SPARC_FLOPPY_H #define __ASM_SPARC_FLOPPY_H #include <linux/of.h> #include <linux/of_platform.h> #include <linux/pgtable.h> #include <asm...
arch/sparc/include/asm/floppy_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* floppy.h: Sparc specific parts of the Floppy driver. * * Copyright (C) 1996, 2007, 2008 David S. Miller (davem@davemloft.net) * Copyright (C) 1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz) * * Ultra/PCI support added: Sep 1997 Eddie C. Dost (ecd@skynet.be) */ #ifndef __AS...
arch/sparc/include/asm/floppy_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* fpumacro.h: FPU related macros. * * Copyright (C) 1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz) * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SPARC64_FPUMACRO_H #define _SPARC64_FPUMACRO_H #include <asm/asi.h> #include <asm/visasm.h> struct fpus...
arch/sparc/include/asm/fpumacro.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_SPARC64_FTRACE #define _ASM_SPARC64_FTRACE #ifdef CONFIG_MCOUNT #define MCOUNT_ADDR ((unsigned long)(_mcount)) #define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */ #ifndef __ASSEMBLER__ void _mcount(void); #endif #endif /* CONFIG_MCOUNT */ #if defined(CONFIG_SPARC...
arch/sparc/include/asm/ftrace.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_FUTEX_H #define ___ASM_SPARC_FUTEX_H #if defined(__sparc__) && defined(__arch64__) #include <asm/futex_64.h> #else #include <asm/futex_32.h> #endif #endif
arch/sparc/include/asm/futex.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_FUTEX_H #define _SPARC64_FUTEX_H #include <linux/futex.h> #include <linux/uaccess.h> #include <asm/errno.h> #define __futex_cas_op(insn, ret, oldval, uaddr, oparg) \ __asm__ __volatile__( \ "\n1: lduwa [%3] %%asi, %2\n" \ " " insn "\n" \ "2: casa [%3]...
arch/sparc/include/asm/futex_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_HARDIRQ_H #define ___ASM_SPARC_HARDIRQ_H #if defined(__sparc__) && defined(__arch64__) #include <asm/hardirq_64.h> #else #include <asm/hardirq_32.h> #endif #endif
arch/sparc/include/asm/hardirq.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* hardirq.h: 32-bit Sparc hard IRQ support. * * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) * Copyright (C) 1998-2000 Anton Blanchard (anton@samba.org) */ #ifndef __SPARC_HARDIRQ_H #define __SPARC_HARDIRQ_H #include <asm-generic/hardirq.h> #endif /* __SPARC...
arch/sparc/include/asm/hardirq_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* hardirq.h: 64-bit Sparc hard IRQ support. * * Copyright (C) 1997, 1998, 2005 David S. Miller (davem@davemloft.net) */ #ifndef __SPARC64_HARDIRQ_H #define __SPARC64_HARDIRQ_H #include <asm/cpudata.h> #define __ARCH_IRQ_STAT #define local_softirq_pending_ref \ __cpu_data....
arch/sparc/include/asm/hardirq_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_HEAD_H #define ___ASM_SPARC_HEAD_H #if defined(__sparc__) && defined(__arch64__) #include <asm/head_64.h> #else #include <asm/head_32.h> #endif #endif
arch/sparc/include/asm/head.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __SPARC_HEAD_H #define __SPARC_HEAD_H #define KERNBASE 0xf0000000 /* First address the kernel will eventually be */ #define WRITE_PAUSE nop; nop; nop; /* Have to do this after %wim/%psr chg */ /* Here are some trap goodies */ /* Generic trap entry. */ #def...
arch/sparc/include/asm/head_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_HEAD_H #define _SPARC64_HEAD_H #include <asm/pstate.h> /* wrpr %g0, val, %gl */ #define SET_GL(val) \ .word 0xa1902000 | val /* rdpr %gl, %gN */ #define GET_GL_GLOBAL(N) \ .word 0x81540000 | (N << 25) #define KERNBASE 0x400000 #define PTREGS_OFF (STACK_BI...
arch/sparc/include/asm/head_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * hibernate.h: Hibernaton support specific for sparc64. * * Copyright (C) 2013 Kirill V Tkhai (tkhai@yandex.ru) */ #ifndef ___SPARC_HIBERNATE_H #define ___SPARC_HIBERNATE_H struct saved_context { unsigned long fp; unsigned long cwp; unsigned long wstate; unsigned lo...
arch/sparc/include/asm/hibernate.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * highmem.h: virtual kernel memory mappings for high memory * * Used in CONFIG_HIGHMEM systems for memory pages which * are not addressable by direct kernel virtual addresses. * * Copyright (C) 1999 Gerhard Wichert, Siemens AG * Gerhard.Wichert@pdb.siemens.de * ...
arch/sparc/include/asm/highmem.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_SPARC64_HUGETLB_H #define _ASM_SPARC64_HUGETLB_H #include <asm/page.h> #ifdef CONFIG_HUGETLB_PAGE struct pud_huge_patch_entry { unsigned int addr; unsigned int insn; }; extern struct pud_huge_patch_entry __pud_huge_patch, __pud_huge_patch_end; #endif #define __HA...
arch/sparc/include/asm/hugetlb.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_HVTRAP_H #define _SPARC64_HVTRAP_H #ifndef __ASSEMBLER__ #include <linux/types.h> struct hvtramp_mapping { __u64 vaddr; __u64 tte; }; struct hvtramp_descr { __u32 cpu; __u32 num_mappings; __u64 fault_info_va; __u64 fault_info_pa; __u64 threa...
arch/sparc/include/asm/hvtramp.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_HYPERVISOR_H #define _SPARC64_HYPERVISOR_H /* Sun4v hypervisor interfaces and defines. * * Hypervisor calls are made via traps to software traps number 0x80 * and above. Registers %o0 to %o5 serve as argument, status, and * return value registers. * * Ther...
arch/sparc/include/asm/hypervisor.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * idprom.h: Macros and defines for idprom routines * * Copyright (C) 1995,1996 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SPARC_IDPROM_H #define _SPARC_IDPROM_H #include <linux/types.h> struct idprom { u8 id_format; /* Format identifier (always 0x01) */ u8 ...
arch/sparc/include/asm/idprom.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_INTR_QUEUE_H #define _SPARC64_INTR_QUEUE_H /* Sun4v interrupt queue registers, accessed via ASI_QUEUE. */ #define INTRQ_CPU_MONDO_HEAD 0x3c0 /* CPU mondo head */ #define INTRQ_CPU_MONDO_TAIL 0x3c8 /* CPU mondo tail */ #define INTRQ_DEVIC...
arch/sparc/include/asm/intr_queue.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* io-unit.h: Definitions for the sun4d IO-UNIT. * * Copyright (C) 1997,1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz) */ #ifndef _SPARC_IO_UNIT_H #define _SPARC_IO_UNIT_H #include <linux/spinlock.h> #include <linux/pgtable.h> #include <asm/page.h> /* The io-unit handles all vir...
arch/sparc/include/asm/io-unit.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_IO_H #define ___ASM_SPARC_IO_H #if defined(__sparc__) && defined(__arch64__) #include <asm/io_64.h> #else #include <asm/io_32.h> #endif /* * Defines used for both SPARC32 and SPARC64 */ /* Big endian versions of memory read/write routines */ #define readb_...
arch/sparc/include/asm/io.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __SPARC_IO_H #define __SPARC_IO_H #include <linux/kernel.h> #include <linux/ioport.h> /* struct resource */ #define IO_SPACE_LIMIT 0xffffffff #define memset_io(d,c,sz) _memset_io(d,c,sz) #define memcpy_fromio(d,s,sz) _memcpy_fromio(d,s,sz) #define memcpy_toio(d,s,s...
arch/sparc/include/asm/io_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __SPARC64_IO_H #define __SPARC64_IO_H #include <linux/kernel.h> #include <linux/compiler.h> #include <linux/types.h> #include <asm/page.h> /* IO address mapping routines need this */ #include <asm/asi.h> #include <asm-generic/pci_iomap.h> #define pci_iomap pci_iomap...
arch/sparc/include/asm/io_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_SPARC_IOCTLS_H #define _ASM_SPARC_IOCTLS_H #include <uapi/asm/ioctls.h> #define TIOCGETC __TIOCGETC #define TIOCGETP __TIOCGETP #define TIOCGLTC __TIOCGLTC #define TIOCSLTC __TIOCSLTC #define TIOCSETP __TIOCSETP #define TIOCSETN __TIOCSETN #define TIOCSETC __TIOCSET...
arch/sparc/include/asm/ioctls.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_IOMMU_COMMON_H #define _LINUX_IOMMU_COMMON_H #include <linux/spinlock_types.h> #include <linux/device.h> #include <asm/page.h> #define IOMMU_POOL_HASHBITS 4 #define IOMMU_NR_POOLS (1 << IOMMU_POOL_HASHBITS) #define IOMMU_ERROR_CODE (~(unsigned long) 0...
arch/sparc/include/asm/iommu-common.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_IOMMU_H #define ___ASM_SPARC_IOMMU_H #if defined(__sparc__) && defined(__arch64__) #include <asm/iommu_64.h> #else #include <asm/iommu_32.h> #endif #endif
arch/sparc/include/asm/iommu.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* iommu.h: Definitions for the sun4m IOMMU. * * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SPARC_IOMMU_H #define _SPARC_IOMMU_H #include <asm/page.h> #include <asm/bitext.h> /* The iommu handles all virtual to physical address translations * tha...
arch/sparc/include/asm/iommu_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* iommu.h: Definitions for the sun5 IOMMU. * * Copyright (C) 1996, 1999, 2007 David S. Miller (davem@davemloft.net) */ #ifndef _SPARC64_IOMMU_H #define _SPARC64_IOMMU_H /* The format of an iopte in the page tables. */ #define IOPTE_VALID 0x8000000000000000UL #define IOPTE_6...
arch/sparc/include/asm/iommu_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_IRQ_H #define ___ASM_SPARC_IRQ_H #if defined(__sparc__) && defined(__arch64__) #include <asm/irq_64.h> #else #include <asm/irq_32.h> #endif #endif
arch/sparc/include/asm/irq.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* irq.h: IRQ registers on the Sparc. * * Copyright (C) 1995, 2007 David S. Miller (davem@davemloft.net) */ #ifndef _SPARC_IRQ_H #define _SPARC_IRQ_H /* Allocated number of logical irq numbers. * sun4d boxes (ss2000e) should be OK with ~32. * Be on the safe side and make ro...
arch/sparc/include/asm/irq_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* irq.h: IRQ registers on the 64-bit Sparc. * * Copyright (C) 1996 David S. Miller (davem@davemloft.net) * Copyright (C) 1998 Jakub Jelinek (jj@ultra.linux.cz) */ #ifndef _SPARC64_IRQ_H #define _SPARC64_IRQ_H #include <linux/linkage.h> #include <linux/kernel.h> #include <li...
arch/sparc/include/asm/irq_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_IRQFLAGS_H #define ___ASM_SPARC_IRQFLAGS_H #if defined(__sparc__) && defined(__arch64__) #include <asm/irqflags_64.h> #else #include <asm/irqflags_32.h> #endif #endif
arch/sparc/include/asm/irqflags.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * include/asm/irqflags.h * * IRQ flags handling * * This file gets included from lowlevel asm headers too, to provide * wrapped versions of the local_irq_*() APIs, based on the * arch_local_irq_*() functions from the lowlevel headers. */ #ifndef _ASM_IRQFLAGS_H #define ...
arch/sparc/include/asm/irqflags_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * include/asm/irqflags.h * * IRQ flags handling * * This file gets included from lowlevel asm headers too, to provide * wrapped versions of the local_irq_*() APIs, based on the * arch_local_irq_*() functions from the lowlevel headers. */ #ifndef _ASM_IRQFLAGS_H #define ...
arch/sparc/include/asm/irqflags_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_SPARC_JUMP_LABEL_H #define _ASM_SPARC_JUMP_LABEL_H #ifndef __ASSEMBLER__ #include <linux/types.h> #define JUMP_LABEL_NOP_SIZE 4 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) { asm goto("1:\n\t" "nop\n\t" "nop\n\t" "....
arch/sparc/include/asm/jump_label.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_KDEBUG_H #define ___ASM_SPARC_KDEBUG_H #if defined(__sparc__) && defined(__arch64__) #include <asm/kdebug_64.h> #else #include <asm/kdebug_32.h> #endif #endif
arch/sparc/include/asm/kdebug.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * kdebug.h: Defines and definitions for debugging the Linux kernel * under various kernel debuggers. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SPARC_KDEBUG_H #define _SPARC_KDEBUG_H #include <asm/openprom.h> #include <asm/vadd...
arch/sparc/include/asm/kdebug_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_KDEBUG_H #define _SPARC64_KDEBUG_H struct pt_regs; void bad_trap(struct pt_regs *, long); /* Grossly misnamed. */ enum die_val { DIE_OOPS = 1, DIE_DEBUG, /* ta 0x70 */ DIE_DEBUG_2, /* ta 0x71 */ DIE_BPT, /* ta 0x73 */ DIE_SSTEP, /* ta 0x74 */ DIE_DIE, DI...
arch/sparc/include/asm/kdebug_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC_KGDB_H #define _SPARC_KGDB_H #ifdef CONFIG_SPARC32 #define BUFMAX 2048 #else #define BUFMAX 4096 #endif enum regnames { GDB_G0, GDB_G1, GDB_G2, GDB_G3, GDB_G4, GDB_G5, GDB_G6, GDB_G7, GDB_O0, GDB_O1, GDB_O2, GDB_O3, GDB_O4, GDB_O5, GDB_SP, GDB_O7, GDB_L0, G...
arch/sparc/include/asm/kgdb.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_KPROBES_H #define _SPARC64_KPROBES_H #include <asm-generic/kprobes.h> #define BREAKPOINT_INSTRUCTION 0x91d02070 /* ta 0x70 */ #define BREAKPOINT_INSTRUCTION_2 0x91d02071 /* ta 0x71 */ #ifdef CONFIG_KPROBES #include <linux/types.h> #include <linux/percpu.h> t...
arch/sparc/include/asm/kprobes.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_LDC_H #define _SPARC64_LDC_H #include <asm/hypervisor.h> extern int ldom_domaining_enabled; void ldom_set_var(const char *var, const char *value); void ldom_reboot(const char *boot_command); void ldom_power_off(void); /* The event handler will be evoked when li...
arch/sparc/include/asm/ldc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2004 Konrad Eisele (eiselekd@web.de,konrad@gaisler.com) Gaisler Research * Copyright (C) 2004 Stefan Holst (mail@s-holst.de) Uni-Stuttgart * Copyright (C) 2009 Daniel Hellstrom (daniel@gaisler.com) Aeroflex Gaisler AB * Copyright (C) 2009 Konrad Eisele (konr...
arch/sparc/include/asm/leon.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* *Copyright (C) 2004 Konrad Eisele (eiselekd@web.de,konrad@gaisler.com), Gaisler Research *Copyright (C) 2004 Stefan Holst (mail@s-holst.de), Uni-Stuttgart *Copyright (C) 2009 Daniel Hellstrom (daniel@gaisler.com),Konrad Eisele (konrad@gaisler.com) Aeroflex Gaisler AB */ #ifnde...
arch/sparc/include/asm/leon_amba.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * asm/leon_pci.h * * Copyright (C) 2011 Aeroflex Gaisler AB, Daniel Hellstrom */ #ifndef _ASM_LEON_PCI_H_ #define _ASM_LEON_PCI_H_ /* PCI related definitions */ struct leon_pci_info { struct pci_ops *ops; struct resource io_space; struct resource mem_space; struct res...
arch/sparc/include/asm/leon_pci.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_LSU_H #define _SPARC64_LSU_H #include <linux/const.h> /* LSU Control Register */ #define LSU_CONTROL_PM _AC(0x000001fe00000000,UL) /* Phys-watchpoint byte mask*/ #define LSU_CONTROL_VM _AC(0x00000001fe000000,UL) /* Virt-watchpoint byte mask*/ #define LSU_CONTROL...
arch/sparc/include/asm/lsu.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * machines.h: Defines for taking apart the machine type value in the * idprom and determining the kind of machine we are on. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SPARC_MACHINES_H #define _SPARC_MACHINES_H struct Sun_Mac...
arch/sparc/include/asm/machines.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * mbus.h: Various defines for MBUS modules. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SPARC_MBUS_H #define _SPARC_MBUS_H #include <asm/ross.h> /* HyperSparc stuff */ #include <asm/viking.h> /* Ugh, bug city... */ enum mbus_module { ...
arch/sparc/include/asm/mbus.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_MC146818RTC_H #define ___ASM_SPARC_MC146818RTC_H #include <linux/spinlock.h> extern spinlock_t rtc_lock; #if defined(__sparc__) && defined(__arch64__) #include <asm/mc146818rtc_64.h> #else #include <asm/mc146818rtc_32.h> #endif #endif
arch/sparc/include/asm/mc146818rtc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Machine dependent access functions for RTC registers. */ #ifndef __ASM_SPARC_MC146818RTC_H #define __ASM_SPARC_MC146818RTC_H #include <asm/io.h> #ifndef RTC_PORT #define RTC_PORT(x) (0x70 + (x)) #define RTC_ALWAYS_BCD 1 /* RTC operates in binary mode */ #endif /* * The ...
arch/sparc/include/asm/mc146818rtc_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Machine dependent access functions for RTC registers. */ #ifndef __ASM_SPARC64_MC146818RTC_H #define __ASM_SPARC64_MC146818RTC_H #include <asm/io.h> #ifndef RTC_PORT extern unsigned long cmos_regs; #define RTC_PORT(x) (cmos_regs + (x)) #define RTC_ALWAYS_BCD 0 #endif /* ...
arch/sparc/include/asm/mc146818rtc_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_MDESC_H #define _SPARC64_MDESC_H #include <linux/types.h> #include <linux/cpumask.h> #include <asm/prom.h> struct mdesc_handle; /* Machine description operations are to be surrounded by grab and * release calls. The mdesc_handle returned from the grab is * t...
arch/sparc/include/asm/mdesc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC_MEMCTRL_H #define _SPARC_MEMCTRL_H typedef int (*dimm_printer_t)(int synd_code, unsigned long paddr, char *buf, int buflen); int register_dimm_printer(dimm_printer_t func); void unregister_dimm_printer(dimm_printer_t func); #endif /* _SPARC_MEMCTRL_H */
arch/sparc/include/asm/memctrl.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __SPARC_MMAN_H__ #define __SPARC_MMAN_H__ #include <uapi/asm/mman.h> #ifndef __ASSEMBLER__ #define arch_mmap_check(addr,len,flags) sparc_mmap_check(addr,len) int sparc_mmap_check(unsigned long addr, unsigned long len); #ifdef CONFIG_SPARC64 #include <asm/adi_64.h> stat...
arch/sparc/include/asm/mman.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_MMU_H #define ___ASM_SPARC_MMU_H #if defined(__sparc__) && defined(__arch64__) #include <asm/mmu_64.h> #else #include <asm/mmu_32.h> #endif #endif
arch/sparc/include/asm/mmu.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __MMU_H #define __MMU_H /* Default "unsigned long" context */ typedef unsigned long mm_context_t; /* mm/srmmu.c */ extern ctxd_t *srmmu_ctx_table_phys; #endif
arch/sparc/include/asm/mmu_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __MMU_H #define __MMU_H #include <linux/const.h> #include <asm/page.h> #include <asm/hypervisor.h> #define CTX_NR_BITS 13 #define TAG_CONTEXT_BITS ((_AC(1,UL) << CTX_NR_BITS) - _AC(1,UL)) /* UltraSPARC-III+ and later have a feature whereby you can * select what page ...
arch/sparc/include/asm/mmu_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_MMU_CONTEXT_H #define ___ASM_SPARC_MMU_CONTEXT_H #if defined(__sparc__) && defined(__arch64__) #include <asm/mmu_context_64.h> #else #include <asm/mmu_context_32.h> #endif #endif
arch/sparc/include/asm/mmu_context.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __SPARC_MMU_CONTEXT_H #define __SPARC_MMU_CONTEXT_H #ifndef __ASSEMBLER__ #include <asm-generic/mm_hooks.h> /* Initialize a new mmu context. This is invoked when a new * address space instance (unique or shared) is instantiated. */ #define init_new_context init_new_c...
arch/sparc/include/asm/mmu_context_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __SPARC64_MMU_CONTEXT_H #define __SPARC64_MMU_CONTEXT_H /* Derived heavily from Linus's Alpha/AXP ASN code... */ #ifndef __ASSEMBLER__ #include <linux/spinlock.h> #include <linux/mm_types.h> #include <linux/smp.h> #include <linux/sched.h> #include <asm/spitfire.h> #inc...
arch/sparc/include/asm/mmu_context_64.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC64_MMZONE_H #define _SPARC64_MMZONE_H #ifdef CONFIG_NUMA #include <linux/cpumask.h> extern int numa_cpu_lookup_table[]; extern cpumask_t numa_cpumask_lookup_table[]; #endif /* CONFIG_NUMA */ #endif /* _SPARC64_MMZONE_H */
arch/sparc/include/asm/mmzone.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * mxcc.h: Definitions of the Viking MXCC registers * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SPARC_MXCC_H #define _SPARC_MXCC_H /* These registers are accessed through ASI 0x2. */ #define MXCC_DATSTREAM 0x1C00000 /* Data stream re...
arch/sparc/include/asm/mxcc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __NMI_H #define __NMI_H int __init nmi_init(void); void perfctr_irq(int irq, struct pt_regs *regs); void nmi_adjust_hz(unsigned int new_hz); extern atomic_t nmi_active; void start_nmi_watchdog(void *unused); void stop_nmi_watchdog(void *unused); #endif /* __NMI_H */
arch/sparc/include/asm/nmi.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* ns87303.h: Configuration Register Description for the * National Semiconductor PC87303 (SuperIO). * * Copyright (C) 1997 Eddie C. Dost (ecd@skynet.be) */ #ifndef _SPARC_NS87303_H #define _SPARC_NS87303_H 1 /* * Control Register Index Values */ #define FER 0...
arch/sparc/include/asm/ns87303.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * obio.h: Some useful locations in 0xFXXXXXXXX PA obio space on sun4d. * * Copyright (C) 1997 Jakub Jelinek <jj@sunsite.mff.cuni.cz> */ #ifndef _SPARC_OBIO_H #define _SPARC_OBIO_H #include <asm/asi.h> /* This weird monster likes to use the very upper parts of 36bit P...
arch/sparc/include/asm/obio.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SPARC_ASM_OPCODES_H #define _SPARC_ASM_OPCODES_H #define SPARC_CR_OPCODE_PRIORITY 300 #define F3F(x,y,z) (((x)<<30)|((y)<<19)|((z)<<5)) #define FPD_ENCODE(x) (((x) >> 5) | ((x) & ~(0x20))) #define RS1(x) (FPD_ENCODE(x) << 14) #define RS2(x) (FPD_ENCODE(x) << 0) #de...
arch/sparc/include/asm/opcodes.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __SPARC_OPENPROM_H #define __SPARC_OPENPROM_H /* openprom.h: Prom structures and defines for access to the OPENBOOT * prom routines and data areas. * * Copyright (C) 1995,1996 David S. Miller (davem@caip.rutgers.edu) */ /* Empirical constants... */ #def...
arch/sparc/include/asm/openprom.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ___ASM_SPARC_OPLIB_H #define ___ASM_SPARC_OPLIB_H #if defined(__sparc__) && defined(__arch64__) #include <asm/oplib_64.h> #else #include <asm/oplib_32.h> #endif #endif
arch/sparc/include/asm/oplib.h
null
null
null
null
null