Go to the documentation of this file.
7 #define DPRINTK(x) printk x
12 #define MAX_STI_ROMS 4
14 #define STI_REGION_MAX 8
15 #define STI_DEV_NAME_LENGTH 32
16 #define STI_MONITOR_MAX 256
18 #define STI_FONT_HPROMAN8 1
19 #define STI_FONT_KANA8 2
41 #define STI_PTR(p) ( virt_to_phys(p) )
42 #define PTR_STI(p) ( phys_to_virt((unsigned long)p) )
43 #define STI_CALL(func, flags, inptr, outptr, glob_cfg) \
45 pdc_sti_call( func, STI_PTR(flags), \
52 #define sti_onscreen_x(sti) (sti->glob_cfg->onscreen_x)
53 #define sti_onscreen_y(sti) (sti->glob_cfg->onscreen_y)
56 #define sti_font_x(sti) (PTR_STI(sti->font)->width)
57 #define sti_font_y(sti) (PTR_STI(sti->font)->height)
75 #define REGION_OFFSET_TO_PHYS( rt, hpa ) \
76 (((rt).region_desc.offset << 12) + (hpa))