Lines Matching defs:File
23 pub type DriverFile<T> = drm::File<<<T as DriverObject>::Driver as drm::Driver>::File>;
33 /// Open a new handle to an existing object, associated with a File.
38 /// Close a handle to an existing object, associated with a File.
129 /// Creates a new handle for the object associated with a given `File`
131 fn create_handle<D, F>(&self, file: &drm::File<F>) -> Result<u32>
134 D: drm::Driver<Object = Self, File = F>,
145 /// Looks up an object by its handle for a given `File`.
146 fn lookup_handle<D, F>(file: &drm::File<F>, handle: u32) -> Result<ARef<Self>>
149 D: drm::Driver<Object = Self, File = F>,
159 // - A `drm::Driver` can only have a single `File` implementation.