Lines Matching +full:config +full:- +full:cond
1 /* SPDX-License-Identifier: GPL-2.0-only */
24 #include <kunit/test-bug.h>
104 /* The kernel-space BO cache. Tracks buffers that have been
263 * vc4_exec_info->unref_list or vc4_dev->bo_cache.time_list
267 /* Time in jiffies when the BO was put in vc4->bo_cache. */
270 /* List entry for the BO's position in vc4_dev->bo_cache.size_list */
279 * for user-allocated labels.
370 * config.txt file to be able to do so and thus won't always be
453 /* The Unified Pre-Fetcher Handle */
456 /* Number of lines to pre-fetch */
459 /* Set when the plane has per-pixel alpha content or does not cover
522 if (vc4_encoder->type == type) in vc4_find_encoder_by_type()
581 /* Timestamp at start of vblank irq - unaffected by lock delays. */
626 return crtc->data; in vc4_crtc_to_vc4_crtc_data()
655 #define VC4_HVS_CHANNEL_DISABLED ((unsigned int)-1)
663 readl(vc4->v3d->regs + (offset)); \
669 writel(val, vc4->v3d->regs + (offset)); \
675 readl(hvs->regs + (offset)); \
681 writel(val, hvs->regs + (offset)); \
685 HVS_READ(hvs->vc4->gen == VC4_GEN_6_C ? SCALER6_ ## offset : SCALER6D_ ## offset)
688 HVS_WRITE(hvs->vc4->gen == VC4_GEN_6_C ? SCALER6_ ## offset : SCALER6D_ ## offset, val)
708 /* Kernel-space copy of the ioctl arguments */
724 /* Pointers for our position in vc4->job_list */
732 /* Current unvalidated indices into @bo loaded by the non-hardware
743 * This tracks the per-shader-record state (packet 64) that
812 /* Per-open file private data. Any driver-specific resource that has to be
829 return list_first_entry_or_null(&vc4->bin_job_list, in vc4_first_bin_job()
836 return list_first_entry_or_null(&vc4->render_job_list, in vc4_first_render_job()
843 if (list_empty(&vc4->render_job_list)) in vc4_last_render_job()
845 return list_last_entry(&vc4->render_job_list, in vc4_last_render_job()
850 * struct vc4_texture_sample_info - saves the offsets into the UBO for texture
856 * Note that the hardware treats unprovided config parameters as 0, so not all
869 * struct vc4_validated_shader_info - information about validated shaders that
891 * __wait_for - magic wait macro
898 #define __wait_for(OP, COND, US, Wmin, Wmax) ({ \ argument
906 /* Guarantee COND check prior to timeout */ \
908 if (COND) { \
913 ret__ = -ETIMEDOUT; \
923 #define _wait_for(COND, US, Wmin, Wmax) __wait_for(, (COND), (US), (Wmin), \ argument
925 #define wait_for(COND, MS) _wait_for((COND), (MS) * 1000, 10, 1000) argument