| /kernel/linux/linux-6.6/drivers/video/fbdev/mmp/fb/ |
| D | mmpfb.c | 14 static int var_to_pixfmt(struct fb_var_screeninfo *var) in var_to_pixfmt() argument 19 if (var->bits_per_pixel == 8) in var_to_pixfmt() 25 if (var->bits_per_pixel == 16 && var->red.length == 8 && in var_to_pixfmt() 26 var->green.length == 4 && var->blue.length == 4) { in var_to_pixfmt() 27 if (var->green.offset >= var->blue.offset) in var_to_pixfmt() 36 if (var->bits_per_pixel == 12 && var->red.length == 8 && in var_to_pixfmt() 37 var->green.length == 2 && var->blue.length == 2) { in var_to_pixfmt() 38 if (var->green.offset >= var->blue.offset) in var_to_pixfmt() 47 if (var->bits_per_pixel == 16 && var->red.length == 16 && in var_to_pixfmt() 48 var->green.length == 16 && var->blue.length == 16) { in var_to_pixfmt() [all …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/mmp/fb/ |
| D | mmpfb.c | 14 static int var_to_pixfmt(struct fb_var_screeninfo *var) in var_to_pixfmt() argument 19 if (var->bits_per_pixel == 8) in var_to_pixfmt() 25 if (var->bits_per_pixel == 16 && var->red.length == 8 && in var_to_pixfmt() 26 var->green.length == 4 && var->blue.length == 4) { in var_to_pixfmt() 27 if (var->green.offset >= var->blue.offset) in var_to_pixfmt() 36 if (var->bits_per_pixel == 12 && var->red.length == 8 && in var_to_pixfmt() 37 var->green.length == 2 && var->blue.length == 2) { in var_to_pixfmt() 38 if (var->green.offset >= var->blue.offset) in var_to_pixfmt() 47 if (var->bits_per_pixel == 16 && var->red.length == 16 && in var_to_pixfmt() 48 var->green.length == 16 && var->blue.length == 16) { in var_to_pixfmt() [all …]
|
| /kernel/linux/linux-6.6/drivers/video/fbdev/ |
| D | 68328fb.c | 87 static int mc68x328fb_check_var(struct fb_var_screeninfo *var, 92 static int mc68x328fb_pan_display(struct fb_var_screeninfo *var, 125 * to hardware, it should only verify and adjust var. 127 * data from it to check this var. 130 static int mc68x328fb_check_var(struct fb_var_screeninfo *var, in mc68x328fb_check_var() argument 140 if (var->vmode & FB_VMODE_CONUPDATE) { in mc68x328fb_check_var() 141 var->vmode |= FB_VMODE_YWRAP; in mc68x328fb_check_var() 142 var->xoffset = info->var.xoffset; in mc68x328fb_check_var() 143 var->yoffset = info->var.yoffset; in mc68x328fb_check_var() 149 if (!var->xres) in mc68x328fb_check_var() [all …]
|
| D | pxa168fb.c | 37 static int determine_best_pix_fmt(struct fb_var_screeninfo *var) in determine_best_pix_fmt() argument 42 if (var->bits_per_pixel == 8) in determine_best_pix_fmt() 48 if (var->bits_per_pixel == 16 && var->red.length <= 5 && in determine_best_pix_fmt() 49 var->green.length <= 6 && var->blue.length <= 5) { in determine_best_pix_fmt() 50 if (var->transp.length == 0) { in determine_best_pix_fmt() 51 if (var->red.offset >= var->blue.offset) in determine_best_pix_fmt() 57 if (var->transp.length == 1 && var->green.length <= 5) { in determine_best_pix_fmt() 58 if (var->red.offset >= var->blue.offset) in determine_best_pix_fmt() 68 if (var->bits_per_pixel <= 32 && var->red.length <= 8 && in determine_best_pix_fmt() 69 var->green.length <= 8 && var->blue.length <= 8) { in determine_best_pix_fmt() [all …]
|
| D | vfb.c | 71 static int vfb_check_var(struct fb_var_screeninfo *var, 76 static int vfb_pan_display(struct fb_var_screeninfo *var, 112 * to hardware, it should only verify and adjust var. 114 * data from it to check this var. 117 static int vfb_check_var(struct fb_var_screeninfo *var, in vfb_check_var() argument 127 if (var->vmode & FB_VMODE_CONUPDATE) { in vfb_check_var() 128 var->vmode |= FB_VMODE_YWRAP; in vfb_check_var() 129 var->xoffset = info->var.xoffset; in vfb_check_var() 130 var->yoffset = info->var.yoffset; in vfb_check_var() 136 if (!var->xres) in vfb_check_var() [all …]
|
| D | ocfb.c | 106 struct fb_var_screeninfo *var = &fbdev->info.var; in ocfb_setupfb() local 125 ocfb_writereg(fbdev, OCFB_HTIM, (var->hsync_len - 1) << 24 | in ocfb_setupfb() 126 (var->left_margin - 1) << 16 | (var->xres - 1)); in ocfb_setupfb() 129 ocfb_writereg(fbdev, OCFB_VTIM, (var->vsync_len - 1) << 24 | in ocfb_setupfb() 130 (var->upper_margin - 1) << 16 | (var->yres - 1)); in ocfb_setupfb() 133 hlen = var->left_margin + var->right_margin + var->hsync_len + in ocfb_setupfb() 134 var->xres; in ocfb_setupfb() 136 vlen = var->upper_margin + var->lower_margin + var->vsync_len + in ocfb_setupfb() 137 var->yres; in ocfb_setupfb() 142 switch (var->bits_per_pixel) { in ocfb_setupfb() [all …]
|
| D | acornfb.c | 114 struct fb_var_screeninfo *var = &info->var; in acornfb_set_timing() local 122 vidc.h_sync_width = var->hsync_len - 8; in acornfb_set_timing() 123 vidc.h_border_start = vidc.h_sync_width + var->left_margin + 8 - 12; in acornfb_set_timing() 125 vidc.h_display_end = vidc.h_display_start + var->xres; in acornfb_set_timing() 127 vidc.h_cycle = vidc.h_border_end + var->right_margin + 12 - 8; in acornfb_set_timing() 129 vidc.v_sync_width = var->vsync_len - 1; in acornfb_set_timing() 130 vidc.v_border_start = vidc.v_sync_width + var->upper_margin; in acornfb_set_timing() 132 vidc.v_display_end = vidc.v_display_start + var->yres; in acornfb_set_timing() 136 vcr = var->vsync_len + var->upper_margin + var->yres + in acornfb_set_timing() 137 var->lower_margin; in acornfb_set_timing() [all …]
|
| D | goldfishfb.c | 78 fb->cmap[regno] = convert_bitfield(transp, &fb->fb.var.transp) | in goldfish_fb_setcolreg() 79 convert_bitfield(blue, &fb->fb.var.blue) | in goldfish_fb_setcolreg() 80 convert_bitfield(green, &fb->fb.var.green) | in goldfish_fb_setcolreg() 81 convert_bitfield(red, &fb->fb.var.red); in goldfish_fb_setcolreg() 88 static int goldfish_fb_check_var(struct fb_var_screeninfo *var, in goldfish_fb_check_var() argument 91 if ((var->rotate & 1) != (info->var.rotate & 1)) { in goldfish_fb_check_var() 92 if ((var->xres != info->var.yres) || in goldfish_fb_check_var() 93 (var->yres != info->var.xres) || in goldfish_fb_check_var() 94 (var->xres_virtual != info->var.yres) || in goldfish_fb_check_var() 95 (var->yres_virtual > info->var.xres * 2) || in goldfish_fb_check_var() [all …]
|
| D | vt8500lcdfb.c | 49 if (info->var.bits_per_pixel <= 8) { in vt8500lcd_set_par() 51 info->var.red.offset = 0; in vt8500lcd_set_par() 52 info->var.red.length = info->var.bits_per_pixel; in vt8500lcd_set_par() 53 info->var.red.msb_right = 0; in vt8500lcd_set_par() 55 info->var.green.offset = 0; in vt8500lcd_set_par() 56 info->var.green.length = info->var.bits_per_pixel; in vt8500lcd_set_par() 57 info->var.green.msb_right = 0; in vt8500lcd_set_par() 59 info->var.blue.offset = 0; in vt8500lcd_set_par() 60 info->var.blue.length = info->var.bits_per_pixel; in vt8500lcd_set_par() 61 info->var.blue.msb_right = 0; in vt8500lcd_set_par() [all …]
|
| D | pvr2fb.c | 255 static void set_color_bitfields(struct fb_var_screeninfo *var) in set_color_bitfields() argument 257 switch (var->bits_per_pixel) { in set_color_bitfields() 260 var->red.offset = 11; var->red.length = 5; in set_color_bitfields() 261 var->green.offset = 5; var->green.length = 6; in set_color_bitfields() 262 var->blue.offset = 0; var->blue.length = 5; in set_color_bitfields() 263 var->transp.offset = 0; var->transp.length = 0; in set_color_bitfields() 266 var->red.offset = 16; var->red.length = 8; in set_color_bitfields() 267 var->green.offset = 8; var->green.length = 8; in set_color_bitfields() 268 var->blue.offset = 0; var->blue.length = 8; in set_color_bitfields() 269 var->transp.offset = 0; var->transp.length = 0; in set_color_bitfields() [all …]
|
| D | ep93xx-fb.c | 163 info->var.transp.offset = 0; in ep93xxfb_set_pixelmode() 164 info->var.transp.length = 0; in ep93xxfb_set_pixelmode() 166 switch (info->var.bits_per_pixel) { in ep93xxfb_set_pixelmode() 171 info->var.red.offset = 0; in ep93xxfb_set_pixelmode() 172 info->var.red.length = 8; in ep93xxfb_set_pixelmode() 173 info->var.green.offset = 0; in ep93xxfb_set_pixelmode() 174 info->var.green.length = 8; in ep93xxfb_set_pixelmode() 175 info->var.blue.offset = 0; in ep93xxfb_set_pixelmode() 176 info->var.blue.length = 8; in ep93xxfb_set_pixelmode() 184 info->var.red.offset = 11; in ep93xxfb_set_pixelmode() [all …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/ |
| D | 68328fb.c | 90 static int mc68x328fb_check_var(struct fb_var_screeninfo *var, 95 static int mc68x328fb_pan_display(struct fb_var_screeninfo *var, 127 * to hardware, it should only verify and adjust var. 129 * data from it to check this var. 132 static int mc68x328fb_check_var(struct fb_var_screeninfo *var, in mc68x328fb_check_var() argument 142 if (var->vmode & FB_VMODE_CONUPDATE) { in mc68x328fb_check_var() 143 var->vmode |= FB_VMODE_YWRAP; in mc68x328fb_check_var() 144 var->xoffset = info->var.xoffset; in mc68x328fb_check_var() 145 var->yoffset = info->var.yoffset; in mc68x328fb_check_var() 151 if (!var->xres) in mc68x328fb_check_var() [all …]
|
| D | pxa168fb.c | 37 static int determine_best_pix_fmt(struct fb_var_screeninfo *var) in determine_best_pix_fmt() argument 42 if (var->bits_per_pixel == 8) in determine_best_pix_fmt() 48 if (var->bits_per_pixel == 16 && var->red.length <= 5 && in determine_best_pix_fmt() 49 var->green.length <= 6 && var->blue.length <= 5) { in determine_best_pix_fmt() 50 if (var->transp.length == 0) { in determine_best_pix_fmt() 51 if (var->red.offset >= var->blue.offset) in determine_best_pix_fmt() 57 if (var->transp.length == 1 && var->green.length <= 5) { in determine_best_pix_fmt() 58 if (var->red.offset >= var->blue.offset) in determine_best_pix_fmt() 68 if (var->bits_per_pixel <= 32 && var->red.length <= 8 && in determine_best_pix_fmt() 69 var->green.length <= 8 && var->blue.length <= 8) { in determine_best_pix_fmt() [all …]
|
| D | vfb.c | 71 static int vfb_check_var(struct fb_var_screeninfo *var, 76 static int vfb_pan_display(struct fb_var_screeninfo *var, 111 * to hardware, it should only verify and adjust var. 113 * data from it to check this var. 116 static int vfb_check_var(struct fb_var_screeninfo *var, in vfb_check_var() argument 126 if (var->vmode & FB_VMODE_CONUPDATE) { in vfb_check_var() 127 var->vmode |= FB_VMODE_YWRAP; in vfb_check_var() 128 var->xoffset = info->var.xoffset; in vfb_check_var() 129 var->yoffset = info->var.yoffset; in vfb_check_var() 135 if (!var->xres) in vfb_check_var() [all …]
|
| D | ocfb.c | 106 struct fb_var_screeninfo *var = &fbdev->info.var; in ocfb_setupfb() local 125 ocfb_writereg(fbdev, OCFB_HTIM, (var->hsync_len - 1) << 24 | in ocfb_setupfb() 126 (var->left_margin - 1) << 16 | (var->xres - 1)); in ocfb_setupfb() 129 ocfb_writereg(fbdev, OCFB_VTIM, (var->vsync_len - 1) << 24 | in ocfb_setupfb() 130 (var->upper_margin - 1) << 16 | (var->yres - 1)); in ocfb_setupfb() 133 hlen = var->left_margin + var->right_margin + var->hsync_len + in ocfb_setupfb() 134 var->xres; in ocfb_setupfb() 136 vlen = var->upper_margin + var->lower_margin + var->vsync_len + in ocfb_setupfb() 137 var->yres; in ocfb_setupfb() 142 switch (var->bits_per_pixel) { in ocfb_setupfb() [all …]
|
| D | acornfb.c | 114 struct fb_var_screeninfo *var = &info->var; in acornfb_set_timing() local 122 vidc.h_sync_width = var->hsync_len - 8; in acornfb_set_timing() 123 vidc.h_border_start = vidc.h_sync_width + var->left_margin + 8 - 12; in acornfb_set_timing() 125 vidc.h_display_end = vidc.h_display_start + var->xres; in acornfb_set_timing() 127 vidc.h_cycle = vidc.h_border_end + var->right_margin + 12 - 8; in acornfb_set_timing() 129 vidc.v_sync_width = var->vsync_len - 1; in acornfb_set_timing() 130 vidc.v_border_start = vidc.v_sync_width + var->upper_margin; in acornfb_set_timing() 132 vidc.v_display_end = vidc.v_display_start + var->yres; in acornfb_set_timing() 136 vcr = var->vsync_len + var->upper_margin + var->yres + in acornfb_set_timing() 137 var->lower_margin; in acornfb_set_timing() [all …]
|
| D | goldfishfb.c | 78 fb->cmap[regno] = convert_bitfield(transp, &fb->fb.var.transp) | in goldfish_fb_setcolreg() 79 convert_bitfield(blue, &fb->fb.var.blue) | in goldfish_fb_setcolreg() 80 convert_bitfield(green, &fb->fb.var.green) | in goldfish_fb_setcolreg() 81 convert_bitfield(red, &fb->fb.var.red); in goldfish_fb_setcolreg() 88 static int goldfish_fb_check_var(struct fb_var_screeninfo *var, in goldfish_fb_check_var() argument 91 if ((var->rotate & 1) != (info->var.rotate & 1)) { in goldfish_fb_check_var() 92 if ((var->xres != info->var.yres) || in goldfish_fb_check_var() 93 (var->yres != info->var.xres) || in goldfish_fb_check_var() 94 (var->xres_virtual != info->var.yres) || in goldfish_fb_check_var() 95 (var->yres_virtual > info->var.xres * 2) || in goldfish_fb_check_var() [all …]
|
| D | vt8500lcdfb.c | 49 if (info->var.bits_per_pixel <= 8) { in vt8500lcd_set_par() 51 info->var.red.offset = 0; in vt8500lcd_set_par() 52 info->var.red.length = info->var.bits_per_pixel; in vt8500lcd_set_par() 53 info->var.red.msb_right = 0; in vt8500lcd_set_par() 55 info->var.green.offset = 0; in vt8500lcd_set_par() 56 info->var.green.length = info->var.bits_per_pixel; in vt8500lcd_set_par() 57 info->var.green.msb_right = 0; in vt8500lcd_set_par() 59 info->var.blue.offset = 0; in vt8500lcd_set_par() 60 info->var.blue.length = info->var.bits_per_pixel; in vt8500lcd_set_par() 61 info->var.blue.msb_right = 0; in vt8500lcd_set_par() [all …]
|
| D | pvr2fb.c | 254 static void set_color_bitfields(struct fb_var_screeninfo *var) in set_color_bitfields() argument 256 switch (var->bits_per_pixel) { in set_color_bitfields() 259 var->red.offset = 11; var->red.length = 5; in set_color_bitfields() 260 var->green.offset = 5; var->green.length = 6; in set_color_bitfields() 261 var->blue.offset = 0; var->blue.length = 5; in set_color_bitfields() 262 var->transp.offset = 0; var->transp.length = 0; in set_color_bitfields() 265 var->red.offset = 16; var->red.length = 8; in set_color_bitfields() 266 var->green.offset = 8; var->green.length = 8; in set_color_bitfields() 267 var->blue.offset = 0; var->blue.length = 8; in set_color_bitfields() 268 var->transp.offset = 0; var->transp.length = 0; in set_color_bitfields() [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/kdump/ |
| D | gdbmacros.txt | 21 set var $stacksize = sizeof(union thread_union) 26 set var $stackp = $next_t.thread.sp 27 set var $stack_top = ($stackp & ~($stacksize - 1)) + $stacksize 40 set var $stackp = $next_t.thread.sp 41 set var $stack_top = ($stackp & ~($stacksize - 1)) + stacksize 59 set var $pid_task = $arg0 65 set var $stackp = $pid_task.thread.sp 66 set var $stacksize = sizeof(union thread_union) 67 set var $stack_top = ($stackp & ~($stacksize - 1)) + $stacksize 68 set var $stack_bot = ($stackp & ~($stacksize - 1)) [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/kdump/ |
| D | gdbmacros.txt | 21 set var $stacksize = sizeof(union thread_union) 26 set var $stackp = $next_t.thread.sp 27 set var $stack_top = ($stackp & ~($stacksize - 1)) + $stacksize 40 set var $stackp = $next_t.thread.sp 41 set var $stack_top = ($stackp & ~($stacksize - 1)) + stacksize 59 set var $pid_task = $arg0 65 set var $stackp = $pid_task.thread.sp 66 set var $stacksize = sizeof(union thread_union) 67 set var $stack_top = ($stackp & ~($stacksize - 1)) + $stacksize 68 set var $stack_bot = ($stackp & ~($stacksize - 1)) [all …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/core/ |
| D | svgalib.c | 170 void svga_dump_var(struct fb_var_screeninfo *var, int node) 172 pr_debug("fb%d: var.vmode : 0x%X\n", node, var->vmode); 173 pr_debug("fb%d: var.xres : %d\n", node, var->xres); 174 pr_debug("fb%d: var.yres : %d\n", node, var->yres); 175 pr_debug("fb%d: var.bits_per_pixel: %d\n", node, var->bits_per_pixel); 176 pr_debug("fb%d: var.xres_virtual : %d\n", node, var->xres_virtual); 177 pr_debug("fb%d: var.yres_virtual : %d\n", node, var->yres_virtual); 178 pr_debug("fb%d: var.left_margin : %d\n", node, var->left_margin); 179 pr_debug("fb%d: var.right_margin : %d\n", node, var->right_margin); 180 pr_debug("fb%d: var.upper_margin : %d\n", node, var->upper_margin); [all …]
|
| /kernel/linux/linux-6.6/drivers/video/fbdev/core/ |
| D | svgalib.c | 171 void svga_dump_var(struct fb_var_screeninfo *var, int node) 173 pr_debug("fb%d: var.vmode : 0x%X\n", node, var->vmode); 174 pr_debug("fb%d: var.xres : %d\n", node, var->xres); 175 pr_debug("fb%d: var.yres : %d\n", node, var->yres); 176 pr_debug("fb%d: var.bits_per_pixel: %d\n", node, var->bits_per_pixel); 177 pr_debug("fb%d: var.xres_virtual : %d\n", node, var->xres_virtual); 178 pr_debug("fb%d: var.yres_virtual : %d\n", node, var->yres_virtual); 179 pr_debug("fb%d: var.left_margin : %d\n", node, var->left_margin); 180 pr_debug("fb%d: var.right_margin : %d\n", node, var->right_margin); 181 pr_debug("fb%d: var.upper_margin : %d\n", node, var->upper_margin); [all …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/ |
| D | omapfb-main.c | 56 struct fb_var_screeninfo *var = &fbi->var; in draw_pixel() local 59 const unsigned bytespp = var->bits_per_pixel >> 3; in draw_pixel() 66 if (var->bits_per_pixel == 16) { in draw_pixel() 75 } else if (var->bits_per_pixel == 24) { in draw_pixel() 82 } else if (var->bits_per_pixel == 32) { in draw_pixel() 91 struct fb_var_screeninfo *var = &fbi->var; in fill_fb() local 92 const short w = var->xres_virtual; in fill_fb() 93 const short h = var->yres_virtual; in fill_fb() 125 if (var->bits_per_pixel == 16) { in fill_fb() 272 static bool cmp_var_to_colormode(struct fb_var_screeninfo *var, in cmp_var_to_colormode() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/ |
| D | omapfb-main.c | 56 struct fb_var_screeninfo *var = &fbi->var; in draw_pixel() local 59 const unsigned bytespp = var->bits_per_pixel >> 3; in draw_pixel() 66 if (var->bits_per_pixel == 16) { in draw_pixel() 75 } else if (var->bits_per_pixel == 24) { in draw_pixel() 82 } else if (var->bits_per_pixel == 32) { in draw_pixel() 91 struct fb_var_screeninfo *var = &fbi->var; in fill_fb() local 92 const short w = var->xres_virtual; in fill_fb() 93 const short h = var->yres_virtual; in fill_fb() 125 if (var->bits_per_pixel == 16) { in fill_fb() 272 static bool cmp_var_to_colormode(struct fb_var_screeninfo *var, in cmp_var_to_colormode() argument [all …]
|