Home
last modified time | relevance | path

Searched refs:modelist (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.1.9/drivers/video/fbdev/core/
Dmodedb.c958 struct fb_modelist *modelist; in fb_find_best_mode() local
965 modelist = list_entry(pos, struct fb_modelist, list); in fb_find_best_mode()
966 mode = &modelist->mode; in fb_find_best_mode()
996 struct fb_modelist *modelist; in fb_find_nearest_mode() local
1003 modelist = list_entry(pos, struct fb_modelist, list); in fb_find_nearest_mode()
1004 cmode = &modelist->mode; in fb_find_nearest_mode()
1036 struct fb_modelist *modelist; in fb_match_mode() local
1041 modelist = list_entry(pos, struct fb_modelist, list); in fb_match_mode()
1042 m = &modelist->mode; in fb_match_mode()
1060 struct fb_modelist *modelist; in fb_add_videomode() local
[all …]
Dfbsysfs.c141 struct fb_modelist *modelist; in store_mode() local
149 list_for_each(pos, &fb_info->modelist) { in store_mode()
150 modelist = list_entry(pos, struct fb_modelist, list); in store_mode()
151 mode = &modelist->mode; in store_mode()
191 list_splice(&fb_info->modelist, &old_list); in store_modes()
193 &fb_info->modelist); in store_modes()
195 fb_destroy_modelist(&fb_info->modelist); in store_modes()
196 list_splice(&old_list, &fb_info->modelist); in store_modes()
212 struct fb_modelist *modelist; in show_modes() local
216 list_for_each(pos, &fb_info->modelist) { in show_modes()
[all …]
Dfbmem.c976 fb_delete_videomode(&mode1, &info->modelist); in fb_set_var()
1060 if (info->modelist.prev && info->modelist.next && in fb_set_var()
1061 !list_empty(&info->modelist)) in fb_set_var()
1062 ret = fb_add_videomode(&mode, &info->modelist); in fb_set_var()
1576 if (!fb_info->modelist.prev || !fb_info->modelist.next) in do_register_framebuffer()
1577 INIT_LIST_HEAD(&fb_info->modelist); in do_register_framebuffer()
1585 fb_add_videomode(&mode, &fb_info->modelist); in do_register_framebuffer()
1638 fb_destroy_modelist(&fb_info->modelist); in do_unregister_framebuffer()
1822 struct fb_modelist *modelist; in fb_new_modelist() local
1826 list_for_each_safe(pos, n, &info->modelist) { in fb_new_modelist()
[all …]
/linux-6.1.9/arch/arm/mach-pxa/
Dhimalaya.c135 himalaya_fb_info.modelist = &himalaya4_lcd_mode; in himalaya_lcd_init()
138 himalaya_fb_info.modelist = &himalaya6_lcd_mode; in himalaya_lcd_init()
143 himalaya_fb_info.modelist = &himalaya4_lcd_mode; in himalaya_lcd_init()
Deseries.c405 .modelist = &e740_lcd_mode,
613 .modelist = &e750_lcd_mode,
883 .modelist = e800_lcd_mode,
Dcorgi.c268 .modelist = &corgi_fb_modes[0],
Dhx4700.c512 .modelist = w3220_modes,
/linux-6.1.9/include/video/
Dmmp_disp.h181 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()
Dw100fb.h114 struct w100_mode *modelist; member
/linux-6.1.9/drivers/video/fbdev/mmp/
Dcore.c42 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-6.1.9/drivers/video/fbdev/mmp/panel/
Dtpo_tj032md01bw.c113 struct mmp_mode **modelist) in tpohvga_get_modelist() argument
115 *modelist = mmp_modes_tpohvga; in tpohvga_get_modelist()
/linux-6.1.9/drivers/video/fbdev/
Dw100fb.c442 struct w100_mode *modelist = par->mach->modelist; in w100fb_get_mode() local
447 if (modelist[i].xres >= *x && modelist[i].yres >= *y && in w100fb_get_mode()
448 modelist[i].xres < best_x && modelist[i].yres < best_y) { in w100fb_get_mode()
449 best_x = modelist[i].xres; in w100fb_get_mode()
450 best_y = modelist[i].yres; in w100fb_get_mode()
451 mode = &modelist[i]; in w100fb_get_mode()
452 } else if(modelist[i].xres >= *y && modelist[i].yres >= *x && in w100fb_get_mode()
453 modelist[i].xres < best_y && modelist[i].yres < best_x) { in w100fb_get_mode()
454 best_x = modelist[i].yres; in w100fb_get_mode()
455 best_y = modelist[i].xres; in w100fb_get_mode()
[all …]
Duvesafb.c736 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 …]
Datmel_lcdfb.c374 fbmode = fb_find_nearest_mode(&varfbmode, &info->modelist); in atmel_lcdfb_choose_mode()
1035 fb_add_videomode(&fb_vm, &info->modelist); in atmel_lcdfb_of_init()
1049 struct fb_modelist *modelist; in atmel_lcdfb_probe() local
1063 INIT_LIST_HEAD(&info->modelist); in atmel_lcdfb_probe()
1103 modelist = list_first_entry(&info->modelist, in atmel_lcdfb_probe()
1105 fb_videomode_to_var(&info->var, &modelist->mode); in atmel_lcdfb_probe()
Dsmscufx.c1155 fb_destroy_modelist(&info->modelist); in ufx_free_framebuffer()
1508 fb_destroy_modelist(&info->modelist); in ufx_setup_modes()
1557 &info->modelist); in ufx_setup_modes()
1563 &info->modelist); in ufx_setup_modes()
1580 &info->modelist); in ufx_setup_modes()
1590 &info->modelist); in ufx_setup_modes()
1671 INIT_LIST_HEAD(&info->modelist); in ufx_usb_probe()
1736 fb_destroy_modelist(&info->modelist); in ufx_usb_probe()
Dudlfb.c1011 fb_destroy_modelist(&info->modelist); in dlfb_ops_destroy()
1305 fb_destroy_modelist(&info->modelist); in dlfb_setup_modes()
1357 fb_add_videomode(mode, &info->modelist); in dlfb_setup_modes()
1369 &info->modelist); in dlfb_setup_modes()
1386 fb_add_videomode(mode, &info->modelist); in dlfb_setup_modes()
1400 &info->modelist); in dlfb_setup_modes()
1714 INIT_LIST_HEAD(&info->modelist); in dlfb_usb_probe()
Dpxafb.c372 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()
Dpxa168fb.c571 m = fb_find_best_mode(&info->var, &info->modelist); in pxa168fb_init_mode()
685 fb_videomode_to_modelist(mi->modes, mi->num_modes, &info->modelist); in pxa168fb_probe()
Dimxfb.c990 INIT_LIST_HEAD(&info->modelist); in imxfb_probe()
992 fb_add_videomode(&fbi->mode[i].mode, &info->modelist); in imxfb_probe()
Di740fb.c1097 &info->modelist); in i740fb_probe()
1099 &info->modelist); in i740fb_probe()
/linux-6.1.9/drivers/video/fbdev/mmp/fb/
Dmmpfb.c362 m = (struct fb_videomode *)fb_match_mode(var, &info->modelist); in var_update()
366 &info->modelist); in var_update()
488 fb_videomode_to_modelist(videomodes, videomode_num, &info->modelist); in modes_setup()
/linux-6.1.9/drivers/video/fbdev/aty/
Dradeon_monitor.c764 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-6.1.9/drivers/video/fbdev/i810/
Di810_main.c1057 mode = fb_find_best_mode(var, &info->modelist); in i810_check_params()
1909 INIT_LIST_HEAD(&info->modelist); in i810fb_find_init_mode()
1930 &info->modelist); in i810fb_find_init_mode()
1935 if ((m = fb_find_best_mode(&var, &info->modelist))) { in i810fb_find_init_mode()
1942 m = fb_find_best_display(&info->monspecs, &info->modelist); in i810fb_find_init_mode()
2066 fb_add_videomode(&mode, &info->modelist); in i810fb_init_pci()
/linux-6.1.9/drivers/video/fbdev/nvidia/
Dnvidia.c831 mode = fb_find_best_mode(var, &info->modelist); in nvidiafb_check_var()
853 mode = fb_find_best_mode(var, &info->modelist); in nvidiafb_check_var()
1119 info->monspecs.modedb_len, &info->modelist); in nvidia_set_fbinfo()
1137 mode = fb_find_best_display(specs, &info->modelist); in nvidia_set_fbinfo()
/linux-6.1.9/drivers/video/fbdev/savage/
Dsavagefb_driver.c917 mode = fb_find_best_mode(var, &info->modelist); in savagefb_check_var()
2218 INIT_LIST_HEAD(&info->modelist); in savagefb_probe()
2226 &info->modelist); in savagefb_probe()
2253 mode = fb_find_best_display(&info->monspecs, &info->modelist); in savagefb_probe()

12