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 #include <linux/kernel.h> #include <linux/init.h> #include <linux/serial_8250.h> #include <linux/platform_device.h> #include <asm/bootinfo.h> #include <ath25_platform.h> #include "devices.h" #include "ar5312.h" #include "ar2315.h" struct ar231x_board_config ath25_board; enum ath25_...
arch/mips/ath25/devices.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ATH25_DEVICES_H #define __ATH25_DEVICES_H #include <linux/cpu.h> #define ATH25_REG_MS(_val, _field) (((_val) & _field##_M) >> _field##_S) #define ATH25_IRQ_CPU_CLOCK (MIPS_CPU_IRQ_BASE + 7) /* C0_CAUSE: 0x8000 */ enum ath25_soc_type { /* handled by ar5312.c */ ATH2...
arch/mips/ath25/devices.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 Gabor Juhos <juhosg@openwrt.org> */ #include <linux/mm.h> #include <linux/io.h> #include <linux/serial_reg.h> #includ...
arch/mips/ath25/early_printk.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 MontaVista Software Inc * Copyright (C) 2003 Atheros Communications, Inc., All Rights Reserved. * Copyright (C) 2006 FON Tech...
arch/mips/ath25/prom.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Atheros AR71XX/AR724X/AR913X common routines * * Copyright (C) 2010-2011 Jaiganesh Narayanan <jnarayanan@atheros.com> * Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org> * * Parts of this file are based on Atheros' 2.6.15/2.6.31 BSP */ #include <linux/kernel.h...
arch/mips/ath79/clock.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Atheros AR71XX/AR724X/AR913X common routines * * Copyright (C) 2010-2011 Jaiganesh Narayanan <jnarayanan@atheros.com> * Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org> * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org> * * Parts of this file are based ...
arch/mips/ath79/common.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Atheros AR71XX/AR724X/AR913X common definitions * * Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org> * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org> * * Parts of this file are based on Atheros' 2.6.15 BSP */ #ifndef __ATH79_COMMON_H #define __ATH7...
arch/mips/ath79/common.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Atheros AR7XXX/AR9XXX SoC early printk support * * Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org> * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org> */ #include <linux/io.h> #include <linux/errno.h> #include <linux/serial.h> #include <linux/serial_reg.h>...
arch/mips/ath79/early_printk.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Atheros AR71XX/AR724X/AR913X specific prom routines * * Copyright (C) 2015 Laurent Fasnacht <l@libres.ch> * Copyright (C) 2008-2010 Gabor Juhos <juhosg@openwrt.org> * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org> */ #include <linux/kernel.h> #include <linux/i...
arch/mips/ath79/prom.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Atheros AR71XX/AR724X/AR913X specific setup * * Copyright (C) 2010-2011 Jaiganesh Narayanan <jnarayanan@atheros.com> * Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org> * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org> * * Parts of this file are based o...
arch/mips/ath79/setup.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef LINUX_BCM47XX_PRIVATE_H_ #define LINUX_BCM47XX_PRIVATE_H_ #ifndef pr_fmt #define pr_fmt(fmt) "bcm47xx: " fmt #endif #include <linux/kernel.h> /* prom.c */ void __init bcm47xx_prom_highmem_init(void); /* buttons.c */ int __init bcm47xx_buttons_register(void); /* leds....
arch/mips/bcm47xx/bcm47xx_private.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/errno.h> #include <linux/export.h> #include <linux/string.h> #include <bcm47xx.h> #include <bcm47xx_board.h> struct bcm47xx_board_type { const enum bcm47xx_board board; const char *name; }; struct bcm47xx_board_type_list1 { struct bcm47xx_board_type board; const...
arch/mips/bcm47xx/board.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include "bcm47xx_private.h" #include <linux/input.h> #include <linux/gpio_keys.h> #include <linux/interrupt.h> #include <bcm47xx_board.h> #include <bcm47xx.h> /************************************************** * Database **************************************************/ #def...
arch/mips/bcm47xx/buttons.c
null
null
null
null
null
source
linux
/* * Copyright (C) 2004 Florian Schirmer <jolt@tuxbox.org> * * 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 SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR I...
arch/mips/bcm47xx/irq.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include "bcm47xx_private.h" #include <linux/leds.h> #include <bcm47xx_board.h> /************************************************** * Database **************************************************/ #define BCM47XX_GPIO_LED(_gpio, _color, _function, _active_low, \ _default_stat...
arch/mips/bcm47xx/leds.c
null
null
null
null
null
source
linux
/* * Copyright (C) 2004 Florian Schirmer <jolt@tuxbox.org> * Copyright (C) 2007 Aurelien Jarno <aurelien@aurel32.net> * Copyright (C) 2010-2012 Hauke Mehrtens <hauke@hauke-m.de> * * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the ...
arch/mips/bcm47xx/prom.c
null
null
null
null
null
source
linux
/* * 8250 UART probe driver for the BCM47XX platforms * Author: Aurelien Jarno * * 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) 2007 Aurelien Jarno <aurelien@aurel32.net> ...
arch/mips/bcm47xx/serial.c
null
null
null
null
null
source
linux
/* * Copyright (C) 2004 Florian Schirmer <jolt@tuxbox.org> * Copyright (C) 2006 Felix Fietkau <nbd@openwrt.org> * Copyright (C) 2006 Michael Buesch <m@bues.ch> * Copyright (C) 2010 Waldemar Brodkorb <wbx@openadk.org> * Copyright (C) 2010-2012 Hauke Mehrtens <hauke@hauke-m.de> * * under the terms of the G...
arch/mips/bcm47xx/setup.c
null
null
null
null
null
source
linux
/* * Copyright (C) 2004 Florian Schirmer <jolt@tuxbox.org> * * 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 SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR I...
arch/mips/bcm47xx/time.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include "bcm47xx_private.h" #include <linux/gpio.h> #include <bcm47xx_board.h> #include <bcm47xx.h> static void __init bcm47xx_workarounds_enable_usb_power(int usb_power) { int err; err = gpio_request_one(usb_power, GPIOF_OUT_INIT_HIGH, "usb_power"); if (err) pr_err("Failed ...
arch/mips/bcm47xx/workarounds.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 Maxime Bizon <mbizon@freebox.fr> */ #include <linux/init.h> #include <linux/export.h> #include <linux/mutex.h> #inclu...
arch/mips/bcm63xx/clk.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 Maxime Bizon <mbizon@freebox.fr> * Copyright (C) 2009 Florian Fainelli <florian@openwrt.org> */ #include <linux/kern...
arch/mips/bcm63xx/cpu.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 Maxime Bizon <mbizon@freebox.fr> */ #include <linux/kernel.h> #include <linux/errno.h> #include <linux/export.h> #inc...
arch/mips/bcm63xx/cs.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 Maxime Bizon <mbizon@freebox.fr> */ #include <linux/init.h> #include <linux/kernel.h> #include <linux/platform_device...
arch/mips/bcm63xx/dev-enet.c
null
null
null
null
null
source
linux
/* * Broadcom BCM63xx flash registration * * 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 Maxime Bizon <mbizon@freebox.fr> * Copyright (C) 2008 Florian Fainelli <flor...
arch/mips/bcm63xx/dev-flash.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 Jonas Gorski <jonas.gorski@gmail.com> */ #include <linux/init.h> #include <linux/kernel.h> #include <linux/platform_d...
arch/mips/bcm63xx/dev-hsspi.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 Maxime Bizon <mbizon@freebox.fr> */ #include <linux/init.h> #include <linux/kernel.h> #include <asm/bootinfo.h> #incl...
arch/mips/bcm63xx/dev-pcmcia.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 Florian Fainelli <florian@openwrt.org> */ #include <linux/init.h> #include <linux/kernel.h> #include <linux/platform_...
arch/mips/bcm63xx/dev-rng.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) 2009-2011 Florian Fainelli <florian@openwrt.org> * Copyright (C) 2010 Tanguy Bouzeloc <tanguy.bouzeloc@efixo.com> */ #inc...
arch/mips/bcm63xx/dev-spi.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 Maxime Bizon <mbizon@freebox.fr> */ #include <linux/init.h> #include <linux/kernel.h> #include <linux/platform_device...
arch/mips/bcm63xx/dev-uart.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 Maxime Bizon <mbizon@freebox.fr> * Copyright (C) 2012 Kevin Cernekee <cernekee@gmail.com> * Copyright (C) 2012 Broadc...
arch/mips/bcm63xx/dev-usb-usbd.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 Florian Fainelli <florian@openwrt.org> */ #include <linux/init.h> #include <linux/kernel.h> #include <linux/platform_...
arch/mips/bcm63xx/dev-wdt.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 Maxime Bizon <mbizon@freebox.fr> */ #include <bcm63xx_io.h> #include <linux/serial_bcm63xx.h> #include <asm/setup.h> ...
arch/mips/bcm63xx/early_printk.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 Maxime Bizon <mbizon@freebox.fr> * Copyright (C) 2008-2011 Florian Fainelli <florian@openwrt.org> */ #include <linux...
arch/mips/bcm63xx/gpio.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 Maxime Bizon <mbizon@freebox.fr> * Copyright (C) 2008 Nicolas Schichan <nschichan@freebox.fr> */ #include <linux/ker...
arch/mips/bcm63xx/irq.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 Maxime Bizon <mbizon@freebox.fr> * Copyright (C) 2008 Florian Fainelli <florian@openwrt.org> * Copyright (C) 2012 Jon...
arch/mips/bcm63xx/nvram.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 Maxime Bizon <mbizon@freebox.fr> */ #include <linux/init.h> #include <linux/memblock.h> #include <linux/smp.h> #inclu...
arch/mips/bcm63xx/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) 2012 Jonas Gorski <jonas.gorski@gmail.com> */ #include <linux/init.h> #include <linux/export.h> #include <linux/mutex.h> #...
arch/mips/bcm63xx/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) 2008 Maxime Bizon <mbizon@freebox.fr> */ #include <linux/init.h> #include <linux/kernel.h> #include <linux/delay.h> #inclu...
arch/mips/bcm63xx/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) 2008 Maxime Bizon <mbizon@freebox.fr> */ #include <linux/kernel.h> #include <linux/err.h> #include <linux/init.h> #include...
arch/mips/bcm63xx/timer.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2008 Maxime Bizon <mbizon@freebox.fr> * Copyright (C) 2008 Florian Fainelli <florian@openwrt.org> */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/init.h> #include <linux/kernel.h> #include <linux/string.h> #include <linux/platform_device.h>...
arch/mips/bcm63xx/boards/board_bcm963xx.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0+ #include <linux/types.h> #include <linux/dma-map-ops.h> #include <asm/bmips.h> #include <asm/io.h> bool bmips_rac_flush_disable; void arch_sync_dma_for_cpu_all(void) { void __iomem *cbr = bmips_cbr_addr; u32 cfg; if (boot_cpu_type() != CPU_BMIPS3300 && boot_cpu_type() !=...
arch/mips/bmips/dma.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * * Copyright (C) 2014 Broadcom Corporation * Author: Kevin Cernekee <cernekee@gmail.com> */ #include <linux/of.h> #include <linux/irqchip.h> #include <asm/bmips.h> #include <asm/irq.h> #include <asm/irq_cpu.h> #include <asm/time.h> static const struct of_device_id smp...
arch/mips/bmips/irq.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 Maxime Bizon <mbizon@freebox.fr> * Copyright (C) 2014 Kevin Cernekee <cernekee@gmail.com> */ #include <linux/init.h>...
arch/mips/bmips/setup.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Some ECOFF definitions. */ #include <stdint.h> typedef struct filehdr { uint16_t f_magic; /* magic number */ uint16_t f_nscns; /* number of sections */ int32_t f_timdat; /* time & date stamp */ int32_t f_symptr; /* file pointer to symbolic header */ int32_t f_nsym...
arch/mips/boot/ecoff.h
null
null
null
null
null
source
linux
/* * Copyright (c) 1995 * Ted Lemon (hereinafter referred to as the author) * * are met: * notice, this list of conditions and the following disclaimer. * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The ...
arch/mips/boot/elf2ecoff.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2010 "Wu Zhangjin" <wuzhangjin@gmail.com> */ #include <sys/types.h> #include <sys/stat.h> #include <errno.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <linux/sizes.h> int main(int argc, char *argv[]) { unsigned long long vmli...
arch/mips/boot/compressed/calc_vmlinuz_load_addr.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * MIPS-specific debug support for pre-boot environment * * NOTE: putc() is board specific, if your board have a 16550 compatible uart, * please select SYS_SUPPORTS_ZBOOT_UART16550 for your machine. otherwise, you * need to implement your own putc(). */ #include <linux/compil...
arch/mips/boot/compressed/dbg.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2001 MontaVista Software Inc. * Author: Matt Porter <mporter@mvista.com> * * Copyright (C) 2009 Lemote, Inc. * Author: Wu Zhangjin <wuzhangjin@gmail.com> */ #define DISABLE_BRANCH_PROFILING #define __NO_FORTIFY #include <linux/types.h> #include <linux/...
arch/mips/boot/compressed/decompress.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #ifndef _DECOMPRESSOR_H #define _DECOMPRESSOR_H /* The linker tells us where the image is. */ extern unsigned char __image_begin[], __image_end[]; /* debug interfaces */ #ifdef CONFIG_DEBUG_ZBOOT extern void putc(char c); extern void puts(const char *s); extern void puthex(unsigne...
arch/mips/boot/compressed/decompress.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 Electronics * Written by Ralf Baechle and Andreas Busse * Copyright (C) 1995 - 1999 Ralf Baechle * Cop...
arch/mips/boot/compressed/head.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * arch/mips/boot/compressed/string.c * * Very small subset of simple string routines */ #include <linux/compiler_attributes.h> #include <linux/types.h> #include <asm/string.h> void *memcpy(void *dest, const void *src, size_t n) { int i; const char *s = src; char *d = dest...
arch/mips/boot/compressed/string.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * 16550 compatible uart based serial debug support for zboot */ #include <linux/types.h> #include <linux/serial_reg.h> #include <asm/addrspace.h> #include "decompress.h" #if defined(CONFIG_MACH_LOONGSON64) || defined(CONFIG_MIPS_MALTA) #define UART_BASE 0x1fd003f8 #define PO...
arch/mips/boot/compressed/uart-16550.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <asm/mach-au1x00/au1000.h> #include "decompress.h" void putc(char c) { alchemy_uart_putchar(AU1000_UART0_PHYS_ADDR, c); }
arch/mips/boot/compressed/uart-alchemy.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <asm/setup.h> #include "decompress.h" void putc(char c) { prom_putchar(c); }
arch/mips/boot/compressed/uart-prom.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* This is included from relocs_32/64.c */ #define ElfW(type) _ElfW(ELF_BITS, type) #define _ElfW(bits, type) __ElfW(bits, type) #define __ElfW(bits, type) Elf##bits##_##type #define Elf_Addr ElfW(Addr) #define Elf_Ehdr ElfW(Ehdr) #define Elf_Phdr ElfW(Phdr) #define Elf_Shdr E...
arch/mips/boot/tools/relocs.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef RELOCS_H #define RELOCS_H #include <stdio.h> #include <stdarg.h> #include <stdlib.h> #include <stdint.h> #include <inttypes.h> #include <string.h> #include <errno.h> #include <unistd.h> #include <elf.h> #include <byteswap.h> #define USE_BSD #include <endian.h> #include <r...
arch/mips/boot/tools/relocs.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include "relocs.h" #define ELF_BITS 32 #define ELF_MACHINE EM_MIPS #define ELF_MACHINE_NAME "MIPS" #define SHT_REL_TYPE SHT_REL #define Elf_Rel ElfW(Rel) #define ELF_CLASS ELFCLASS32 #define ELF_R_SYM(val) ELF32_R_SYM(val) #define ELF_R_TYPE(val) ELF32_R_TYPE(val) #define ...
arch/mips/boot/tools/relocs_32.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include "relocs.h" #define ELF_BITS 64 #define ELF_MACHINE EM_MIPS #define ELF_MACHINE_NAME "MIPS64" #define SHT_REL_TYPE SHT_RELA #define Elf_Rel Elf64_Rela typedef uint8_t Elf64_Byte; typedef union { struct { Elf64_Word r_sym; /...
arch/mips/boot/tools/relocs_64.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <stdio.h> #include <stdint.h> #include <stdarg.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <endian.h> #include <elf.h> #include "relocs.h" void die(char *fmt, ...) { va_list ap; va_start(ap, fmt); vfprintf(stderr, fmt, ap); va_end(ap); exi...
arch/mips/boot/tools/relocs_main.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) 2009 Wind River Systems, * written by Ralf Baechle <ralf@linux-mips.org> */ #include <linux/init.h> #include <linux/irqf...
arch/mips/cavium-octeon/cpu.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) 2007 by Ralf Baechle * Copyright (C) 2009, 2012 Cavium, Inc. */ #include <linux/clocksource.h> #include <linux/sched/clock...
arch/mips/cavium-octeon/csrc-octeon.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) 2000 Ani Joshi <ajoshi@unixbox.com> * Copyright (C) 2000, 2001 Ralf Baechle <ralf@gnu.org> * Copyright (C) 2005 Ilya A. ...
arch/mips/cavium-octeon/dma-octeon.c
null
null
null
null
null
source
linux
/* * Octeon Bootbus flash setup * * 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) 2007, 2008 Cavium Networks */ #include <linux/kernel.h> #include <linux/module.h> #inclu...
arch/mips/cavium-octeon/flash_setup.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only #include <linux/fs.h> #include <linux/interrupt.h> #include <asm/octeon/octeon.h> #include <asm/octeon/cvmx-ciu-defs.h> #include <asm/octeon/cvmx.h> #include <linux/debugfs.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/seq_file.h> #define TIMER_NUM 3 s...
arch/mips/cavium-octeon/oct_ilm.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-2012 Cavium Networks */ #include <asm/cop2.h> #include <asm/octeon/crypto.h> #include <linux/export.h> #include <linux...
arch/mips/cavium-octeon/octeon-crypto.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-2016 Cavium, Inc. */ #include <linux/of_address.h> #include <linux/interrupt.h> #include <linux/irqdomain.h> #include...
arch/mips/cavium-octeon/octeon-irq.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. * * Unified implementation of memcpy, memmove and the __copy_user backend. * * Copyright (C) 1998, 99, 2000, 01, 2002 Ralf Baechle (ralf@gnu...
arch/mips/cavium-octeon/octeon-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) 2004-2017 Cavium, Inc. * Copyright (C) 2008 Wind River Systems */ #include <linux/etherdevice.h> #include <linux/of.h> #i...
arch/mips/cavium-octeon/octeon-platform.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) Copyright 2004, 2005 Cavium Networks */ #ifndef __OCTEON_BOOT_H__ #define __OCTEON_BOOT_H__ #include <linux/types.h> struct boot_init_vector { /* First stage address - in ram instead of flash */ uint64_t code_addr; /* Setup code for application, NOT appli...
arch/mips/cavium-octeon/octeon_boot.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-2007 Cavium Networks * Copyright (C) 2008, 2009 Wind River Systems * written by Ralf Baechle <ralf@linux-mips.org> ...
arch/mips/cavium-octeon/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) 2004-2008, 2009, 2010 Cavium Networks */ #include <linux/cpu.h> #include <linux/delay.h> #include <linux/smp.h> #include <l...
arch/mips/cavium-octeon/smp.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-2017 Cavium, Inc. */ /* We install this program at the bootvector: ------------------------------------ .set nore...
arch/mips/cavium-octeon/executive/cvmx-boot-vector.c
null
null
null
null
null
source
linux
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * * Copyright (c) 2003-2008 Cavium Networks * * This file is free software; you can redistribute it and/or modify * published by the Free Software Foundation. * * This file is distributed in ...
arch/mips/cavium-octeon/executive/cvmx-bootmem.c
null
null
null
null
null
source
linux
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * * Copyright (c) 2003-2008 Cavium Networks * * This file is free software; you can redistribute it and/or modify * published by the Free Software Foundation. * * This file is distributed in ...
arch/mips/cavium-octeon/executive/cvmx-cmd-queue.c
null
null
null
null
null
source
linux
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * * Copyright (c) 2003-2008 Cavium Networks * * This file is free software; you can redistribute it and/or modify * published by the Free Software Foundation. * * This file is distributed in ...
arch/mips/cavium-octeon/executive/cvmx-helper-board.c
null
null
null
null
null
source
linux
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * * Copyright (c) 2003-2008 Cavium Networks * * This file is free software; you can redistribute it and/or modify * published by the Free Software Foundation. * * This file is distributed in ...
arch/mips/cavium-octeon/executive/cvmx-helper-errata.c
null
null
null
null
null
source
linux
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * * Copyright (c) 2003-2008 Cavium Networks * * This file is free software; you can redistribute it and/or modify * published by the Free Software Foundation. * * This file is distributed in ...
arch/mips/cavium-octeon/executive/cvmx-helper-jtag.c
null
null
null
null
null
source
linux
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * * Copyright (c) 2003-2008 Cavium Networks * * This file is free software; you can redistribute it and/or modify * published by the Free Software Foundation. * * This file is distributed in ...
arch/mips/cavium-octeon/executive/cvmx-helper-loop.c
null
null
null
null
null
source
linux
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * * Copyright (c) 2003-2008 Cavium Networks * * This file is free software; you can redistribute it and/or modify * published by the Free Software Foundation. * * This file is distributed in ...
arch/mips/cavium-octeon/executive/cvmx-helper-npi.c
null
null
null
null
null
source
linux
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * * Copyright (C) 2003-2018 Cavium, Inc. * * This file is free software; you can redistribute it and/or modify * published by the Free Software Foundation. * * This file is distributed in the...
arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c
null
null
null
null
null
source
linux
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * * Copyright (C) 2003-2018 Cavium, Inc. * * This file is free software; you can redistribute it and/or modify * published by the Free Software Foundation. * * This file is distributed in the...
arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c
null
null
null
null
null
source
linux
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * * Copyright (C) 2003-2018 Cavium, Inc. * * This file is free software; you can redistribute it and/or modify * published by the Free Software Foundation. * * This file is distributed in the...
arch/mips/cavium-octeon/executive/cvmx-helper-spi.c
null
null
null
null
null
source
linux
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * * Copyright (c) 2003-2008 Cavium Networks * * This file is free software; you can redistribute it and/or modify * published by the Free Software Foundation. * * This file is distributed in ...
arch/mips/cavium-octeon/executive/cvmx-helper-util.c
null
null
null
null
null
source
linux
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * * Copyright (C) 2003-2018 Cavium, Inc. * * This file is free software; you can redistribute it and/or modify * published by the Free Software Foundation. * * This file is distributed in the...
arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c
null
null
null
null
null
source
linux
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * * Copyright (c) 2003-2008 Cavium Networks * * This file is free software; you can redistribute it and/or modify * published by the Free Software Foundation. * * This file is distributed in ...
arch/mips/cavium-octeon/executive/cvmx-helper.c
null
null
null
null
null
source
linux
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * * Copyright (c) 2003-2009 Cavium Networks * * This file is free software; you can redistribute it and/or modify * published by the Free Software Foundation. * * This file is distributed in ...
arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c
null
null
null
null
null
source
linux
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * * Copyright (c) 2003-2008 Cavium Networks * * This file is free software; you can redistribute it and/or modify * published by the Free Software Foundation. * * This file is distributed in ...
arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c
null
null
null
null
null
source
linux
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * * Copyright (c) 2003-2017 Cavium, Inc. * * This file is free software; you can redistribute it and/or modify * published by the Free Software Foundation. * * This file is distributed in the...
arch/mips/cavium-octeon/executive/cvmx-l2c.c
null
null
null
null
null
source
linux
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * * Copyright (c) 2003-2008 Cavium Networks * * This file is free software; you can redistribute it and/or modify * published by the Free Software Foundation. * * This file is distributed in ...
arch/mips/cavium-octeon/executive/cvmx-pko.c
null
null
null
null
null
source
linux
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * * Copyright (c) 2003-2008 Cavium Networks * * This file is free software; you can redistribute it and/or modify * published by the Free Software Foundation. * * This file is distributed in ...
arch/mips/cavium-octeon/executive/cvmx-spi.c
null
null
null
null
null
source
linux
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * * Copyright (c) 2003-2008 Cavium Networks * * This file is free software; you can redistribute it and/or modify * published by the Free Software Foundation. * * This file is distributed in ...
arch/mips/cavium-octeon/executive/cvmx-sysinfo.c
null
null
null
null
null
source
linux
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * * Copyright (c) 2003-2017 Cavium, Inc. * * This file is free software; you can redistribute it and/or modify * published by the Free Software Foundation. * * This file is distributed in the...
arch/mips/cavium-octeon/executive/octeon-model.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Cobalt buttons platform device. * * Copyright (C) 2007 Yoichi Yuasa <yuasa@linux-mips.org> */ #include <linux/platform_device.h> #include <linux/errno.h> #include <linux/init.h> static struct resource cobalt_buttons_resource __initdata = { .start = 0x1d000000,...
arch/mips/cobalt/buttons.c
null
null
null
null
null
source
linux
/* * IRQ vector handles * * 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, 2003 by Ralf Baechle */ #include <linux/kernel.h> #include <linux/init.h> #inclu...
arch/mips/cobalt/irq.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Registration of Cobalt LCD platform device. * * Copyright (C) 2008 Yoichi Yuasa <yuasa@linux-mips.org> */ #include <linux/errno.h> #include <linux/init.h> #include <linux/ioport.h> #include <linux/platform_device.h> static struct resource cobalt_lcd_resource __i...
arch/mips/cobalt/lcd.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Registration of Cobalt LED platform device. * * Copyright (C) 2007 Yoichi Yuasa <yuasa@linux-mips.org> */ #include <linux/errno.h> #include <linux/init.h> #include <linux/ioport.h> #include <linux/platform_device.h> #include <cobalt.h> static struct resource cob...
arch/mips/cobalt/led.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Registration of Cobalt MTD device. * * Copyright (C) 2006 Yoichi Yuasa <yuasa@linux-mips.org> */ #include <linux/init.h> #include <linux/platform_device.h> #include <linux/mtd/partitions.h> #include <linux/mtd/physmap.h> static struct mtd_partition cobalt_mtd_pa...
arch/mips/cobalt/mtd.c
null
null
null
null
null
source
linux
/* * Register PCI controller. * * 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, 2004, 05 by Ralf Baechle (ralf@linux-mips.org) * Copyright (C) 2001, 2002, 2003 ...
arch/mips/cobalt/pci.c
null
null
null
null
null
source
linux
/* * Cobalt Reset operations * * 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 by Ralf Baechle * Copyright (C) 2001 by Liam Davies (ldavies@agile.tv) */ #...
arch/mips/cobalt/reset.c
null
null
null
null
null