Lines Matching refs:File
79 pub type DriverFile<T> = drm::File<<<T as DriverObject>::Driver as drm::Driver>::File>;
101 /// Open a new handle to an existing object, associated with a File.
106 /// Close a handle to an existing object, associated with a File.
181 /// Creates a new handle for the object associated with a given `File`
183 fn create_handle<D, F>(&self, file: &drm::File<F>) -> Result<u32>
186 D: drm::Driver<Object = Self, File = F>,
197 /// Looks up an object by its handle for a given `File`.
198 fn lookup_handle<D, F>(file: &drm::File<F>, handle: u32) -> Result<ARef<Self>>
201 D: drm::Driver<Object = Self, File = F>,
211 // - A `drm::Driver` can only have a single `File` implementation.