Lines Matching +full:assigned +full:- +full:resolution +full:- +full:bits
1 /* SPDX-License-Identifier: GPL-2.0 */
76 __u32 serial; /* Serial Number - Integer */
83 __u16 input; /* display type - see FB_DISP_* */
84 __u16 dpms; /* DPMS support - see FB_DPMS_ */
85 __u16 signal; /* Signal Type - see FB_SIGNAL_* */
88 __u16 gamma; /* Gamma - in fractions of 100 */
90 __u16 misc; /* Misc flags - see FB_MISC_* */
122 const char __user *mask; /* cursor mask bits */
131 /* The resolution of the passed in fb_info about to change */
135 /* only used by mach-pxa/am200epd.c */
199 u32 access_align; /* alignment per read/write (bits) */
202 /* Format: test_bit(width - 1, blit_x) */
203 /* test_bit(height - 1, blit_y) */
242 * it must be done in a lock-free manner, so low level drivers should
265 /* set the video mode according to info->var */
335 __u32 sx; /* origin in the x-axis */
336 __u32 sy; /* origin in the y-axis */
337 __u32 width; /* number of tiles in the x-axis */
338 __u32 height; /* number of tiles in the y-axis */
346 __u32 sx; /* source origin in the x-axis */
347 __u32 sy; /* source origin in the y-axis */
348 __u32 dx; /* destination origin in the x-axis */
349 __u32 dy; /* destination origin in the y-axis */
350 __u32 width; /* number of tiles in the x-axis */
351 __u32 height; /* number of tiles in the y-axis */
355 __u32 sx; /* origin in the x-axis */
356 __u32 sy; /* origin in the y-axis */
357 __u32 width; /* number of tiles in the x-axis */
358 __u32 height; /* number of tiles in the y-axis */
366 __u32 sx; /* cursor position in the x-axis */
367 __u32 sy; /* cursor position in the y-axis */
403 #define FBINFO_PARTIAL_PAN_OK 0x0040 /* otw use pan only for double-buffering */
404 #define FBINFO_READS_FAST 0x0080 /* soft-copy faster than rendering */
448 * back. Instead dma-buf based buffer sharing should be used.
458 * -1 by default, set to a FB_ROTATE_* value by the driver, if it knows
474 /* assigned backlight device */
508 void *fbcon_par; /* fbcon use-only private area */
524 #define FB_LEFT_POS(p, bpp) (fb_be_math(p) ? (32 - (bpp)) : 0)
525 #define FB_SHIFT_HIGH(p, val, bits) (fb_be_math(p) ? (val) >> (bits) : \ argument
526 (val) << (bits))
527 #define FB_SHIFT_LOW(p, val, bits) (fb_be_math(p) ? (val) << (bits) : \ argument
528 (val) >> (bits))
590 * Helpers for framebuffers in DMA-able memory
618 mutex_lock(&info->lock); in lock_fb_info()
623 mutex_unlock(&info->lock); in unlock_fb_info()
631 d_pitch -= s_pitch; in __fb_pad_aligned_buffer()
633 for (i = height; i--; ) { in __fb_pad_aligned_buffer()
677 __damage_area(info, rect->dx, rect->dy, rect->width, rect->height); \
683 __damage_area(info, area->dx, area->dy, area->width, area->height); \
689 __damage_area(info, image->dx, image->dy, image->width, image->height); \
729 return info->flags & FBINFO_BE_MATH; in fb_be_math()
874 pr_err("fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__)
876 pr_notice("fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__)
878 pr_warn("fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__)
880 pr_info("fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__)
882 pr_debug("fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__)
885 pr_warn_once("fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__)
888 WARN_ONCE(condition, "fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__)