Lines Matching refs:vbl_work
177 struct msm_vblank_work *vbl_work = container_of(work, in vblank_ctrl_worker() local
179 struct msm_drm_private *priv = vbl_work->priv; in vblank_ctrl_worker()
182 if (vbl_work->enable) in vblank_ctrl_worker()
183 kms->funcs->enable_vblank(kms, priv->crtcs[vbl_work->crtc_id]); in vblank_ctrl_worker()
185 kms->funcs->disable_vblank(kms, priv->crtcs[vbl_work->crtc_id]); in vblank_ctrl_worker()
187 kfree(vbl_work); in vblank_ctrl_worker()
193 struct msm_vblank_work *vbl_work; in vblank_ctrl_queue_work() local
195 vbl_work = kzalloc(sizeof(*vbl_work), GFP_ATOMIC); in vblank_ctrl_queue_work()
196 if (!vbl_work) in vblank_ctrl_queue_work()
199 INIT_WORK(&vbl_work->work, vblank_ctrl_worker); in vblank_ctrl_queue_work()
201 vbl_work->crtc_id = crtc_id; in vblank_ctrl_queue_work()
202 vbl_work->enable = enable; in vblank_ctrl_queue_work()
203 vbl_work->priv = priv; in vblank_ctrl_queue_work()
205 queue_work(priv->wq, &vbl_work->work); in vblank_ctrl_queue_work()