printf: Remove unused 'bprintf'
[drm/drm-misc.git] / include / linux / linux_logo.h
blobe37699b7e8393df06ca156ca5405d062baf3675e
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_LINUX_LOGO_H
3 #define _LINUX_LINUX_LOGO_H
5 /*
6 * Linux logo to be displayed on boot
8 * Copyright (C) 1996 Larry Ewing (lewing@isc.tamu.edu)
9 * Copyright (C) 1996,1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
10 * Copyright (C) 2001 Greg Banks <gnb@alphalink.com.au>
11 * Copyright (C) 2001 Jan-Benedict Glaw <jbglaw@lug-owl.de>
12 * Copyright (C) 2003 Geert Uytterhoeven <geert@linux-m68k.org>
15 #include <linux/init.h>
18 #define LINUX_LOGO_MONO 1 /* monochrome black/white */
19 #define LINUX_LOGO_VGA16 2 /* 16 colors VGA text palette */
20 #define LINUX_LOGO_CLUT224 3 /* 224 colors */
21 #define LINUX_LOGO_GRAY256 4 /* 256 levels grayscale */
24 struct linux_logo {
25 int type; /* one of LINUX_LOGO_* */
26 unsigned int width;
27 unsigned int height;
28 unsigned int clutsize; /* LINUX_LOGO_CLUT224 only */
29 const unsigned char *clut; /* LINUX_LOGO_CLUT224 only */
30 const unsigned char *data;
33 extern const struct linux_logo logo_linux_mono;
34 extern const struct linux_logo logo_linux_vga16;
35 extern const struct linux_logo logo_linux_clut224;
36 extern const struct linux_logo logo_dec_clut224;
37 extern const struct linux_logo logo_mac_clut224;
38 extern const struct linux_logo logo_parisc_clut224;
39 extern const struct linux_logo logo_sgi_clut224;
40 extern const struct linux_logo logo_sun_clut224;
41 extern const struct linux_logo logo_superh_mono;
42 extern const struct linux_logo logo_superh_vga16;
43 extern const struct linux_logo logo_superh_clut224;
44 extern const struct linux_logo logo_spe_clut224;
46 extern const struct linux_logo *fb_find_logo(int depth);
47 #ifdef CONFIG_FB_LOGO_EXTRA
48 extern void fb_append_extra_logo(const struct linux_logo *logo,
49 unsigned int n);
50 #else
51 static inline void fb_append_extra_logo(const struct linux_logo *logo,
52 unsigned int n)
54 #endif
56 #endif /* _LINUX_LINUX_LOGO_H */