Files
linux/arch/mips/include/asm
Thomas Zimmermann 8f8eaa1b02 fbdev: Move framebuffer I/O helpers into <asm/fb.h>
Implement framebuffer I/O helpers, such as fb_read*() and fb_write*(),
in the architecture's <asm/fb.h> header file or the generic one.

The common case has been the use of regular I/O functions, such as
__raw_readb() or memset_io(). A few architectures used plain system-
memory reads and writes. Sparc used helpers for its SBus.

The architectures that used special cases provide the same code in
their __raw_*() I/O helpers. So the patch replaces this code with the
__raw_*() functions and moves it to <asm-generic/fb.h> for all
architectures.

v8:
	* remove garbage after commit-message tags
v6:
	* fix fb_readq()/fb_writeq() on 64-bit mips (kernel test robot)
v5:
	* include <linux/io.h> in <asm-generic/fb>; fix s390 build
v4:
	* ia64, loongarch, sparc64: add fb_mem*() to arch headers
	  to keep current semantics (Arnd)
v3:
	* implement all architectures with generic helpers
	* support reordering and native byte order (Geert, Arnd)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Tested-by: Sui Jingfeng <suijingfeng@loongson.cn>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230512102444.5438-7-tzimmermann@suse.de
2023-05-18 11:07:25 +02:00
..
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2020-09-07 22:25:27 +02:00
2020-09-07 22:25:27 +02:00
2021-01-22 11:40:00 +01:00
2020-09-07 22:25:27 +02:00
2020-09-07 22:25:27 +02:00
2022-03-01 10:07:22 +01:00
2022-01-05 11:16:35 +01:00
2020-11-11 23:49:22 +01:00
2021-10-24 17:24:47 +02:00
2022-07-14 11:52:29 +02:00
2022-07-14 11:52:29 +02:00
2021-07-13 15:08:15 -05:00
2022-02-22 09:35:49 +01:00
2021-09-23 11:23:35 +02:00
2021-10-24 17:24:47 +02:00
2021-01-04 11:37:27 +01:00
2022-03-01 10:07:22 +01:00
2020-05-19 17:39:32 +02:00
2021-11-29 12:43:06 +01:00
2022-02-22 09:35:49 +01:00
2019-02-04 10:56:41 -08:00
2020-05-22 09:10:53 +02:00
2021-09-23 11:23:35 +02:00
2022-03-14 15:09:27 +01:00
2023-04-12 15:01:09 +02:00
2018-08-01 13:20:15 -07:00
2022-03-01 10:07:22 +01:00
2023-02-19 09:28:30 +01:00
2019-04-03 10:32:54 +02:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-02-25 09:36:05 +01:00
2019-07-25 21:45:05 -07:00
2022-07-14 11:52:29 +02:00
2023-04-12 15:01:09 +02:00