Lines Matching refs:vblank_refcount
362 if (atomic_read(&dev->vblank_refcount[i]) == 0 &&
384 kfree(dev->vblank_refcount, sizeof (atomic_t) * dev->num_crtcs);
417 dev->vblank_refcount = kmalloc(sizeof(atomic_t) * num_crtcs,
419 if (!dev->vblank_refcount)
455 atomic_set(&dev->vblank_refcount[i], 0);
1083 if (atomic_add_return(1, &dev->vblank_refcount[crtc]) == 1) {
1090 atomic_dec(&dev->vblank_refcount[crtc]);
1099 atomic_dec(&dev->vblank_refcount[crtc]);
1118 BUG_ON (atomic_read (&dev->vblank_refcount[crtc]) == 0);
1121 if (atomic_dec_and_test(&dev->vblank_refcount[crtc]) &&