Home
last modified time | relevance | path

Searched refs:fb_count (Results 1 – 4 of 4) sorted by relevance

/drivers/gpu/drm/udl/
Dudl_fb.c37 int fb_count; member
337 ufbdev->fb_count++; in udl_fb_open()
356 info->node, user, info, ufbdev->fb_count); in udl_fb_open()
369 ufbdev->fb_count--; in udl_fb_release()
371 if ((ufbdev->fb_count == 0) && (info->fbdefio)) { in udl_fb_release()
379 info->node, user, ufbdev->fb_count); in udl_fb_release()
/drivers/video/fbdev/
Dsmscufx.c101 int fb_count; member
1080 dev->fb_count++; in ufx_ops_open()
1101 info->node, user, info, dev->fb_count); in ufx_ops_open()
1167 dev->fb_count--; in ufx_ops_release()
1170 if (dev->virtualized && (dev->fb_count == 0)) in ufx_ops_release()
1173 if ((dev->fb_count == 0) && (info->fbdefio)) { in ufx_ops_release()
1181 info->node, user, dev->fb_count); in ufx_ops_release()
1252 if ((result == 0) && (dev->fb_count == 0)) { in ufx_ops_set_par()
1594 if ((default_vmode != NULL) && (dev->fb_count == 0)) { in ufx_setup_modes()
1780 if (dev->fb_count == 0) in ufx_usb_disconnect()
Dudlfb.c890 dev->fb_count++; in dlfb_ops_open()
911 info->node, user, info, dev->fb_count); in dlfb_ops_open()
984 dev->fb_count--; in dlfb_ops_release()
987 if (dev->virtualized && (dev->fb_count == 0)) in dlfb_ops_release()
990 if ((dev->fb_count == 0) && (info->fbdefio)) { in dlfb_ops_release()
998 info->node, user, dev->fb_count); in dlfb_ops_release()
1069 if ((result == 0) && (dev->fb_count == 0)) { in dlfb_ops_set_par()
1344 if ((default_vmode != NULL) && (dev->fb_count == 0)) { in dlfb_setup_modes()
1773 if (dev->fb_count == 0) in dlfb_usb_disconnect()
/drivers/gpu/drm/
Ddrm_crtc.c1746 int fb_count = 0; in drm_mode_getresources() local
1764 fb_count++; in drm_mode_getresources()
1768 if (card_res->count_fbs >= fb_count) { in drm_mode_getresources()
1779 card_res->count_fbs = fb_count; in drm_mode_getresources()