~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/blackfin/include/asm/io.h

Version: ~ [ linux-5.9-rc5 ] ~ [ linux-5.8.10 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.66 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.146 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.198 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.236 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.236 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ linux-3.19.8 ] ~ [ linux-3.18.140 ] ~ [ linux-3.17.8 ] ~ [ linux-3.16.85 ] ~ [ linux-3.15.10 ] ~ [ linux-3.14.79 ] ~ [ linux-3.13.11 ] ~ [ linux-3.12.74 ] ~ [ linux-3.11.10 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.5 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  * Copyright 2004-2010 Analog Devices Inc.
  3  *
  4  * Licensed under the GPL-2 or later.
  5  */
  6 
  7 #ifndef _BFIN_IO_H
  8 #define _BFIN_IO_H
  9 
 10 #include <linux/compiler.h>
 11 #include <linux/types.h>
 12 #include <asm/byteorder.h>
 13 #include <asm/def_LPBlackfin.h>
 14 
 15 #define __raw_readb bfin_read8
 16 #define __raw_readw bfin_read16
 17 #define __raw_readl bfin_read32
 18 #define __raw_writeb(val, addr) bfin_write8(addr, val)
 19 #define __raw_writew(val, addr) bfin_write16(addr, val)
 20 #define __raw_writel(val, addr) bfin_write32(addr, val)
 21 
 22 extern void outsb(unsigned long port, const void *addr, unsigned long count);
 23 extern void outsw(unsigned long port, const void *addr, unsigned long count);
 24 extern void outsw_8(unsigned long port, const void *addr, unsigned long count);
 25 extern void outsl(unsigned long port, const void *addr, unsigned long count);
 26 #define outsb outsb
 27 #define outsw outsw
 28 #define outsl outsl
 29 
 30 extern void insb(unsigned long port, void *addr, unsigned long count);
 31 extern void insw(unsigned long port, void *addr, unsigned long count);
 32 extern void insw_8(unsigned long port, void *addr, unsigned long count);
 33 extern void insl(unsigned long port, void *addr, unsigned long count);
 34 extern void insl_16(unsigned long port, void *addr, unsigned long count);
 35 #define insb insb
 36 #define insw insw
 37 #define insl insl
 38 
 39 /**
 40  * I/O write barrier
 41  *
 42  * Ensure ordering of I/O space writes. This will make sure that writes
 43  * following the barrier will arrive after all previous writes.
 44  */
 45 #define mmiowb() do { SSYNC(); wmb(); } while (0)
 46 
 47 #include <asm-generic/io.h>
 48 
 49 #endif
 50 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

osdn.jp