Lines Matching +full:config +full:- +full:cond
1 /* SPDX-License-Identifier: GPL-2.0-only */
23 #include <kunit/test-bug.h>
96 /* The kernel-space BO cache. Tracks buffers that have been
255 * vc4_exec_info->unref_list or vc4_dev->bo_cache.time_list
259 /* Time in jiffies when the BO was put in vc4->bo_cache. */
262 /* List entry for the BO's position in vc4_dev->bo_cache.size_list */
271 * for user-allocated labels.
338 * config.txt file to be able to do so and thus won't always be
425 /* Set when the plane has per-pixel alpha content or does not cover
487 if (vc4_encoder->type == type) in vc4_find_encoder_by_type()
535 /* Timestamp at start of vblank irq - unaffected by lock delays. */
580 return crtc->data; in vc4_crtc_to_vc4_crtc_data()
614 #define VC4_HVS_CHANNEL_DISABLED ((unsigned int)-1)
622 readl(vc4->v3d->regs + (offset)); \
628 writel(val, vc4->v3d->regs + (offset)); \
634 readl(hvs->regs + (offset)); \
640 writel(val, hvs->regs + (offset)); \
661 /* Kernel-space copy of the ioctl arguments */
677 /* Pointers for our position in vc4->job_list */
685 /* Current unvalidated indices into @bo loaded by the non-hardware
696 * This tracks the per-shader-record state (packet 64) that
765 /* Per-open file private data. Any driver-specific resource that has to be
782 return list_first_entry_or_null(&vc4->bin_job_list, in vc4_first_bin_job()
789 return list_first_entry_or_null(&vc4->render_job_list, in vc4_first_render_job()
796 if (list_empty(&vc4->render_job_list)) in vc4_last_render_job()
798 return list_last_entry(&vc4->render_job_list, in vc4_last_render_job()
803 * struct vc4_texture_sample_info - saves the offsets into the UBO for texture
809 * Note that the hardware treats unprovided config parameters as 0, so not all
822 * struct vc4_validated_shader_info - information about validated shaders that
844 * __wait_for - magic wait macro
851 #define __wait_for(OP, COND, US, Wmin, Wmax) ({ \ argument
859 /* Guarantee COND check prior to timeout */ \
861 if (COND) { \
866 ret__ = -ETIMEDOUT; \
876 #define _wait_for(COND, US, Wmin, Wmax) __wait_for(, (COND), (US), (Wmin), \ argument
878 #define wait_for(COND, MS) _wait_for((COND), (MS) * 1000, 10, 1000) argument