/linux/drivers/video/fbdev/core/ |
H A D | modedb.c | 966 struct fb_modelist *modelist; in fb_find_best_mode() local 970 list_for_each_entry(modelist, head, list) { in fb_find_best_mode() 972 mode = &modelist->mode; in fb_find_best_mode() 1001 struct fb_modelist *modelist; in fb_find_nearest_mode() local 1005 list_for_each_entry(modelist, head, list) { in fb_find_nearest_mode() 1007 cmode = &modelist->mode; in fb_find_nearest_mode() 1038 struct fb_modelist *modelist; in fb_match_mode() local 1042 list_for_each_entry(modelist, head, list) { in fb_match_mode() 1043 m = &modelist->mode; in fb_match_mode() 1060 struct fb_modelist *modelist; in fb_add_videomode() local [all …]
|
H A D | fbmem.c | 243 fb_delete_videomode(&mode1, &info->modelist); in fb_set_var() 327 if (info->modelist.prev && info->modelist.next && in fb_set_var() 328 !list_empty(&info->modelist)) in fb_set_var() 329 ret = fb_add_videomode(&mode, &info->modelist); in fb_set_var() 429 if (!fb_info->modelist.prev || !fb_info->modelist.next) in do_register_framebuffer() 430 INIT_LIST_HEAD(&fb_info->modelist); in do_register_framebuffer() 438 fb_add_videomode(&mode, &fb_info->modelist); in do_register_framebuffer() 484 fb_destroy_modelist(&fb_info->modelist); in do_unregister_framebuffer() 653 struct fb_modelist *modelist; in fb_new_modelist() local 657 list_for_each_safe(pos, n, &info->modelist) { in fb_new_modelist() [all …]
|
H A D | fbsysfs.c | 62 struct fb_modelist *modelist; in store_mode() local 69 list_for_each_entry(modelist, &fb_info->modelist, list) { in store_mode() 70 mode = &modelist->mode; in store_mode() 110 list_splice(&fb_info->modelist, &old_list); in store_modes() 112 &fb_info->modelist); in store_modes() 114 fb_destroy_modelist(&fb_info->modelist); in store_modes() 115 list_splice(&old_list, &fb_info->modelist); in store_modes() 130 struct fb_modelist *modelist; in show_modes() local 134 list_for_each_entry(modelist, &fb_info->modelist, list) { in show_modes() 135 mode = &modelist->mode; in show_modes()
|
H A D | fbcon.c | 914 disp->mode = fb_match_mode(var, &info->modelist); in var_to_display() 2056 mode = fb_find_best_mode(&var, &info->modelist); in fbcon_resize() 3055 &info->modelist); in fbcon_new_modelist()
|
/linux/include/video/ |
H A D | mmp_disp.h | 181 struct mmp_mode **modelist); 193 struct mmp_mode **modelist); 250 struct mmp_mode **modelist) in mmp_path_get_modelist() argument 253 return path->ops.get_modelist(path, modelist); in mmp_path_get_modelist()
|
/linux/drivers/video/fbdev/mmp/ |
H A D | core.c | 42 struct mmp_mode **modelist) in path_get_modelist() argument 44 BUG_ON(!path || !modelist); in path_get_modelist() 47 return path->panel->get_modelist(path->panel, modelist); in path_get_modelist()
|
/linux/drivers/video/fbdev/mmp/panel/ |
H A D | tpo_tj032md01bw.c | 113 struct mmp_mode **modelist) in tpohvga_get_modelist() argument 115 *modelist = mmp_modes_tpohvga; in tpohvga_get_modelist()
|
/linux/drivers/video/fbdev/ |
H A D | uvesafb.c | 736 fb_add_videomode(&vmode, &info->modelist); in uvesafb_vbe_getmonspecs() 743 fb_add_videomode(&vesa_modes[i], &info->modelist); in uvesafb_vbe_getmonspecs() 749 &info->modelist); in uvesafb_vbe_getmonspecs() 819 INIT_LIST_HEAD(&info->modelist); in uvesafb_vbe_init() 830 struct fb_modelist *modelist; in uvesafb_vbe_init_mode() local 858 list_for_each(pos, &info->modelist) in uvesafb_vbe_init_mode() 868 list_for_each(pos, &info->modelist) { in uvesafb_vbe_init_mode() 869 modelist = list_entry(pos, struct fb_modelist, list); in uvesafb_vbe_init_mode() 870 mode[i] = modelist->mode; in uvesafb_vbe_init_mode() 888 fb_find_best_mode(&info->var, &info->modelist); in uvesafb_vbe_init_mode() [all …]
|
H A D | atmel_lcdfb.c | 353 fbmode = fb_find_nearest_mode(&varfbmode, &info->modelist); in atmel_lcdfb_choose_mode() 1012 fb_add_videomode(&fb_vm, &info->modelist); in atmel_lcdfb_of_init() 1026 struct fb_modelist *modelist; in atmel_lcdfb_probe() local 1040 INIT_LIST_HEAD(&info->modelist); in atmel_lcdfb_probe() 1080 modelist = list_first_entry(&info->modelist, in atmel_lcdfb_probe() 1082 fb_videomode_to_var(&info->var, &modelist->mode); in atmel_lcdfb_probe()
|
H A D | smscufx.c | 1099 fb_destroy_modelist(&info->modelist); in ufx_free_framebuffer() 1469 fb_destroy_modelist(&info->modelist); in ufx_setup_modes() 1518 &info->modelist); in ufx_setup_modes() 1524 &info->modelist); in ufx_setup_modes() 1541 &info->modelist); in ufx_setup_modes() 1551 &info->modelist); in ufx_setup_modes() 1634 INIT_LIST_HEAD(&info->modelist); in ufx_usb_probe() 1711 fb_destroy_modelist(&info->modelist); in ufx_usb_probe()
|
H A D | udlfb.c | 953 fb_destroy_modelist(&info->modelist); in dlfb_ops_destroy() 1264 fb_destroy_modelist(&info->modelist); in dlfb_setup_modes() 1316 fb_add_videomode(mode, &info->modelist); in dlfb_setup_modes() 1328 &info->modelist); in dlfb_setup_modes() 1345 fb_add_videomode(mode, &info->modelist); in dlfb_setup_modes() 1359 &info->modelist); in dlfb_setup_modes() 1665 INIT_LIST_HEAD(&info->modelist); in dlfb_usb_probe()
|
H A D | pxafb.c | 372 struct pxafb_mode_info *modelist = mach->modes; in pxafb_getmode() local 377 if (modelist[i].xres >= var->xres && in pxafb_getmode() 378 modelist[i].yres >= var->yres && in pxafb_getmode() 379 modelist[i].xres < best_x && in pxafb_getmode() 380 modelist[i].yres < best_y && in pxafb_getmode() 381 modelist[i].bpp >= var->bits_per_pixel) { in pxafb_getmode() 382 best_x = modelist[i].xres; in pxafb_getmode() 383 best_y = modelist[i].yres; in pxafb_getmode() 384 mode = &modelist[i]; in pxafb_getmode()
|
H A D | pxa168fb.c | 569 m = fb_find_best_mode(&info->var, &info->modelist); in pxa168fb_init_mode() 683 fb_videomode_to_modelist(mi->modes, mi->num_modes, &info->modelist); in pxa168fb_probe()
|
H A D | imxfb.c | 998 INIT_LIST_HEAD(&info->modelist); in imxfb_probe() 1000 fb_add_videomode(&fbi->mode[i].mode, &info->modelist); in imxfb_probe()
|
H A D | i740fb.c | 1094 &info->modelist); in i740fb_probe() 1096 &info->modelist); in i740fb_probe()
|
H A D | s3fb.c | 1306 &info->modelist); in s3_pci_probe() 1307 m = fb_find_best_display(&info->monspecs, &info->modelist); in s3_pci_probe()
|
H A D | tdfxfb.c | 1497 &info->modelist); in tdfxfb_probe() 1498 m = fb_find_best_display(specs, &info->modelist); in tdfxfb_probe()
|
H A D | carminefb.c | 580 &info->modelist); in alloc_carmine_fb()
|
H A D | tridentfb.c | 1653 &info->modelist); in trident_pci_probe() 1655 &info->modelist); in trident_pci_probe()
|
/linux/drivers/video/fbdev/mmp/fb/ |
H A D | mmpfb.c | 362 m = (struct fb_videomode *)fb_match_mode(var, &info->modelist); in var_update() 366 &info->modelist); in var_update() 486 fb_videomode_to_modelist(videomodes, videomode_num, &info->modelist); in modes_setup()
|
/linux/drivers/video/fbdev/aty/ |
H A D | radeon_monitor.c | 764 INIT_LIST_HEAD(&info->modelist); in radeon_check_modes() 832 &info->modelist); in radeon_check_modes() 935 fb_add_videomode(&mode, &info->modelist); in radeon_check_modes()
|
/linux/drivers/video/fbdev/i810/ |
H A D | i810_main.c | 1057 mode = fb_find_best_mode(var, &info->modelist); in i810_check_params() 1911 INIT_LIST_HEAD(&info->modelist); in i810fb_find_init_mode() 1932 &info->modelist); in i810fb_find_init_mode() 1937 if ((m = fb_find_best_mode(&var, &info->modelist))) { in i810fb_find_init_mode() 1944 m = fb_find_best_display(&info->monspecs, &info->modelist); in i810fb_find_init_mode() 2068 fb_add_videomode(&mode, &info->modelist); in i810fb_init_pci()
|
/linux/drivers/video/fbdev/nvidia/ |
H A D | nvidia.c | 833 mode = fb_find_best_mode(var, &info->modelist); in nvidiafb_check_var() 855 mode = fb_find_best_mode(var, &info->modelist); in nvidiafb_check_var() 1123 info->monspecs.modedb_len, &info->modelist); in nvidia_set_fbinfo() 1141 mode = fb_find_best_display(specs, &info->modelist); in nvidia_set_fbinfo()
|
/linux/drivers/video/fbdev/savage/ |
H A D | savagefb_driver.c | 920 mode = fb_find_best_mode(var, &info->modelist); in savagefb_check_var() 2220 INIT_LIST_HEAD(&info->modelist); in savagefb_probe() 2228 &info->modelist); in savagefb_probe() 2255 mode = fb_find_best_display(&info->monspecs, &info->modelist); in savagefb_probe()
|
/linux/include/linux/ |
H A D | fb.h | 471 struct list_head modelist; /* mode list */ member
|