Lines Matching defs:query

340  * @args: [IN] Device query arguments containing a pointer to a userspace
343 * If the query object pointer is NULL, the size field is updated with the
344 * expected size of the query object.
380 * @args: [IN] Device query arguments containing a pointer to a userspace
383 * If the query object pointer is NULL, the size field is updated with the
384 * expected size of the query object.
430 * @args: [IN] Device query arguments containing a pointer to a userspace
433 * If the query object pointer is NULL, the size field is updated with the
434 * expected size of the query object.
435 * If the userspace pointer in the query object is NULL, or the count is
439 * The size field in the query object will be updated to the size copied.
467 struct drm_pvr_dev_query_quirks query;
478 err = PVR_UOBJ_GET(query, args->size, args->pointer);
482 if (query._padding_c)
497 if (!query.quirks)
499 if (query.count < out_count)
502 if (copy_to_user(u64_to_user_ptr(query.quirks), out,
507 query.musthave_count = out_musthave_count;
510 query.count = out_count;
511 err = PVR_UOBJ_SET(args->pointer, args->size, query);
515 args->size = sizeof(query);
524 * @args: [IN] Device query arguments containing a pointer to a userspace
527 * If the query object pointer is NULL, the size field is updated with the
528 * expected size of the query object.
529 * If the userspace pointer in the query object is NULL, or the count is
533 * The size field in the query object will be updated to the size copied.
556 struct drm_pvr_dev_query_enhancements query;
566 err = PVR_UOBJ_GET(query, args->size, args->pointer);
570 if (query._padding_a)
572 if (query._padding_c)
580 if (!query.enhancements)
582 if (query.count < out_idx)
585 if (copy_to_user(u64_to_user_ptr(query.enhancements), out,
591 query.count = out_idx;
592 err = PVR_UOBJ_SET(args->pointer, args->size, query);
596 args->size = sizeof(query);