Lines Matching refs:vbl_work
166 struct msm_vblank_work *vbl_work = container_of(work, in vblank_ctrl_worker() local
168 struct msm_drm_private *priv = vbl_work->priv; in vblank_ctrl_worker()
171 if (vbl_work->enable) in vblank_ctrl_worker()
172 kms->funcs->enable_vblank(kms, priv->crtcs[vbl_work->crtc_id]); in vblank_ctrl_worker()
174 kms->funcs->disable_vblank(kms, priv->crtcs[vbl_work->crtc_id]); in vblank_ctrl_worker()
176 kfree(vbl_work); in vblank_ctrl_worker()
182 struct msm_vblank_work *vbl_work; in vblank_ctrl_queue_work() local
184 vbl_work = kzalloc(sizeof(*vbl_work), GFP_ATOMIC); in vblank_ctrl_queue_work()
185 if (!vbl_work) in vblank_ctrl_queue_work()
188 INIT_WORK(&vbl_work->work, vblank_ctrl_worker); in vblank_ctrl_queue_work()
190 vbl_work->crtc_id = crtc_id; in vblank_ctrl_queue_work()
191 vbl_work->enable = enable; in vblank_ctrl_queue_work()
192 vbl_work->priv = priv; in vblank_ctrl_queue_work()
194 queue_work(priv->wq, &vbl_work->work); in vblank_ctrl_queue_work()