|
#define | FBIO_CURSOR _IOWR('F', 0x08, struct fb_cursor_user) |
|
#define | FB_DPMS_ACTIVE_OFF 1 |
|
#define | FB_DPMS_SUSPEND 2 |
|
#define | FB_DPMS_STANDBY 4 |
|
#define | FB_DISP_DDI 1 |
|
#define | FB_DISP_ANA_700_300 2 |
|
#define | FB_DISP_ANA_714_286 4 |
|
#define | FB_DISP_ANA_1000_400 8 |
|
#define | FB_DISP_ANA_700_000 16 |
|
#define | FB_DISP_MONO 32 |
|
#define | FB_DISP_RGB 64 |
|
#define | FB_DISP_MULTI 128 |
|
#define | FB_DISP_UNKNOWN 256 |
|
#define | FB_SIGNAL_NONE 0 |
|
#define | FB_SIGNAL_BLANK_BLANK 1 |
|
#define | FB_SIGNAL_SEPARATE 2 |
|
#define | FB_SIGNAL_COMPOSITE 4 |
|
#define | FB_SIGNAL_SYNC_ON_GREEN 8 |
|
#define | FB_SIGNAL_SERRATION_ON 16 |
|
#define | FB_MISC_PRIM_COLOR 1 |
|
#define | FB_MISC_1ST_DETAIL 2 /* First Detailed Timing is preferred */ |
|
#define | FB_EVENT_MODE_CHANGE 0x01 |
|
#define | FB_EVENT_SUSPEND 0x02 |
|
#define | FB_EVENT_RESUME 0x03 |
|
#define | FB_EVENT_MODE_DELETE 0x04 |
|
#define | FB_EVENT_FB_REGISTERED 0x05 |
|
#define | FB_EVENT_FB_UNREGISTERED 0x06 |
|
#define | FB_EVENT_GET_CONSOLE_MAP 0x07 |
|
#define | FB_EVENT_SET_CONSOLE_MAP 0x08 |
|
#define | FB_EVENT_BLANK 0x09 |
|
#define | FB_EVENT_NEW_MODELIST 0x0A |
|
#define | FB_EVENT_MODE_CHANGE_ALL 0x0B |
|
#define | FB_EVENT_CONBLANK 0x0C |
|
#define | FB_EVENT_GET_REQ 0x0D |
|
#define | FB_EVENT_FB_UNBIND 0x0E |
|
#define | FB_EVENT_REMAP_ALL_CONSOLE 0x0F |
|
#define | FB_EARLY_EVENT_BLANK 0x10 |
|
#define | FB_R_EARLY_EVENT_BLANK 0x11 |
|
#define | FB_PIXMAP_DEFAULT 1 /* used internally by fbcon */ |
|
#define | FB_PIXMAP_SYSTEM 2 /* memory is in system RAM */ |
|
#define | FB_PIXMAP_IO 4 /* memory is iomapped */ |
|
#define | FB_PIXMAP_SYNC 256 /* set if GPU can DMA */ |
|
#define | FBINFO_MODULE 0x0001 /* Low-level driver is a module */ |
|
#define | FBINFO_HWACCEL_DISABLED 0x0002 |
|
#define | FBINFO_VIRTFB 0x0004 /* FB is System RAM, not device. */ |
|
#define | FBINFO_PARTIAL_PAN_OK 0x0040 /* otw use pan only for double-buffering */ |
|
#define | FBINFO_READS_FAST 0x0080 /* soft-copy faster than rendering */ |
|
#define | FBINFO_HWACCEL_NONE 0x0000 |
|
#define | FBINFO_HWACCEL_COPYAREA 0x0100 /* required */ |
|
#define | FBINFO_HWACCEL_FILLRECT 0x0200 /* required */ |
|
#define | FBINFO_HWACCEL_IMAGEBLIT 0x0400 /* required */ |
|
#define | FBINFO_HWACCEL_ROTATE 0x0800 /* optional */ |
|
#define | FBINFO_HWACCEL_XPAN 0x1000 /* optional */ |
|
#define | FBINFO_HWACCEL_YPAN 0x2000 /* optional */ |
|
#define | FBINFO_HWACCEL_YWRAP 0x4000 /* optional */ |
|
#define | FBINFO_MISC_USEREVENT |
|
#define | FBINFO_MISC_TILEBLITTING 0x20000 /* use tile blitting */ |
|
#define | FBINFO_MISC_ALWAYS_SETPAR 0x40000 |
|
#define | FBINFO_MISC_FIRMWARE 0x80000 |
|
#define | FBINFO_FOREIGN_ENDIAN 0x100000 |
|
#define | FBINFO_BE_MATH 0x100000 |
|
#define | FBINFO_CAN_FORCE_OUTPUT 0x200000 |
|
#define | FBINFO_STATE_RUNNING 0 |
|
#define | FBINFO_STATE_SUSPENDED 1 |
|
#define | FBINFO_DEFAULT 0 |
|
#define | FBINFO_FLAG_MODULE FBINFO_MODULE |
|
#define | FBINFO_FLAG_DEFAULT FBINFO_DEFAULT |
|
#define | STUPID_ACCELF_TEXT_SHIT |
|
#define | fb_readb(addr) (*(volatile u8 *) (addr)) |
|
#define | fb_readw(addr) (*(volatile u16 *) (addr)) |
|
#define | fb_readl(addr) (*(volatile u32 *) (addr)) |
|
#define | fb_readq(addr) (*(volatile u64 *) (addr)) |
|
#define | fb_writeb(b, addr) (*(volatile u8 *) (addr) = (b)) |
|
#define | fb_writew(b, addr) (*(volatile u16 *) (addr) = (b)) |
|
#define | fb_writel(b, addr) (*(volatile u32 *) (addr) = (b)) |
|
#define | fb_writeq(b, addr) (*(volatile u64 *) (addr) = (b)) |
|
#define | fb_memset memset |
|
#define | fb_memcpy_fromfb memcpy |
|
#define | fb_memcpy_tofb memcpy |
|
#define | FB_LEFT_POS(p, bpp) (fb_be_math(p) ? (32 - (bpp)) : 0) |
|
#define | FB_SHIFT_HIGH(p, val, bits) |
|
#define | FB_SHIFT_LOW(p, val, bits) |
|
#define | FB_MAXTIMINGS 0 |
|
#define | FB_VSYNCTIMINGS 1 |
|
#define | FB_HSYNCTIMINGS 2 |
|
#define | FB_DCLKTIMINGS 3 |
|
#define | FB_IGNOREMON 0x100 |
|
#define | FB_MODE_IS_UNKNOWN 0 |
|
#define | FB_MODE_IS_DETAILED 1 |
|
#define | FB_MODE_IS_STANDARD 2 |
|
#define | FB_MODE_IS_VESA 4 |
|
#define | FB_MODE_IS_CALCULATED 8 |
|
#define | FB_MODE_IS_FIRST 16 |
|
#define | FB_MODE_IS_FROM_VAR 32 |
|
#define | VESA_MODEDB_SIZE 34 |
|
|
int | fb_register_client (struct notifier_block *nb) |
|
int | fb_unregister_client (struct notifier_block *nb) |
|
int | fb_notifier_call_chain (unsigned long val, void *v) |
|
int | fb_set_var (struct fb_info *info, struct fb_var_screeninfo *var) |
|
int | fb_pan_display (struct fb_info *info, struct fb_var_screeninfo *var) |
|
int | fb_blank (struct fb_info *info, int blank) |
|
void | cfb_fillrect (struct fb_info *info, const struct fb_fillrect *rect) |
|
void | cfb_copyarea (struct fb_info *info, const struct fb_copyarea *area) |
|
void | cfb_imageblit (struct fb_info *info, const struct fb_image *image) |
|
void | sys_fillrect (struct fb_info *info, const struct fb_fillrect *rect) |
|
void | sys_copyarea (struct fb_info *info, const struct fb_copyarea *area) |
|
void | sys_imageblit (struct fb_info *info, const struct fb_image *image) |
|
ssize_t | fb_sys_read (struct fb_info *info, char __user *buf, size_t count, loff_t *ppos) |
|
ssize_t | fb_sys_write (struct fb_info *info, const char __user *buf, size_t count, loff_t *ppos) |
|
int | register_framebuffer (struct fb_info *fb_info) |
|
int | unregister_framebuffer (struct fb_info *fb_info) |
|
int | unlink_framebuffer (struct fb_info *fb_info) |
|
void | remove_conflicting_framebuffers (struct apertures_struct *a, const char *name, bool primary) |
|
int | fb_prepare_logo (struct fb_info *fb_info, int rotate) |
|
int | fb_show_logo (struct fb_info *fb_info, int rotate) |
|
char * | fb_get_buffer_offset (struct fb_info *info, struct fb_pixmap *buf, u32 size) |
|
void | fb_pad_unaligned_buffer (u8 *dst, u32 d_pitch, u8 *src, u32 idx, u32 height, u32 shift_high, u32 shift_low, u32 mod) |
|
void | fb_pad_aligned_buffer (u8 *dst, u32 d_pitch, u8 *src, u32 s_pitch, u32 height) |
|
void | fb_set_suspend (struct fb_info *info, int state) |
|
int | fb_get_color_depth (struct fb_var_screeninfo *var, struct fb_fix_screeninfo *fix) |
|
int | fb_get_options (char *name, char **option) |
|
int | fb_new_modelist (struct fb_info *info) |
|
int | lock_fb_info (struct fb_info *info) |
|
void | fb_deferred_io_init (struct fb_info *info) |
|
void | fb_deferred_io_open (struct fb_info *info, struct inode *inode, struct file *file) |
|
void | fb_deferred_io_cleanup (struct fb_info *info) |
|
int | fb_deferred_io_fsync (struct file *file, loff_t start, loff_t end, int datasync) |
|
struct fb_info * | framebuffer_alloc (size_t size, struct device *dev) |
|
void | framebuffer_release (struct fb_info *info) |
|
int | fb_init_device (struct fb_info *fb_info) |
|
void | fb_cleanup_device (struct fb_info *head) |
|
void | fb_bl_default_curve (struct fb_info *fb_info, u8 off, u8 min, u8 max) |
|
int | fbmon_dpms (const struct fb_info *fb_info) |
|
int | fb_get_mode (int flags, u32 val, struct fb_var_screeninfo *var, struct fb_info *info) |
|
int | fb_validate_mode (const struct fb_var_screeninfo *var, struct fb_info *info) |
|
int | fb_parse_edid (unsigned char *edid, struct fb_var_screeninfo *var) |
|
const unsigned char * | fb_firmware_edid (struct device *device) |
|
void | fb_edid_to_monspecs (unsigned char *edid, struct fb_monspecs *specs) |
|
void | fb_edid_add_monspecs (unsigned char *edid, struct fb_monspecs *specs) |
|
void | fb_destroy_modedb (struct fb_videomode *modedb) |
|
int | fb_find_mode_cvt (struct fb_videomode *mode, int margins, int rb) |
|
unsigned char * | fb_ddc_read (struct i2c_adapter *adapter) |
|
void | fb_var_to_videomode (struct fb_videomode *mode, const struct fb_var_screeninfo *var) |
|
void | fb_videomode_to_var (struct fb_var_screeninfo *var, const struct fb_videomode *mode) |
|
int | fb_mode_is_equal (const struct fb_videomode *mode1, const struct fb_videomode *mode2) |
|
int | fb_add_videomode (const struct fb_videomode *mode, struct list_head *head) |
|
void | fb_delete_videomode (const struct fb_videomode *mode, struct list_head *head) |
|
struct fb_videomode * | fb_match_mode (const struct fb_var_screeninfo *var, struct list_head *head) |
|
struct fb_videomode * | fb_find_best_mode (const struct fb_var_screeninfo *var, struct list_head *head) |
|
struct fb_videomode * | fb_find_nearest_mode (const struct fb_videomode *mode, struct list_head *head) |
|
void | fb_destroy_modelist (struct list_head *head) |
|
void | fb_videomode_to_modelist (const struct fb_videomode *modedb, int num, struct list_head *head) |
|
struct fb_videomode * | fb_find_best_display (const struct fb_monspecs *specs, struct list_head *head) |
|
int | fb_alloc_cmap (struct fb_cmap *cmap, int len, int transp) |
|
int | fb_alloc_cmap_gfp (struct fb_cmap *cmap, int len, int transp, gfp_t flags) |
|
void | fb_dealloc_cmap (struct fb_cmap *cmap) |
|
int | fb_copy_cmap (const struct fb_cmap *from, struct fb_cmap *to) |
|
int | fb_cmap_to_user (const struct fb_cmap *from, struct fb_cmap_user *to) |
|
int | fb_set_cmap (struct fb_cmap *cmap, struct fb_info *fb_info) |
|
int | fb_set_user_cmap (struct fb_cmap_user *cmap, struct fb_info *fb_info) |
|
struct fb_cmap * | fb_default_cmap (int len) |
|
void | fb_invert_cmaps (void) |
|
int | fb_find_mode (struct fb_var_screeninfo *var, struct fb_info *info, const char *mode_option, const struct fb_videomode *db, unsigned int dbsize, const struct fb_videomode *default_mode, unsigned int default_bpp) |
|
fb_alloc_cmap - allocate a colormap : frame buffer colormap structure : length of : boolean, 1 if there is transparency, 0 otherwise : flags for kmalloc memory allocation
Allocates memory for a colormap . is the number of entries in the palette.
Returns negative errno on error, or zero on success.
Definition at line 92 of file fbcmap.c.
framebuffer_alloc - creates a new frame buffer info structure
: size of driver private data, can be zero : pointer to the device for this fb, this can be NULL
Creates a new frame buffer info structure. Also reserves bytes for driver private data (info->par). info->par (if any) will be aligned to sizeof(long).
Returns the new structure, or NULL if an error occurred.
Definition at line 39 of file fbsysfs.c.
unregister_framebuffer - releases a frame buffer device : frame buffer info structure
Unregisters a frame buffer device .
Returns negative errno on error, or zero for success.
This function will also notify the framebuffer console
to release the driver.
This is meant to be called within a driver's module_exit()
function. If this is called outside module_exit(), ensure
that the driver implements fb_open() and fb_release() to
check that no processes are using the device.
Definition at line 1755 of file fbmem.c.