summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/io.h
Commit message (Collapse)AuthorAgeFilesLines
* blackfin: Fix build errorGuenter Roeck2015-06-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix include/asm-generic/io.h: In function 'readb': include/asm-generic/io.h:113:2: error: implicit declaration of function 'bfin_read8' include/asm-generic/io.h: In function 'readw': include/asm-generic/io.h:121:2: error: implicit declaration of function 'bfin_read16' include/asm-generic/io.h: In function 'readl': include/asm-generic/io.h:129:2: error: implicit declaration of function 'bfin_read32' include/asm-generic/io.h: In function 'writeb': include/asm-generic/io.h:147:2: error: implicit declaration of function 'bfin_write8' include/asm-generic/io.h: In function 'writew': include/asm-generic/io.h:155:2: error: implicit declaration of function 'bfin_write16' include/asm-generic/io.h: In function 'writel': include/asm-generic/io.h:163:2: error: implicit declaration of function 'bfin_write32' Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Fixes: 1a3372bc522ef ("blackfin: io: define __raw_readx/writex with bfin_readx/writex") Cc: Steven Miao <realmz6@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* dma: fix build error after update to v3.19Steven Miao2015-04-231-8/+0
| | | | Signed-off-by: Steven Miao <realmz6@gmail.com>
* blackfin: io: define __raw_readx/writex with bfin_readx/writexSteven Miao2015-04-231-21/+6
| | | | Signed-off-by: Steven Miao <realmz6@gmail.com>
* Blackfin: switch to asm-generic/io.hMike Frysinger2011-01-101-201/+37
| | | | | Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* asm-generic/io.h: add reads[bwl]/writes[bwl] helpersMike Frysinger2011-01-101-30/+0
| | | | | | | | | A bunch of arches define reads[bwl]/writes[bwl] helpers for accessing memory mapped registers. Since the Blackfin ones aren't specific to Blackfin code, move them to the common asm-generic/io.h for people. Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: make sure mmiowb inserts a write barrier with SSYNCMichael Hennerich2010-08-061-1/+7
| | | | | | | | | Add SSYNC to our implementation of I/O write barrier to ensure ordering of I/O space writes. This will make sure that writes following the barrier will arrive after all previous writes. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: io.h: fix random busted whitespaceMike Frysinger2009-12-151-44/+51
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: mass clean up of copyright/licensing infoRobin Getz2009-10-071-0/+6
| | | | | | | | | | | | | | | | | | Bill Gatliff & David Brownell pointed out we were missing some copyrights, and licensing terms in some of the files in ./arch/blackfin, so this fixes things, and cleans them up. It also removes: - verbose GPL text(refer to the top level ./COPYING file) - file names (you are looking at the file) - bug url (it's in the ./MAINTAINERS file) - "or later" on GPL-2, when we did not have that right It also allows some Blackfin-specific assembly files to be under a BSD like license (for people to use them outside of Linux). Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: convert page/tlb to asm-genericMike Frysinger2009-06-181-1/+0
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: fix warnings with I/O port macrosMike Frysinger2009-06-121-13/+16
| | | | | | | | The I/O port functions take ints, so we need to cast them up before passing to our read/write funcs to avoid ugly messes of warnings. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* Blackfin arch: Use reads/writes instead of ins/outs directlySonic Zhang2009-01-071-6/+6
| | | | | | Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* Blackfin arch: add mmiowb() as some drivers expectMike Frysinger2008-11-181-0/+2
| | | | | | Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* Blackfin arch: add read/write IO accessor functions to BlackfinBryan Wu2008-10-161-0/+30
| | | | | | | This is to kill some compiling warning on DM9000 netdev driver. Signed-off-by: Bryan Wu <cooloney@kernel.org>
* Blackfin arch: move include/asm-blackfin header files to arch/blackfinBryan Wu2008-08-271-0/+212
Signed-off-by: Bryan Wu <cooloney@kernel.org>
OpenPOWER on IntegriCloud