• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/dev/drm2/

Lines Matching refs:driver

74 	if (!dev->driver->bus->irq_by_busid)
80 return dev->driver->bus->irq_by_busid(dev, p);
112 dev->driver->disable_vblank(dev, crtc);
128 dev->last_vblank[crtc] = dev->driver->get_vblank_counter(dev, crtc);
130 } while (dev->last_vblank[crtc] != dev->driver->get_vblank_counter(dev, crtc) && (--count) && vblrc);
186 /* Bail if the driver didn't call drm_vblank_init() */
257 if (dev->driver->get_vblank_timestamp)
260 DRM_INFO("No driver support for vblank timestamp query.\n");
282 * Initializes the IRQ related data. Installs the handler, calling the driver
315 if (dev->driver->irq_preinstall)
316 dev->driver->irq_preinstall(dev);
327 * For now, no driver we have use that.
332 dev->driver->irq_handler, dev, &dev->irqh);
343 if (dev->driver->irq_postinstall)
344 ret = dev->driver->irq_postinstall(dev);
351 dev->driver->bus->free_irq(dev);
363 * Calls the driver's \c irq_uninstall() function, and stops the irq.
386 dev->driver->get_vblank_counter(dev, i);
396 if (dev->driver->irq_uninstall)
397 dev->driver->irq_uninstall(dev);
400 dev->driver->bus->free_irq(dev);
506 * implementation of a kms driver to implement the actual timestamping.
513 * Requires support for optional dev->driver->get_scanout_position()
514 * in kms driver, plus a bit of setup code to provide a drm_display_mode
526 * @flags: Flags to pass to driver:
564 if (!dev->driver->get_scanout_position) {
565 DRM_ERROR("Called from driver w/o get_scanout_position()!?\n");
603 vbl_status = dev->driver->get_scanout_position(dev, crtc, &vpos, &hpos);
713 * @flags: Flags to pass to driver:
718 * vblank interval on specified crtc. May call into kms-driver to
734 /* Query driver if possible and precision timestamping enabled. */
735 if (dev->driver->get_vblank_timestamp && (max_error > 0)) {
736 ret = dev->driver->get_vblank_timestamp(dev, crtc, &max_error,
846 * Call back into the driver to update the appropriate vblank counter
875 cur_vblank = dev->driver->get_vblank_counter(dev, crtc);
877 } while (cur_vblank != dev->driver->get_vblank_counter(dev, crtc));
931 ret = dev->driver->enable_vblank(dev, crtc);
1363 * driver and store it in proper slot of timestamp ringbuffer.