Lines Matching defs:work

324 	struct intel_fbc_work *work = container_of(arg, struct intel_fbc_work,
325 work);
326 struct drm_device *dev = work->dev;
330 if (work == dev_priv->fbc_work) {
332 * the prior work.
334 if (work->crtc->fb == work->fb) {
335 dev_priv->display.enable_fbc(work->crtc,
336 work->interval);
338 dev_priv->cfb_plane = to_intel_crtc(work->crtc)->plane;
339 dev_priv->cfb_fb = work->crtc->fb->base.id;
340 dev_priv->cfb_y = work->crtc->y;
347 kfree(work, sizeof(struct intel_fbc_work));
353 struct intel_fbc_work *work = (struct intel_fbc_work *)device;
354 struct drm_device *dev = work->dev;
356 queue_work(dev_priv->other_wq, &work->work);
375 /* Mark the work as no longer wanted so that if it does
376 * wake-up (because the work was already running and waiting
385 struct intel_fbc_work *work;
394 work = kzalloc(sizeof *work, GFP_KERNEL);
395 if (work == NULL) {
400 work->dev = crtc->dev;
401 work->crtc = crtc;
402 work->fb = crtc->fb;
403 work->interval = interval;
405 INIT_WORK(&work->work, intel_fbc_work_fn);
407 (void *)work);
409 dev_priv->fbc_work = work;
3154 /* Complete PM interrupt masking here doesn't race with the rps work
3173 /* Complete PM interrupt masking here doesn't race with the rps work
3458 static void vlv_rps_timer_work(struct work_struct *work)
3460 drm_i915_private_t *dev_priv = container_of(work, drm_i915_private_t,
3461 rps.vlv_work.work);
3560 /* allows RC6 residency counter to work */
3869 static void intel_gen6_powersave_work(struct work_struct *work)
3871 drm_i915_private_t *dev_priv = container_of(work, drm_i915_private_t,