Lines Matching refs:event

102  * userspace through the file descriptor. They are used to send vblank event and
106 * For the driver-side event interface see drm_event_reserve_init() and
176 file->event_space = 4096; /* set aside 4k for event buffer */
591 * This function will only ever read a full event. Therefore userspace must
592 * supply a big enough buffer to fit any event to ensure forward progress. Since
593 * the maximum event space is currently 4K it's recommended to just use that for
619 file_priv->event_space += e->event->length;
641 unsigned length = e->event->length;
654 if (copy_to_user(buffer + ret, e->event, length)) {
701 * drm_event_reserve_init_locked - init a DRM event and reserve space for it
704 * @p: tracking structure for the pending event
705 * @e: actual event data to deliver to userspace
707 * This function prepares the passed in event for eventual delivery. If the event
712 * asynchronous event to userspace.
734 p->event = e;
743 * drm_event_reserve_init - init a DRM event and reserve space for it
746 * @p: tracking structure for the pending event
747 * @e: actual event data to deliver to userspace
749 * This function prepares the passed in event for eventual delivery. If the event
754 * asynchronous event to userspace.
783 * drm_event_cancel_free - free a DRM event and release its space
785 * @p: tracking structure for the pending event
787 * This function frees the event @p initialized with drm_event_reserve_init()
788 * and releases any allocated space. It is used to cancel an event when the
798 p->file_priv->event_space += p->event->length;
842 * drm_send_event_timestamp_locked - send DRM event to file descriptor
844 * @e: DRM event to deliver
845 * @timestamp: timestamp to set for the fence event in kernel's CLOCK_MONOTONIC
848 * This function sends the event @e, initialized with drm_event_reserve_init(),
854 * DRM file for this event still exists and can call this function upon
865 * drm_send_event_locked - send DRM event to file descriptor
867 * @e: DRM event to deliver
869 * This function sends the event @e, initialized with drm_event_reserve_init(),
875 * DRM file for this event still exists and can call this function upon
885 * drm_send_event - send DRM event to file descriptor
887 * @e: DRM event to deliver
889 * This function sends the event @e, initialized with drm_event_reserve_init(),
896 * DRM file for this event still exists and can call this function upon