ARM: amba: Make driver_override output consistent with other buses
[linux/fpc-iii.git] / arch / powerpc / include / asm / btext.h
blob3ffad030393c13b2c00277953b34f07e648f2e52
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Definitions for using the procedures in btext.c.
5 * Benjamin Herrenschmidt <benh@kernel.crashing.org>
6 */
7 #ifndef __PPC_BTEXT_H
8 #define __PPC_BTEXT_H
9 #ifdef __KERNEL__
11 extern int btext_find_display(int allow_nonstdout);
12 extern void btext_update_display(unsigned long phys, int width, int height,
13 int depth, int pitch);
14 extern void btext_setup_display(int width, int height, int depth, int pitch,
15 unsigned long address);
16 extern void btext_prepare_BAT(void);
17 extern void btext_map(void);
18 extern void btext_unmap(void);
20 extern void btext_drawchar(char c);
21 extern void btext_drawstring(const char *str);
22 extern void btext_drawhex(unsigned long v);
23 extern void btext_drawtext(const char *c, unsigned int len);
25 extern void btext_clearscreen(void);
26 extern void btext_flushscreen(void);
27 extern void btext_flushline(void);
29 #endif /* __KERNEL__ */
30 #endif /* __PPC_BTEXT_H */