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 */ /* * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix * Copyright (C) 2006 Atmark Techno, Inc. */ #ifndef _ASM_MICROBLAZE_TLBFLUSH_H #define _ASM_MICROBLAZE_TLBFLUSH_H #include <linux/sched.h> #include <linux/threads.h> #include <as...
arch/microblaze/include/asm/tlbflush.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix * Copyright (C) 2006 Atmark Techno, Inc. */ #ifndef _ASM_MICROBLAZE_UACCESS_H #define _ASM_MICROBLAZE_UACCESS_H #include <linux/kernel.h> #include <asm/mmu.h> #include <asm/page...
arch/microblaze/include/asm/uaccess.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2007-2008 Michal Simek <monstr@monstr.eu> * Copyright (C) 2006 Atmark Techno, Inc. */ #ifndef _ASM_MICROBLAZE_UNISTD_H #define _ASM_MICROBLAZE_UNISTD_H #include <uapi/asm/unistd.h> #ifndef __ASSEMBLER__ /* #define __ARCH_WANT_OLD_READDIR */ /* #define __AR...
arch/microblaze/include/asm/unistd.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Backtrace support for Microblaze * * Copyright (C) 2010 Digital Design Corporation */ #ifndef __MICROBLAZE_UNWIND_H #define __MICROBLAZE_UNWIND_H struct stack_trace; struct trap_handler_info { unsigned long start_addr; unsigned long end_addr; const char *trap_na...
arch/microblaze/include/asm/unwind.h
null
null
null
null
null
source
linux
#ifndef _ASM_MICROBLAZE_VMALLOC_H #define _ASM_MICROBLAZE_VMALLOC_H #endif /* _ASM_MICROBLAZE_VMALLOC_H */
arch/microblaze/include/asm/vmalloc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2022 Xilinx, Inc. */ #ifndef _XILINX_MB_MANAGER_H #define _XILINX_MB_MANAGER_H # ifndef __ASSEMBLER__ #include <linux/of_address.h> /* * When the break vector gets asserted because of error injection, the break * signal must be blocked before exiting from...
arch/microblaze/include/asm/xilinx_mb_manager.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _ASM_MICROBLAZE_BYTEORDER_H #define _ASM_MICROBLAZE_BYTEORDER_H #ifdef __MICROBLAZEEL__ #include <linux/byteorder/little_endian.h> #else #include <linux/byteorder/big_endian.h> #endif #endif /* _ASM_MICROBLAZE_BYTEORDER_H */
arch/microblaze/include/uapi/asm/byteorder.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix * Copyright (C) 2006 Atmark Techno, Inc. * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" ...
arch/microblaze/include/uapi/asm/elf.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _ASM_MICROBLAZE_POSIX_TYPES_H #define _ASM_MICROBLAZE_POSIX_TYPES_H typedef unsigned short __kernel_mode_t; #define __kernel_mode_t __kernel_mode_t #include <asm-generic/posix_types.h> #endif /* _ASM_MICROBLAZE_POSIX_TYPES_H */
arch/microblaze/include/uapi/asm/posix_types.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (C) 2006 Atmark Techno, Inc. * * 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 _UAPI_ASM_MICROBLAZE_PTR...
arch/microblaze/include/uapi/asm/ptrace.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2007-2009 PetaLogix * Copyright (C) 2006 Atmark Techno, Inc. * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" ...
arch/microblaze/include/uapi/asm/setup.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (C) 2006 Atmark Techno, Inc. * * 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_MICROBLAZE_SIGCONTE...
arch/microblaze/include/uapi/asm/sigcontext.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (C) 2007-2008 Michal Simek <monstr@monstr.eu> * Copyright (C) 2006 Atmark Techno, Inc. * * 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...
arch/microblaze/include/uapi/asm/unistd.h
null
null
null
null
null
source
linux
/* * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2007-2009 PetaLogix * Copyright (C) 2006 Atmark Techno, Inc. * * 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. */ ...
arch/microblaze/kernel/asm-offsets.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2009-2010 PetaLogix * Copyright (C) 2006 Benjamin Herrenschmidt, IBM Corporation * * Provide default implementations of the DMA mapping callbacks for * directly mapped busses. */ #include <linux/device.h> #include <linux/dma-map-ops.h> #include <linux/gfp.h>...
arch/microblaze/kernel/dma.c
null
null
null
null
null
source
linux
/* * Low-level system-call handling, trap handlers and context-switching * * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix * Copyright (C) 2003 John Williams <jwilliams@itee.uq.edu.au> * Copyright (C) 2001,2002 NEC Corporation * Copyright (C) 2001,2002 Miles Bader <...
arch/microblaze/kernel/entry.S
null
null
null
null
null
source
linux
/* * HW exception handling * * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008 PetaLogix * * 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. */ /* * This file han...
arch/microblaze/kernel/exceptions.c
null
null
null
null
null
source
linux
/* * Ftrace support for Microblaze. * * Copyright (C) 2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2009 PetaLogix * * Based on MIPS and PowerPC ftrace code * * 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 arch...
arch/microblaze/kernel/ftrace.c
null
null
null
null
null
source
linux
/* * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2007-2009 PetaLogix * Copyright (C) 2006 Atmark Techno, Inc. * * MMU code derived from arch/ppc/kernel/head_4xx.S: * Copyright (c) 1995-1996 Gary Thomas <gdt@linuxppc.org> * Initial PowerPC version. * Copyright (c) 1996 Cort...
arch/microblaze/kernel/head.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Exception handling for Microblaze * * Rewriten interrupt handling * * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix * * uClinux customisation (C) 2005 John Williams * * MMU code derived from arch/ppc/kernel/head_4xx...
arch/microblaze/kernel/hw_exception_handler.S
null
null
null
null
null
source
linux
/* * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2007-2009 PetaLogix * Copyright (C) 2006 Atmark Techno, Inc. * * 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. */ ...
arch/microblaze/kernel/irq.c
null
null
null
null
null
source
linux
/* * Microblaze KGDB support * * 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. */ #include <linux/kgdb.h> #include <linux/kdebug.h> #include <linux/irq.h> #include <linux/io.h> #include <asm/...
arch/microblaze/kernel/kgdb.c
null
null
null
null
null
source
linux
/* * Low-level ftrace handling * * Copyright (C) 2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2009 PetaLogix * * 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. */ #include <linux/linka...
arch/microblaze/kernel/mcount.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix */ #include <linux/export.h> #include <linux/string.h> #include <linux/delay.h> #include <linux/in6.h> #include <linux/syscalls.h> #include <asm/checksum.h> #include <asm/cachef...
arch/microblaze/kernel/microblaze_ksyms.c
null
null
null
null
null
source
linux
/* * Miscellaneous low-level MMU functions. * * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix * Copyright (C) 2007 Xilinx, Inc. All rights reserved. * * Derived from arch/ppc/kernel/misc.S * * This file is subject to the terms and conditions of the GNU General * ...
arch/microblaze/kernel/misc.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2007-2009 PetaLogix */ #include <linux/export.h> #include <linux/moduleloader.h> #include <linux/kernel.h> #include <linux/elf.h> #include <linux/vmalloc.h> #include <linux/fs.h> #include <linux/str...
arch/microblaze/kernel/module.c
null
null
null
null
null
source
linux
/* * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix * Copyright (C) 2006 Atmark Techno, Inc. * * 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. */ ...
arch/microblaze/kernel/process.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Procedures for creating, accessing and interpreting the device tree. * * Paul Mackerras August 1996. * Copyright (C) 1996-2005 Paul Mackerras. * * Adapted for 64bit PowerPC by Dave Engebretsen and Peter Bergner. * {engebret|bergner}@us.ibm.com */ #include <...
arch/microblaze/kernel/prom.c
null
null
null
null
null
source
linux
/* * `ptrace' system call * * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2007-2009 PetaLogix * Copyright (C) 2004-2007 John Williams <john.williams@petalogix.com> * * derived from arch/v850/kernel/ptrace.c * * Copyright (C) 2002,03 NEC Electronics Corporation * Copyright (C) 2002,...
arch/microblaze/kernel/ptrace.c
null
null
null
null
null
source
linux
/* * Copyright (C) 2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2009 PetaLogix * * 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. */ #include <linux/init.h> #include <linux/delay.h> #i...
arch/microblaze/kernel/reset.c
null
null
null
null
null
source
linux
/* * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2007-2009 PetaLogix * Copyright (C) 2006 Atmark Techno, Inc. * * 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. */ ...
arch/microblaze/kernel/setup.c
null
null
null
null
null
source
linux
/* * Signal handling * * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix * Copyright (C) 2003,2004 John Williams <jwilliams@itee.uq.edu.au> * Copyright (C) 2001 NEC Corporation * Copyright (C) 2001 Miles Bader <miles@gnu.org> * Copyright (C) 1999,2000 Niibe Yutaka & K...
arch/microblaze/kernel/signal.c
null
null
null
null
null
source
linux
/* * Stack trace support for Microblaze. * * Copyright (C) 2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2009 PetaLogix * * 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. */ #include ...
arch/microblaze/kernel/stacktrace.c
null
null
null
null
null
source
linux
/* * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2007-2009 PetaLogix * Copyright (C) 2007 John Williams <john.williams@petalogix.com> * * Copyright (C) 2006 Atmark Techno, Inc. * Yasushi SHOJI <yashi@atmark-techno.com> * Tetsuya OHKAWA <tetsuya@atmark-techno.com> * * This file is su...
arch/microblaze/kernel/sys_microblaze.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #define __SYSCALL(nr, entry) .long entry ENTRY(sys_call_table) #include <asm/syscall_table.h>
arch/microblaze/kernel/syscall_table.S
null
null
null
null
null
source
linux
/* * Copyright (C) 2007-2013 Michal Simek <monstr@monstr.eu> * Copyright (C) 2012-2013 Xilinx, Inc. * Copyright (C) 2007-2009 PetaLogix * Copyright (C) 2006 Atmark Techno, Inc. * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory o...
arch/microblaze/kernel/timer.c
null
null
null
null
null
source
linux
/* * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2007-2009 PetaLogix * Copyright (C) 2006 Atmark Techno, Inc. * * 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. */ ...
arch/microblaze/kernel/traps.c
null
null
null
null
null
source
linux
/* * Backtrace support for Microblaze * * Copyright (C) 2010 Digital Design Corporation * * Based on arch/sh/kernel/cpu/sh5/unwind.c code which is: * Copyright (C) 2004 Paul Mundt * Copyright (C) 2004 Richard Curnow * * This file is subject to the terms and conditions of the GNU General Public * License. ...
arch/microblaze/kernel/unwind.c
null
null
null
null
null
source
linux
/* * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix * Copyright (C) 2006 Atmark Techno, Inc. * * 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. */ ...
arch/microblaze/kernel/vmlinux.lds.S
null
null
null
null
null
source
linux
/* * Cache control for MicroBlaze cache memories * * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2007-2009 PetaLogix * Copyright (C) 2007-2009 John Williams <john.williams@petalogix.com> * * This file is subject to the terms and conditions of the GNU General * Public License. See the...
arch/microblaze/kernel/cpu/cache.c
null
null
null
null
null
source
linux
/* * Support for MicroBlaze PVR (processor version register) * * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2007-2009 PetaLogix * Copyright (C) 2007 John Williams <john.williams@petalogix.com> * * This file is subject to the terms and conditions of the GNU General Public * License. ...
arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c
null
null
null
null
null
source
linux
/* * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2007-2009 PetaLogix * Copyright (C) 2007 John Williams <john.williams@petalogix.com> * * 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 ...
arch/microblaze/kernel/cpu/cpuinfo-static.c
null
null
null
null
null
source
linux
/* * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2007-2009 PetaLogix * Copyright (C) 2007 John Williams <john.williams@petalogix.com> * * 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 ...
arch/microblaze/kernel/cpu/cpuinfo.c
null
null
null
null
null
source
linux
/* * CPU-version specific code * * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2006-2009 PetaLogix * * 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. */ #include ...
arch/microblaze/kernel/cpu/mb.c
null
null
null
null
null
source
linux
/* * Support for MicroBlaze PVR (processor version register) * * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2007-2009 PetaLogix * Copyright (C) 2007 John Williams <john.williams@petalogix.com> * * This file is subject to the terms and conditions of the GNU General Public * License. ...
arch/microblaze/kernel/cpu/pvr.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/export.h> #include "libgcc.h" long long __ashldi3(long long u, word_type b) { DWunion uu, w; word_type bm; if (b == 0) return u; uu.ll = u; bm = 32 - b; if (bm <= 0) { w.s.low = 0; w.s.high = (unsigned int) uu.s.low << -bm; } else { const unsigned ...
arch/microblaze/lib/ashldi3.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/export.h> #include "libgcc.h" long long __ashrdi3(long long u, word_type b) { DWunion uu, w; word_type bm; if (b == 0) return u; uu.ll = u; bm = 32 - b; if (bm <= 0) { /* w.s.high = 1..1 or 0..0 */ w.s.high = uu.s.high >> 31; w.s.low = uu.s.hi...
arch/microblaze/lib/ashrdi3.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/export.h> #include "libgcc.h" word_type __cmpdi2(long long a, long long b) { const DWunion au = { .ll = a }; const DWunion bu = { .ll = b }; if (au.s.high < bu.s.high) return 0; else if (au.s.high > bu.s.high) return 2; if ((unsigned int) au.s.low <...
arch/microblaze/lib/cmpdi2.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> /* * Divide operation for 32 bit integers. * Input : Dividend in Reg r5 * Divisor in Reg r6 * Output: Result in Reg r3 */ .text .globl __divsi3 .type __divsi3, @function .ent __divsi3 __divsi3: .frame r1, 0, r15 addik r1, r1, -16 swi r28, r1, 0...
arch/microblaze/lib/divsi3.S
null
null
null
null
null
source
linux
/* * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix * Copyright (C) 2008 Jim Law - Iris LP 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...
arch/microblaze/lib/fastcopy.S
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; }; #elif defined(__LITTLE_ENDIAN) struct DWstruct { int low, high; }; #else #error I feel sic...
arch/microblaze/lib/libgcc.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/export.h> #include "libgcc.h" long long __lshrdi3(long long u, word_type b) { DWunion uu, w; word_type bm; if (b == 0) return u; uu.ll = u; bm = 32 - b; if (bm <= 0) { w.s.high = 0; w.s.low = (unsigned int) uu.s.high >> -bm; } else { const unsigned...
arch/microblaze/lib/lshrdi3.c
null
null
null
null
null
source
linux
/* * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix * Copyright (C) 2007 John Williams * * Reasonably optimised generic C-code for memcpy on Microblaze * This is generic C code to do efficient, alignment-aware memcpy. * * It is based on demo code originally Copyright...
arch/microblaze/lib/memcpy.c
null
null
null
null
null
source
linux
/* * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix * Copyright (C) 2007 John Williams * * Reasonably optimised generic C-code for memcpy on Microblaze * This is generic C code to do efficient, alignment-aware memmove. * * It is based on demo code originally Copyrigh...
arch/microblaze/lib/memmove.c
null
null
null
null
null
source
linux
/* * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix * Copyright (C) 2007 John Williams * * Reasonably optimised generic C-code for memset on Microblaze * This is generic C code to do efficient, alignment-aware memcpy. * * It is based on demo code originally Copyright...
arch/microblaze/lib/memset.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> /* * modulo operation for 32 bit integers. * Input : op1 in Reg r5 * op2 in Reg r6 * Output: op1 mod op2 in Reg r3 */ .text .globl __modsi3 .type __modsi3, @function .ent __modsi3 __modsi3: .frame r1, 0, r15 addik r1, r1, -16 swi r28, r1, 0 ...
arch/microblaze/lib/modsi3.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/export.h> #include "libgcc.h" #define W_TYPE_SIZE 32 #define __ll_B ((unsigned long) 1 << (W_TYPE_SIZE / 2)) #define __ll_lowpart(t) ((unsigned long) (t) & (__ll_B - 1)) #define __ll_highpart(t) ((unsigned long) (t) >> (W_TYPE_SIZE / 2)) /* If we still don't have ...
arch/microblaze/lib/muldi3.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> /* * Multiply operation for 32 bit integers. * Input : Operand1 in Reg r5 * Operand2 in Reg r6 * Output: Result [op1 * op2] in Reg r3 */ .text .globl __mulsi3 .type __mulsi3, @function .ent __mulsi3 __mulsi3: .frame r1, 0, r15 add r3, r0, ...
arch/microblaze/lib/mulsi3.S
null
null
null
null
null
source
linux
/* * Copyright (C) 2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2009 PetaLogix * Copyright (C) 2007 LynuxWorks, Inc. * * 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. */ #include <l...
arch/microblaze/lib/uaccess_old.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/export.h> #include "libgcc.h" word_type __ucmpdi2(unsigned long long a, unsigned long long b) { const DWunion au = {.ll = a}; const DWunion bu = {.ll = b}; if ((unsigned int) au.s.high < (unsigned int) bu.s.high) return 0; else if ((unsigned int) au.s.high > ...
arch/microblaze/lib/ucmpdi2.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> /* * Unsigned divide operation. * Input : Divisor in Reg r5 * Dividend in Reg r6 * Output: Result in Reg r3 */ .text .globl __udivsi3 .type __udivsi3, @function .ent __udivsi3 __udivsi3: .frame r1, 0, r15 addik r1, r1, -12 swi r29, r1, 0 sw...
arch/microblaze/lib/udivsi3.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> /* * Unsigned modulo operation for 32 bit integers. * Input : op1 in Reg r5 * op2 in Reg r6 * Output: op1 mod op2 in Reg r3 */ .text .globl __umodsi3 .type __umodsi3, @function .ent __umodsi3 __umodsi3: .frame r1, 0, r15 addik r1, r1, -12...
arch/microblaze/lib/umodsi3.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Microblaze support for cache consistent memory. * Copyright (C) 2010 Michal Simek <monstr@monstr.eu> * Copyright (C) 2010 PetaLogix * Copyright (C) 2005 John Williams <jwilliams@itee.uq.edu.au> */ #include <linux/kernel.h> #include <linux/string.h> #include <linux/typ...
arch/microblaze/mm/consistent.c
null
null
null
null
null
source
linux
/* * arch/microblaze/mm/fault.c * * Copyright (C) 2007 Xilinx, Inc. All rights reserved. * * Derived from "arch/ppc/mm/fault.c" * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) * * Derived from "arch/i386/mm/fault.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds * * Modified by...
arch/microblaze/mm/fault.c
null
null
null
null
null
source
linux
/* * Copyright (C) 2007-2008 Michal Simek <monstr@monstr.eu> * Copyright (C) 2006 Atmark Techno, Inc. * * 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. */ #include <linux/dma-map-ops.h> #incl...
arch/microblaze/mm/init.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * This file contains the routines for handling the MMU. * * Copyright (C) 2007 Xilinx, Inc. All rights reserved. * * Derived from arch/ppc/mm/4xx_mmu.c: * -- paulus * * Derived from arch/ppc/mm/init.c: * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc...
arch/microblaze/mm/mmu_context.c
null
null
null
null
null
source
linux
/* * This file contains the routines setting up the linux page tables. * * Copyright (C) 2008 Michal Simek * Copyright (C) 2008 PetaLogix * * Copyright (C) 2007 Xilinx, Inc. All rights reserved. * * Derived from arch/ppc/mm/pgtable.c: * -- paulus * * Derived from arch/ppc/mm/init.c: * Copyright...
arch/microblaze/mm/pgtable.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * ppc64 "iomap" interface implementation. * * (C) Copyright 2004 Linus Torvalds */ #include <linux/init.h> #include <linux/pci.h> #include <linux/mm.h> #include <linux/export.h> #include <linux/io.h> #include <asm/pci-bridge.h> static DEFINE_SPINLOCK(hose_spinlock); LIST_HEAD...
arch/microblaze/pci/iomap.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * GPR board platform device registration (Au1550) * * Copyright (C) 2010 Wolfgang Grandegger <wg@denx.de> */ #include <linux/delay.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/kernel.h> #include <linux/platform_device.h> #include <linux/pm....
arch/mips/alchemy/board-gpr.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * MTX-1 platform devices registration (Au1500) * * Copyright (C) 2007-2009, Florian Fainelli <florian@openwrt.org> */ #include <linux/init.h> #include <linux/interrupt.h> #include <linux/kernel.h> #include <linux/platform_device.h> #include <linux/gpio/machine.h> #in...
arch/mips/alchemy/board-mtx1.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * BRIEF MODULE DESCRIPTION * MyCable XXS1500 board support * * Copyright 2003, 2008 MontaVista Software Inc. * Author: MontaVista Software, Inc. <source@mvista.com> */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/pl...
arch/mips/alchemy/board-xxs1500.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Alchemy clocks. * * Exposes all configurable internal clock sources to the clk framework. * * We have: * - Root source, usually 12MHz supplied by an external crystal * - 3 PLLs which generate multiples of root rate [AUX, CPU, AUX2] * * Dividers: * - 6 clock dividers...
arch/mips/alchemy/common/clock.c
null
null
null
null
null
source
linux
/* * * BRIEF MODULE DESCRIPTION * The Descriptor Based DMA channel manager that first appeared * on the Au1550. I started with dma.c, but I think all that is * left is this initial comment :-) * * Copyright 2004 Embedded Edge, LLC * dan@embeddededge.com * * under the terms of the GNU General Public ...
arch/mips/alchemy/common/dbdma.c
null
null
null
null
null
source
linux
/* * * BRIEF MODULE DESCRIPTION * A DMA channel allocator for Au1x00. API is modeled loosely off of * linux/kernel/dma.c. * * Copyright 2000, 2008 MontaVista Software Inc. * Author: MontaVista Software, Inc. <source@mvista.com> * Copyright (C) 2005 Ralf Baechle (ralf@linux-mips.org) * * under the ...
arch/mips/alchemy/common/dma.c
null
null
null
null
null
source
linux
/* * Copyright (C) 2007-2009, OpenWrt.org, Florian Fainelli <florian@openwrt.org> * GPIOLIB support for Alchemy chips. * * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * * THIS...
arch/mips/alchemy/common/gpiolib.c
null
null
null
null
null
source
linux
/* * Copyright 2001, 2007-2008 MontaVista Software Inc. * Author: MontaVista Software, Inc. <source@mvista.com> * * Copyright (C) 2007 Ralf Baechle (ralf@linux-mips.org) * * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or...
arch/mips/alchemy/common/irq.c
null
null
null
null
null
source
linux
/* * Platform device support for Au1x00 SoCs. * * Copyright 2004, Matt Porter <mporter@kernel.crashing.org> * * (C) Copyright Embedded Alley Solutions, Inc 2005 * Author: Pantelis Antoniou <pantelis@embeddedalley.com> * * This file is licensed under the terms of the GNU General Public * License version 2. Thi...
arch/mips/alchemy/common/platform.c
null
null
null
null
null
source
linux
/* * BRIEF MODULE DESCRIPTION * Au1xx0 Power Management routines. * * Copyright 2001, 2008 MontaVista Software Inc. * Author: MontaVista Software, Inc. <source@mvista.com> * * Some of the routines are right out of init/main.c, whose * copyrights apply here. * * under the terms of the GNU General Public ...
arch/mips/alchemy/common/power.c
null
null
null
null
null
source
linux
/* * * BRIEF MODULE DESCRIPTION * PROM library initialisation code, supports YAMON and U-Boot. * * Copyright 2000-2001, 2006, 2008 MontaVista Software Inc. * Author: MontaVista Software, Inc. <source@mvista.com> * * This file was derived from Carsten Langgaard's * arch/mips/mips-boards/xx files. * * Carst...
arch/mips/alchemy/common/prom.c
null
null
null
null
null
source
linux
/* * Copyright 2000, 2007-2008 MontaVista Software Inc. * Author: MontaVista Software, Inc. <source@mvista.com * * Updates to 2.6, Pete Popov, Embedded Alley Solutions, Inc. * * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the Licens...
arch/mips/alchemy/common/setup.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2002 Embedded Edge, LLC * Author: dan@embeddededge.com * * Sleep helper for Au1xxx sleep mode. */ #include <asm/asm.h> #include <asm/mipsregs.h> #include <asm/regdef.h> #include <asm/stackframe.h> .extern __flush_cache_all .text .set noreorder ....
arch/mips/alchemy/common/sleeper.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2008-2009 Manuel Lauss <manuel.lauss@gmail.com> * * Previous incarnations were: * Copyright (C) 2001, 2006, 2008 MontaVista Software, <source@mvista.com> * Copied and modified Carsten Langgaard's time.c * * Carsten Langgaard, carstenl@mips.com * Copyri...
arch/mips/alchemy/common/time.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * USB block power/access management abstraction. * * Au1000+: The OHCI block control register is at the far end of the OHCI memory * area. Au1550 has OHCI on different base address. No need to handle * UDC here. * Au1200: one register to control access and cloc...
arch/mips/alchemy/common/usb.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Au1300 media block power gating (VSS) * * This is a stop-gap solution until I have the clock framework integration * ready. This stuff here really must be handled transparently when clocks * for various media blocks are enabled/disabled. */ #include <linux/export.h> ...
arch/mips/alchemy/common/vss.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * bcsr.h -- Db1xxx/Pb1xxx Devboard CPLD registers ("BCSR") abstraction. * * All Alchemy development boards (except, of course, the weird PB1000) * have a few registers in a CPLD with standardised layout; they mostly * only differ in base address. * All registers are 16b...
arch/mips/alchemy/devboards/bcsr.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * DBAu1000/1500/1100 PBAu1100/1500 board support * * Copyright 2000, 2008 MontaVista Software Inc. * Author: MontaVista Software, Inc. <source@mvista.com> */ #include <linux/clk.h> #include <linux/dma-mapping.h> #include <linux/gpio.h> #include <linux/gpio/machine.h...
arch/mips/alchemy/devboards/db1000.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * DBAu1200/PBAu1200 board platform device registration * * Copyright (C) 2008-2011 Manuel Lauss */ #include <linux/clk.h> #include <linux/dma-mapping.h> #include <linux/gpio.h> #include <linux/i2c.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linu...
arch/mips/alchemy/devboards/db1200.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * DBAu1300 init and platform device setup. * * (c) 2009 Manuel Lauss <manuel.lauss@googlemail.com> */ #include <linux/clk.h> #include <linux/dma-mapping.h> #include <linux/gpio.h> #include <linux/gpio_keys.h> #include <linux/init.h> #include <linux/input.h> /* KEY_* codes */ ...
arch/mips/alchemy/devboards/db1300.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Alchemy Db1550/Pb1550 board support * * (c) 2011 Manuel Lauss <manuel.lauss@googlemail.com> */ #include <linux/clk.h> #include <linux/dma-mapping.h> #include <linux/gpio.h> #include <linux/i2c.h> #include <linux/init.h> #include <linux/io.h> #include <linux/interrupt.h> #in...
arch/mips/alchemy/devboards/db1550.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Alchemy DB/PB1xxx board support. */ #include <asm/prom.h> #include <asm/mach-au1x00/au1000.h> #include <asm/mach-db1x00/bcsr.h> int __init db1000_board_setup(void); int __init db1000_dev_setup(void); int __init db1500_pci_setup(void); int __init db1200_board_setup(void); int...
arch/mips/alchemy/devboards/db1xxx.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * devoard misc stuff. */ #include <linux/init.h> #include <linux/mtd/mtd.h> #include <linux/mtd/map.h> #include <linux/mtd/physmap.h> #include <linux/slab.h> #include <linux/platform_device.h> #include <linux/pm.h> #include <asm/bootinfo.h> #include <asm/idle.h> #include <asm/...
arch/mips/alchemy/devboards/platform.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _DEVBOARD_PLATFORM_H_ #define _DEVBOARD_PLATFORM_H_ #include <linux/init.h> int __init db1x_register_pcmcia_socket(phys_addr_t pcmcia_attr_start, phys_addr_t pcmcia_attr_len, phys_addr_t pcmcia_mem_start, phys_addr_t pcmcia_mem_end, ...
arch/mips/alchemy/devboards/platform.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Alchemy Development Board example suspend userspace interface. * * (c) 2008 Manuel Lauss <mano@roarinelk.homelinux.net> */ #include <linux/init.h> #include <linux/kobject.h> #include <linux/suspend.h> #include <linux/sysfs.h> #include <asm/mach-au1x00/au1000.h> #include <as...
arch/mips/alchemy/devboards/pm.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) 2003 Atheros Communications, Inc., All Rights Reserved. * Copyright (C) 2006 FON Technology, SL. * Copyright (C) 2006 Imr...
arch/mips/ath25/ar2315.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __AR2315_H #define __AR2315_H #ifdef CONFIG_SOC_AR2315 void ar2315_arch_init_irq(void); void ar2315_init_devices(void); void ar2315_plat_time_init(void); void ar2315_plat_mem_setup(void); void ar2315_arch_init(void); #else static inline void ar2315_arch_init_irq(void) ...
arch/mips/ath25/ar2315.h
null
null
null
null
null
source
linux
/* * Register definitions for AR2315+ * * 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 Atheros Communications, Inc., All Rights Reserved. * Copyright (C) 2006 FON Te...
arch/mips/ath25/ar2315_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) 2003 Atheros Communications, Inc., All Rights Reserved. * Copyright (C) 2006 FON Technology, SL. * Copyright (C) 2006 Imr...
arch/mips/ath25/ar5312.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __AR5312_H #define __AR5312_H #ifdef CONFIG_SOC_AR5312 void ar5312_arch_init_irq(void); void ar5312_init_devices(void); void ar5312_plat_time_init(void); void ar5312_plat_mem_setup(void); void ar5312_arch_init(void); #else static inline void ar5312_arch_init_irq(void) ...
arch/mips/ath25/ar5312.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 Atheros Communications, Inc., All Rights Reserved. * Copyright (C) 2006 Imre Kaloz <kaloz@openwrt.org> * Copyright (...
arch/mips/ath25/ar5312_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) 2003 Atheros Communications, Inc., All Rights Reserved. * Copyright (C) 2006 FON Technology, SL. * Copyright (C) 2006 Imr...
arch/mips/ath25/board.c
null
null
null
null
null