Lines Matching refs:COND
78 unsigned source_stride_shift = COND(rs->source_tiling != ETNA_LAYOUT_LINEAR, 2); in etna_compile_rs_state()
79 unsigned dest_stride_shift = COND(rs->dest_tiling != ETNA_LAYOUT_LINEAR, 2); in etna_compile_rs_state()
97 COND(rs->downsample_x, VIVS_RS_CONFIG_DOWNSAMPLE_X) | in etna_compile_rs_state()
98 COND(rs->downsample_y, VIVS_RS_CONFIG_DOWNSAMPLE_Y) | in etna_compile_rs_state()
99 COND(src_tiled, VIVS_RS_CONFIG_SOURCE_TILED) | in etna_compile_rs_state()
101 COND(dst_tiled, VIVS_RS_CONFIG_DEST_TILED) | in etna_compile_rs_state()
102 COND(rs->swap_rb, VIVS_RS_CONFIG_SWAP_RB) | in etna_compile_rs_state()
103 COND(rs->flip, VIVS_RS_CONFIG_FLIP); in etna_compile_rs_state()
106 COND(src_super, VIVS_RS_SOURCE_STRIDE_TILING) | in etna_compile_rs_state()
107 COND(src_multi, VIVS_RS_SOURCE_STRIDE_MULTI); in etna_compile_rs_state()
111 COND(src_super, VIVS_RS_SOURCE_STRIDE_SUPER_TILED_NEW); in etna_compile_rs_state()
130 COND(dst_super, VIVS_RS_DEST_STRIDE_TILING) | in etna_compile_rs_state()
131 COND(dst_multi, VIVS_RS_DEST_STRIDE_MULTI); in etna_compile_rs_state()
134 cs->RS_DEST_STRIDE |= COND(dst_super, VIVS_RS_DEST_STRIDE_SUPER_TILED_NEW); in etna_compile_rs_state()