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 _MIPS_DMA_DIRECT_H #define _MIPS_DMA_DIRECT_H 1 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr); phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr); #endif /* _MIPS_DMA_DIRECT_H */
arch/mips/include/asm/dma-direct.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_DMA_MAPPING_H #define _ASM_DMA_MAPPING_H #include <linux/swiotlb.h> extern const struct dma_map_ops jazz_dma_ops; static inline const struct dma_map_ops *get_arch_dma_ops(void) { #if defined(CONFIG_MACH_JAZZ) return &jazz_dma_ops; #else return NULL; #endif } #en...
arch/mips/include/asm/dma-mapping.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * linux/include/asm/dma.h: Defines for using and allocating dma channels. * Written by Hennus Bergman, 1992. * High DMA channel support & info by Hannu Savolainen * and John Boyd, Nov. 1992. * * NOTE: all this is true *only* for ISA/EISA expansions on Mips boards * and c...
arch/mips/include/asm/dma.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_DMI_H #define _ASM_DMI_H #include <linux/io.h> #include <linux/memblock.h> #define dmi_early_remap(x, l) ioremap(x, l) #define dmi_early_unmap(x, l) iounmap(x) #define dmi_remap(x, l) ioremap_cache(x, l) #define dmi_unmap(x) iounmap(x) /* MIPS initialize DMI ...
arch/mips/include/asm/dmi.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * DS1287 timer functions. * * Copyright (C) 2008 Yoichi Yuasa <yuasa@linux-mips.org> */ #ifndef __ASM_DS1287_H #define __ASM_DS1287_H extern int ds1287_timer_state(void); extern int ds1287_set_base_clock(unsigned int hz); extern int ds1287_clockevent_init(int i...
arch/mips/include/asm/ds1287.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2016 Imagination Technologies * Author: Paul Burton <paul.burton@mips.com> */ #ifndef __MIPS_ASM_DSEMUL_H__ #define __MIPS_ASM_DSEMUL_H__ #include <asm/break.h> #include <asm/inst.h> /* Break instruction with special math emu break code set */ #de...
arch/mips/include/asm/dsemul.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2005 Mips Technologies * Author: Chris Dearman, chris@mips.com derived from fpu.h */ #ifndef _ASM_DSP_H #define _ASM_DSP_H #include <asm/cpu.h> #include <asm/cpu-features.h> #include <asm/hazards.h> #include <asm/mipsregs.h> #define DSP_DEFAULT 0x0...
arch/mips/include/asm/dsp.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ASM_EDAC_H #define ASM_EDAC_H #include <asm/compiler.h> /* ECC atomic, DMA, SMP and interrupt safe scrub function */ static inline void edac_atomic_scrub(void *va, u32 size) { unsigned long *virt_addr = va; unsigned long temp; u32 i; for (i = 0; i < size / sizeof(u...
arch/mips/include/asm/edac.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Much of this is taken from binutils and GNU libc ... */ #ifndef _ASM_ELF_H #define _ASM_ELF_H #include <linux/auxvec.h> #include <linux/...
arch/mips/include/asm/elf.h
null
null
null
null
null
source
linux
#ifndef _ASM_MIPS_ELFCORE_COMPAT_H #define _ASM_MIPS_ELFCORE_COMPAT_H /* * On mips we have two 32bit ABIs - o32 and n32. The latter * has bigger registers, so we use it for compat_elf_regset_t. * The former uses o32_elf_prstatus and PRSTATUS_SIZE/SET_PR_FPVALID * are used to choose the size and location of ->pr_f...
arch/mips/include/asm/elfcore-compat.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1995, 1999, 2001, 2002 by Ralf Baechle */ #ifndef _ASM_ERRNO_H #define _ASM_ERRNO_H #include <uapi/asm/errno.h> /* The b...
arch/mips/include/asm/errno.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2014, Imagination Technologies Ltd. * * EVA functions for generic code */ #ifndef _ASM_EVA_H #define _ASM_EVA_H #includ...
arch/mips/include/asm/eva.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1994, 95, 96, 97, 98, 99, 2003, 06 by Ralf Baechle * Copyright (C) 1996 by Paul M. Antoine * Copyright (C) 1999 Silicon Gr...
arch/mips/include/asm/exec.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_EXTABLE_H #define _ASM_EXTABLE_H struct exception_table_entry { unsigned long insn; unsigned long nextinsn; }; struct pt_regs; extern int fixup_exception(struct pt_regs *regs); #endif
arch/mips/include/asm/extable.h
null
null
null
null
null
source
linux
/* * fixmap.h: compile-time virtual memory allocation * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1998 Ingo Molnar * * Support of BIGMEM added by Gerhard Wichert, Si...
arch/mips/include/asm/fixmap.h
null
null
null
null
null
source
linux
/* * Architecture specific parts of the Floppy driver * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1995 - 2000 Ralf Baechle */ #ifndef _ASM_FLOPPY_H #define _ASM_FLOPP...
arch/mips/include/asm/floppy.h
null
null
null
null
null
source
linux
/* * Definitions for the FPU register names * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1995, 1999 Ralf Baechle * Copyright (C) 1985 MIPS Computer Systems, Inc. * Co...
arch/mips/include/asm/fpregdef.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2002 MontaVista Software Inc. * Author: Jun Sun, jsun@mvista.com or jsun@junsun.net */ #ifndef _ASM_FPU_H #define _ASM_FPU_H #include <linux/sched.h> #include <linux/sched/task_stack.h> #include <linux/ptrace.h> #include <linux/thread_info.h> #inclu...
arch/mips/include/asm/fpu.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * * Further private data for which no space exists in mips_fpu_struct. * This should be subsumed into the mips_fpu_struct structure as * defined in processor.h as soon as the absurd wired absolute assembler * offsets become dynamic at compile time. * * Kevin D. Kiss...
arch/mips/include/asm/fpu_emulator.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive for * more details. * * Copyright (C) 2009 DSLab, Lanzhou University, China * Author: Wu Zhangjin <wuzhangjin@gmail.com> */ #ifndef _ASM_MIPS_FTRACE_H #define ...
arch/mips/include/asm/ftrace.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (c) 2006 Ralf Baechle (ralf@linux-mips.org) */ #ifndef _ASM_FUTEX_H #define _ASM_FUTEX_H #ifdef __KERNEL__ #include <linux/f...
arch/mips/include/asm/futex.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __MIPS_ASM_GINVT_H__ #define __MIPS_ASM_GINVT_H__ #include <asm/mipsregs.h> enum ginvt_type { GINVT_FULL, GINVT_VA, GINVT_MMID, }; #ifdef TOOLCHAIN_SUPPORTS_GINV # define _ASM_SET_GINV ".set ginv\n" # define _ASM_UNSET_GINV #else # define _ASM_SET_GINV \ _ASM_...
arch/mips/include/asm/ginvt.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/device.h> #include <linux/mod_devicetable.h> struct gio_device_id { __u8 id; }; struct gio_device { struct device dev; struct resource resource; unsigned int irq; unsigned int slotno; const char *name; struct gio_device_id id; unsigned id32:1; unsigned ...
arch/mips/include/asm/gio_device.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2000, 2004, 2005 MIPS Technologies, Inc. * All rights reserved. * Authors: Carsten Langgaard <carstenl@mips.com> * Maciej W. Rozycki <macro@mips.com> * Copyright (C) 2005 Ralf Baechle (ralf@linux-mips.org) */ #ifndef _ASM_GT64120_H #define _ASM_GT6...
arch/mips/include/asm/gt64120.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1997, 98, 99, 2000, 01, 05 Ralf Baechle (ralf@linux-mips.org) * Copyright (C) 1999, 2000 Silicon Graphics, Inc. * Copyrigh...
arch/mips/include/asm/hardirq.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2003, 04, 07 Ralf Baechle <ralf@linux-mips.org> * Copyright (C) MIPS Technologies, Inc. * written by Ralf Baechle <ralf@...
arch/mips/include/asm/hazards.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/mips/include/asm/highmem.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_HPET_H #define _ASM_HPET_H #ifdef CONFIG_RS780_HPET #define HPET_MMAP_SIZE 1024 #define HPET_ID 0x000 #define HPET_PERIOD 0x004 #define HPET_CFG 0x010 #define HPET_STATUS 0x020 #define HPET_COUNTER 0x0f0 #define HPET_Tn_CFG(n) (0x100 + 0x20 * n) #define HPE...
arch/mips/include/asm/hpet.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2008, 2009 Cavium Networks, Inc. */ #ifndef __ASM_HUGETLB_H #define __ASM_HUGETLB_H #include <asm/page.h> #define __HAVE...
arch/mips/include/asm/hugetlb.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2000, 2001, 2002 by Ralf Baechle */ #ifndef __ASM_HW_IRQ_H #define __ASM_HW_IRQ_H #include <linux/atomic.h> extern atomic...
arch/mips/include/asm/hw_irq.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * include/asm-mips/i8259.h * * i8259A interrupt definitions. * * Copyright (C) 2003 Maciej W. Rozycki * Copyright (C) 2003 Ralf Baechle <ralf@linux-mips.org> */ #ifndef _ASM_I8259_H #define _ASM_I8259_H #include <linux/compiler.h> #include <linux/spinlock.h> ...
arch/mips/include/asm/i8259.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_IDLE_H #define __ASM_IDLE_H #include <linux/cpuidle.h> #include <linux/linkage.h> extern void (*cpu_wait)(void); extern asmlinkage void r4k_wait(void); extern void r4k_wait_irqoff(void); static inline int using_skipover_handler(void) { return cpu_wait == r4k_wait...
arch/mips/include/asm/idle.h
null
null
null
null
null
source
linux
/* * Format of an instruction in memory. * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1996, 2000 by Ralf Baechle * Copyright (C) 2006 by Thiemo Seufer */ #ifndef _ASM...
arch/mips/include/asm/inst.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1994, 1995 Waldorf GmbH * Copyright (C) 1994 - 2000, 06 Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc. * ...
arch/mips/include/asm/io.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1994 by Waldorf GMBH, written by Ralf Baechle * Copyright (C) 1995, 96, 97, 98, 99, 2000, 01, 02, 03 by Ralf Baechle */ #i...
arch/mips/include/asm/irq.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * include/asm-mips/irq_cpu.h * * MIPS CPU interrupt definitions. * * Copyright (C) 2002 Maciej W. Rozycki */ #ifndef _ASM_IRQ_CPU_H #define _ASM_IRQ_CPU_H extern void mips_cpu_irq_init(void); #ifdef CONFIG_IRQ_DOMAIN struct device_node; extern int mips_cpu_irq...
arch/mips/include/asm/irq_cpu.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Galileo/Marvell GT641xx IRQ definitions. * * Copyright (C) 2007 Yoichi Yuasa <yuasa@linux-mips.org> */ #ifndef _ASM_IRQ_GT641XX_H #define _ASM_IRQ_GT641XX_H #ifndef GT641XX_IRQ_BASE #define GT641XX_IRQ_BASE 8 #endif #define GT641XX_MEMORY_OUT_OF_RANGE_IRQ ...
arch/mips/include/asm/irq_gt641xx.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * * Copyright (C) 2006 Ralf Baechle (ralf@linux-mips.org) */ #ifndef __ASM_IRQ_REGS_H #define __ASM_IRQ_REGS_H #define ARCH_HAS_OWN_IRQ_REGS #include <linux/thread_info.h> static inline struct pt_regs *get_irq_regs(void) { return current_thread_info()->regs; } ...
arch/mips/include/asm/irq_regs.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1994, 95, 96, 97, 98, 99, 2003 by Ralf Baechle * Copyright (C) 1996 by Paul M. Antoine * Copyright (C) 1999 Silicon Graphi...
arch/mips/include/asm/irqflags.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2018 MIPS Tech, LLC * Author: Matt Redfearn <matt.redfearn@mips.com> */ #ifndef __MIPS_ASM_ISA_REV_H__ #define __MIPS_ASM_ISA_REV_H__ /* * The ISA revision level. This is 0 for MIPS I to V and N for * MIPS{32,64}rN. */ /* If the compiler has defined __m...
arch/mips/include/asm/isa-rev.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Various ISA level dependent constants. * Most of the following constants reflect the different layout * of Coprocessor 0 registers. * * Copyright (c) 1998 Harald Koerfgen */ #ifndef __ASM_ISADEP_H #define __ASM_ISADEP_H #if defined(CONFIG_CPU_R3000) /* * R2000 or R30...
arch/mips/include/asm/isadep.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1995 - 1998 by Andreas Busse and Ralf Baechle */ #ifndef __ASM_JAZZ_H #define __ASM_JAZZ_H /* * The addresses below are v...
arch/mips/include/asm/jazz.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Helpfile for jazzdma.c -- Mips Jazz R4030 DMA controller support */ #ifndef _ASM_JAZZDMA_H #define _ASM_JAZZDMA_H /* * Prototypes and macros */ extern unsigned long vdma_alloc(unsigned long paddr, unsigned long size); extern int vdma_free(unsigned long laddr); extern uns...
arch/mips/include/asm/jazzdma.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (c) 2010 Cavium Networks, Inc. */ #ifndef _ASM_MIPS_JUMP_LABEL_H #define _ASM_MIPS_JUMP_LABEL_H #define arch_jump_label_transf...
arch/mips/include/asm/jump_label.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_MIPS_KDEBUG_H #define _ASM_MIPS_KDEBUG_H #include <linux/notifier.h> enum die_val { DIE_OOPS = 1, DIE_FP, DIE_TRAP, DIE_RI, DIE_PAGE_FAULT, DIE_BREAK, DIE_SSTEPBP, DIE_MSAFP, DIE_UPROBE, DIE_UPROBE_XOL, }; #endif /* _ASM_MIPS_KDEBUG_H */
arch/mips/include/asm/kdebug.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * kexec.h for kexec * Created by <nschichan@corp.free.fr> on Thu Oct 12 14:59:34 2006 */ #ifndef _MIPS_KEXEC # define _MIPS_KEXEC #include <asm/stacktrace.h> /* Maximum physical address we can use pages from */ #define KEXEC_SOURCE_MEMORY_LIMIT (-1UL) /* Maximum addr...
arch/mips/include/asm/kexec.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_KGDB_H_ #define __ASM_KGDB_H_ #ifdef __KERNEL__ #include <asm/sgidefs.h> #if (_MIPS_ISA == _MIPS_ISA_MIPS1) || (_MIPS_ISA == _MIPS_ISA_MIPS2) || \ (_MIPS_ISA == _MIPS_ISA_MIPS32) #define KGDB_GDB_REG_SIZE 32 #define GDB_SIZEOF_REG sizeof(u32) #elif (_MIPS_ISA ...
arch/mips/include/asm/kgdb.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Kernel Probes (KProbes) * include/asm-mips/kprobes.h * * Copyright 2006 Sony Corp. * Copyright 2010 Cavium Networks */ #ifndef _ASM_KPROBES_H #define _ASM_KPROBES_H #include <asm-generic/kprobes.h> #ifdef CONFIG_KPROBES #include <linux/ptrace.h> #include <li...
arch/mips/include/asm/kprobes.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. * Authors: Sanjay Lal <sanjayl@kymasys.com> */ #ifndef __MIPS_KVM_HOST_H__ #...
arch/mips/include/asm/kvm_host.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_MIPS_KVM_TYPES_H #define _ASM_MIPS_KVM_TYPES_H #define KVM_ARCH_NR_OBJS_PER_MEMORY_CACHE 4 #endif /* _ASM_MIPS_KVM_TYPES_H */
arch/mips/include/asm/kvm_types.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_LINKAGE_H #define __ASM_LINKAGE_H #ifdef __ASSEMBLER__ #include <asm/asm.h> #endif #define cond_syscall(x) asm(".weak\t" #x "\n" #x "\t=\tsys_ni_syscall") #define SYSCALL_ALIAS(alias, name) \ asm ( #alias " = " #name "\n\t.globl " #alias) #endif
arch/mips/include/asm/linkage.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ARCH_MIPS_LOCAL_H #define _ARCH_MIPS_LOCAL_H #include <linux/percpu.h> #include <linux/bitops.h> #include <linux/atomic.h> #include <asm/asm.h> #include <asm/cmpxchg.h> #include <asm/compiler.h> typedef struct { atomic_long_t a; } local_t; #define LOCAL_INIT(i) { ATOM...
arch/mips/include/asm/local.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2014 Imagination Technologies * Author: Paul Burton <paul.burton@mips.com> */ #ifndef __MIPS_ASM_MIPS_MAAR_H__ #define __MIPS_ASM_MIPS_MAAR_H__ #include <asm/hazards.h> #include <asm/mipsregs.h> /** * platform_maar_init() - perform platform-level...
arch/mips/include/asm/maar.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2016 Imagination Technologies * Author: Paul Burton <paul.burton@mips.com> */ #ifndef __MIPS_ASM_MACHINE_H__ #define __MIPS_ASM_MACHINE_H__ #include <linux/libfdt.h> #include <linux/of.h> struct mips_machine { const struct of_device_id *matches; ...
arch/mips/include/asm/machine.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Machine dependent access functions for RTC registers. */ #ifndef __ASM_MC146818_TIME_H #define __ASM_MC146818_TIME_H #include <linux/mc1...
arch/mips/include/asm/mc146818-time.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Machine dependent access functions for RTC registers. * * Copyright (C) 1996, 1997, 1998, 2000 Ralf Baechle * Copyright (C) 2002 Macie...
arch/mips/include/asm/mc146818rtc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2013 Imagination Technologies * Author: Paul Burton <paul.burton@mips.com> */ #ifndef __MIPS_ASM_MIPS_CPS_H__ # error Please include asm/mips-cps.h rather than asm/mips-cm.h #endif #ifndef __MIPS_ASM_MIPS_CM_H__ #define __MIPS_ASM_MIPS_CM_H__ #inc...
arch/mips/include/asm/mips-cm.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2013 Imagination Technologies * Author: Paul Burton <paul.burton@mips.com> */ #ifndef __MIPS_ASM_MIPS_CPS_H__ # error Please include asm/mips-cps.h rather than asm/mips-cpc.h #endif #ifndef __MIPS_ASM_MIPS_CPC_H__ #define __MIPS_ASM_MIPS_CPC_H__ #...
arch/mips/include/asm/mips-cpc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2017 Imagination Technologies * Author: Paul Burton <paul.burton@mips.com> */ #ifndef __MIPS_ASM_MIPS_CPS_H__ #define __MIPS_ASM_MIPS_CPS_H__ #include <linux/bitfield.h> #include <linux/cpumask.h> #include <linux/io.h> #include <linux/types.h> ext...
arch/mips/include/asm/mips-cps.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2017 Imagination Technologies * Author: Paul Burton <paul.burton@mips.com> */ #ifndef __MIPS_ASM_MIPS_CPS_H__ # error Please include asm/mips-cps.h rather than asm/mips-gic.h #endif #ifndef __MIPS_ASM_MIPS_GIC_H__ #define __MIPS_ASM_MIPS_GIC_H__ #...
arch/mips/include/asm/mips-gic.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (c) 2014 Imagination Technologies Ltd. * Author: Markos Chandras <markos.chandras@imgtec.com> */ #ifndef __ASM_MIPS_R2_TO_R6_...
arch/mips/include/asm/mips-r2-to-r6-emul.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Definitions and declarations for MIPS MT support that are common between * the VSMP, and AP/SP kernel models. */ #ifndef __ASM_MIPS_MT_H #define __ASM_MIPS_MT_H #include <linux/cpumask.h> /* * How many VPEs and TCs is Linux allowed to use? 0 means no limit. */ extern ...
arch/mips/include/asm/mips_mt.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * MT regs definitions, follows on from mipsregs.h * Copyright (C) 2004 - 2005 MIPS Technologies, Inc. All rights reserved. * Elizabeth Clarke et. al. * */ #ifndef _ASM_MIPSMTREGS_H #define _ASM_MIPSMTREGS_H #include <asm/mipsregs.h> #ifndef __ASSEMBLER__ /* * C macros...
arch/mips/include/asm/mipsmtregs.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_MIPSPROM_H #define __ASM_MIPSPROM_H #define PROM_RESET 0 #define PROM_EXEC 1 #define PROM_RESTART 2 #define PROM_REINIT 3 #define PROM_REBOOT 4 #define PROM_AUTOBOOT 5 #define PROM_OPEN 6 #define PROM_READ 7 #define PROM_WRITE 8 #define PROM_IOCTL 9 #defin...
arch/mips/include/asm/mipsprom.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1994, 1995, 1996, 1997, 2000, 2001 by Ralf Baechle * Copyright (C) 2000 Silicon Graphics, Inc. * Modified for further R[23...
arch/mips/include/asm/mipsregs.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_MMIOWB_H #define _ASM_MMIOWB_H #include <asm/barrier.h> #define mmiowb() wmb() #include <asm-generic/mmiowb.h> #endif /* _ASM_MMIOWB_H */
arch/mips/include/asm/mmiowb.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_MMU_H #define __ASM_MMU_H #include <linux/atomic.h> #include <linux/spinlock.h> #include <linux/wait.h> typedef struct { union { u64 asid[NR_CPUS]; atomic64_t mmid; }; void *vdso; /* lock to be held whilst modifying fp_bd_emupage_allocmap */ spinlock_t b...
arch/mips/include/asm/mmu.h
null
null
null
null
null
source
linux
/* * Switch a MMU context. * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1996, 1997, 1998, 1999 by Ralf Baechle * Copyright (C) 1999 Silicon Graphics, Inc. */ #ifndef ...
arch/mips/include/asm/mmu_context.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Written by Kanoj Sarcar (kanoj@sgi.com) Aug 99 * Rewritten for Linux 2.6 by Christoph Hellwig (hch@lst.de) Jan 2004 */ #ifndef _ASM_MMZONE_H_ #define _ASM_MMZONE_H_ #include <asm/page.h> #ifdef CONFIG_NUMA # include <mmzone.h> #endif #ifndef pa_to_nid #define pa_to_nid(...
arch/mips/include/asm/mmzone.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_MODULE_H #define _ASM_MODULE_H #include <linux/list.h> #include <linux/elf.h> #include <asm/extable.h> struct mod_arch_specific { /* Data Bus Error exception tables */ struct list_head dbe_list; const struct exception_table_entry *dbe_start; const struct excepti...
arch/mips/include/asm/module.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2013 Imagination Technologies * Author: Paul Burton <paul.burton@mips.com> */ #ifndef _ASM_MSA_H #define _ASM_MSA_H #include <asm/mipsregs.h> #ifndef __ASSEMBLER__ #include <asm/inst.h> extern void _save_msa(struct task_struct *); extern void _re...
arch/mips/include/asm/msa.h
null
null
null
null
null
source
linux
/* * PCI Register definitions for the MIPS System Controller. * * Copyright (C) 2004 MIPS Technologies, Inc. All rights reserved. * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. */ #ifnd...
arch/mips/include/asm/msc01_ic.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1996, 1997, 1998, 1999, 2000 by Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc. * * Protected memory acces...
arch/mips/include/asm/paccess.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1994 - 1999, 2000, 03 Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc. */ #ifndef _ASM_PAGE_H #define _ASM_P...
arch/mips/include/asm/page.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. */ #ifndef _ASM_PCI_H #define _ASM_PCI_H #include <linux/mm.h> #ifdef __KERNEL__ /* * This file essentially defines the interface between b...
arch/mips/include/asm/pci.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/mips/include/asm/perf_event.h * * Copyright (C) 2010 MIPS Technologies, Inc. * Author: Deng-Cheng Zhu */ #ifndef __MIPS_PERF_EVENT_H__ #define __MIPS_PERF_EVENT_H__ /* Leave it empty here. The file is required by linux/perf_event.h */ #endif /* __MIPS_PE...
arch/mips/include/asm/perf_event.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1994 - 2001, 2003 by Ralf Baechle * Copyright (C) 1999, 2000, 2001 Silicon Graphics, Inc. */ #ifndef _ASM_PGALLOC_H #defin...
arch/mips/include/asm/pgalloc.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1994, 95, 96, 97, 98, 99, 2000, 2003 Ralf Baechle * Copyright (C) 1999, 2000, 2001 Silicon Graphics, Inc. */ #ifndef _ASM_...
arch/mips/include/asm/pgtable-32.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1994, 95, 96, 97, 98, 99, 2000, 2003 Ralf Baechle * Copyright (C) 1999, 2000, 2001 Silicon Graphics, Inc. */ #ifndef _ASM_...
arch/mips/include/asm/pgtable-64.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1994 - 2002 by Ralf Baechle * Copyright (C) 1999, 2000, 2001 Silicon Graphics, Inc. * Copyright (C) 2002 Maciej W. Rozyck...
arch/mips/include/asm/pgtable-bits.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2003 Ralf Baechle */ #ifndef _ASM_PGTABLE_H #define _ASM_PGTABLE_H #include <linux/mm_types.h> #include <linux/mmzone.h> #...
arch/mips/include/asm/pgtable.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2014 Imagination Technologies * Author: Paul Burton <paul.burton@mips.com> */ #ifndef __MIPS_ASM_PM_CPS_H__ #define __MIPS_ASM_PM_CPS_H__ /* * The CM & CPC can only handle coherence & power control on a per-core basis, * thus in an MT system the ...
arch/mips/include/asm/pm-cps.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2014 Imagination Technologies Ltd * * PM helper macros for CPU power off (e.g. Suspend-to-RAM). */ #ifndef __ASM_PM_H #define __ASM_PM_H #ifdef __ASSEMBLER__ #include <asm/asm-offsets.h> #include <asm/asm.h> #include <asm/mipsregs.h> #include <as...
arch/mips/include/asm/pm.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2003 by Ralf Baechle */ #ifndef __ASM_PREFETCH_H #define __ASM_PREFETCH_H /* * R5000 and RM5200 implements pref and pref...
arch/mips/include/asm/prefetch.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1994 Waldorf GMBH * Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003 Ralf Baechle * Copyright (C) 1996 Paul M....
arch/mips/include/asm/processor.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/mips/include/asm/prom.h * * Copyright (C) 2010 Cisco Systems Inc. <dediao@cisco.com> */ #ifndef __ASM_PROM_H #define __ASM_PROM_H #ifdef CONFIG_USE_OF #include <linux/bug.h> #include <linux/io.h> #include <linux/types.h> #include <asm/bootinfo.h> extern void...
arch/mips/include/asm/prom.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1994, 95, 96, 97, 98, 99, 2000 by Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc. */ #ifndef _ASM_PTRACE_H ...
arch/mips/include/asm/ptrace.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2008 by Ralf Baechle (ralf@linux-mips.org) */ #ifndef __ASM_R4K_TIMER_H #define __ASM_R4K_TIMER_H #include <linux/compiler...
arch/mips/include/asm/r4k-timer.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Inline assembly cache operations. * * Copyright (C) 1996 David S. Miller (davem@davemloft.net) * Copyright (C) 1997 - 2002 Ralf Baechle...
arch/mips/include/asm/r4kcache.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1997, 1999, 2001, 06 by Ralf Baechle * Copyright (C) 2001 MIPS Technologies, Inc. */ #ifndef _ASM_REBOOT_H #define _ASM_RE...
arch/mips/include/asm/reboot.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1985 MIPS Computer Systems, Inc. * Copyright (C) 1994, 95, 99, 2003 by Ralf Baechle * Copyright (C) 1990 - 1992, 1999 Sili...
arch/mips/include/asm/regdef.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2004, 2005 MIPS Technologies, Inc. All rights reserved. * Copyright (C) 2013 Imagination Technologies Ltd. */ #ifndef __A...
arch/mips/include/asm/rtlx.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_SECCOMP_H #include <linux/unistd.h> #ifdef CONFIG_COMPAT static inline const int *get_compat_mode1_syscalls(void) { static const int syscalls_O32[] = { __NR_O32_Linux + 3, __NR_O32_Linux + 4, __NR_O32_Linux + 1, __NR_O32_Linux + 193, -1, /* negative terminat...
arch/mips/include/asm/seccomp.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _MIPS_SETUP_H #define _MIPS_SETUP_H #include <linux/init.h> #include <linux/types.h> #include <uapi/asm/setup.h> extern void prom_putchar(char); extern void setup_early_printk(void); #ifdef CONFIG_EARLY_PRINTK_8250 extern void setup_8250_early_printk_port(unsigned long ...
arch/mips/include/asm/setup.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * SGI ARCS firmware interface library for the Linux kernel. * * Copyright (C) 1996 David S. Miller (davem@davemloft.net) * Copyright (C) ...
arch/mips/include/asm/sgialib.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * ARC firmware interface defines. * * Copyright (C) 1996 David S. Miller (davem@davemloft.net) * Copyright (C) 1999, 2001 Ralf Baechle (r...
arch/mips/include/asm/sgiarcs.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. */ #ifndef _ASM_SHMPARAM_H #define _ASM_SHMPARAM_H #define __ARCH_FORCE_SHMLBA 1 #define SHMLBA 0x40000 /* attach addr a multiple of this *...
arch/mips/include/asm/shmparam.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1996, 1997, 1999 by Ralf Baechle * Copyright (C) 1999 Silicon Graphics, Inc. */ #ifndef _ASM_SIGCONTEXT_H #define _ASM_SIG...
arch/mips/include/asm/sigcontext.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1995, 96, 97, 98, 99, 2003 by Ralf Baechle * Copyright (C) 1999 Silicon Graphics, Inc. */ #ifndef _ASM_SIGNAL_H #define _A...
arch/mips/include/asm/signal.h
null
null
null
null
null
source
linux
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1999, 2000, 2003 Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc. */ #ifndef _ASM_SIM_H #define _ASM_SIM_H ...
arch/mips/include/asm/sim.h
null
null
null
null
null