data_type
large_stringclasses
3 values
source
large_stringclasses
29 values
code
large_stringlengths
98
49.4M
filepath
large_stringlengths
5
161
message
large_stringclasses
234 values
commit
large_stringclasses
234 values
subject
large_stringclasses
418 values
critique
large_stringlengths
101
1.26M
metadata
dict
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _M68K_DMA_H #define _M68K_DMA_H 1 /* it's useless on the m68k, but unfortunately needed by the new bootmem allocator (but this should do it for this) */ #define MAX_DMA_ADDRESS PAGE_OFFSET #endif /* _M68K_DMA_H */
arch/m68k/include/asm/dma.h
null
null
null
null
null
source
linux
/* * linux/include/asm-m68k/dsp56k.h - defines and declarations for * DSP56k device driver * * Copyright (C) 1996,1997 Fredrik Noring, lars brinkhoff & Tomas Berndtsson * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYIN...
arch/m68k/include/asm/dsp56k.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * include/asm-m68k/dma.h * * Copyright 1995 (C) David S. Miller (davem@caip.rutgers.edu) * * Hacked to fit Sun3x needs by Thomas Bogendoerfer */ #ifndef __M68K_DVMA_H #define __M68K_DVMA_H #define DVMA_PAGE_SHIFT 13 #define DVMA_PAGE_SIZE (1UL << DVMA_PAGE_SHIFT) #defi...
arch/m68k/include/asm/dvma.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASMm68k_ELF_H #define __ASMm68k_ELF_H /* * ELF register definitions.. */ #include <asm/ptrace.h> #include <asm/user.h> /* * 68k ELF relocation types */ #define R_68K_NONE 0 #define R_68K_32 1 #define R_68K_16 2 #define R_68K_8 3 #define R_68K_PC32 4 #define R_68K...
arch/m68k/include/asm/elf.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __M68K_ENTRY_H #define __M68K_ENTRY_H #include <asm/setup.h> #include <asm/page.h> #ifdef __ASSEMBLER__ #include <asm/thread_info.h> #endif /* * Stack layout in 'ret_from_exception': * * This allows access to the syscall arguments in registers d1-d5 * * 0(sp) - d1 ...
arch/m68k/include/asm/entry.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_FBIO_H #define __LINUX_FBIO_H #include <linux/compiler.h> #include <linux/types.h> /* Constants used for fbio SunOS compatibility */ /* (C) 1996 Miguel de Icaza */ /* Frame buffer types */ #define FBTYPE_NOTYPE -1 #define FBTYPE_SUN1BW 0 /*...
arch/m68k/include/asm/fbio.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * flat.h -- uClinux flat-format executables */ #ifndef __M68KNOMMU_FLAT_H__ #define __M68KNOMMU_FLAT_H__ #include <asm-generic/flat.h> #define FLAT_PLAT_INIT(regs) \ do { \ if (current->mm) \ (regs)->d5 = current->mm->start_data; \ } while (0) #endif /* __M68KNOMMU...
arch/m68k/include/asm/flat.h
null
null
null
null
null
source
linux
/* * Implementation independent bits of the Floppy driver. * * much of this file is derived from what was originally the Q40 floppy driver. * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. ...
arch/m68k/include/asm/floppy.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __M68K_FPU_H #define __M68K_FPU_H /* * MAX floating point unit state size (FSAVE/FRESTORE) */ #if defined(CONFIG_M68020) || defined(CONFIG_M68030) #define FPSTATESIZE (216) #elif defined(CONFIG_M68040) #define FPSTATESIZE (96) #elif defined(CONFIG_M68KFPU_EMU) #define...
arch/m68k/include/asm/fpu.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_HASH_H #define _ASM_HASH_H /* * If CONFIG_M68000=y (original mc68000/010), this file is #included * to work around the lack of a MULU.L instruction. */ #define HAVE_ARCH__HASH_32 1 /* * While it would be legal to substitute a different hash operation * entirely...
arch/m68k/include/asm/hash.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _M68K_HP300HW_H #define _M68K_HP300HW_H #include <asm/bootinfo-hp300.h> extern unsigned long hp300_model; #endif /* _M68K_HP300HW_H */
arch/m68k/include/asm/hp300hw.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* Routines to test for presence/absence of hardware registers: * see arch/m68k/mm/hwtest.c. * -- PMM <pmaydell@chiark.greenend.org.uk> 05/1998 * * Removed __init from decls. We might want them in modules, and * the code is tiny anyway. 16/5/98 pb */ #ifndef __ASM_HWTEST...
arch/m68k/include/asm/hwtest.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _M68K_IDPROM_H #define _M68K_IDPROM_H /* * idprom.h: Macros and defines for idprom routines * * Copyright (C) 1995,1996 David S. Miller (davem@caip.rutgers.edu) */ #include <linux/types.h> struct idprom { u8 id_format; /* Format identifier (always 0x01) */ u8 id_...
arch/m68k/include/asm/idprom.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SUN3_INTERSIL_H #define _SUN3_INTERSIL_H /* bits 0 and 1 */ #define INTERSIL_FREQ_32K 0x00 #define INTERSIL_FREQ_1M 0x01 #define INTERSIL_FREQ_2M 0x02 #define INTERSIL_FREQ_4M 0x03 /* bit 2 */ #define INTERSIL_12H_MODE 0x00 #define INTERS...
arch/m68k/include/asm/intersil.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _M68K_IO_H #define _M68K_IO_H #if defined(__uClinux__) || defined(CONFIG_COLDFIRE) #include <asm/io_no.h> #else #include <asm/io_mm.h> #endif #define gf_ioread32 ioread32be #define gf_iowrite32 iowrite32be #include <asm-generic/io.h> #endif /* _M68K_IO_H */
arch/m68k/include/asm/io.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * linux/include/asm-m68k/io.h * * 4/1/00 RZ: - rewritten to avoid clashes between ISA/PCI and other * IO access * - added Q40 support * - added skeleton for GG-II and Amiga PCMCIA * 2/3/01 RZ: - moved a few more defs into raw_io.h * *...
arch/m68k/include/asm/io_mm.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _M68KNOMMU_IO_H #define _M68KNOMMU_IO_H /* * Convert a physical memory address into a IO memory address. * For us this is trivially a type cast. */ #define iomem(a) ((void __iomem *) (a)) /* * The non-MMU m68k and ColdFire IO and memory mapped hardware access * func...
arch/m68k/include/asm/io_no.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _M68K_IRQ_H_ #define _M68K_IRQ_H_ #include <linux/atomic.h> #include <linux/linkage.h> /* * This should be the same as the max(NUM_X_SOURCES) for all the * different m68k hosts compiled into the kernel. * Currently the Atari has 72 and the Amiga 24, but if both are *...
arch/m68k/include/asm/irq.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _M68K_IRQFLAGS_H #define _M68K_IRQFLAGS_H #include <linux/types.h> #include <linux/preempt.h> #include <asm/thread_info.h> #include <asm/entry.h> static inline unsigned long arch_local_save_flags(void) { unsigned long flags; asm volatile ("movew %%sr,%0" : "=d" (flags)...
arch/m68k/include/asm/irqflags.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_M68K_KEXEC_H #define _ASM_M68K_KEXEC_H #ifdef CONFIG_KEXEC_CORE /* Maximum physical address we can use pages from */ #define KEXEC_SOURCE_MEMORY_LIMIT (-1UL) /* Maximum address we can reach in physical address mode */ #define KEXEC_DESTINATION_MEMORY_LIMIT (-1UL) /*...
arch/m68k/include/asm/kexec.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _KMAP_H #define _KMAP_H #ifdef CONFIG_MMU /* Values for nocacheflag and cmode */ #define IOMAP_FULL_CACHING 0 #define IOMAP_NOCACHE_SER 1 #define IOMAP_NOCACHE_NONSER 2 #define IOMAP_WRITETHROUGH 3 /* * These functions exported by arch/m68k/mm/kmap.c. * Only neede...
arch/m68k/include/asm/kmap.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_M68K_LIBGCC_H #define __ASM_M68K_LIBGCC_H #ifndef CONFIG_CPU_HAS_NO_MULDIV64 /* * For those 68K CPUs that support 64bit multiply define umul_ppm() * for the common muldi3 libgcc helper function (in lib/muldi3.c). * CPUs that don't have it (like the original 68000...
arch/m68k/include/asm/libgcc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_LINKAGE_H #define __ASM_LINKAGE_H #define __ALIGN .align 4 #define __ALIGN_STR ".align 4" /* * Make sure the compiler doesn't do anything stupid with the * arguments on the stack - they are owned by the *caller*, not * the callee. This just fools gcc into not sp...
arch/m68k/include/asm/linkage.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * m5206sim.h -- ColdFire 5206 System Integration Module support. * * (C) Copyright 1999, Greg Ungerer (gerg@snapgear.com) * (C) Copyright 2000, Lineo Inc. (www.lineo.com) */ /***************...
arch/m68k/include/asm/m5206sim.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * m520xsim.h -- ColdFire 5207/5208 System Integration Module support. * * (C) Copyright 2005, Intec Automation (mike@steroidmicros.com) */ /***************************************************...
arch/m68k/include/asm/m520xsim.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * m523xsim.h -- ColdFire 523x System Integration Module support. * * (C) Copyright 2003-2005, Greg Ungerer <gerg@snapgear.com> */ /**************************************************************...
arch/m68k/include/asm/m523xsim.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * m525xsim.h -- ColdFire 525x System Integration Module support. * * (C) Copyright 2012, Steven king <sfking@fdwdc.com> * (C) Copyright 2002, Greg Ungerer (gerg@snapgear.com) */ /*************...
arch/m68k/include/asm/m525xsim.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * m5272sim.h -- ColdFire 5272 System Integration Module support. * * (C) Copyright 1999, Greg Ungerer (gerg@snapgear.com) * (C) Copyright 2000, Lineo Inc. (www.lineo.com) */ /***************...
arch/m68k/include/asm/m5272sim.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * m527xsim.h -- ColdFire 5270/5271 System Integration Module support. * * (C) Copyright 2004, Greg Ungerer (gerg@snapgear.com) */ /**************************************************************...
arch/m68k/include/asm/m527xsim.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * m528xsim.h -- ColdFire 5280/5282 System Integration Module support. * * (C) Copyright 2003, Greg Ungerer (gerg@snapgear.com) */ /**************************************************************...
arch/m68k/include/asm/m528xsim.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * m52xxacr.h -- ColdFire version 2 core cache support * * (C) Copyright 2010, Greg Ungerer <gerg@snapgear.com> */ /****************************************************************************/ ...
arch/m68k/include/asm/m52xxacr.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * m5307sim.h -- ColdFire 5307 System Integration Module support. * * (C) Copyright 1999, Moreton Bay Ventures Pty Ltd. * (C) Copyright 1999, Lineo (www.lineo.com) * * Modified by David ...
arch/m68k/include/asm/m5307sim.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * m53xxacr.h -- ColdFire version 3 core cache support * * (C) Copyright 2010, Greg Ungerer <gerg@snapgear.com> */ /****************************************************************************/ ...
arch/m68k/include/asm/m53xxacr.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * m53xxsim.h -- ColdFire 5329 registers */ /****************************************************************************/ #ifndef m53xxsim_h #define m53xxsim_h /**********************************...
arch/m68k/include/asm/m53xxsim.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * m5407sim.h -- ColdFire 5407 System Integration Module support. * * (C) Copyright 2000, Lineo (www.lineo.com) * (C) Copyright 1999, Moreton Bay Ventures Pty Ltd. * * Modified by David ...
arch/m68k/include/asm/m5407sim.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * m5441xsim.h -- Coldfire 5441x register definitions * * (C) Copyright 2012, Steven King <sfking@fdwdc.com> */ #ifndef m5441xsim_h #define m5441xsim_h #define CPU_NAME "COLDFIRE(m5441x)" #define CPU_INSTR_PER_JIFFY 2 #define MCF_BUSCLK (MCF_CLK / 2) #define MACHINE MAC...
arch/m68k/include/asm/m5441xsim.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Bit definitions for the MCF54xx ACR and CACR registers. */ #ifndef m54xxacr_h #define m54xxacr_h /* * Define the Cache register flags. */ #define CACR_DEC 0x80000000 /* Enable data cache */ #define CACR_DWP 0x40000000 /* Data write protection */ #define CACR_DESB 0x2000...
arch/m68k/include/asm/m54xxacr.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * File: m54xxgpt.h * Purpose: Register and bit definitions for the MCF54XX * * Notes: * */ #ifndef m54xxgpt_h #define m54xxgpt_h /********************************************************************* * * General Purpose Timers (GPT) * ***********************************...
arch/m68k/include/asm/m54xxgpt.h
null
null
null
null
null
source
linux
/****************************************************************************/ /* * m54xxpci.h -- ColdFire 547x and 548x PCI bus support * * (C) Copyright 2011, Greg Ungerer <gerg@uclinux.org> * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the ...
arch/m68k/include/asm/m54xxpci.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * m54xxsim.h -- ColdFire 547x/548x System Integration Unit support. */ #ifndef m54xxsim_h #define m54xxsim_h #define CPU_NAME "COLDFIRE(m54xx)" #define CPU_INSTR_PER_JIFFY 2 #define MCF_BUSCLK (MCF_CLK / 2) #define MACHINE MACH_M54XX #define FPUTYPE FPU_COLDFIRE #defi...
arch/m68k/include/asm/m54xxsim.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Apple Sound Chip */ #ifndef __ASM_MAC_ASC_H #define __ASM_MAC_ASC_H /* * ASC offsets and controls */ #define ASC_BUF_BASE 0x00 /* RAM buffer offset */ #define ASC_BUF_SIZE 0x800 #define ASC_CONTROL 0x800 #define ASC_CONTROL_OFF 0x00 #define ASC_FREQ(chan,byte) ((0x81...
arch/m68k/include/asm/mac_asc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Definitions for the "Baboon" custom IC on the PowerBook 190. */ #define BABOON_BASE (0x50F1A000) /* same as IDE controller base */ #ifndef __ASSEMBLER__ struct baboon { char pad1[208]; /* generic IDE registers, not used here */ short mb_control; /* Control register: ...
arch/m68k/include/asm/mac_baboon.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * I/O Processor (IOP) defines and structures, mostly snagged from A/UX * header files. * * The original header from which this was taken is copyrighted. I've done some * rewriting (in fact my changes make this a bit more readable, IMHO) but some * more should be done. */...
arch/m68k/include/asm/mac_iop.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * OSS * * This is used in place of VIA2 on the IIfx. */ #define OSS_BASE (0x50f1a000) /* * Interrupt level offsets for mac_oss->irq_level */ #define OSS_NUBUS0 0 #define OSS_NUBUS1 1 #define OSS_NUBUS2 2 #define OSS_NUBUS3 3 #define OSS_NUBUS4 4 #define OSS_NUBUS5 5 #d...
arch/m68k/include/asm/mac_oss.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Apple Peripheral System Controller (PSC) * * The PSC is used on the AV Macs to control IO functions not handled * by the VIAs (Ethernet, DSP, SCC, Sound). This includes nine DMA * channels. * * The first seven DMA channels appear to be "one-shot" and are actually * se...
arch/m68k/include/asm/mac_psc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * 6522 Versatile Interface Adapter (VIA) * * There are two of these on the Mac II. Some IRQ's are vectored * via them as are assorted bits and bobs - eg rtc, adb. The picture * is a bit incomplete as the Mac documentation doesn't cover this well */ #ifndef _ASM_MAC_VIA_H...
arch/m68k/include/asm/mac_via.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _M68K_MACHDEP_H #define _M68K_MACHDEP_H #include <linux/seq_file.h> #include <linux/interrupt.h> #include <linux/time.h> struct pt_regs; struct mktime; struct rtc_time; struct rtc_pll_info; struct buffer_head; extern void (*mach_sched_init) (void); /* machine dependent ...
arch/m68k/include/asm/machdep.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * machines.h: Defines for taking apart the machine type value in the * idprom and determining the kind of machine we are on. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) * Sun3/3x models added by David Monro (davidm@psrg.cs.usyd.edu.au) */...
arch/m68k/include/asm/machines.h
null
null
null
null
null
source
linux
/* ** linux/machw.h -- This header defines some macros and pointers for ** the various Macintosh custom hardware registers. ** ** Copyright 1997 by Michael Schmitz ** ** This file is subject to the terms and conditions of the GNU General Public ** License. See the file COPYING in the main directory ...
arch/m68k/include/asm/machw.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_MACINTOSH_H #define __ASM_MACINTOSH_H #include <linux/seq_file.h> #include <linux/interrupt.h> #include <linux/irq.h> #include <asm/bootinfo-mac.h> /* * Apple Macintoshisms */ extern void mac_reset(void); extern void mac_poweroff(void); extern void mac_init_IR...
arch/m68k/include/asm/macintosh.h
null
null
null
null
null
source
linux
/* ** macints.h -- Macintosh Linux interrupt handling structs and prototypes ** ** Copyright 1997 by Michael Schmitz ** ** 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_MACINTS_H...
arch/m68k/include/asm/macints.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_M68K_SETUP_H #define _ASM_M68K_SETUP_H #include <asm/setup.h> #include <linux/linkage.h> /* Status Register bits */ /* accrued exception bits */ #define FPSR_AEXC_INEX 3 #define FPSR_AEXC_DZ 4 #define FPSR_AEXC_UNFL 5 #define FPSR_AEXC_OVFL 6 #define FPSR_AEXC_IOP ...
arch/m68k/include/asm/math-emu.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Machine dependent access functions for RTC registers. */ #ifndef _ASM_MC146818RTC_H #define _ASM_MC146818RTC_H #ifdef CONFIG_ATARI /* RTC in Atari machines */ #include <asm/atarihw.h> #define ATARI_RTC_PORT(x) (TT_RTC_BAS + 2*(x)) #define RTC_ALWAYS_BCD 0 #define CMOS_...
arch/m68k/include/asm/mc146818rtc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * mcf8390.h -- NS8390 support for ColdFire eval boards. * * (C) Copyright 1999-2000, Greg Ungerer (gerg@snapgear.com) * (C) Copyright 2000, Lineo (www.lineo.com) * (C) Copyright 2001, ...
arch/m68k/include/asm/mcf8390.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef M68K_MCF_PGALLOC_H #define M68K_MCF_PGALLOC_H #include <asm/tlb.h> #include <asm/tlbflush.h> static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) { pagetable_dtor_free(virt_to_ptdesc(pte)); } extern const char bad_pmd_string[]; static inline pte_t *pte...
arch/m68k/include/asm/mcf_pgalloc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _MCF_PGTABLE_H #define _MCF_PGTABLE_H #include <asm/mcfmmu.h> #include <asm/page.h> /* * MMUDR bits, in proper place. We write these directly into the MMUDR * after masking from the pte. */ #define CF_PAGE_LOCKED MMUDR_LK /* 0x00000002 */ #define CF_PAGE_EXEC MMUDR_...
arch/m68k/include/asm/mcf_pgtable.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * mcfclk.h -- coldfire specific clock structure */ #ifndef mcfclk_h #define mcfclk_h struct clk; struct clk_ops { void (*enable)(struct clk *); void (*disable)(struct clk *); }; struct clk { struct clk_ops *clk_ops; unsigned long rate; unsigned long enabled; u8 slo...
arch/m68k/include/asm/mcfclk.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * mcfdma.h -- Coldfire internal DMA support defines. * * (C) Copyright 1999, Rob Scott (rscott@mtrob.ml.org) */ /****************************************************************************/ #i...
arch/m68k/include/asm/mcfdma.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Coldfire generic GPIO support. * * (C) Copyright 2009, Steven King <sfking@fdwdc.com> */ #ifndef mcfgpio_h #define mcfgpio_h int __mcfgpio_get_value(unsigned gpio); void __mcfgpio_set_value(unsigned gpio, int value); int __mcfgpio_direction_input(unsigned gpio); in...
arch/m68k/include/asm/mcfgpio.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * mcfintc.h -- support definitions for the simple ColdFire * Interrupt Controller * * (C) Copyright 2009, Greg Ungerer <gerg@uclinux.org> */ /******************************************...
arch/m68k/include/asm/mcfintc.h
null
null
null
null
null
source
linux
/* * mcfmmu.h -- definitions for the ColdFire v4e MMU * * (C) Copyright 2011, Greg Ungerer <gerg@uclinux.org> * * 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 MCFMMU_H #define MC...
arch/m68k/include/asm/mcfmmu.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * mcfpit.h -- ColdFire internal PIT timer support defines. * * (C) Copyright 2003, Greg Ungerer (gerg@snapgear.com) */ /*************************************************************************...
arch/m68k/include/asm/mcfpit.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Definitions for Freescale Coldfire QSPI module * * Copyright 2010 Steven King <sfking@fdwdc.com> */ #ifndef mcfqspi_h #define mcfqspi_h /** * struct mcfqspi_cs_control - chip select control for the coldfire qspi driver * @setup: setup the control; allocate gpio's,...
arch/m68k/include/asm/mcfqspi.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * mcfsim.h -- ColdFire System Integration Module support. * * (C) Copyright 1999-2003, Greg Ungerer (gerg@snapgear.com) * (C) Copyright 2000, Lineo Inc. (www.lineo.com) */ /******************...
arch/m68k/include/asm/mcfsim.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * mcfslt.h -- ColdFire internal Slice (SLT) timer support defines. * * (C) Copyright 2004, Greg Ungerer (gerg@snapgear.com) * (C) Copyright 2009, Philippe De Muyter (phdm@macqel.be) */ /******...
arch/m68k/include/asm/mcfslt.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * mcftimer.h -- ColdFire internal TIMER support defines. * * (C) Copyright 1999-2006, Greg Ungerer <gerg@snapgear.com> * (C) Copyright 2000, Lineo Inc. (www.lineo.com) */ /******************...
arch/m68k/include/asm/mcftimer.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * mcfuart.h -- ColdFire internal UART support defines. * * (C) Copyright 1999-2003, Greg Ungerer (gerg@snapgear.com) * (C) Copyright 2000, Lineo Inc. (www.lineo.com) */ /********************...
arch/m68k/include/asm/mcfuart.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * mcfdebug.h -- ColdFire Debug Module support. * * (C) Copyright 2001, Lineo Inc. (www.lineo.com) */ /****************************************************************************/ #ifndef mcf...
arch/m68k/include/asm/mcfwdebug.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __MMU_H #define __MMU_H #ifdef CONFIG_MMU /* Default "unsigned long" context */ typedef unsigned long mm_context_t; #else #include <asm-generic/mmu.h> #endif #endif
arch/m68k/include/asm/mmu.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __M68K_MMU_CONTEXT_H #define __M68K_MMU_CONTEXT_H #include <asm-generic/mm_hooks.h> #include <linux/mm_types.h> #ifdef CONFIG_MMU #if defined(CONFIG_COLDFIRE) #include <asm/atomic.h> #include <asm/bitops.h> #include <asm/mcfmmu.h> #include <asm/mmu.h> #define NO_CONTE...
arch/m68k/include/asm/mmu_context.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_M68K_MODULE_H #define _ASM_M68K_MODULE_H #include <asm-generic/module.h> enum m68k_fixup_type { m68k_fixup_memoffset, m68k_fixup_vnode_shift, }; struct m68k_fixup_info { enum m68k_fixup_type type; void *addr; }; struct mod_arch_specific { struct m68k_fixup_in...
arch/m68k/include/asm/module.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _MOTOROLA_PGALLOC_H #define _MOTOROLA_PGALLOC_H #include <asm/tlb.h> #include <asm/tlbflush.h> extern void mmu_page_ctor(void *page); extern void mmu_page_dtor(void *page); enum m68k_table_types { TABLE_PGD, TABLE_PMD, TABLE_PTE, }; extern void init_pointer_table(vo...
arch/m68k/include/asm/motorola_pgalloc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _MOTOROLA_PGTABLE_H #define _MOTOROLA_PGTABLE_H /* * Definitions for MMU descriptors */ #define _PAGE_PRESENT 0x001 #define _PAGE_SHORT 0x002 #define _PAGE_RONLY 0x004 #define _PAGE_READWRITE 0x000 #define _PAGE_ACCESSED 0x008 #define _PAGE_DIRTY 0x010 #define _PAGE_SU...
arch/m68k/include/asm/motorola_pgtable.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __MOVS_H__ #define __MOVS_H__ /* ** movs.h ** ** Inline assembly macros to generate movs & related instructions */ /* Set DFC register value */ #define SET_DFC(x) \ __asm__ __volatile__ (" movec %0,%/dfc" : : "d" (x)); /* Get DFC register value */ #define GET...
arch/m68k/include/asm/movs.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _MVME147HW_H_ #define _MVME147HW_H_ #include <asm/irq.h> #define MVME147_RTC_BASE 0xfffe0000 struct pcc_regs { volatile u_long dma_tadr; volatile u_long dma_dadr; volatile u_long dma_bcr; volatile u_long dma_hr; volatile u_short t1_preload; volatile u_...
arch/m68k/include/asm/mvme147hw.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _M68K_MVME16xHW_H_ #define _M68K_MVME16xHW_H_ #include <asm/irq.h> typedef struct { u_char ack_icr, flt_icr, sel_icr, pe_icr, bsy_icr, spare1, isr, cr, spare2, spare3, spare4, data; } MVMElp, *MVMElpPtr; #define MVME_LPR_BASE 0xfff42030 #define ...
arch/m68k/include/asm/mvme16xhw.h
null
null
null
null
null
source
linux
/* * ARAnyM hardware support via Native Features (natfeats) * * Copyright (c) 2005 Petr Stehlik of ARAnyM dev team * * This software may be used and distributed according to the terms of */ #include <linux/compiler.h> #ifndef _NATFEAT_H #define _NATFEAT_H long nf_get_id(const char *feature_name); long nf_call(l...
arch/m68k/include/asm/natfeat.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************/ /* * nettel.h -- Lineo (formerly Moreton Bay) NETtel support. * * (C) Copyright 1999-2000, Moreton Bay (www.moretonbay.com) * (C) Copyright 2000-2001, Lineo Inc. (www.lineo.com) * (C) Copyright...
arch/m68k/include/asm/nettel.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_M68K_NUBUS_H #define _ASM_M68K_NUBUS_H #include <asm/raw_io.h> #include <asm/kmap.h> #define nubus_readb raw_inb #define nubus_readw raw_inw #define nubus_readl raw_inl #define nubus_writeb raw_outb #define nubus_writew raw_outw #define nubus_writel raw_outl #defi...
arch/m68k/include/asm/nubus.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __SPARC_OPENPROM_H #define __SPARC_OPENPROM_H /* openprom.h: Prom structures and defines for access to the OPENBOOT * prom routines and data areas. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ /* Empirical constants... */ #ifdef C...
arch/m68k/include/asm/openprom.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * oplib.h: Describes the interface and available routines in the * Linux Prom library. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #ifndef __SPARC_OPLIB_H #define __SPARC_OPLIB_H #include <linux/compiler.h> #include <asm/openprom.h> /*...
arch/m68k/include/asm/oplib.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _M68K_PAGE_H #define _M68K_PAGE_H #include <linux/const.h> #include <asm/setup.h> #include <asm/page_offset.h> #include <vdso/page.h> #define PAGE_OFFSET (PAGE_OFFSET_RAW) #ifndef __ASSEMBLER__ /* * These are used to make use of C type-checking.. */ #if !defined(CON...
arch/m68k/include/asm/page.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _M68K_PAGE_MM_H #define _M68K_PAGE_MM_H #ifndef __ASSEMBLER__ #include <linux/compiler.h> #include <asm/module.h> /* * We don't need to check for alignment etc. */ #ifdef CPU_M68040_OR_M68060_ONLY static inline void copy_page(void *to, void *from) { unsigned long tmp...
arch/m68k/include/asm/page_mm.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _M68K_PAGE_NO_H #define _M68K_PAGE_NO_H #ifndef __ASSEMBLER__ extern unsigned long memory_start; extern unsigned long memory_end; #define clear_page(page) memset((page), 0, PAGE_SIZE) #define copy_page(to,from) memcpy((to), (from), PAGE_SIZE) #define copy_user_page(to...
arch/m68k/include/asm/page_no.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* This handles the memory map.. */ #if defined(CONFIG_RAMBASE) #define PAGE_OFFSET_RAW CONFIG_RAMBASE #elif defined(CONFIG_SUN3) #define PAGE_OFFSET_RAW 0x0E000000 #else #define PAGE_OFFSET_RAW 0x00000000 #endif
arch/m68k/include/asm/page_offset.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * parport.h: platform-specific PC-style parport initialisation * * Copyright (C) 1999, 2000 Tim Waugh <tim@cyberelk.demon.co.uk> * * This file should only be included by drivers/parport/parport_pc.c. * * RZ: for use with Q40 and other ISA machines */ #ifndef _ASM_M68K...
arch/m68k/include/asm/parport.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_M68K_PCI_H #define _ASM_M68K_PCI_H #define pcibios_assign_all_busses() 1 #define PCIBIOS_MIN_IO 0x00000100 #define PCIBIOS_MIN_MEM 0x02000000 #endif /* _ASM_M68K_PCI_H */
arch/m68k/include/asm/pci.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef M68K_PGALLOC_H #define M68K_PGALLOC_H #include <linux/mm.h> #include <linux/highmem.h> #include <asm/setup.h> #ifdef CONFIG_MMU #include <asm/virtconvert.h> #if defined(CONFIG_COLDFIRE) #include <asm/mcf_pgalloc.h> #elif defined(CONFIG_SUN3) #include <asm/sun3_pgalloc.h>...
arch/m68k/include/asm/pgalloc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __M68K_PGTABLE_H #define __M68K_PGTABLE_H #include <asm/page.h> #ifdef __uClinux__ #include <asm/pgtable_no.h> #else #include <asm/pgtable_mm.h> #endif #ifndef __ASSEMBLER__ extern void paging_init(void); #endif #endif /* __M68K_PGTABLE_H */
arch/m68k/include/asm/pgtable.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _M68K_PGTABLE_H #define _M68K_PGTABLE_H #if defined(CONFIG_SUN3) || defined(CONFIG_COLDFIRE) #include <asm-generic/pgtable-nopmd.h> #else #include <asm-generic/pgtable-nopud.h> #endif #include <asm/setup.h> #ifndef __ASSEMBLER__ #include <asm/processor.h> #include <lin...
arch/m68k/include/asm/pgtable_mm.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _M68KNOMMU_PGTABLE_H #define _M68KNOMMU_PGTABLE_H #include <asm-generic/pgtable-nopud.h> /* * (C) Copyright 2000-2002, Greg Ungerer <gerg@snapgear.com> */ #include <linux/slab.h> #include <asm/processor.h> #include <asm/page.h> #include <asm/io.h> /* * Trivial page ...
arch/m68k/include/asm/pgtable_no.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * include/asm-m68k/processor.h * * Copyright (C) 1995 Hamish Macdonald */ #ifndef __ASM_M68K_PROCESSOR_H #define __ASM_M68K_PROCESSOR_H #include <linux/preempt.h> #include <linux/thread_info.h> #include <asm/fpu.h> #include <asm/ptrace.h> static inline unsigned long rdus...
arch/m68k/include/asm/processor.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _M68K_PTRACE_H #define _M68K_PTRACE_H #include <uapi/asm/ptrace.h> #ifndef __ASSEMBLER__ #ifndef PS_S #define PS_S (0x2000) #define PS_M (0x1000) #endif #define user_mode(regs) (!((regs)->sr & PS_S)) #define instruction_pointer(regs) ((regs)->pc) #define profile_pc(r...
arch/m68k/include/asm/ptrace.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Q40 master Chip Control * RTC stuff merged for compactness. */ #ifndef _Q40_MASTER_H #define _Q40_MASTER_H #include <asm/raw_io.h> #include <asm/kmap.h> #define q40_master_addr 0xff000000 #define IIRQ_REG 0x0 /* internal IRQ reg */ #define EIRQ_REG ...
arch/m68k/include/asm/q40_master.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * contains some Q40 related interrupt definitions */ #define Q40_IRQ_MAX (34) #define Q40_IRQ_SAMPLE (34) #define Q40_IRQ_KEYBOARD (32) #define Q40_IRQ_FRAME (33) /* masks for interrupt regiosters*/ /* internal, IIRQ_REG */ #define Q40_IRQ_KEYB_MASK (2) #def...
arch/m68k/include/asm/q40ints.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /*********************************** * $Id: quicc_simple.h,v 1.1 2002/03/02 15:01:10 gerg Exp $ *********************************** * *************************************** * Simple drivers common header *************************************** */ #ifndef __SIMPLE_H #defin...
arch/m68k/include/asm/quicc_simple.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * linux/include/asm-m68k/raw_io.h * * 10/20/00 RZ: - created from bits of io.h and ide.h to cleanup namespace * */ #ifndef _RAW_IO_H #define _RAW_IO_H #ifdef __KERNEL__ #include <asm/byteorder.h> /* ++roman: The assignments to temp. vars avoid that gcc sometimes genera...
arch/m68k/include/asm/raw_io.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef _ASM_SECCOMP_H #define _ASM_SECCOMP_H #include <asm-generic/seccomp.h> #define SECCOMP_ARCH_NATIVE AUDIT_ARCH_M68K #define SECCOMP_ARCH_NATIVE_NR NR_syscalls #define SECCOMP_ARCH_NATIVE_NAME "m68k" #endif /* _ASM_SECCOMP_H */
arch/m68k/include/asm/seccomp.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * include/asm-m68k/serial.h * * currently this seems useful only for a Q40, * it's an almost exact copy of ../asm-alpha/serial.h * */ /* * This assumes you have a 1.8432 MHz clock for your UART. * * It'd be nice if someone built a serial card with a 24.576 MHz * clo...
arch/m68k/include/asm/serial.h
null
null
null
null
null
source
linux
/* ** asm/setup.h -- Definition of the Linux/m68k setup information ** ** Copyright 1992 by Greg Harp ** ** 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. ** ** Created 09/29/92 by Greg Harp ** ** 5/...
arch/m68k/include/asm/setup.h
null
null
null
null
null