/drivers/video/fbdev/core/ |
D | modedb.c | 880 struct fb_modelist *modelist; in fb_find_best_mode() local 887 modelist = list_entry(pos, struct fb_modelist, list); in fb_find_best_mode() 888 mode = &modelist->mode; in fb_find_best_mode() 918 struct fb_modelist *modelist; in fb_find_nearest_mode() local 925 modelist = list_entry(pos, struct fb_modelist, list); in fb_find_nearest_mode() 926 cmode = &modelist->mode; in fb_find_nearest_mode() 958 struct fb_modelist *modelist; in fb_match_mode() local 963 modelist = list_entry(pos, struct fb_modelist, list); in fb_match_mode() 964 m = &modelist->mode; in fb_match_mode() 982 struct fb_modelist *modelist; in fb_add_videomode() local [all …]
|
D | fbsysfs.c | 133 struct fb_modelist *modelist; in store_mode() local 141 list_for_each(pos, &fb_info->modelist) { in store_mode() 142 modelist = list_entry(pos, struct fb_modelist, list); in store_mode() 143 mode = &modelist->mode; in store_mode() 186 list_splice(&fb_info->modelist, &old_list); in store_modes() 188 &fb_info->modelist); in store_modes() 190 fb_destroy_modelist(&fb_info->modelist); in store_modes() 191 list_splice(&old_list, &fb_info->modelist); in store_modes() 207 struct fb_modelist *modelist; in show_modes() local 211 list_for_each(pos, &fb_info->modelist) { in show_modes() [all …]
|
D | fbmem.c | 967 fb_delete_videomode(&mode1, &info->modelist); in fb_set_var() 1032 if (info->modelist.prev && info->modelist.next && in fb_set_var() 1033 !list_empty(&info->modelist)) in fb_set_var() 1034 ret = fb_add_videomode(&mode, &info->modelist); in fb_set_var() 1665 if (!fb_info->modelist.prev || !fb_info->modelist.next) in do_register_framebuffer() 1666 INIT_LIST_HEAD(&fb_info->modelist); in do_register_framebuffer() 1674 fb_add_videomode(&mode, &fb_info->modelist); in do_register_framebuffer() 1719 fb_destroy_modelist(&fb_info->modelist); in do_unregister_framebuffer() 1884 struct fb_modelist *modelist; in fb_new_modelist() local 1888 list_for_each_safe(pos, n, &info->modelist) { in fb_new_modelist() [all …]
|
/drivers/video/adf/ |
D | adf_fbdev.c | 325 struct drm_mode_modeinfo *modelist; in adf_fbdev_fill_modelist() local 331 modelist = kzalloc(sizeof(modelist[0]) * n_modes, GFP_KERNEL); in adf_fbdev_fill_modelist() 332 if (!modelist) { in adf_fbdev_fill_modelist() 336 adf_interface_modelist(fbdev->intf, modelist, n_modes); in adf_fbdev_fill_modelist() 338 fb_destroy_modelist(&fbdev->info->modelist); in adf_fbdev_fill_modelist() 341 adf_modeinfo_to_fb_videomode(&modelist[i], &fbmode); in adf_fbdev_fill_modelist() 342 ret = fb_add_videomode(&fbmode, &fbdev->info->modelist); in adf_fbdev_fill_modelist() 345 modelist[i].name, ret); in adf_fbdev_fill_modelist() 348 kfree(modelist); in adf_fbdev_fill_modelist() 638 INIT_LIST_HEAD(&fbdev->info->modelist); in adf_fbdev_init()
|
D | adf_fops.c | 549 struct drm_mode_modeinfo *modelist; in adf_intf_get_data() local 571 modelist = kmalloc(sizeof(modelist[0]) * ADF_MAX_MODES, GFP_KERNEL); in adf_intf_get_data() 572 if (!modelist) in adf_intf_get_data() 579 sizeof(intf->modelist[0]); in adf_intf_get_data() 580 memcpy(modelist, intf->modelist, modelist_size); in adf_intf_get_data() 584 if (copy_to_user(data.available_modes, modelist, modelist_size)) { in adf_intf_get_data() 597 kfree(modelist); in adf_intf_get_data()
|
D | adf.c | 388 struct drm_mode_modeinfo *modelist, size_t n_modes) in adf_hotplug_notify() argument 395 old_modelist = intf->modelist; in adf_hotplug_notify() 397 intf->modelist = modelist; in adf_hotplug_notify() 425 struct drm_mode_modeinfo *modelist, size_t n_modes) in adf_hotplug_notify_connected() argument 436 memcpy(modelist_copy, modelist, sizeof(modelist_copy[0]) * n_modes); in adf_hotplug_notify_connected() 727 kfree(intf->modelist); in adf_interface_destroy()
|
D | adf_client.c | 154 struct drm_mode_modeinfo *modelist, size_t n_modes) in adf_interface_modelist() argument 160 if (modelist) in adf_interface_modelist() 161 memcpy(modelist, intf->modelist, sizeof(modelist[0]) * in adf_interface_modelist()
|
/drivers/video/fbdev/mmp/ |
D | core.c | 54 struct mmp_mode **modelist) in path_get_modelist() argument 56 BUG_ON(!path || !modelist); in path_get_modelist() 59 return path->panel->get_modelist(path->panel, modelist); in path_get_modelist()
|
/drivers/video/fbdev/ |
D | w100fb.c | 437 struct w100_mode *modelist = par->mach->modelist; in w100fb_get_mode() local 442 if (modelist[i].xres >= *x && modelist[i].yres >= *y && in w100fb_get_mode() 443 modelist[i].xres < best_x && modelist[i].yres < best_y) { in w100fb_get_mode() 444 best_x = modelist[i].xres; in w100fb_get_mode() 445 best_y = modelist[i].yres; in w100fb_get_mode() 446 mode = &modelist[i]; in w100fb_get_mode() 447 } else if(modelist[i].xres >= *y && modelist[i].yres >= *x && in w100fb_get_mode() 448 modelist[i].xres < best_y && modelist[i].yres < best_x) { in w100fb_get_mode() 449 best_x = modelist[i].yres; in w100fb_get_mode() 450 best_y = modelist[i].xres; in w100fb_get_mode() [all …]
|
D | uvesafb.c | 744 fb_add_videomode(&vmode, &info->modelist); in uvesafb_vbe_getmonspecs() 751 fb_add_videomode(&vesa_modes[i], &info->modelist); in uvesafb_vbe_getmonspecs() 757 &info->modelist); in uvesafb_vbe_getmonspecs() 829 INIT_LIST_HEAD(&info->modelist); in uvesafb_vbe_init() 840 struct fb_modelist *modelist; in uvesafb_vbe_init_mode() local 869 list_for_each(pos, &info->modelist) in uvesafb_vbe_init_mode() 879 list_for_each(pos, &info->modelist) { in uvesafb_vbe_init_mode() 880 modelist = list_entry(pos, struct fb_modelist, list); in uvesafb_vbe_init_mode() 881 mode[i] = modelist->mode; in uvesafb_vbe_init_mode() 899 fb_find_best_mode(&info->var, &info->modelist); in uvesafb_vbe_init_mode() [all …]
|
D | atmel_lcdfb.c | 458 fbmode = fb_find_nearest_mode(&varfbmode, &info->modelist); in atmel_lcdfb_choose_mode() 1142 fb_add_videomode(&fb_vm, &info->modelist); in atmel_lcdfb_of_init() 1168 struct fb_modelist *modelist; in atmel_lcdfb_probe() local 1184 INIT_LIST_HEAD(&info->modelist); in atmel_lcdfb_probe() 1199 fb_add_videomode(&monspecs->modedb[i], &info->modelist); in atmel_lcdfb_probe() 1237 modelist = list_first_entry(&info->modelist, in atmel_lcdfb_probe() 1239 fb_videomode_to_var(&info->var, &modelist->mode); in atmel_lcdfb_probe()
|
D | smscufx.c | 1148 fb_destroy_modelist(&info->modelist); in ufx_free_framebuffer_work() 1509 fb_destroy_modelist(&info->modelist); in ufx_setup_modes() 1558 &info->modelist); in ufx_setup_modes() 1564 &info->modelist); in ufx_setup_modes() 1581 &info->modelist); in ufx_setup_modes() 1591 &info->modelist); in ufx_setup_modes() 1685 INIT_LIST_HEAD(&info->modelist); in ufx_usb_probe() 1749 fb_destroy_modelist(&info->modelist); in ufx_usb_probe()
|
D | udlfb.c | 959 fb_destroy_modelist(&info->modelist); in dlfb_free_framebuffer() 1251 fb_destroy_modelist(&info->modelist); in dlfb_setup_modes() 1304 &info->modelist); in dlfb_setup_modes() 1314 &info->modelist); in dlfb_setup_modes() 1332 &info->modelist); in dlfb_setup_modes() 1343 &info->modelist); in dlfb_setup_modes() 1690 INIT_LIST_HEAD(&info->modelist); in dlfb_init_framebuffer_work()
|
D | pxafb.c | 368 struct pxafb_mode_info *modelist = mach->modes; in pxafb_getmode() local 373 if (modelist[i].xres >= var->xres && in pxafb_getmode() 374 modelist[i].yres >= var->yres && in pxafb_getmode() 375 modelist[i].xres < best_x && in pxafb_getmode() 376 modelist[i].yres < best_y && in pxafb_getmode() 377 modelist[i].bpp >= var->bits_per_pixel) { in pxafb_getmode() 378 best_x = modelist[i].xres; in pxafb_getmode() 379 best_y = modelist[i].yres; in pxafb_getmode() 380 mode = &modelist[i]; in pxafb_getmode()
|
D | pxa168fb.c | 579 m = fb_find_best_mode(&info->var, &info->modelist); in pxa168fb_init_mode() 701 fb_videomode_to_modelist(mi->modes, mi->num_modes, &info->modelist); in pxa168fb_probe()
|
D | imxfb.c | 943 INIT_LIST_HEAD(&info->modelist); in imxfb_probe() 945 fb_add_videomode(&fbi->mode[i].mode, &info->modelist); in imxfb_probe()
|
D | i740fb.c | 1095 &info->modelist); in i740fb_probe() 1097 &info->modelist); in i740fb_probe()
|
D | s3fb.c | 1301 &info->modelist); in s3_pci_probe() 1302 m = fb_find_best_display(&info->monspecs, &info->modelist); in s3_pci_probe()
|
D | tdfxfb.c | 1514 &info->modelist); in tdfxfb_probe() 1515 m = fb_find_best_display(specs, &info->modelist); in tdfxfb_probe()
|
/drivers/video/fbdev/mmp/panel/ |
D | tpo_tj032md01bw.c | 126 struct mmp_mode **modelist) in tpohvga_get_modelist() argument 128 *modelist = mmp_modes_tpohvga; in tpohvga_get_modelist()
|
/drivers/video/fbdev/mmp/fb/ |
D | mmpfb.c | 377 m = (struct fb_videomode *)fb_match_mode(var, &info->modelist); in var_update() 381 &info->modelist); in var_update() 504 fb_videomode_to_modelist(videomodes, videomode_num, &info->modelist); in modes_setup()
|
/drivers/video/fbdev/aty/ |
D | radeon_monitor.c | 765 INIT_LIST_HEAD(&info->modelist); in radeon_check_modes() 833 &info->modelist); in radeon_check_modes() 936 fb_add_videomode(&mode, &info->modelist); in radeon_check_modes()
|
/drivers/video/fbdev/i810/ |
D | i810_main.c | 1055 mode = fb_find_best_mode(var, &info->modelist); in i810_check_params() 1905 INIT_LIST_HEAD(&info->modelist); in i810fb_find_init_mode() 1926 &info->modelist); in i810fb_find_init_mode() 1931 if ((m = fb_find_best_mode(&var, &info->modelist))) { in i810fb_find_init_mode() 1938 m = fb_find_best_display(&info->monspecs, &info->modelist); in i810fb_find_init_mode() 2058 fb_add_videomode(&mode, &info->modelist); in i810fb_init_pci()
|
/drivers/video/fbdev/nvidia/ |
D | nvidia.c | 842 mode = fb_find_best_mode(var, &info->modelist); in nvidiafb_check_var() 864 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()
|
/drivers/video/fbdev/savage/ |
D | savagefb_driver.c | 921 mode = fb_find_best_mode(var, &info->modelist); in savagefb_check_var() 2223 INIT_LIST_HEAD(&info->modelist); in savagefb_probe() 2231 &info->modelist); in savagefb_probe() 2258 mode = fb_find_best_display(&info->monspecs, &info->modelist); in savagefb_probe()
|