Lines Matching refs:driver

25  * This interface represents a device driver.
29 * Get the version string of the driver implementation.
32 * drivers of a specific device. The token identifies the device driver's
42 * the driver cannot meet that requirement because of a performance regression.
43 * The application can disallow the driver based on the version provided.
45 * the driver cannot meet that requirement because of bugs or certain optimizations.
50 * - DEVICE_UNAVAILABLE if driver is offline or busy
69 * - DEVICE_UNAVAILABLE if driver is offline or busy
79 * Gets the capabilities of a driver.
83 * - DEVICE_UNAVAILABLE if driver is offline or busy
85 * @return capabilities Capabilities of the driver.
90 * Gets information about extensions supported by the driver implementation.
97 * - DEVICE_UNAVAILABLE if driver is offline or busy
108 * supported by the vendor driver. If an operation may not be supported for
112 * are to be verified by the driver.
115 * - DEVICE_UNAVAILABLE if driver is offline or busy
127 * Gets the caching requirements of the driver implementation.
129 * There are two types of cache file descriptors provided to the driver: model cache
138 * to the model cache may affect the driver's execution behavior, and a malicious
140 * the driver must always check whether the model cache is corrupted before
143 * getNumberOfCacheFilesNeeded returns how many of each type of cache files the driver
145 * indicates compilation caching is not supported by this driver. The driver may
155 * - DEVICE_UNAVAILABLE if driver is offline or busy
158 * the driver needs to cache a single prepared model. It must
161 * the driver needs to cache a single prepared model. It must
177 * Optionally, caching information may be provided for the driver to save
180 * two types of cache file handles provided to the driver: model cache
186 * driver must truncate a file to zero size before writing to that file. The file
188 * finished. The driver must dup a file descriptor if it wants to get access to
213 * Optionally, the driver may save the prepared model to cache during the
216 * related to the cache may be invalid, or the driver may fail to save to cache,
217 * the prepareModel function must finish preparing the model. The driver
223 * such, some driver services may return partially prepared models, where
250 * application. The driver cannot detect a collision; a collision will result
261 * - DEVICE_UNAVAILABLE if driver is offline or busy
277 * two types of cache file handles provided to the driver: model cache
283 * driver must truncate a file to zero size before writing to that file. The file
285 * finished. The driver must dup a file descriptor if it wants to get access to
291 * cache has not been modified since it was last written by the driver.
314 * such, some driver services may return partially prepared models, where
331 * to have a low rate of collision for a particular application. The driver
341 * - DEVICE_UNAVAILABLE if driver is offline or busy