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
248 * vc4_exec_info->unref_list or vc4_dev->bo_cache.time_list
252 /* Time in jiffies when the BO was put in vc4->bo_cache. */
255 /* List entry for the BO's position in vc4_dev->bo_cache.size_list */
264 * for user-allocated labels.
349 * config.txt file to be able to do so and thus won't always be
432 /* The Unified Pre-Fetcher Handle */
435 /* Number of lines to pre-fetch */
438 /* Set when the plane has per-pixel alpha content or does not cover
501 if (vc4_encoder->type == type) in vc4_find_encoder_by_type()
560 /* Timestamp at start of vblank irq - unaffected by lock delays. */
605 return crtc->data; in vc4_crtc_to_vc4_crtc_data()
634 #define VC4_HVS_CHANNEL_DISABLED ((unsigned int)-1)
642 readl(vc4->v3d->regs + (offset)); \
648 writel(val, vc4->v3d->regs + (offset)); \
654 readl(hvs->regs + (offset)); \
660 writel(val, hvs->regs + (offset)); \
664 HVS_READ(hvs->vc4->gen == VC4_GEN_6_C ? SCALER6_ ## offset : SCALER6D_ ## offset)
667 HVS_WRITE(hvs->vc4->gen == VC4_GEN_6_C ? SCALER6_ ## offset : SCALER6D_ ## offset, val)
684 /* Kernel-space copy of the ioctl arguments */
700 /* Pointers for our position in vc4->job_list */
708 /* Current unvalidated indices into @bo loaded by the non-hardware
719 * This tracks the per-shader-record state (packet 64) that
788 /* Per-open file private data. Any driver-specific resource that has to be
805 return list_first_entry_or_null(&vc4->bin_job_list, in vc4_first_bin_job()
812 return list_first_entry_or_null(&vc4->render_job_list, in vc4_first_render_job()
819 if (list_empty(&vc4->render_job_list)) in vc4_last_render_job()
821 return list_last_entry(&vc4->render_job_list, in vc4_last_render_job()
826 * struct vc4_texture_sample_info - saves the offsets into the UBO for texture
832 * Note that the hardware treats unprovided config parameters as 0, so not all
845 * struct vc4_validated_shader_info - information about validated shaders that
867 * __wait_for - magic wait macro
874 #define __wait_for(OP, COND, US, Wmin, Wmax) ({ \ argument
882 /* Guarantee COND check prior to timeout */ \
884 if (COND) { \
889 ret__ = -ETIMEDOUT; \
899 #define _wait_for(COND, US, Wmin, Wmax) __wait_for(, (COND), (US), (Wmin), \ argument
901 #define wait_for(COND, MS) _wait_for((COND), (MS) * 1000, 10, 1000) argument