Lines Matching full:object
127 * object in it. A reference to the request must be held during the update. This
240 * struct media_request_object_ops - Media request object operations
241 * @prepare: Validate and prepare the request object, optional.
242 * @unprepare: Unprepare the request object, optional.
243 * @queue: Queue the request object, optional.
244 * @unbind: Unbind the request object, optional.
245 * @release: Release the request object, required.
248 int (*prepare)(struct media_request_object *object);
249 void (*unprepare)(struct media_request_object *object);
250 void (*queue)(struct media_request_object *object);
251 void (*unbind)(struct media_request_object *object);
252 void (*release)(struct media_request_object *object);
256 * struct media_request_object - An opaque object that belongs to a media
259 * @ops: object's operations
260 * @priv: object's priv pointer
261 * @req: the request this object belongs to (can be NULL)
262 * @list: List entry of the object for @struct media_request
263 * @kref: Reference count of the object, acquire before releasing req->lock
264 * @completed: If true, then this object was completed.
266 * An object related to the request. This struct is always embedded in
267 * another struct that contains the actual data for this request object.
281 * media_request_object_get - Get a media request object
283 * @obj: The object
285 * Get a media request object.
293 * media_request_object_put - Put a media request object
295 * @obj: The object
297 * Put a media request object. Once all references are gone, the
298 * object's memory is released.
303 * media_request_object_find - Find an object in a request
306 * @ops: Find an object with this ops value
307 * @priv: Find an object with this priv value
311 * Returns the object pointer or NULL if not found. The caller must
312 * call media_request_object_put() once it finished using the object.
323 * media_request_object_init - Initialise a media request object
325 * @obj: The object
327 * Initialise a media request object. The object will be released using the
334 * media_request_object_bind - Bind a media request object to a request
337 * @ops: The object ops for this object
338 * @priv: A driver-specific priv pointer associated with this object
339 * @is_buffer: Set to true if the object a buffer object.
340 * @obj: The object
342 * Bind this object to the request and set the ops and priv values of
343 * the object so it can be found later with media_request_object_find().
345 * Every bound object must be unbound or completed by the kernel at some
350 * Buffer objects will be added to the end of the request's object
362 * media_request_object_unbind - Unbind a media request object
364 * @obj: The object
366 * Unbind the media request object from the request.
371 * media_request_object_complete - Mark the media request object as complete
373 * @obj: The object
375 * Mark the media request object as complete. Only bound objects can