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-or-later /* * Copyright (C) 2014 Imagination Technologies Ltd. * * CPU PM notifiers for saving/restoring general CPU state. */ #include <linux/cpu_pm.h> #include <linux/init.h> #include <asm/dsp.h> #include <asm/fpu.h> #include <asm/mmu_context.h> #include <asm/pm.h> #include <...
arch/mips/kernel/pm.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2016 Imagination Technologies * Author: Marcin Nowakowski <marcin.nowakowski@mips.com> */ #ifndef __PROBES_COMMON_H #define __PROBES_COMMON_H #include <asm/inst.h> int __insn_is_compact_branch(union mips_instruction insn); static inline int __ins...
arch/mips/kernel/probes-common.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 1995, 1996, 2001 Ralf Baechle * Copyright (C) 2001, 2004 MIPS Technologies, Inc. * Copyright (C) 2004 Maciej W. Rozycki */ #include <linux/delay.h> #include <linux/kernel.h> #include <linux/sched.h> #include <linux/seq_file.h> #include <asm/bootinfo.h> #in...
arch/mips/kernel/proc.c
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 by Ralf Baechle and others. * Copyright (C) 2005, 2006 by Ralf Baechle (ralf@linux-mips.org) * Copyright...
arch/mips/kernel/process.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * MIPS support for CONFIG_OF device tree support * * Copyright (C) 2010 Cisco Systems Inc. <dediao@cisco.com> */ #include <linux/init.h> #include <linux/export.h> #include <linux/errno.h> #include <linux/types.h> #include <linux/memblock.h> #include <linux/debugfs.h> #in...
arch/mips/kernel/prom.c
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) 1992 Ross Biro * Copyright (C) Linus Torvalds * Copyright (C) 1994, 95, 96, 97, 98, 2000 Ralf Baechle * Copyright (C) 199...
arch/mips/kernel/ptrace.c
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) 1992 Ross Biro * Copyright (C) Linus Torvalds * Copyright (C) 1994, 95, 96, 97, 98, 2000 Ralf Baechle * Copyright (C) 199...
arch/mips/kernel/ptrace32.c
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, 1998 by Ralf Baechle * * Multi-arch abstraction and asm macros for easier reading: * Copyright (C) 1996 David S. Mi...
arch/mips/kernel/r2300_fpu.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * r2300_switch.S: R2300 specific task switching code. * * Copyright (C) 1994, 1995, 1996, 1999 by Ralf Baechle * Copyright (C) 1994, 1995, 1996 by Andreas Busse * * Multi-cpu abstraction and macros for easier reading: * Copyright (C) 1996 David S. Miller (davem@davemloft...
arch/mips/kernel/r2300_switch.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2003, 2004, 2007 Maciej W. Rozycki */ #include <linux/context_tracking.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/ptrace.h> #include <linux/stddef.h> #include <asm/bugs.h> #include <asm/compiler.h> #include <asm/cpu.h> #includ...
arch/mips/kernel/r4k-bugs64.c
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, 98, 99, 2000, 01 Ralf Baechle * * Multi-arch abstraction and asm macros for easier reading: * Copyright (C) 1996 Da...
arch/mips/kernel/r4k_fpu.S
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, 1998, 1999, 2002, 2003 Ralf Baechle * Copyright (C) 1996 David S. Miller (davem@davemloft.net) * Copyrig...
arch/mips/kernel/r4k_switch.S
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. * * Support for Kernel relocation at boot time * * Copyright (C) 2015, Imagination Technologies Ltd. * Authors: Matt Redfearn (matt.redfear...
arch/mips/kernel/relocate.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * relocate_kernel.S for kexec * Created by <nschichan@corp.free.fr> on Thu Oct 12 17:49:57 2006 */ #include <asm/asm.h> #include <asm/asmmacro.h> #include <asm/regdef.h> #include <asm/mipsregs.h> #include <asm/stackframe.h> #include <asm/addrspace.h> #include <kernel-...
arch/mips/kernel/relocate_kernel.S
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) 2001, 06 by Ralf Baechle (ralf@linux-mips.org) * Copyright (C) 2001 MIPS Technologies, Inc. */ #include <linux/kernel.h> #...
arch/mips/kernel/reset.c
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) 2005 MIPS Technologies, Inc. All rights reserved. * Copyright (C) 2013 Imagination Technologies Ltd. */ #include <linux/d...
arch/mips/kernel/rtlx-mt.c
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) 2005 MIPS Technologies, Inc. All rights reserved. * Copyright (C) 2005, 06 Ralf Baechle (ralf@linux-mips.org) * Copyright...
arch/mips/kernel/rtlx.c
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-99, 2000- 02, 06 Ralf Baechle <ralf@linux-mips.org> * Copyright (C) 2001 MIPS Technologies, Inc. * Copyright (C) 2004...
arch/mips/kernel/scall32-o32.S
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, 2000, 01 by Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc. * Copyright (C) 2001 MIPS...
arch/mips/kernel/scall64-n32.S
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, 2000, 01, 02 by Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc. * Copyright (C) 2001 ...
arch/mips/kernel/scall64-n64.S
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 - 2000, 2001 by Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc. * Copyright (C) 2001 MIPS Technologies...
arch/mips/kernel/scall64-o32.S
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) 2013 Imagination Technologies Ltd. */ #include <linux/kernel.h> #include <linux/debugfs.h> #include <linux/seq_file.h> #in...
arch/mips/kernel/segment.c
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 Linus Torvalds * Copyright (C) 1995 Waldorf Electronics * Copyright (C) 1994, 95, 96, 97, 98, 99, 2000, 01, 02, 03 R...
arch/mips/kernel/setup.c
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) 1991, 1992 Linus Torvalds * Copyright (C) 1994 - 2000 Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc. */...
arch/mips/kernel/signal-common.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) 1991, 1992 Linus Torvalds * Copyright (C) 1994 - 2000 Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc. * ...
arch/mips/kernel/signal.c
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) 1991, 1992 Linus Torvalds * Copyright (C) 1994 - 2000, 2006 Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, In...
arch/mips/kernel/signal32.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2003 Broadcom Corporation */ #include <linux/cache.h> #include <linux/sched.h> #include <linux/mm.h> #include <linux/smp.h> #include <linux/kernel.h> #include <linux/signal.h> #include <linux/errno.h> #include <linux/wait.h> #include <linux/ptrace.h> #in...
arch/mips/kernel/signal_n32.c
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) 1991, 1992 Linus Torvalds * Copyright (C) 1994 - 2000, 2006 Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, In...
arch/mips/kernel/signal_o32.c
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) 2011 by Kevin Cernekee (cernekee@gmail.com) * * SMP support for BMIPS */ #include <linux/init.h> #include <linux/sched.h...
arch/mips/kernel/smp-bmips.c
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> */ #include <linux/cpu.h> #include <linux/delay.h> #include <linux/io.h> #include <linux/memblock.h> #include <linux/sched/task_stack.h> #include <linux/sched/hotplug.h> #includ...
arch/mips/kernel/smp-cps.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * * Copyright (C) 2004, 05, 06 MIPS Technologies, Inc. * Elizabeth Clarke (beth@mips.com) * Ralf Baechle (ralf@linux-mips.org) * Copyright (C) 2006 Ralf Baechle (ralf@linux-mips.org) */ #include <linux/kernel.h> #include <linux/sched.h> #include <linux/cpumask.h> ...
arch/mips/kernel/smp-mt.c
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, 07 by Ralf Baechle (ralf@linux-mips.org) * * Symmetric Uniprocessor (TM) Support */ #include <linux/kernel.h> #incl...
arch/mips/kernel/smp-up.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * * Copyright (C) 2000, 2001 Kanoj Sarcar * Copyright (C) 2000, 2001 Ralf Baechle * Copyright (C) 2000, 2001 Silicon Graphics, Inc. * Copyright (C) 2000, 2001, 2003 Broadcom Corporation */ #include <linux/cache.h> #include <linux/delay.h> #include <linux/init.h> #in...
arch/mips/kernel/smp.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/init.h> #include <linux/kthread.h> #include <linux/hrtimer.h> #include <linux/fs.h> #include <linux/debugfs.h> #include <linux/export.h> #include <linux/spinlock.h> #include <asm/debug.h> static int ss_get(void *data, u64 *val) { ktime_t start, finish; int loops; ...
arch/mips/kernel/spinlock_test.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * MIPS SPRAM support * * Copyright (C) 2007, 2008 MIPS Technologies, Inc. */ #include <linux/kernel.h> #include <linux/ptrace.h> #include <linux/stddef.h> #include <asm/fpu.h> #include <asm/mipsregs.h> #include <asm/r4kcache.h> #include <asm/hazards.h> #include <asm/...
arch/mips/kernel/spram.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Stack trace management functions * * Copyright (C) 2006 Atsushi Nemoto <anemo@mba.ocn.ne.jp> */ #include <linux/sched.h> #include <linux/sched/debug.h> #include <linux/sched/task_stack.h> #include <linux/stacktrace.h> #include <linux/export.h> #include <asm/stacktrace....
arch/mips/kernel/stacktrace.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Count register synchronisation. * * Derived from arch/x86/kernel/tsc_sync.c * Copyright (C) 2006, Red Hat, Inc., Ingo Molnar */ #include <linux/kernel.h> #include <linux/irqflags.h> #include <linux/cpumask.h> #include <linux/atomic.h> #include <linux/nmi.h> #include <linux...
arch/mips/kernel/sync-r4k.c
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, 1996, 1997, 2000, 2001, 05 by Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc. * Copyright (C) 2001 MI...
arch/mips/kernel/syscall.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * MIPS specific sysrq operations. * * Copyright (C) 2015 Imagination Technologies Ltd. */ #include <linux/init.h> #include <linux/smp.h> #include <linux/spinlock.h> #include <linux/sysrq.h> #include <linux/workqueue.h> #include <asm/cpu-features.h> #include <asm/mipsregs.h> #...
arch/mips/kernel/sysrq.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2001 MontaVista Software Inc. * Author: Jun Sun, jsun@mvista.com or jsun@junsun.net * Copyright (c) 2003, 2004 Maciej W. Rozycki * * Common time service routines for MIPS machines. */ #include <linux/bug.h> #include <linux/clockchips.h> #include <linux/...
arch/mips/kernel/time.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/cpu.h> #include <linux/cpumask.h> #include <linux/init.h> #include <linux/node.h> #include <linux/nodemask.h> #include <linux/percpu.h> static DEFINE_PER_CPU(struct cpu, cpu_devices); static int __init topology_init(void) { int i, ret; for_each_present_cpu(i) { ...
arch/mips/kernel/topology.c
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, 01, 06 Ralf Baechle * Copyright (C) 1995, 1996 Paul M. Antoine * Copyright (C) 1998 Ulf Carlsson * Cop...
arch/mips/kernel/traps.c
null
null
null
null
null
source
linux
/* * Handle unaligned accesses by emulation. * * 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, 1998, 1999, 2002 by Ralf Baechle * Copyright (C) 1999 Silicon Graphics,...
arch/mips/kernel/unaligned.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/highmem.h> #include <linux/kdebug.h> #include <linux/types.h> #include <linux/notifier.h> #include <linux/sched.h> #include <linux/uprobes.h> #include <asm/branch.h> #include <asm/cpu-features.h> #include <asm/ptrace.h> #include "probes-common.h" static inline int ...
arch/mips/kernel/uprobes.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2015 Imagination Technologies * Author: Alex Smith <alex.smith@imgtec.com> */ #include <linux/binfmts.h> #include <linux/elf.h> #include <linux/err.h> #include <linux/init.h> #include <linux/ioport.h> #include <linux/kernel.h> #include <linux/mm.h> #in...
arch/mips/kernel/vdso.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <asm/asm-offsets.h> #include <asm/thread_info.h> #define PAGE_SIZE _PAGE_SIZE /* * Put .bss..swapper_pg_dir as the first thing in .bss. This will * ensure that it has .bss alignment (64K). */ #define BSS_FIRST_SECTIONS *(.bss..swapper_pg_dir) /* Cavium Octeon should...
arch/mips/kernel/vmlinux.lds.S
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. */ #include <l...
arch/mips/kernel/vpe-mt.c
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. * * VPE suppo...
arch/mips/kernel/vpe.c
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 David Daney */ #include <linux/sched.h> #include <asm/processor.h> #include <asm/watch.h> /* * Install the watch r...
arch/mips/kernel/watch.c
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. * * KVM/MIPS: Instruction/Exception emulation * * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. * Authors: Sanjay Lal <...
arch/mips/kvm/emulate.c
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. * * Generation of main entry point for the guest, exception handling. * * Copyright (C) 2012 MIPS Technologies, Inc. * Authors: Sanjay Lal...
arch/mips/kvm/entry.c
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. * * FPU context handling code for KVM. * * Copyright (C) 2015 Imagination Technologies Ltd. */ #include <asm/asm.h> #include <asm/asm-offs...
arch/mips/kvm/fpu.S
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. * * KVM/MIPS: Hypercall handling. * * Copyright (C) 2015 Imagination Technologies Ltd. */ #include <linux/kernel.h> #include <linux/kvm_h...
arch/mips/kvm/hypcall.c
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. * * KVM/MIPS: Interrupt delivery * * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. * Authors: Sanjay Lal <sanjayl@kymas...
arch/mips/kvm/interrupt.c
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. * * KVM/MIPS: Interrupts * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. * Authors: Sanjay Lal <sanjayl@kymasys.com> */...
arch/mips/kvm/interrupt.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Loongson-3 Virtual IPI interrupt support. * * Copyright (C) 2019 Loongson Technologies, Inc. All rights reserved. * * Authors: Chen Zhu <zhuchen@loongson.cn> * Authors: Huacai Chen <chenhc@lemote.com> */ #include <linux/kvm_host.h> #include "interrupt.h" #de...
arch/mips/kvm/loongson_ipi.c
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. * * KVM/MIPS: MIPS specific KVM APIs * * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. * Authors: Sanjay Lal <sanjayl@k...
arch/mips/kvm/mips.c
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. * * KVM/MIPS MMU handling in the KVM module. * * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. * Authors: Sanjay Lal <s...
arch/mips/kvm/mmu.c
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. * * MIPS SIMD Architecture (MSA) context handling code for KVM. * * Copyright (C) 2015 Imagination Technologies Ltd. */ #include <asm/asm....
arch/mips/kvm/msa.S
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. * * KVM/MIPS: COP0 access histogram * * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. * Authors: Sanjay Lal <sanjayl@ky...
arch/mips/kvm/stats.c
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. * * TLB handlers run from KSEG0 * * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. * Authors: Sanjay Lal <sanjayl@kymasy...
arch/mips/kvm/tlb.c
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> */ #if !defined(_TRACE_KV...
arch/mips/kvm/trace.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. * * KVM/MIPS: Support for hardware virtualization extensions * * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. * Author...
arch/mips/kvm/vz.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * * Copyright (C) 2010 Thomas Langer <thomas.langer@lantiq.com> * Copyright (C) 2010 John Crispin <john@phrozen.org> */ #include <linux/io.h> #include <linux/export.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/types.h> #include <linux/clk.h> #inclu...
arch/mips/lantiq/clk.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * * Copyright (C) 2010 John Crispin <john@phrozen.org> */ #ifndef _LTQ_CLK_H__ #define _LTQ_CLK_H__ #include <linux/clkdev.h> /* clock speeds */ #define CLOCK_33M 33333333 #define CLOCK_60M 60000000 #define CLOCK_62_5M 62500000 #define CLOCK_83M 83333333 #define CLOC...
arch/mips/lantiq/clk.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * * Copyright (C) 2010 John Crispin <john@phrozen.org> */ #include <linux/cpu.h> #include <lantiq_soc.h> #include <asm/setup.h> #define ASC_BUF 1024 #define LTQ_ASC_FSTAT ((u32 *)(LTQ_EARLY_ASC + 0x0048)) #ifdef __BIG_ENDIAN #define LTQ_ASC_TBUF ((u32 *)(LTQ_EARLY_ASC ...
arch/mips/lantiq/early_printk.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * * Copyright (C) 2010 John Crispin <john@phrozen.org> * Copyright (C) 2010 Thomas Langer <thomas.langer@lantiq.com> */ #include <linux/interrupt.h> #include <linux/ioport.h> #include <linux/sched.h> #include <linux/irqchip.h> #include <linux/irqdomain.h> #include <linux...
arch/mips/lantiq/irq.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * * Copyright (C) 2010 John Crispin <john@phrozen.org> */ #include <linux/export.h> #include <linux/clk.h> #include <linux/memblock.h> #include <linux/of_fdt.h> #include <asm/bootinfo.h> #include <asm/time.h> #include <asm/prom.h> #include <lantiq.h> #include "prom.h" ...
arch/mips/lantiq/prom.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * * Copyright (C) 2010 John Crispin <john@phrozen.org> */ #ifndef _LTQ_PROM_H__ #define _LTQ_PROM_H__ #define LTQ_SYS_TYPE_LEN 0x100 #define LTQ_SYS_REV_LEN 0x10 struct ltq_soc_info { unsigned char *name; unsigned int rev; unsigned char rev_type[LTQ_SYS_REV_LEN];...
arch/mips/lantiq/prom.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * * Copyright (C) 2012 Thomas Langer <thomas.langer@lantiq.com> * Copyright (C) 2012 John Crispin <john@phrozen.org> */ #include <linux/kernel.h> #include <asm/cacheflush.h> #include <asm/traps.h> #include <asm/io.h> #include <lantiq_soc.h> #include "../prom.h" #defin...
arch/mips/lantiq/falcon/prom.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * * Copyright (C) 2012 Thomas Langer <thomas.langer@lantiq.com> * Copyright (C) 2012 John Crispin <john@phrozen.org> */ #include <linux/init.h> #include <linux/io.h> #include <linux/pm.h> #include <asm/reboot.h> #include <linux/export.h> #include <lantiq_soc.h> /* * D...
arch/mips/lantiq/falcon/reset.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * * Copyright (C) 2011 Thomas Langer <thomas.langer@lantiq.com> * Copyright (C) 2011 John Crispin <john@phrozen.org> */ #include <linux/ioport.h> #include <linux/export.h> #include <linux/clkdev.h> #include <linux/of_address.h> #include <asm/delay.h> #include <lantiq_so...
arch/mips/lantiq/falcon/sysctrl.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * * Copyright (C) 2010 John Crispin <john@phrozen.org> * Copyright (C) 2013-2015 Lantiq Beteiligungs-GmbH & Co.KG */ #include <linux/io.h> #include <linux/export.h> #include <linux/clk.h> #include <asm/time.h> #include <asm/irq.h> #include <asm/div64.h> #include <lan...
arch/mips/lantiq/xway/clk.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * * Copyright (C) 2012 John Crispin <john@phrozen.org> * Copyright (C) 2010 Sameer Ahmad, Lantiq GmbH */ #include <linux/ioport.h> #include <linux/mod_devicetable.h> #include <linux/platform_device.h> #include <lantiq_soc.h> /* Bias and regulator Setup Register */ #d...
arch/mips/lantiq/xway/dcdc.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * * Copyright (C) 2011 John Crispin <john@phrozen.org> */ #include <linux/init.h> #include <linux/platform_device.h> #include <linux/io.h> #include <linux/dma-mapping.h> #include <linux/export.h> #include <linux/spinlock.h> #include <linux/clk.h> #include <linux/delay.h...
arch/mips/lantiq/xway/dma.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * * Copyright (C) 2012 John Crispin <john@phrozen.org> * Copyright (C) 2012 Lantiq GmbH */ #include <linux/interrupt.h> #include <linux/ioport.h> #include <linux/init.h> #include <linux/mod_devicetable.h> #include <linux/of_irq.h> #include <linux/platform_device.h> #i...
arch/mips/lantiq/xway/gptu.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * * Copyright (C) 2010 John Crispin <john@phrozen.org> * Copyright (C) 2013-2015 Lantiq Beteiligungs-GmbH & Co.KG */ #include <linux/export.h> #include <linux/clk.h> #include <asm/bootinfo.h> #include <asm/time.h> #include <lantiq_soc.h> #include "../prom.h" #define...
arch/mips/lantiq/xway/prom.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * * Copyright (C) 2011-2012 John Crispin <john@phrozen.org> * Copyright (C) 2013-2015 Lantiq Beteiligungs-GmbH & Co.KG */ #include <linux/ioport.h> #include <linux/export.h> #include <linux/clkdev.h> #include <linux/spinlock.h> #include <linux/of.h> #include <linux/of_...
arch/mips/lantiq/xway/sysctrl.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * * Copyright (C) 2012 John Crispin <john@phrozen.org> */ #include <linux/err.h> #include <linux/export.h> #include <linux/gpio/consumer.h> #include <linux/mod_devicetable.h> #include <linux/platform_device.h> #include <linux/dma-mapping.h> #include <lantiq_soc.h> stat...
arch/mips/lantiq/xway/vmmc.c
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-1997, 99, 2000, 06, 07 Ralf Baechle (ralf@linux-mips.org) * Copyright (c) 1999, 2000 Silicon Graphics, Inc. */ #incl...
arch/mips/lib/bitops.c
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. * * Quick'n'dirty IP checksum ... * * Copyright (C) 1998, 1999 Ralf Baechle * Copyright (C) 1999 Silicon Graphics, Inc. * Copyright (C) 20...
arch/mips/lib/csum_partial.S
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 Electronics * Copyright (C) 1995 - 2000, 01, 03 by Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphic...
arch/mips/lib/delay.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Dump R4x00 TLB for debugging purposes. * * Copyright (C) 1994, 1995 by Waldorf Electronics, written by Ralf Baechle. * Copyright (C) 1999 by Silicon Graphics, Inc. */ #include <linux/kernel.h> #include <linux/mm.h> #include <asm/hazards.h> #include <asm/mipsregs.h> #includ...
arch/mips/lib/dump_tlb.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Implement the default iomap interfaces * * (C) Copyright 2004 Linus Torvalds * (C) Copyright 2006 Ralf Baechle <ralf@linux-mips.org> * (C) Copyright 2007 MIPS Technologies, Inc. * written by Ralf Baechle <ralf@linux-mips.org> */ #include <linux/pci.h> #include <linux/...
arch/mips/lib/iomap-pci.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only #include <linux/export.h> #include <linux/io.h> /** * __ioread64_copy - copy data from MMIO space, in 64-bit units * @to: destination (must be 64-bit aligned) * @from: source, in MMIO space (must be 64-bit aligned) * @count: number of 64-bit quantities to copy * * Copy d...
arch/mips/lib/iomap_copy.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_LIBGCC_H #define __ASM_LIBGCC_H #include <asm/byteorder.h> typedef int word_type __attribute__ ((mode (__word__))); #ifdef __BIG_ENDIAN struct DWstruct { int high, low; }; struct TWstruct { long long high, low; }; #elif defined(__LITTLE_ENDIAN) struct DWstruct ...
arch/mips/lib/libgcc.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. * * Unified implementation of memcpy, memmove and the __copy_user backend. * * Copyright (C) 1998, 99, 2000, 01, 2002 Ralf Baechle (ralf@gnu...
arch/mips/lib/memcpy.S
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) 1998, 1999, 2000 by Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc. * Copyright (C) 2007 by Maciej W. Rozyc...
arch/mips/lib/memset.S
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/lib/mips-atomic.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/export.h> #include "libgcc.h" /* * GCC 7 & older can suboptimally generate __multi3 calls for mips64r6, so for * that specific case only we implement that intrinsic here. * * See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82981 */ #if defined(CONFIG_64BIT) &&...
arch/mips/lib/multi3.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Dump R3000 TLB for debugging purposes. * * Copyright (C) 1994, 1995 by Waldorf Electronics, written by Ralf Baechle. * Copyright (C) 1999 by Silicon Graphics, Inc. * Copyright (C) 1999 by Harald Koerfgen */ #include <linux/kernel.h> #include <linux/mm.h> #include <asm/mip...
arch/mips/lib/r3k_dump_tlb.c
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, 1999 by Ralf Baechle * Copyright (C) 2011 MIPS Technologies, Inc. */ #include <linux/errno.h> #include <linux/export...
arch/mips/lib/strncpy_user.S
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, 1998, 1999, 2004 by Ralf Baechle * Copyright (c) 1999 Silicon Graphics, Inc. */ #include <linux/export.h> #include <...
arch/mips/lib/strnlen_user.S
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) 2005 Thiemo Seufer * Copyright (C) 2005 MIPS Technologies, Inc. All rights reserved. * Author: Maciej W. Rozycki <macro@m...
arch/mips/lib/uncached.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2001 MontaVista Software Inc. * Author: Jun Sun, jsun@mvista.com or jsun@junsun.net * Copyright (C) 2000, 2001 Ralf Baechle (ralf@gnu.org) * * Copyright (C) 2007 Lemote Inc. & Institute of Computing Technology * Author: Fuxin Zhang, zhangfx@lemote.com *...
arch/mips/loongson2ef/common/bonito-irq.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Based on Ocelot Linux port, which is * Copyright 2001 MontaVista Software Inc. * Author: jsun@mvista.com or jsun@junsun.net * * Copyright 2003 ICT CAS * Author: Michael Guo <guoyi@ict.ac.cn> * * Copyright (C) 2007 Lemote Inc. & Institute of Computing Technology ...
arch/mips/loongson2ef/common/env.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2009 Lemote Inc. * Author: Wu Zhangjin, wuzhangjin@gmail.com */ #include <linux/memblock.h> #include <asm/bootinfo.h> #include <asm/traps.h> #include <asm/smp-ops.h> #include <asm/cacheflush.h> #include <asm/fw/fw.h> #include <loongson.h> /* Loongson...
arch/mips/loongson2ef/common/init.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007 Lemote Inc. & Institute of Computing Technology * Author: Fuxin Zhang, zhangfx@lemote.com */ #include <linux/delay.h> #include <linux/interrupt.h> #include <loongson.h> /* * the first level int-handler will jump here if it is a bonito irq */ voi...
arch/mips/loongson2ef/common/irq.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2009 Lemote Inc. * Author: Wu Zhangjin, wuzhangjin@gmail.com * * Copyright (c) 2009 Zhang Le <r0bertz@gentoo.org> */ #include <linux/errno.h> #include <asm/bootinfo.h> #include <loongson.h> #include <machine.h> /* please ensure the length of the mac...
arch/mips/loongson2ef/common/machtype.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* */ #include <linux/fs.h> #include <linux/fcntl.h> #include <linux/memblock.h> #include <linux/mm.h> #include <asm/bootinfo.h> #include <loongson.h> #include <mem.h> #include <pci.h> u32 memsize, highmemsize; void __init prom_init_memory(void) { memblock_add(0x0, (m...
arch/mips/loongson2ef/common/mem.c
null
null
null
null
null