Lines Matching refs:val

1123 static inline uint32_t A6XX_CP_ROQ_THRESHOLDS_1_MRB_START(uint32_t val)  in A6XX_CP_ROQ_THRESHOLDS_1_MRB_START()  argument
1125 …return ((val >> 2) << A6XX_CP_ROQ_THRESHOLDS_1_MRB_START__SHIFT) & A6XX_CP_ROQ_THRESHOLDS_1_MRB_ST… in A6XX_CP_ROQ_THRESHOLDS_1_MRB_START()
1129 static inline uint32_t A6XX_CP_ROQ_THRESHOLDS_1_VSD_START(uint32_t val) in A6XX_CP_ROQ_THRESHOLDS_1_VSD_START() argument
1131 …return ((val >> 2) << A6XX_CP_ROQ_THRESHOLDS_1_VSD_START__SHIFT) & A6XX_CP_ROQ_THRESHOLDS_1_VSD_ST… in A6XX_CP_ROQ_THRESHOLDS_1_VSD_START()
1135 static inline uint32_t A6XX_CP_ROQ_THRESHOLDS_1_IB1_START(uint32_t val) in A6XX_CP_ROQ_THRESHOLDS_1_IB1_START() argument
1137 …return ((val >> 2) << A6XX_CP_ROQ_THRESHOLDS_1_IB1_START__SHIFT) & A6XX_CP_ROQ_THRESHOLDS_1_IB1_ST… in A6XX_CP_ROQ_THRESHOLDS_1_IB1_START()
1141 static inline uint32_t A6XX_CP_ROQ_THRESHOLDS_1_IB2_START(uint32_t val) in A6XX_CP_ROQ_THRESHOLDS_1_IB2_START() argument
1143 …return ((val >> 2) << A6XX_CP_ROQ_THRESHOLDS_1_IB2_START__SHIFT) & A6XX_CP_ROQ_THRESHOLDS_1_IB2_ST… in A6XX_CP_ROQ_THRESHOLDS_1_IB2_START()
1149 static inline uint32_t A6XX_CP_ROQ_THRESHOLDS_2_SDS_START(uint32_t val) in A6XX_CP_ROQ_THRESHOLDS_2_SDS_START() argument
1151 …return ((val >> 2) << A6XX_CP_ROQ_THRESHOLDS_2_SDS_START__SHIFT) & A6XX_CP_ROQ_THRESHOLDS_2_SDS_ST… in A6XX_CP_ROQ_THRESHOLDS_2_SDS_START()
1155 static inline uint32_t A6XX_CP_ROQ_THRESHOLDS_2_ROQ_SIZE(uint32_t val) in A6XX_CP_ROQ_THRESHOLDS_2_ROQ_SIZE() argument
1157 …return ((val >> 2) << A6XX_CP_ROQ_THRESHOLDS_2_ROQ_SIZE__SHIFT) & A6XX_CP_ROQ_THRESHOLDS_2_ROQ_SIZ… in A6XX_CP_ROQ_THRESHOLDS_2_ROQ_SIZE()
1182 static inline uint32_t A6XX_CP_PROTECT_REG_BASE_ADDR(uint32_t val) in A6XX_CP_PROTECT_REG_BASE_ADDR() argument
1184 return ((val) << A6XX_CP_PROTECT_REG_BASE_ADDR__SHIFT) & A6XX_CP_PROTECT_REG_BASE_ADDR__MASK; in A6XX_CP_PROTECT_REG_BASE_ADDR()
1188 static inline uint32_t A6XX_CP_PROTECT_REG_MASK_LEN(uint32_t val) in A6XX_CP_PROTECT_REG_MASK_LEN() argument
1190 return ((val) << A6XX_CP_PROTECT_REG_MASK_LEN__SHIFT) & A6XX_CP_PROTECT_REG_MASK_LEN__MASK; in A6XX_CP_PROTECT_REG_MASK_LEN()
1257 static inline uint32_t A6XX_CP_ROQ_RB_STAT_RPTR(uint32_t val) in A6XX_CP_ROQ_RB_STAT_RPTR() argument
1259 return ((val) << A6XX_CP_ROQ_RB_STAT_RPTR__SHIFT) & A6XX_CP_ROQ_RB_STAT_RPTR__MASK; in A6XX_CP_ROQ_RB_STAT_RPTR()
1263 static inline uint32_t A6XX_CP_ROQ_RB_STAT_WPTR(uint32_t val) in A6XX_CP_ROQ_RB_STAT_WPTR() argument
1265 return ((val) << A6XX_CP_ROQ_RB_STAT_WPTR__SHIFT) & A6XX_CP_ROQ_RB_STAT_WPTR__MASK; in A6XX_CP_ROQ_RB_STAT_WPTR()
1271 static inline uint32_t A6XX_CP_ROQ_IB1_STAT_RPTR(uint32_t val) in A6XX_CP_ROQ_IB1_STAT_RPTR() argument
1273 return ((val) << A6XX_CP_ROQ_IB1_STAT_RPTR__SHIFT) & A6XX_CP_ROQ_IB1_STAT_RPTR__MASK; in A6XX_CP_ROQ_IB1_STAT_RPTR()
1277 static inline uint32_t A6XX_CP_ROQ_IB1_STAT_WPTR(uint32_t val) in A6XX_CP_ROQ_IB1_STAT_WPTR() argument
1279 return ((val) << A6XX_CP_ROQ_IB1_STAT_WPTR__SHIFT) & A6XX_CP_ROQ_IB1_STAT_WPTR__MASK; in A6XX_CP_ROQ_IB1_STAT_WPTR()
1285 static inline uint32_t A6XX_CP_ROQ_IB2_STAT_RPTR(uint32_t val) in A6XX_CP_ROQ_IB2_STAT_RPTR() argument
1287 return ((val) << A6XX_CP_ROQ_IB2_STAT_RPTR__SHIFT) & A6XX_CP_ROQ_IB2_STAT_RPTR__MASK; in A6XX_CP_ROQ_IB2_STAT_RPTR()
1291 static inline uint32_t A6XX_CP_ROQ_IB2_STAT_WPTR(uint32_t val) in A6XX_CP_ROQ_IB2_STAT_WPTR() argument
1293 return ((val) << A6XX_CP_ROQ_IB2_STAT_WPTR__SHIFT) & A6XX_CP_ROQ_IB2_STAT_WPTR__MASK; in A6XX_CP_ROQ_IB2_STAT_WPTR()
1299 static inline uint32_t A6XX_CP_ROQ_SDS_STAT_RPTR(uint32_t val) in A6XX_CP_ROQ_SDS_STAT_RPTR() argument
1301 return ((val) << A6XX_CP_ROQ_SDS_STAT_RPTR__SHIFT) & A6XX_CP_ROQ_SDS_STAT_RPTR__MASK; in A6XX_CP_ROQ_SDS_STAT_RPTR()
1305 static inline uint32_t A6XX_CP_ROQ_SDS_STAT_WPTR(uint32_t val) in A6XX_CP_ROQ_SDS_STAT_WPTR() argument
1307 return ((val) << A6XX_CP_ROQ_SDS_STAT_WPTR__SHIFT) & A6XX_CP_ROQ_SDS_STAT_WPTR__MASK; in A6XX_CP_ROQ_SDS_STAT_WPTR()
1313 static inline uint32_t A6XX_CP_ROQ_MRB_STAT_RPTR(uint32_t val) in A6XX_CP_ROQ_MRB_STAT_RPTR() argument
1315 return ((val) << A6XX_CP_ROQ_MRB_STAT_RPTR__SHIFT) & A6XX_CP_ROQ_MRB_STAT_RPTR__MASK; in A6XX_CP_ROQ_MRB_STAT_RPTR()
1319 static inline uint32_t A6XX_CP_ROQ_MRB_STAT_WPTR(uint32_t val) in A6XX_CP_ROQ_MRB_STAT_WPTR() argument
1321 return ((val) << A6XX_CP_ROQ_MRB_STAT_WPTR__SHIFT) & A6XX_CP_ROQ_MRB_STAT_WPTR__MASK; in A6XX_CP_ROQ_MRB_STAT_WPTR()
1327 static inline uint32_t A6XX_CP_ROQ_VSD_STAT_RPTR(uint32_t val) in A6XX_CP_ROQ_VSD_STAT_RPTR() argument
1329 return ((val) << A6XX_CP_ROQ_VSD_STAT_RPTR__SHIFT) & A6XX_CP_ROQ_VSD_STAT_RPTR__MASK; in A6XX_CP_ROQ_VSD_STAT_RPTR()
1333 static inline uint32_t A6XX_CP_ROQ_VSD_STAT_WPTR(uint32_t val) in A6XX_CP_ROQ_VSD_STAT_WPTR() argument
1335 return ((val) << A6XX_CP_ROQ_VSD_STAT_WPTR__SHIFT) & A6XX_CP_ROQ_VSD_STAT_WPTR__MASK; in A6XX_CP_ROQ_VSD_STAT_WPTR()
1351 static inline uint32_t A6XX_CP_ROQ_AVAIL_RB_REM(uint32_t val) in A6XX_CP_ROQ_AVAIL_RB_REM() argument
1353 return ((val) << A6XX_CP_ROQ_AVAIL_RB_REM__SHIFT) & A6XX_CP_ROQ_AVAIL_RB_REM__MASK; in A6XX_CP_ROQ_AVAIL_RB_REM()
1359 static inline uint32_t A6XX_CP_ROQ_AVAIL_IB1_REM(uint32_t val) in A6XX_CP_ROQ_AVAIL_IB1_REM() argument
1361 return ((val) << A6XX_CP_ROQ_AVAIL_IB1_REM__SHIFT) & A6XX_CP_ROQ_AVAIL_IB1_REM__MASK; in A6XX_CP_ROQ_AVAIL_IB1_REM()
1367 static inline uint32_t A6XX_CP_ROQ_AVAIL_IB2_REM(uint32_t val) in A6XX_CP_ROQ_AVAIL_IB2_REM() argument
1369 return ((val) << A6XX_CP_ROQ_AVAIL_IB2_REM__SHIFT) & A6XX_CP_ROQ_AVAIL_IB2_REM__MASK; in A6XX_CP_ROQ_AVAIL_IB2_REM()
1375 static inline uint32_t A6XX_CP_ROQ_AVAIL_SDS_REM(uint32_t val) in A6XX_CP_ROQ_AVAIL_SDS_REM() argument
1377 return ((val) << A6XX_CP_ROQ_AVAIL_SDS_REM__SHIFT) & A6XX_CP_ROQ_AVAIL_SDS_REM__MASK; in A6XX_CP_ROQ_AVAIL_SDS_REM()
1383 static inline uint32_t A6XX_CP_ROQ_AVAIL_MRB_REM(uint32_t val) in A6XX_CP_ROQ_AVAIL_MRB_REM() argument
1385 return ((val) << A6XX_CP_ROQ_AVAIL_MRB_REM__SHIFT) & A6XX_CP_ROQ_AVAIL_MRB_REM__MASK; in A6XX_CP_ROQ_AVAIL_MRB_REM()
1391 static inline uint32_t A6XX_CP_ROQ_AVAIL_VSD_REM(uint32_t val) in A6XX_CP_ROQ_AVAIL_VSD_REM() argument
1393 return ((val) << A6XX_CP_ROQ_AVAIL_VSD_REM__SHIFT) & A6XX_CP_ROQ_AVAIL_VSD_REM__MASK; in A6XX_CP_ROQ_AVAIL_VSD_REM()
1953 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_SEL_D_PING_INDEX(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_SEL_D_PING_INDEX() argument
1955 …return ((val) << A6XX_DBGC_CFG_DBGBUS_SEL_D_PING_INDEX__SHIFT) & A6XX_DBGC_CFG_DBGBUS_SEL_D_PING_I… in A6XX_DBGC_CFG_DBGBUS_SEL_D_PING_INDEX()
1959 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_SEL_D_PING_BLK_SEL(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_SEL_D_PING_BLK_SEL() argument
1961 …return ((val) << A6XX_DBGC_CFG_DBGBUS_SEL_D_PING_BLK_SEL__SHIFT) & A6XX_DBGC_CFG_DBGBUS_SEL_D_PING… in A6XX_DBGC_CFG_DBGBUS_SEL_D_PING_BLK_SEL()
1967 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_CNTLT_TRACEEN(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_CNTLT_TRACEEN() argument
1969 …return ((val) << A6XX_DBGC_CFG_DBGBUS_CNTLT_TRACEEN__SHIFT) & A6XX_DBGC_CFG_DBGBUS_CNTLT_TRACEEN__… in A6XX_DBGC_CFG_DBGBUS_CNTLT_TRACEEN()
1973 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU() argument
1975 return ((val) << A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU__SHIFT) & A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU__MASK; in A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU()
1979 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_CNTLT_SEGT(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_CNTLT_SEGT() argument
1981 return ((val) << A6XX_DBGC_CFG_DBGBUS_CNTLT_SEGT__SHIFT) & A6XX_DBGC_CFG_DBGBUS_CNTLT_SEGT__MASK; in A6XX_DBGC_CFG_DBGBUS_CNTLT_SEGT()
1987 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_CNTLM_ENABLE(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_CNTLM_ENABLE() argument
1989 …return ((val) << A6XX_DBGC_CFG_DBGBUS_CNTLM_ENABLE__SHIFT) & A6XX_DBGC_CFG_DBGBUS_CNTLM_ENABLE__MA… in A6XX_DBGC_CFG_DBGBUS_CNTLM_ENABLE()
2011 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL0(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL0() argument
2013 …return ((val) << A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL0__SHIFT) & A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL0… in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL0()
2017 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL1(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL1() argument
2019 …return ((val) << A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL1__SHIFT) & A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL1… in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL1()
2023 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL2(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL2() argument
2025 …return ((val) << A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL2__SHIFT) & A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL2… in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL2()
2029 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL3(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL3() argument
2031 …return ((val) << A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL3__SHIFT) & A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL3… in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL3()
2035 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL4(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL4() argument
2037 …return ((val) << A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL4__SHIFT) & A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL4… in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL4()
2041 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL5(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL5() argument
2043 …return ((val) << A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL5__SHIFT) & A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL5… in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL5()
2047 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL6(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL6() argument
2049 …return ((val) << A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL6__SHIFT) & A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL6… in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL6()
2053 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL7(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL7() argument
2055 …return ((val) << A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL7__SHIFT) & A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL7… in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL7()
2061 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL8(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL8() argument
2063 …return ((val) << A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL8__SHIFT) & A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL8… in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL8()
2067 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL9(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL9() argument
2069 …return ((val) << A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL9__SHIFT) & A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL9… in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL9()
2073 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL10(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL10() argument
2075 …return ((val) << A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL10__SHIFT) & A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL… in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL10()
2079 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL11(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL11() argument
2081 …return ((val) << A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL11__SHIFT) & A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL… in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL11()
2085 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12() argument
2087 …return ((val) << A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12__SHIFT) & A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL… in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12()
2091 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL13(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL13() argument
2093 …return ((val) << A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL13__SHIFT) & A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL… in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL13()
2097 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL14(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL14() argument
2099 …return ((val) << A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL14__SHIFT) & A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL… in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL14()
2103 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL15(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL15() argument
2105 …return ((val) << A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL15__SHIFT) & A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL… in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL15()
2139 static inline uint32_t A6XX_UCHE_CLIENT_PF_PERFSEL(uint32_t val) in A6XX_UCHE_CLIENT_PF_PERFSEL() argument
2141 return ((val) << A6XX_UCHE_CLIENT_PF_PERFSEL__SHIFT) & A6XX_UCHE_CLIENT_PF_PERFSEL__MASK; in A6XX_UCHE_CLIENT_PF_PERFSEL()
2168 static inline uint32_t A6XX_VBIF_TEST_BUS1_CTRL1_DATA_SEL(uint32_t val) in A6XX_VBIF_TEST_BUS1_CTRL1_DATA_SEL() argument
2170 …return ((val) << A6XX_VBIF_TEST_BUS1_CTRL1_DATA_SEL__SHIFT) & A6XX_VBIF_TEST_BUS1_CTRL1_DATA_SEL__… in A6XX_VBIF_TEST_BUS1_CTRL1_DATA_SEL()
2178 static inline uint32_t A6XX_VBIF_TEST_BUS2_CTRL1_DATA_SEL(uint32_t val) in A6XX_VBIF_TEST_BUS2_CTRL1_DATA_SEL() argument
2180 …return ((val) << A6XX_VBIF_TEST_BUS2_CTRL1_DATA_SEL__SHIFT) & A6XX_VBIF_TEST_BUS2_CTRL1_DATA_SEL__… in A6XX_VBIF_TEST_BUS2_CTRL1_DATA_SEL()
2284 static inline uint32_t A6XX_VSC_BIN_SIZE_WIDTH(uint32_t val) in A6XX_VSC_BIN_SIZE_WIDTH() argument
2286 return ((val >> 5) << A6XX_VSC_BIN_SIZE_WIDTH__SHIFT) & A6XX_VSC_BIN_SIZE_WIDTH__MASK; in A6XX_VSC_BIN_SIZE_WIDTH()
2290 static inline uint32_t A6XX_VSC_BIN_SIZE_HEIGHT(uint32_t val) in A6XX_VSC_BIN_SIZE_HEIGHT() argument
2292 return ((val >> 4) << A6XX_VSC_BIN_SIZE_HEIGHT__SHIFT) & A6XX_VSC_BIN_SIZE_HEIGHT__MASK; in A6XX_VSC_BIN_SIZE_HEIGHT()
2300 static inline uint32_t A6XX_VSC_BIN_COUNT_NX(uint32_t val) in A6XX_VSC_BIN_COUNT_NX() argument
2302 return ((val) << A6XX_VSC_BIN_COUNT_NX__SHIFT) & A6XX_VSC_BIN_COUNT_NX__MASK; in A6XX_VSC_BIN_COUNT_NX()
2306 static inline uint32_t A6XX_VSC_BIN_COUNT_NY(uint32_t val) in A6XX_VSC_BIN_COUNT_NY() argument
2308 return ((val) << A6XX_VSC_BIN_COUNT_NY__SHIFT) & A6XX_VSC_BIN_COUNT_NY__MASK; in A6XX_VSC_BIN_COUNT_NY()
2316 static inline uint32_t A6XX_VSC_PIPE_CONFIG_REG_X(uint32_t val) in A6XX_VSC_PIPE_CONFIG_REG_X() argument
2318 return ((val) << A6XX_VSC_PIPE_CONFIG_REG_X__SHIFT) & A6XX_VSC_PIPE_CONFIG_REG_X__MASK; in A6XX_VSC_PIPE_CONFIG_REG_X()
2322 static inline uint32_t A6XX_VSC_PIPE_CONFIG_REG_Y(uint32_t val) in A6XX_VSC_PIPE_CONFIG_REG_Y() argument
2324 return ((val) << A6XX_VSC_PIPE_CONFIG_REG_Y__SHIFT) & A6XX_VSC_PIPE_CONFIG_REG_Y__MASK; in A6XX_VSC_PIPE_CONFIG_REG_Y()
2328 static inline uint32_t A6XX_VSC_PIPE_CONFIG_REG_W(uint32_t val) in A6XX_VSC_PIPE_CONFIG_REG_W() argument
2330 return ((val) << A6XX_VSC_PIPE_CONFIG_REG_W__SHIFT) & A6XX_VSC_PIPE_CONFIG_REG_W__MASK; in A6XX_VSC_PIPE_CONFIG_REG_W()
2334 static inline uint32_t A6XX_VSC_PIPE_CONFIG_REG_H(uint32_t val) in A6XX_VSC_PIPE_CONFIG_REG_H() argument
2336 return ((val) << A6XX_VSC_PIPE_CONFIG_REG_H__SHIFT) & A6XX_VSC_PIPE_CONFIG_REG_H__MASK; in A6XX_VSC_PIPE_CONFIG_REG_H()
2378 static inline uint32_t A6XX_GRAS_VS_CL_CNTL_CLIP_MASK(uint32_t val) in A6XX_GRAS_VS_CL_CNTL_CLIP_MASK() argument
2380 return ((val) << A6XX_GRAS_VS_CL_CNTL_CLIP_MASK__SHIFT) & A6XX_GRAS_VS_CL_CNTL_CLIP_MASK__MASK; in A6XX_GRAS_VS_CL_CNTL_CLIP_MASK()
2384 static inline uint32_t A6XX_GRAS_VS_CL_CNTL_CULL_MASK(uint32_t val) in A6XX_GRAS_VS_CL_CNTL_CULL_MASK() argument
2386 return ((val) << A6XX_GRAS_VS_CL_CNTL_CULL_MASK__SHIFT) & A6XX_GRAS_VS_CL_CNTL_CULL_MASK__MASK; in A6XX_GRAS_VS_CL_CNTL_CULL_MASK()
2392 static inline uint32_t A6XX_GRAS_DS_CL_CNTL_CLIP_MASK(uint32_t val) in A6XX_GRAS_DS_CL_CNTL_CLIP_MASK() argument
2394 return ((val) << A6XX_GRAS_DS_CL_CNTL_CLIP_MASK__SHIFT) & A6XX_GRAS_DS_CL_CNTL_CLIP_MASK__MASK; in A6XX_GRAS_DS_CL_CNTL_CLIP_MASK()
2398 static inline uint32_t A6XX_GRAS_DS_CL_CNTL_CULL_MASK(uint32_t val) in A6XX_GRAS_DS_CL_CNTL_CULL_MASK() argument
2400 return ((val) << A6XX_GRAS_DS_CL_CNTL_CULL_MASK__SHIFT) & A6XX_GRAS_DS_CL_CNTL_CULL_MASK__MASK; in A6XX_GRAS_DS_CL_CNTL_CULL_MASK()
2406 static inline uint32_t A6XX_GRAS_GS_CL_CNTL_CLIP_MASK(uint32_t val) in A6XX_GRAS_GS_CL_CNTL_CLIP_MASK() argument
2408 return ((val) << A6XX_GRAS_GS_CL_CNTL_CLIP_MASK__SHIFT) & A6XX_GRAS_GS_CL_CNTL_CLIP_MASK__MASK; in A6XX_GRAS_GS_CL_CNTL_CLIP_MASK()
2412 static inline uint32_t A6XX_GRAS_GS_CL_CNTL_CULL_MASK(uint32_t val) in A6XX_GRAS_GS_CL_CNTL_CULL_MASK() argument
2414 return ((val) << A6XX_GRAS_GS_CL_CNTL_CULL_MASK__SHIFT) & A6XX_GRAS_GS_CL_CNTL_CULL_MASK__MASK; in A6XX_GRAS_GS_CL_CNTL_CULL_MASK()
2428 static inline uint32_t A6XX_GRAS_CNTL_COORD_MASK(uint32_t val) in A6XX_GRAS_CNTL_COORD_MASK() argument
2430 return ((val) << A6XX_GRAS_CNTL_COORD_MASK__SHIFT) & A6XX_GRAS_CNTL_COORD_MASK__MASK; in A6XX_GRAS_CNTL_COORD_MASK()
2436 static inline uint32_t A6XX_GRAS_CL_GUARDBAND_CLIP_ADJ_HORZ(uint32_t val) in A6XX_GRAS_CL_GUARDBAND_CLIP_ADJ_HORZ() argument
2438 …return ((val) << A6XX_GRAS_CL_GUARDBAND_CLIP_ADJ_HORZ__SHIFT) & A6XX_GRAS_CL_GUARDBAND_CLIP_ADJ_HO… in A6XX_GRAS_CL_GUARDBAND_CLIP_ADJ_HORZ()
2442 static inline uint32_t A6XX_GRAS_CL_GUARDBAND_CLIP_ADJ_VERT(uint32_t val) in A6XX_GRAS_CL_GUARDBAND_CLIP_ADJ_VERT() argument
2444 …return ((val) << A6XX_GRAS_CL_GUARDBAND_CLIP_ADJ_VERT__SHIFT) & A6XX_GRAS_CL_GUARDBAND_CLIP_ADJ_VE… in A6XX_GRAS_CL_GUARDBAND_CLIP_ADJ_VERT()
2452 static inline uint32_t A6XX_GRAS_CL_VPORT_XOFFSET(float val) in A6XX_GRAS_CL_VPORT_XOFFSET() argument
2454 return ((fui(val)) << A6XX_GRAS_CL_VPORT_XOFFSET__SHIFT) & A6XX_GRAS_CL_VPORT_XOFFSET__MASK; in A6XX_GRAS_CL_VPORT_XOFFSET()
2460 static inline uint32_t A6XX_GRAS_CL_VPORT_XSCALE(float val) in A6XX_GRAS_CL_VPORT_XSCALE() argument
2462 return ((fui(val)) << A6XX_GRAS_CL_VPORT_XSCALE__SHIFT) & A6XX_GRAS_CL_VPORT_XSCALE__MASK; in A6XX_GRAS_CL_VPORT_XSCALE()
2468 static inline uint32_t A6XX_GRAS_CL_VPORT_YOFFSET(float val) in A6XX_GRAS_CL_VPORT_YOFFSET() argument
2470 return ((fui(val)) << A6XX_GRAS_CL_VPORT_YOFFSET__SHIFT) & A6XX_GRAS_CL_VPORT_YOFFSET__MASK; in A6XX_GRAS_CL_VPORT_YOFFSET()
2476 static inline uint32_t A6XX_GRAS_CL_VPORT_YSCALE(float val) in A6XX_GRAS_CL_VPORT_YSCALE() argument
2478 return ((fui(val)) << A6XX_GRAS_CL_VPORT_YSCALE__SHIFT) & A6XX_GRAS_CL_VPORT_YSCALE__MASK; in A6XX_GRAS_CL_VPORT_YSCALE()
2484 static inline uint32_t A6XX_GRAS_CL_VPORT_ZOFFSET(float val) in A6XX_GRAS_CL_VPORT_ZOFFSET() argument
2486 return ((fui(val)) << A6XX_GRAS_CL_VPORT_ZOFFSET__SHIFT) & A6XX_GRAS_CL_VPORT_ZOFFSET__MASK; in A6XX_GRAS_CL_VPORT_ZOFFSET()
2492 static inline uint32_t A6XX_GRAS_CL_VPORT_ZSCALE(float val) in A6XX_GRAS_CL_VPORT_ZSCALE() argument
2494 return ((fui(val)) << A6XX_GRAS_CL_VPORT_ZSCALE__SHIFT) & A6XX_GRAS_CL_VPORT_ZSCALE__MASK; in A6XX_GRAS_CL_VPORT_ZSCALE()
2502 static inline uint32_t A6XX_GRAS_CL_Z_CLAMP_MIN(float val) in A6XX_GRAS_CL_Z_CLAMP_MIN() argument
2504 return ((fui(val)) << A6XX_GRAS_CL_Z_CLAMP_MIN__SHIFT) & A6XX_GRAS_CL_Z_CLAMP_MIN__MASK; in A6XX_GRAS_CL_Z_CLAMP_MIN()
2510 static inline uint32_t A6XX_GRAS_CL_Z_CLAMP_MAX(float val) in A6XX_GRAS_CL_Z_CLAMP_MAX() argument
2512 return ((fui(val)) << A6XX_GRAS_CL_Z_CLAMP_MAX__SHIFT) & A6XX_GRAS_CL_Z_CLAMP_MAX__MASK; in A6XX_GRAS_CL_Z_CLAMP_MAX()
2521 static inline uint32_t A6XX_GRAS_SU_CNTL_LINEHALFWIDTH(float val) in A6XX_GRAS_SU_CNTL_LINEHALFWIDTH() argument
2523 …return ((((int32_t)(val * 4.0))) << A6XX_GRAS_SU_CNTL_LINEHALFWIDTH__SHIFT) & A6XX_GRAS_SU_CNTL_LI… in A6XX_GRAS_SU_CNTL_LINEHALFWIDTH()
2528 static inline uint32_t A6XX_GRAS_SU_CNTL_UNK12(uint32_t val) in A6XX_GRAS_SU_CNTL_UNK12() argument
2530 return ((val) << A6XX_GRAS_SU_CNTL_UNK12__SHIFT) & A6XX_GRAS_SU_CNTL_UNK12__MASK; in A6XX_GRAS_SU_CNTL_UNK12()
2534 static inline uint32_t A6XX_GRAS_SU_CNTL_LINE_MODE(enum a5xx_line_mode val) in A6XX_GRAS_SU_CNTL_LINE_MODE() argument
2536 return ((val) << A6XX_GRAS_SU_CNTL_LINE_MODE__SHIFT) & A6XX_GRAS_SU_CNTL_LINE_MODE__MASK; in A6XX_GRAS_SU_CNTL_LINE_MODE()
2540 static inline uint32_t A6XX_GRAS_SU_CNTL_UNK15(uint32_t val) in A6XX_GRAS_SU_CNTL_UNK15() argument
2542 return ((val) << A6XX_GRAS_SU_CNTL_UNK15__SHIFT) & A6XX_GRAS_SU_CNTL_UNK15__MASK; in A6XX_GRAS_SU_CNTL_UNK15()
2548 static inline uint32_t A6XX_GRAS_SU_CNTL_UNK19(uint32_t val) in A6XX_GRAS_SU_CNTL_UNK19() argument
2550 return ((val) << A6XX_GRAS_SU_CNTL_UNK19__SHIFT) & A6XX_GRAS_SU_CNTL_UNK19__MASK; in A6XX_GRAS_SU_CNTL_UNK19()
2556 static inline uint32_t A6XX_GRAS_SU_POINT_MINMAX_MIN(float val) in A6XX_GRAS_SU_POINT_MINMAX_MIN() argument
2558 …return ((((uint32_t)(val * 16.0))) << A6XX_GRAS_SU_POINT_MINMAX_MIN__SHIFT) & A6XX_GRAS_SU_POINT_M… in A6XX_GRAS_SU_POINT_MINMAX_MIN()
2562 static inline uint32_t A6XX_GRAS_SU_POINT_MINMAX_MAX(float val) in A6XX_GRAS_SU_POINT_MINMAX_MAX() argument
2564 …return ((((uint32_t)(val * 16.0))) << A6XX_GRAS_SU_POINT_MINMAX_MAX__SHIFT) & A6XX_GRAS_SU_POINT_M… in A6XX_GRAS_SU_POINT_MINMAX_MAX()
2570 static inline uint32_t A6XX_GRAS_SU_POINT_SIZE(float val) in A6XX_GRAS_SU_POINT_SIZE() argument
2572 …return ((((int32_t)(val * 16.0))) << A6XX_GRAS_SU_POINT_SIZE__SHIFT) & A6XX_GRAS_SU_POINT_SIZE__MA… in A6XX_GRAS_SU_POINT_SIZE()
2578 static inline uint32_t A6XX_GRAS_SU_DEPTH_PLANE_CNTL_Z_MODE(enum a6xx_ztest_mode val) in A6XX_GRAS_SU_DEPTH_PLANE_CNTL_Z_MODE() argument
2580 …return ((val) << A6XX_GRAS_SU_DEPTH_PLANE_CNTL_Z_MODE__SHIFT) & A6XX_GRAS_SU_DEPTH_PLANE_CNTL_Z_MO… in A6XX_GRAS_SU_DEPTH_PLANE_CNTL_Z_MODE()
2586 static inline uint32_t A6XX_GRAS_SU_POLY_OFFSET_SCALE(float val) in A6XX_GRAS_SU_POLY_OFFSET_SCALE() argument
2588 …return ((fui(val)) << A6XX_GRAS_SU_POLY_OFFSET_SCALE__SHIFT) & A6XX_GRAS_SU_POLY_OFFSET_SCALE__MAS… in A6XX_GRAS_SU_POLY_OFFSET_SCALE()
2594 static inline uint32_t A6XX_GRAS_SU_POLY_OFFSET_OFFSET(float val) in A6XX_GRAS_SU_POLY_OFFSET_OFFSET() argument
2596 …return ((fui(val)) << A6XX_GRAS_SU_POLY_OFFSET_OFFSET__SHIFT) & A6XX_GRAS_SU_POLY_OFFSET_OFFSET__M… in A6XX_GRAS_SU_POLY_OFFSET_OFFSET()
2602 static inline uint32_t A6XX_GRAS_SU_POLY_OFFSET_OFFSET_CLAMP(float val) in A6XX_GRAS_SU_POLY_OFFSET_OFFSET_CLAMP() argument
2604 …return ((fui(val)) << A6XX_GRAS_SU_POLY_OFFSET_OFFSET_CLAMP__SHIFT) & A6XX_GRAS_SU_POLY_OFFSET_OFF… in A6XX_GRAS_SU_POLY_OFFSET_OFFSET_CLAMP()
2610 static inline uint32_t A6XX_GRAS_SU_DEPTH_BUFFER_INFO_DEPTH_FORMAT(enum a6xx_depth_format val) in A6XX_GRAS_SU_DEPTH_BUFFER_INFO_DEPTH_FORMAT() argument
2612 …return ((val) << A6XX_GRAS_SU_DEPTH_BUFFER_INFO_DEPTH_FORMAT__SHIFT) & A6XX_GRAS_SU_DEPTH_BUFFER_I… in A6XX_GRAS_SU_DEPTH_BUFFER_INFO_DEPTH_FORMAT()
2616 static inline uint32_t A6XX_GRAS_SU_DEPTH_BUFFER_INFO_UNK3(uint32_t val) in A6XX_GRAS_SU_DEPTH_BUFFER_INFO_UNK3() argument
2618 …return ((val) << A6XX_GRAS_SU_DEPTH_BUFFER_INFO_UNK3__SHIFT) & A6XX_GRAS_SU_DEPTH_BUFFER_INFO_UNK3… in A6XX_GRAS_SU_DEPTH_BUFFER_INFO_UNK3()
2625 static inline uint32_t A6XX_GRAS_SU_CONSERVATIVE_RAS_CNTL_SHIFTAMOUNT(uint32_t val) in A6XX_GRAS_SU_CONSERVATIVE_RAS_CNTL_SHIFTAMOUNT() argument
2627 …return ((val) << A6XX_GRAS_SU_CONSERVATIVE_RAS_CNTL_SHIFTAMOUNT__SHIFT) & A6XX_GRAS_SU_CONSERVATIV… in A6XX_GRAS_SU_CONSERVATIVE_RAS_CNTL_SHIFTAMOUNT()
2632 static inline uint32_t A6XX_GRAS_SU_CONSERVATIVE_RAS_CNTL_UNK4(uint32_t val) in A6XX_GRAS_SU_CONSERVATIVE_RAS_CNTL_UNK4() argument
2634 …return ((val) << A6XX_GRAS_SU_CONSERVATIVE_RAS_CNTL_UNK4__SHIFT) & A6XX_GRAS_SU_CONSERVATIVE_RAS_C… in A6XX_GRAS_SU_CONSERVATIVE_RAS_CNTL_UNK4()
2656 static inline uint32_t A6XX_GRAS_SC_CNTL_CCUSINGLECACHELINESIZE(uint32_t val) in A6XX_GRAS_SC_CNTL_CCUSINGLECACHELINESIZE() argument
2658 …return ((val) << A6XX_GRAS_SC_CNTL_CCUSINGLECACHELINESIZE__SHIFT) & A6XX_GRAS_SC_CNTL_CCUSINGLECAC… in A6XX_GRAS_SC_CNTL_CCUSINGLECACHELINESIZE()
2662 static inline uint32_t A6XX_GRAS_SC_CNTL_SINGLE_PRIM_MODE(enum a6xx_single_prim_mode val) in A6XX_GRAS_SC_CNTL_SINGLE_PRIM_MODE() argument
2664 …return ((val) << A6XX_GRAS_SC_CNTL_SINGLE_PRIM_MODE__SHIFT) & A6XX_GRAS_SC_CNTL_SINGLE_PRIM_MODE__… in A6XX_GRAS_SC_CNTL_SINGLE_PRIM_MODE()
2668 static inline uint32_t A6XX_GRAS_SC_CNTL_RASTER_MODE(enum a6xx_raster_mode val) in A6XX_GRAS_SC_CNTL_RASTER_MODE() argument
2670 return ((val) << A6XX_GRAS_SC_CNTL_RASTER_MODE__SHIFT) & A6XX_GRAS_SC_CNTL_RASTER_MODE__MASK; in A6XX_GRAS_SC_CNTL_RASTER_MODE()
2674 static inline uint32_t A6XX_GRAS_SC_CNTL_RASTER_DIRECTION(enum a6xx_raster_direction val) in A6XX_GRAS_SC_CNTL_RASTER_DIRECTION() argument
2676 …return ((val) << A6XX_GRAS_SC_CNTL_RASTER_DIRECTION__SHIFT) & A6XX_GRAS_SC_CNTL_RASTER_DIRECTION__… in A6XX_GRAS_SC_CNTL_RASTER_DIRECTION()
2680 …nline uint32_t A6XX_GRAS_SC_CNTL_SEQUENCED_THREAD_DISTRIBUTION(enum a6xx_sequenced_thread_dist val) in A6XX_GRAS_SC_CNTL_SEQUENCED_THREAD_DISTRIBUTION() argument
2682 …return ((val) << A6XX_GRAS_SC_CNTL_SEQUENCED_THREAD_DISTRIBUTION__SHIFT) & A6XX_GRAS_SC_CNTL_SEQUE… in A6XX_GRAS_SC_CNTL_SEQUENCED_THREAD_DISTRIBUTION()
2687 static inline uint32_t A6XX_GRAS_SC_CNTL_ROTATION(uint32_t val) in A6XX_GRAS_SC_CNTL_ROTATION() argument
2689 return ((val) << A6XX_GRAS_SC_CNTL_ROTATION__SHIFT) & A6XX_GRAS_SC_CNTL_ROTATION__MASK; in A6XX_GRAS_SC_CNTL_ROTATION()
2696 static inline uint32_t A6XX_GRAS_BIN_CONTROL_BINW(uint32_t val) in A6XX_GRAS_BIN_CONTROL_BINW() argument
2698 return ((val >> 5) << A6XX_GRAS_BIN_CONTROL_BINW__SHIFT) & A6XX_GRAS_BIN_CONTROL_BINW__MASK; in A6XX_GRAS_BIN_CONTROL_BINW()
2702 static inline uint32_t A6XX_GRAS_BIN_CONTROL_BINH(uint32_t val) in A6XX_GRAS_BIN_CONTROL_BINH() argument
2704 return ((val >> 4) << A6XX_GRAS_BIN_CONTROL_BINH__SHIFT) & A6XX_GRAS_BIN_CONTROL_BINH__MASK; in A6XX_GRAS_BIN_CONTROL_BINH()
2708 static inline uint32_t A6XX_GRAS_BIN_CONTROL_RENDER_MODE(enum a6xx_render_mode val) in A6XX_GRAS_BIN_CONTROL_RENDER_MODE() argument
2710 …return ((val) << A6XX_GRAS_BIN_CONTROL_RENDER_MODE__SHIFT) & A6XX_GRAS_BIN_CONTROL_RENDER_MODE__MA… in A6XX_GRAS_BIN_CONTROL_RENDER_MODE()
2715 static inline uint32_t A6XX_GRAS_BIN_CONTROL_BUFFERS_LOCATION(enum a6xx_buffers_location val) in A6XX_GRAS_BIN_CONTROL_BUFFERS_LOCATION() argument
2717 …return ((val) << A6XX_GRAS_BIN_CONTROL_BUFFERS_LOCATION__SHIFT) & A6XX_GRAS_BIN_CONTROL_BUFFERS_LO… in A6XX_GRAS_BIN_CONTROL_BUFFERS_LOCATION()
2721 static inline uint32_t A6XX_GRAS_BIN_CONTROL_LRZ_FEEDBACK_ZMODE_MASK(uint32_t val) in A6XX_GRAS_BIN_CONTROL_LRZ_FEEDBACK_ZMODE_MASK() argument
2723 …return ((val) << A6XX_GRAS_BIN_CONTROL_LRZ_FEEDBACK_ZMODE_MASK__SHIFT) & A6XX_GRAS_BIN_CONTROL_LRZ… in A6XX_GRAS_BIN_CONTROL_LRZ_FEEDBACK_ZMODE_MASK()
2727 static inline uint32_t A6XX_GRAS_BIN_CONTROL_UNK27(uint32_t val) in A6XX_GRAS_BIN_CONTROL_UNK27() argument
2729 return ((val) << A6XX_GRAS_BIN_CONTROL_UNK27__SHIFT) & A6XX_GRAS_BIN_CONTROL_UNK27__MASK; in A6XX_GRAS_BIN_CONTROL_UNK27()
2735 static inline uint32_t A6XX_GRAS_RAS_MSAA_CNTL_SAMPLES(enum a3xx_msaa_samples val) in A6XX_GRAS_RAS_MSAA_CNTL_SAMPLES() argument
2737 return ((val) << A6XX_GRAS_RAS_MSAA_CNTL_SAMPLES__SHIFT) & A6XX_GRAS_RAS_MSAA_CNTL_SAMPLES__MASK; in A6XX_GRAS_RAS_MSAA_CNTL_SAMPLES()
2741 static inline uint32_t A6XX_GRAS_RAS_MSAA_CNTL_UNK2(uint32_t val) in A6XX_GRAS_RAS_MSAA_CNTL_UNK2() argument
2743 return ((val) << A6XX_GRAS_RAS_MSAA_CNTL_UNK2__SHIFT) & A6XX_GRAS_RAS_MSAA_CNTL_UNK2__MASK; in A6XX_GRAS_RAS_MSAA_CNTL_UNK2()
2747 static inline uint32_t A6XX_GRAS_RAS_MSAA_CNTL_UNK3(uint32_t val) in A6XX_GRAS_RAS_MSAA_CNTL_UNK3() argument
2749 return ((val) << A6XX_GRAS_RAS_MSAA_CNTL_UNK3__SHIFT) & A6XX_GRAS_RAS_MSAA_CNTL_UNK3__MASK; in A6XX_GRAS_RAS_MSAA_CNTL_UNK3()
2755 static inline uint32_t A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES(enum a3xx_msaa_samples val) in A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES() argument
2757 return ((val) << A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES__SHIFT) & A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES__MASK; in A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES()
2768 static inline uint32_t A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_0_X(float val) in A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_0_X() argument
2770 …return ((((int32_t)(val * 1.0))) << A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_0_X__SHIFT) & A6XX_GRAS_SAM… in A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_0_X()
2774 static inline uint32_t A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_0_Y(float val) in A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_0_Y() argument
2776 …return ((((int32_t)(val * 1.0))) << A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_0_Y__SHIFT) & A6XX_GRAS_SAM… in A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_0_Y()
2780 static inline uint32_t A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_1_X(float val) in A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_1_X() argument
2782 …return ((((int32_t)(val * 1.0))) << A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_1_X__SHIFT) & A6XX_GRAS_SAM… in A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_1_X()
2786 static inline uint32_t A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_1_Y(float val) in A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_1_Y() argument
2788 …return ((((int32_t)(val * 1.0))) << A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_1_Y__SHIFT) & A6XX_GRAS_SAM… in A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_1_Y()
2792 static inline uint32_t A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_2_X(float val) in A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_2_X() argument
2794 …return ((((int32_t)(val * 1.0))) << A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_2_X__SHIFT) & A6XX_GRAS_SAM… in A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_2_X()
2798 static inline uint32_t A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_2_Y(float val) in A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_2_Y() argument
2800 …return ((((int32_t)(val * 1.0))) << A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_2_Y__SHIFT) & A6XX_GRAS_SAM… in A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_2_Y()
2804 static inline uint32_t A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_3_X(float val) in A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_3_X() argument
2806 …return ((((int32_t)(val * 1.0))) << A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_3_X__SHIFT) & A6XX_GRAS_SAM… in A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_3_X()
2810 static inline uint32_t A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_3_Y(float val) in A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_3_Y() argument
2812 …return ((((int32_t)(val * 1.0))) << A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_3_Y__SHIFT) & A6XX_GRAS_SAM… in A6XX_GRAS_SAMPLE_LOCATION_0_SAMPLE_3_Y()
2818 static inline uint32_t A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_0_X(float val) in A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_0_X() argument
2820 …return ((((int32_t)(val * 1.0))) << A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_0_X__SHIFT) & A6XX_GRAS_SAM… in A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_0_X()
2824 static inline uint32_t A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_0_Y(float val) in A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_0_Y() argument
2826 …return ((((int32_t)(val * 1.0))) << A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_0_Y__SHIFT) & A6XX_GRAS_SAM… in A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_0_Y()
2830 static inline uint32_t A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_1_X(float val) in A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_1_X() argument
2832 …return ((((int32_t)(val * 1.0))) << A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_1_X__SHIFT) & A6XX_GRAS_SAM… in A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_1_X()
2836 static inline uint32_t A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_1_Y(float val) in A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_1_Y() argument
2838 …return ((((int32_t)(val * 1.0))) << A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_1_Y__SHIFT) & A6XX_GRAS_SAM… in A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_1_Y()
2842 static inline uint32_t A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_2_X(float val) in A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_2_X() argument
2844 …return ((((int32_t)(val * 1.0))) << A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_2_X__SHIFT) & A6XX_GRAS_SAM… in A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_2_X()
2848 static inline uint32_t A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_2_Y(float val) in A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_2_Y() argument
2850 …return ((((int32_t)(val * 1.0))) << A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_2_Y__SHIFT) & A6XX_GRAS_SAM… in A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_2_Y()
2854 static inline uint32_t A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_3_X(float val) in A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_3_X() argument
2856 …return ((((int32_t)(val * 1.0))) << A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_3_X__SHIFT) & A6XX_GRAS_SAM… in A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_3_X()
2860 static inline uint32_t A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_3_Y(float val) in A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_3_Y() argument
2862 …return ((((int32_t)(val * 1.0))) << A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_3_Y__SHIFT) & A6XX_GRAS_SAM… in A6XX_GRAS_SAMPLE_LOCATION_1_SAMPLE_3_Y()
2872 static inline uint32_t A6XX_GRAS_SC_SCREEN_SCISSOR_TL_X(uint32_t val) in A6XX_GRAS_SC_SCREEN_SCISSOR_TL_X() argument
2874 return ((val) << A6XX_GRAS_SC_SCREEN_SCISSOR_TL_X__SHIFT) & A6XX_GRAS_SC_SCREEN_SCISSOR_TL_X__MASK; in A6XX_GRAS_SC_SCREEN_SCISSOR_TL_X()
2878 static inline uint32_t A6XX_GRAS_SC_SCREEN_SCISSOR_TL_Y(uint32_t val) in A6XX_GRAS_SC_SCREEN_SCISSOR_TL_Y() argument
2880 return ((val) << A6XX_GRAS_SC_SCREEN_SCISSOR_TL_Y__SHIFT) & A6XX_GRAS_SC_SCREEN_SCISSOR_TL_Y__MASK; in A6XX_GRAS_SC_SCREEN_SCISSOR_TL_Y()
2886 static inline uint32_t A6XX_GRAS_SC_SCREEN_SCISSOR_BR_X(uint32_t val) in A6XX_GRAS_SC_SCREEN_SCISSOR_BR_X() argument
2888 return ((val) << A6XX_GRAS_SC_SCREEN_SCISSOR_BR_X__SHIFT) & A6XX_GRAS_SC_SCREEN_SCISSOR_BR_X__MASK; in A6XX_GRAS_SC_SCREEN_SCISSOR_BR_X()
2892 static inline uint32_t A6XX_GRAS_SC_SCREEN_SCISSOR_BR_Y(uint32_t val) in A6XX_GRAS_SC_SCREEN_SCISSOR_BR_Y() argument
2894 return ((val) << A6XX_GRAS_SC_SCREEN_SCISSOR_BR_Y__SHIFT) & A6XX_GRAS_SC_SCREEN_SCISSOR_BR_Y__MASK; in A6XX_GRAS_SC_SCREEN_SCISSOR_BR_Y()
2902 static inline uint32_t A6XX_GRAS_SC_VIEWPORT_SCISSOR_TL_X(uint32_t val) in A6XX_GRAS_SC_VIEWPORT_SCISSOR_TL_X() argument
2904 …return ((val) << A6XX_GRAS_SC_VIEWPORT_SCISSOR_TL_X__SHIFT) & A6XX_GRAS_SC_VIEWPORT_SCISSOR_TL_X__… in A6XX_GRAS_SC_VIEWPORT_SCISSOR_TL_X()
2908 static inline uint32_t A6XX_GRAS_SC_VIEWPORT_SCISSOR_TL_Y(uint32_t val) in A6XX_GRAS_SC_VIEWPORT_SCISSOR_TL_Y() argument
2910 …return ((val) << A6XX_GRAS_SC_VIEWPORT_SCISSOR_TL_Y__SHIFT) & A6XX_GRAS_SC_VIEWPORT_SCISSOR_TL_Y__… in A6XX_GRAS_SC_VIEWPORT_SCISSOR_TL_Y()
2916 static inline uint32_t A6XX_GRAS_SC_VIEWPORT_SCISSOR_BR_X(uint32_t val) in A6XX_GRAS_SC_VIEWPORT_SCISSOR_BR_X() argument
2918 …return ((val) << A6XX_GRAS_SC_VIEWPORT_SCISSOR_BR_X__SHIFT) & A6XX_GRAS_SC_VIEWPORT_SCISSOR_BR_X__… in A6XX_GRAS_SC_VIEWPORT_SCISSOR_BR_X()
2922 static inline uint32_t A6XX_GRAS_SC_VIEWPORT_SCISSOR_BR_Y(uint32_t val) in A6XX_GRAS_SC_VIEWPORT_SCISSOR_BR_Y() argument
2924 …return ((val) << A6XX_GRAS_SC_VIEWPORT_SCISSOR_BR_Y__SHIFT) & A6XX_GRAS_SC_VIEWPORT_SCISSOR_BR_Y__… in A6XX_GRAS_SC_VIEWPORT_SCISSOR_BR_Y()
2930 static inline uint32_t A6XX_GRAS_SC_WINDOW_SCISSOR_TL_X(uint32_t val) in A6XX_GRAS_SC_WINDOW_SCISSOR_TL_X() argument
2932 return ((val) << A6XX_GRAS_SC_WINDOW_SCISSOR_TL_X__SHIFT) & A6XX_GRAS_SC_WINDOW_SCISSOR_TL_X__MASK; in A6XX_GRAS_SC_WINDOW_SCISSOR_TL_X()
2936 static inline uint32_t A6XX_GRAS_SC_WINDOW_SCISSOR_TL_Y(uint32_t val) in A6XX_GRAS_SC_WINDOW_SCISSOR_TL_Y() argument
2938 return ((val) << A6XX_GRAS_SC_WINDOW_SCISSOR_TL_Y__SHIFT) & A6XX_GRAS_SC_WINDOW_SCISSOR_TL_Y__MASK; in A6XX_GRAS_SC_WINDOW_SCISSOR_TL_Y()
2944 static inline uint32_t A6XX_GRAS_SC_WINDOW_SCISSOR_BR_X(uint32_t val) in A6XX_GRAS_SC_WINDOW_SCISSOR_BR_X() argument
2946 return ((val) << A6XX_GRAS_SC_WINDOW_SCISSOR_BR_X__SHIFT) & A6XX_GRAS_SC_WINDOW_SCISSOR_BR_X__MASK; in A6XX_GRAS_SC_WINDOW_SCISSOR_BR_X()
2950 static inline uint32_t A6XX_GRAS_SC_WINDOW_SCISSOR_BR_Y(uint32_t val) in A6XX_GRAS_SC_WINDOW_SCISSOR_BR_Y() argument
2952 return ((val) << A6XX_GRAS_SC_WINDOW_SCISSOR_BR_Y__SHIFT) & A6XX_GRAS_SC_WINDOW_SCISSOR_BR_Y__MASK; in A6XX_GRAS_SC_WINDOW_SCISSOR_BR_Y()
2964 static inline uint32_t A6XX_GRAS_LRZ_CNTL_DIR(enum a6xx_lrz_dir_status val) in A6XX_GRAS_LRZ_CNTL_DIR() argument
2966 return ((val) << A6XX_GRAS_LRZ_CNTL_DIR__SHIFT) & A6XX_GRAS_LRZ_CNTL_DIR__MASK; in A6XX_GRAS_LRZ_CNTL_DIR()
2975 …nline uint32_t A6XX_GRAS_LRZ_PS_INPUT_CNTL_FRAGCOORDSAMPLEMODE(enum a6xx_fragcoord_sample_mode val) in A6XX_GRAS_LRZ_PS_INPUT_CNTL_FRAGCOORDSAMPLEMODE() argument
2977 …return ((val) << A6XX_GRAS_LRZ_PS_INPUT_CNTL_FRAGCOORDSAMPLEMODE__SHIFT) & A6XX_GRAS_LRZ_PS_INPUT_… in A6XX_GRAS_LRZ_PS_INPUT_CNTL_FRAGCOORDSAMPLEMODE()
2983 static inline uint32_t A6XX_GRAS_LRZ_MRT_BUF_INFO_0_COLOR_FORMAT(enum a6xx_format val) in A6XX_GRAS_LRZ_MRT_BUF_INFO_0_COLOR_FORMAT() argument
2985 …return ((val) << A6XX_GRAS_LRZ_MRT_BUF_INFO_0_COLOR_FORMAT__SHIFT) & A6XX_GRAS_LRZ_MRT_BUF_INFO_0_… in A6XX_GRAS_LRZ_MRT_BUF_INFO_0_COLOR_FORMAT()
2991 static inline uint32_t A6XX_GRAS_LRZ_BUFFER_BASE(uint32_t val) in A6XX_GRAS_LRZ_BUFFER_BASE() argument
2993 return ((val) << A6XX_GRAS_LRZ_BUFFER_BASE__SHIFT) & A6XX_GRAS_LRZ_BUFFER_BASE__MASK; in A6XX_GRAS_LRZ_BUFFER_BASE()
2999 static inline uint32_t A6XX_GRAS_LRZ_BUFFER_PITCH_PITCH(uint32_t val) in A6XX_GRAS_LRZ_BUFFER_PITCH_PITCH() argument
3001 …return ((val >> 5) << A6XX_GRAS_LRZ_BUFFER_PITCH_PITCH__SHIFT) & A6XX_GRAS_LRZ_BUFFER_PITCH_PITCH_… in A6XX_GRAS_LRZ_BUFFER_PITCH_PITCH()
3005 static inline uint32_t A6XX_GRAS_LRZ_BUFFER_PITCH_ARRAY_PITCH(uint32_t val) in A6XX_GRAS_LRZ_BUFFER_PITCH_ARRAY_PITCH() argument
3007 …return ((val >> 4) << A6XX_GRAS_LRZ_BUFFER_PITCH_ARRAY_PITCH__SHIFT) & A6XX_GRAS_LRZ_BUFFER_PITCH_… in A6XX_GRAS_LRZ_BUFFER_PITCH_ARRAY_PITCH()
3013 static inline uint32_t A6XX_GRAS_LRZ_FAST_CLEAR_BUFFER_BASE(uint32_t val) in A6XX_GRAS_LRZ_FAST_CLEAR_BUFFER_BASE() argument
3015 …return ((val) << A6XX_GRAS_LRZ_FAST_CLEAR_BUFFER_BASE__SHIFT) & A6XX_GRAS_LRZ_FAST_CLEAR_BUFFER_BA… in A6XX_GRAS_LRZ_FAST_CLEAR_BUFFER_BASE()
3024 static inline uint32_t A6XX_GRAS_LRZ_DEPTH_VIEW_BASE_LAYER(uint32_t val) in A6XX_GRAS_LRZ_DEPTH_VIEW_BASE_LAYER() argument
3026 …return ((val) << A6XX_GRAS_LRZ_DEPTH_VIEW_BASE_LAYER__SHIFT) & A6XX_GRAS_LRZ_DEPTH_VIEW_BASE_LAYER… in A6XX_GRAS_LRZ_DEPTH_VIEW_BASE_LAYER()
3030 static inline uint32_t A6XX_GRAS_LRZ_DEPTH_VIEW_LAYER_COUNT(uint32_t val) in A6XX_GRAS_LRZ_DEPTH_VIEW_LAYER_COUNT() argument
3032 …return ((val) << A6XX_GRAS_LRZ_DEPTH_VIEW_LAYER_COUNT__SHIFT) & A6XX_GRAS_LRZ_DEPTH_VIEW_LAYER_COU… in A6XX_GRAS_LRZ_DEPTH_VIEW_LAYER_COUNT()
3036 static inline uint32_t A6XX_GRAS_LRZ_DEPTH_VIEW_BASE_MIP_LEVEL(uint32_t val) in A6XX_GRAS_LRZ_DEPTH_VIEW_BASE_MIP_LEVEL() argument
3038 …return ((val) << A6XX_GRAS_LRZ_DEPTH_VIEW_BASE_MIP_LEVEL__SHIFT) & A6XX_GRAS_LRZ_DEPTH_VIEW_BASE_M… in A6XX_GRAS_LRZ_DEPTH_VIEW_BASE_MIP_LEVEL()
3046 static inline uint32_t A6XX_GRAS_2D_BLIT_CNTL_ROTATE(enum a6xx_rotation val) in A6XX_GRAS_2D_BLIT_CNTL_ROTATE() argument
3048 return ((val) << A6XX_GRAS_2D_BLIT_CNTL_ROTATE__SHIFT) & A6XX_GRAS_2D_BLIT_CNTL_ROTATE__MASK; in A6XX_GRAS_2D_BLIT_CNTL_ROTATE()
3053 static inline uint32_t A6XX_GRAS_2D_BLIT_CNTL_UNK4(uint32_t val) in A6XX_GRAS_2D_BLIT_CNTL_UNK4() argument
3055 return ((val) << A6XX_GRAS_2D_BLIT_CNTL_UNK4__SHIFT) & A6XX_GRAS_2D_BLIT_CNTL_UNK4__MASK; in A6XX_GRAS_2D_BLIT_CNTL_UNK4()
3060 static inline uint32_t A6XX_GRAS_2D_BLIT_CNTL_COLOR_FORMAT(enum a6xx_format val) in A6XX_GRAS_2D_BLIT_CNTL_COLOR_FORMAT() argument
3062 …return ((val) << A6XX_GRAS_2D_BLIT_CNTL_COLOR_FORMAT__SHIFT) & A6XX_GRAS_2D_BLIT_CNTL_COLOR_FORMAT… in A6XX_GRAS_2D_BLIT_CNTL_COLOR_FORMAT()
3067 static inline uint32_t A6XX_GRAS_2D_BLIT_CNTL_UNK17(uint32_t val) in A6XX_GRAS_2D_BLIT_CNTL_UNK17() argument
3069 return ((val) << A6XX_GRAS_2D_BLIT_CNTL_UNK17__SHIFT) & A6XX_GRAS_2D_BLIT_CNTL_UNK17__MASK; in A6XX_GRAS_2D_BLIT_CNTL_UNK17()
3074 static inline uint32_t A6XX_GRAS_2D_BLIT_CNTL_MASK(uint32_t val) in A6XX_GRAS_2D_BLIT_CNTL_MASK() argument
3076 return ((val) << A6XX_GRAS_2D_BLIT_CNTL_MASK__SHIFT) & A6XX_GRAS_2D_BLIT_CNTL_MASK__MASK; in A6XX_GRAS_2D_BLIT_CNTL_MASK()
3080 static inline uint32_t A6XX_GRAS_2D_BLIT_CNTL_IFMT(enum a6xx_2d_ifmt val) in A6XX_GRAS_2D_BLIT_CNTL_IFMT() argument
3082 return ((val) << A6XX_GRAS_2D_BLIT_CNTL_IFMT__SHIFT) & A6XX_GRAS_2D_BLIT_CNTL_IFMT__MASK; in A6XX_GRAS_2D_BLIT_CNTL_IFMT()
3086 static inline uint32_t A6XX_GRAS_2D_BLIT_CNTL_RASTER_MODE(enum a6xx_raster_mode val) in A6XX_GRAS_2D_BLIT_CNTL_RASTER_MODE() argument
3088 …return ((val) << A6XX_GRAS_2D_BLIT_CNTL_RASTER_MODE__SHIFT) & A6XX_GRAS_2D_BLIT_CNTL_RASTER_MODE__… in A6XX_GRAS_2D_BLIT_CNTL_RASTER_MODE()
3102 static inline uint32_t A6XX_GRAS_2D_DST_TL_X(uint32_t val) in A6XX_GRAS_2D_DST_TL_X() argument
3104 return ((val) << A6XX_GRAS_2D_DST_TL_X__SHIFT) & A6XX_GRAS_2D_DST_TL_X__MASK; in A6XX_GRAS_2D_DST_TL_X()
3108 static inline uint32_t A6XX_GRAS_2D_DST_TL_Y(uint32_t val) in A6XX_GRAS_2D_DST_TL_Y() argument
3110 return ((val) << A6XX_GRAS_2D_DST_TL_Y__SHIFT) & A6XX_GRAS_2D_DST_TL_Y__MASK; in A6XX_GRAS_2D_DST_TL_Y()
3116 static inline uint32_t A6XX_GRAS_2D_DST_BR_X(uint32_t val) in A6XX_GRAS_2D_DST_BR_X() argument
3118 return ((val) << A6XX_GRAS_2D_DST_BR_X__SHIFT) & A6XX_GRAS_2D_DST_BR_X__MASK; in A6XX_GRAS_2D_DST_BR_X()
3122 static inline uint32_t A6XX_GRAS_2D_DST_BR_Y(uint32_t val) in A6XX_GRAS_2D_DST_BR_Y() argument
3124 return ((val) << A6XX_GRAS_2D_DST_BR_Y__SHIFT) & A6XX_GRAS_2D_DST_BR_Y__MASK; in A6XX_GRAS_2D_DST_BR_Y()
3136 static inline uint32_t A6XX_GRAS_2D_RESOLVE_CNTL_1_X(uint32_t val) in A6XX_GRAS_2D_RESOLVE_CNTL_1_X() argument
3138 return ((val) << A6XX_GRAS_2D_RESOLVE_CNTL_1_X__SHIFT) & A6XX_GRAS_2D_RESOLVE_CNTL_1_X__MASK; in A6XX_GRAS_2D_RESOLVE_CNTL_1_X()
3142 static inline uint32_t A6XX_GRAS_2D_RESOLVE_CNTL_1_Y(uint32_t val) in A6XX_GRAS_2D_RESOLVE_CNTL_1_Y() argument
3144 return ((val) << A6XX_GRAS_2D_RESOLVE_CNTL_1_Y__SHIFT) & A6XX_GRAS_2D_RESOLVE_CNTL_1_Y__MASK; in A6XX_GRAS_2D_RESOLVE_CNTL_1_Y()
3150 static inline uint32_t A6XX_GRAS_2D_RESOLVE_CNTL_2_X(uint32_t val) in A6XX_GRAS_2D_RESOLVE_CNTL_2_X() argument
3152 return ((val) << A6XX_GRAS_2D_RESOLVE_CNTL_2_X__SHIFT) & A6XX_GRAS_2D_RESOLVE_CNTL_2_X__MASK; in A6XX_GRAS_2D_RESOLVE_CNTL_2_X()
3156 static inline uint32_t A6XX_GRAS_2D_RESOLVE_CNTL_2_Y(uint32_t val) in A6XX_GRAS_2D_RESOLVE_CNTL_2_Y() argument
3158 return ((val) << A6XX_GRAS_2D_RESOLVE_CNTL_2_Y__SHIFT) & A6XX_GRAS_2D_RESOLVE_CNTL_2_Y__MASK; in A6XX_GRAS_2D_RESOLVE_CNTL_2_Y()
3178 static inline uint32_t A6XX_RB_BIN_CONTROL_BINW(uint32_t val) in A6XX_RB_BIN_CONTROL_BINW() argument
3180 return ((val >> 5) << A6XX_RB_BIN_CONTROL_BINW__SHIFT) & A6XX_RB_BIN_CONTROL_BINW__MASK; in A6XX_RB_BIN_CONTROL_BINW()
3184 static inline uint32_t A6XX_RB_BIN_CONTROL_BINH(uint32_t val) in A6XX_RB_BIN_CONTROL_BINH() argument
3186 return ((val >> 4) << A6XX_RB_BIN_CONTROL_BINH__SHIFT) & A6XX_RB_BIN_CONTROL_BINH__MASK; in A6XX_RB_BIN_CONTROL_BINH()
3190 static inline uint32_t A6XX_RB_BIN_CONTROL_RENDER_MODE(enum a6xx_render_mode val) in A6XX_RB_BIN_CONTROL_RENDER_MODE() argument
3192 return ((val) << A6XX_RB_BIN_CONTROL_RENDER_MODE__SHIFT) & A6XX_RB_BIN_CONTROL_RENDER_MODE__MASK; in A6XX_RB_BIN_CONTROL_RENDER_MODE()
3197 static inline uint32_t A6XX_RB_BIN_CONTROL_BUFFERS_LOCATION(enum a6xx_buffers_location val) in A6XX_RB_BIN_CONTROL_BUFFERS_LOCATION() argument
3199 …return ((val) << A6XX_RB_BIN_CONTROL_BUFFERS_LOCATION__SHIFT) & A6XX_RB_BIN_CONTROL_BUFFERS_LOCATI… in A6XX_RB_BIN_CONTROL_BUFFERS_LOCATION()
3203 static inline uint32_t A6XX_RB_BIN_CONTROL_LRZ_FEEDBACK_ZMODE_MASK(uint32_t val) in A6XX_RB_BIN_CONTROL_LRZ_FEEDBACK_ZMODE_MASK() argument
3205 …return ((val) << A6XX_RB_BIN_CONTROL_LRZ_FEEDBACK_ZMODE_MASK__SHIFT) & A6XX_RB_BIN_CONTROL_LRZ_FEE… in A6XX_RB_BIN_CONTROL_LRZ_FEEDBACK_ZMODE_MASK()
3211 static inline uint32_t A6XX_RB_RENDER_CNTL_CCUSINGLECACHELINESIZE(uint32_t val) in A6XX_RB_RENDER_CNTL_CCUSINGLECACHELINESIZE() argument
3213 …return ((val) << A6XX_RB_RENDER_CNTL_CCUSINGLECACHELINESIZE__SHIFT) & A6XX_RB_RENDER_CNTL_CCUSINGL… in A6XX_RB_RENDER_CNTL_CCUSINGLECACHELINESIZE()
3219 static inline uint32_t A6XX_RB_RENDER_CNTL_UNK8(uint32_t val) in A6XX_RB_RENDER_CNTL_UNK8() argument
3221 return ((val) << A6XX_RB_RENDER_CNTL_UNK8__SHIFT) & A6XX_RB_RENDER_CNTL_UNK8__MASK; in A6XX_RB_RENDER_CNTL_UNK8()
3225 static inline uint32_t A6XX_RB_RENDER_CNTL_RASTER_MODE(enum a6xx_raster_mode val) in A6XX_RB_RENDER_CNTL_RASTER_MODE() argument
3227 return ((val) << A6XX_RB_RENDER_CNTL_RASTER_MODE__SHIFT) & A6XX_RB_RENDER_CNTL_RASTER_MODE__MASK; in A6XX_RB_RENDER_CNTL_RASTER_MODE()
3231 static inline uint32_t A6XX_RB_RENDER_CNTL_RASTER_DIRECTION(enum a6xx_raster_direction val) in A6XX_RB_RENDER_CNTL_RASTER_DIRECTION() argument
3233 …return ((val) << A6XX_RB_RENDER_CNTL_RASTER_DIRECTION__SHIFT) & A6XX_RB_RENDER_CNTL_RASTER_DIRECTI… in A6XX_RB_RENDER_CNTL_RASTER_DIRECTION()
3240 static inline uint32_t A6XX_RB_RENDER_CNTL_FLAG_MRTS(uint32_t val) in A6XX_RB_RENDER_CNTL_FLAG_MRTS() argument
3242 return ((val) << A6XX_RB_RENDER_CNTL_FLAG_MRTS__SHIFT) & A6XX_RB_RENDER_CNTL_FLAG_MRTS__MASK; in A6XX_RB_RENDER_CNTL_FLAG_MRTS()
3248 static inline uint32_t A6XX_RB_RAS_MSAA_CNTL_SAMPLES(enum a3xx_msaa_samples val) in A6XX_RB_RAS_MSAA_CNTL_SAMPLES() argument
3250 return ((val) << A6XX_RB_RAS_MSAA_CNTL_SAMPLES__SHIFT) & A6XX_RB_RAS_MSAA_CNTL_SAMPLES__MASK; in A6XX_RB_RAS_MSAA_CNTL_SAMPLES()
3254 static inline uint32_t A6XX_RB_RAS_MSAA_CNTL_UNK2(uint32_t val) in A6XX_RB_RAS_MSAA_CNTL_UNK2() argument
3256 return ((val) << A6XX_RB_RAS_MSAA_CNTL_UNK2__SHIFT) & A6XX_RB_RAS_MSAA_CNTL_UNK2__MASK; in A6XX_RB_RAS_MSAA_CNTL_UNK2()
3260 static inline uint32_t A6XX_RB_RAS_MSAA_CNTL_UNK3(uint32_t val) in A6XX_RB_RAS_MSAA_CNTL_UNK3() argument
3262 return ((val) << A6XX_RB_RAS_MSAA_CNTL_UNK3__SHIFT) & A6XX_RB_RAS_MSAA_CNTL_UNK3__MASK; in A6XX_RB_RAS_MSAA_CNTL_UNK3()
3268 static inline uint32_t A6XX_RB_DEST_MSAA_CNTL_SAMPLES(enum a3xx_msaa_samples val) in A6XX_RB_DEST_MSAA_CNTL_SAMPLES() argument
3270 return ((val) << A6XX_RB_DEST_MSAA_CNTL_SAMPLES__SHIFT) & A6XX_RB_DEST_MSAA_CNTL_SAMPLES__MASK; in A6XX_RB_DEST_MSAA_CNTL_SAMPLES()
3281 static inline uint32_t A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_0_X(float val) in A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_0_X() argument
3283 …return ((((int32_t)(val * 1.0))) << A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_0_X__SHIFT) & A6XX_RB_SAMPLE_… in A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_0_X()
3287 static inline uint32_t A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_0_Y(float val) in A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_0_Y() argument
3289 …return ((((int32_t)(val * 1.0))) << A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_0_Y__SHIFT) & A6XX_RB_SAMPLE_… in A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_0_Y()
3293 static inline uint32_t A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_1_X(float val) in A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_1_X() argument
3295 …return ((((int32_t)(val * 1.0))) << A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_1_X__SHIFT) & A6XX_RB_SAMPLE_… in A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_1_X()
3299 static inline uint32_t A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_1_Y(float val) in A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_1_Y() argument
3301 …return ((((int32_t)(val * 1.0))) << A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_1_Y__SHIFT) & A6XX_RB_SAMPLE_… in A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_1_Y()
3305 static inline uint32_t A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_2_X(float val) in A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_2_X() argument
3307 …return ((((int32_t)(val * 1.0))) << A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_2_X__SHIFT) & A6XX_RB_SAMPLE_… in A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_2_X()
3311 static inline uint32_t A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_2_Y(float val) in A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_2_Y() argument
3313 …return ((((int32_t)(val * 1.0))) << A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_2_Y__SHIFT) & A6XX_RB_SAMPLE_… in A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_2_Y()
3317 static inline uint32_t A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_3_X(float val) in A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_3_X() argument
3319 …return ((((int32_t)(val * 1.0))) << A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_3_X__SHIFT) & A6XX_RB_SAMPLE_… in A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_3_X()
3323 static inline uint32_t A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_3_Y(float val) in A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_3_Y() argument
3325 …return ((((int32_t)(val * 1.0))) << A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_3_Y__SHIFT) & A6XX_RB_SAMPLE_… in A6XX_RB_SAMPLE_LOCATION_0_SAMPLE_3_Y()
3331 static inline uint32_t A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_0_X(float val) in A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_0_X() argument
3333 …return ((((int32_t)(val * 1.0))) << A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_0_X__SHIFT) & A6XX_RB_SAMPLE_… in A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_0_X()
3337 static inline uint32_t A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_0_Y(float val) in A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_0_Y() argument
3339 …return ((((int32_t)(val * 1.0))) << A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_0_Y__SHIFT) & A6XX_RB_SAMPLE_… in A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_0_Y()
3343 static inline uint32_t A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_1_X(float val) in A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_1_X() argument
3345 …return ((((int32_t)(val * 1.0))) << A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_1_X__SHIFT) & A6XX_RB_SAMPLE_… in A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_1_X()
3349 static inline uint32_t A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_1_Y(float val) in A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_1_Y() argument
3351 …return ((((int32_t)(val * 1.0))) << A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_1_Y__SHIFT) & A6XX_RB_SAMPLE_… in A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_1_Y()
3355 static inline uint32_t A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_2_X(float val) in A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_2_X() argument
3357 …return ((((int32_t)(val * 1.0))) << A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_2_X__SHIFT) & A6XX_RB_SAMPLE_… in A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_2_X()
3361 static inline uint32_t A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_2_Y(float val) in A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_2_Y() argument
3363 …return ((((int32_t)(val * 1.0))) << A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_2_Y__SHIFT) & A6XX_RB_SAMPLE_… in A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_2_Y()
3367 static inline uint32_t A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_3_X(float val) in A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_3_X() argument
3369 …return ((((int32_t)(val * 1.0))) << A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_3_X__SHIFT) & A6XX_RB_SAMPLE_… in A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_3_X()
3373 static inline uint32_t A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_3_Y(float val) in A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_3_Y() argument
3375 …return ((((int32_t)(val * 1.0))) << A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_3_Y__SHIFT) & A6XX_RB_SAMPLE_… in A6XX_RB_SAMPLE_LOCATION_1_SAMPLE_3_Y()
3387 static inline uint32_t A6XX_RB_RENDER_CONTROL0_COORD_MASK(uint32_t val) in A6XX_RB_RENDER_CONTROL0_COORD_MASK() argument
3389 …return ((val) << A6XX_RB_RENDER_CONTROL0_COORD_MASK__SHIFT) & A6XX_RB_RENDER_CONTROL0_COORD_MASK__… in A6XX_RB_RENDER_CONTROL0_COORD_MASK()
3400 …ic inline uint32_t A6XX_RB_RENDER_CONTROL1_FRAGCOORDSAMPLEMODE(enum a6xx_fragcoord_sample_mode val) in A6XX_RB_RENDER_CONTROL1_FRAGCOORDSAMPLEMODE() argument
3402 …return ((val) << A6XX_RB_RENDER_CONTROL1_FRAGCOORDSAMPLEMODE__SHIFT) & A6XX_RB_RENDER_CONTROL1_FRA… in A6XX_RB_RENDER_CONTROL1_FRAGCOORDSAMPLEMODE()
3417 static inline uint32_t A6XX_RB_FS_OUTPUT_CNTL1_MRT(uint32_t val) in A6XX_RB_FS_OUTPUT_CNTL1_MRT() argument
3419 return ((val) << A6XX_RB_FS_OUTPUT_CNTL1_MRT__SHIFT) & A6XX_RB_FS_OUTPUT_CNTL1_MRT__MASK; in A6XX_RB_FS_OUTPUT_CNTL1_MRT()
3425 static inline uint32_t A6XX_RB_RENDER_COMPONENTS_RT0(uint32_t val) in A6XX_RB_RENDER_COMPONENTS_RT0() argument
3427 return ((val) << A6XX_RB_RENDER_COMPONENTS_RT0__SHIFT) & A6XX_RB_RENDER_COMPONENTS_RT0__MASK; in A6XX_RB_RENDER_COMPONENTS_RT0()
3431 static inline uint32_t A6XX_RB_RENDER_COMPONENTS_RT1(uint32_t val) in A6XX_RB_RENDER_COMPONENTS_RT1() argument
3433 return ((val) << A6XX_RB_RENDER_COMPONENTS_RT1__SHIFT) & A6XX_RB_RENDER_COMPONENTS_RT1__MASK; in A6XX_RB_RENDER_COMPONENTS_RT1()
3437 static inline uint32_t A6XX_RB_RENDER_COMPONENTS_RT2(uint32_t val) in A6XX_RB_RENDER_COMPONENTS_RT2() argument
3439 return ((val) << A6XX_RB_RENDER_COMPONENTS_RT2__SHIFT) & A6XX_RB_RENDER_COMPONENTS_RT2__MASK; in A6XX_RB_RENDER_COMPONENTS_RT2()
3443 static inline uint32_t A6XX_RB_RENDER_COMPONENTS_RT3(uint32_t val) in A6XX_RB_RENDER_COMPONENTS_RT3() argument
3445 return ((val) << A6XX_RB_RENDER_COMPONENTS_RT3__SHIFT) & A6XX_RB_RENDER_COMPONENTS_RT3__MASK; in A6XX_RB_RENDER_COMPONENTS_RT3()
3449 static inline uint32_t A6XX_RB_RENDER_COMPONENTS_RT4(uint32_t val) in A6XX_RB_RENDER_COMPONENTS_RT4() argument
3451 return ((val) << A6XX_RB_RENDER_COMPONENTS_RT4__SHIFT) & A6XX_RB_RENDER_COMPONENTS_RT4__MASK; in A6XX_RB_RENDER_COMPONENTS_RT4()
3455 static inline uint32_t A6XX_RB_RENDER_COMPONENTS_RT5(uint32_t val) in A6XX_RB_RENDER_COMPONENTS_RT5() argument
3457 return ((val) << A6XX_RB_RENDER_COMPONENTS_RT5__SHIFT) & A6XX_RB_RENDER_COMPONENTS_RT5__MASK; in A6XX_RB_RENDER_COMPONENTS_RT5()
3461 static inline uint32_t A6XX_RB_RENDER_COMPONENTS_RT6(uint32_t val) in A6XX_RB_RENDER_COMPONENTS_RT6() argument
3463 return ((val) << A6XX_RB_RENDER_COMPONENTS_RT6__SHIFT) & A6XX_RB_RENDER_COMPONENTS_RT6__MASK; in A6XX_RB_RENDER_COMPONENTS_RT6()
3467 static inline uint32_t A6XX_RB_RENDER_COMPONENTS_RT7(uint32_t val) in A6XX_RB_RENDER_COMPONENTS_RT7() argument
3469 return ((val) << A6XX_RB_RENDER_COMPONENTS_RT7__SHIFT) & A6XX_RB_RENDER_COMPONENTS_RT7__MASK; in A6XX_RB_RENDER_COMPONENTS_RT7()
3475 static inline uint32_t A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT0(enum adreno_rb_dither_mode val) in A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT0() argument
3477 …return ((val) << A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT0__SHIFT) & A6XX_RB_DITHER_CNTL_DITHER_MODE_MR… in A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT0()
3481 static inline uint32_t A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT1(enum adreno_rb_dither_mode val) in A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT1() argument
3483 …return ((val) << A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT1__SHIFT) & A6XX_RB_DITHER_CNTL_DITHER_MODE_MR… in A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT1()
3487 static inline uint32_t A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT2(enum adreno_rb_dither_mode val) in A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT2() argument
3489 …return ((val) << A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT2__SHIFT) & A6XX_RB_DITHER_CNTL_DITHER_MODE_MR… in A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT2()
3493 static inline uint32_t A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT3(enum adreno_rb_dither_mode val) in A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT3() argument
3495 …return ((val) << A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT3__SHIFT) & A6XX_RB_DITHER_CNTL_DITHER_MODE_MR… in A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT3()
3499 static inline uint32_t A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT4(enum adreno_rb_dither_mode val) in A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT4() argument
3501 …return ((val) << A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT4__SHIFT) & A6XX_RB_DITHER_CNTL_DITHER_MODE_MR… in A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT4()
3505 static inline uint32_t A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT5(enum adreno_rb_dither_mode val) in A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT5() argument
3507 …return ((val) << A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT5__SHIFT) & A6XX_RB_DITHER_CNTL_DITHER_MODE_MR… in A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT5()
3511 static inline uint32_t A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT6(enum adreno_rb_dither_mode val) in A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT6() argument
3513 …return ((val) << A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT6__SHIFT) & A6XX_RB_DITHER_CNTL_DITHER_MODE_MR… in A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT6()
3517 static inline uint32_t A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT7(enum adreno_rb_dither_mode val) in A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT7() argument
3519 …return ((val) << A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT7__SHIFT) & A6XX_RB_DITHER_CNTL_DITHER_MODE_MR… in A6XX_RB_DITHER_CNTL_DITHER_MODE_MRT7()
3559 static inline uint32_t A6XX_RB_MRT_CONTROL_ROP_CODE(enum a3xx_rop_code val) in A6XX_RB_MRT_CONTROL_ROP_CODE() argument
3561 return ((val) << A6XX_RB_MRT_CONTROL_ROP_CODE__SHIFT) & A6XX_RB_MRT_CONTROL_ROP_CODE__MASK; in A6XX_RB_MRT_CONTROL_ROP_CODE()
3565 static inline uint32_t A6XX_RB_MRT_CONTROL_COMPONENT_ENABLE(uint32_t val) in A6XX_RB_MRT_CONTROL_COMPONENT_ENABLE() argument
3567 …return ((val) << A6XX_RB_MRT_CONTROL_COMPONENT_ENABLE__SHIFT) & A6XX_RB_MRT_CONTROL_COMPONENT_ENAB… in A6XX_RB_MRT_CONTROL_COMPONENT_ENABLE()
3573 static inline uint32_t A6XX_RB_MRT_BLEND_CONTROL_RGB_SRC_FACTOR(enum adreno_rb_blend_factor val) in A6XX_RB_MRT_BLEND_CONTROL_RGB_SRC_FACTOR() argument
3575 …return ((val) << A6XX_RB_MRT_BLEND_CONTROL_RGB_SRC_FACTOR__SHIFT) & A6XX_RB_MRT_BLEND_CONTROL_RGB_… in A6XX_RB_MRT_BLEND_CONTROL_RGB_SRC_FACTOR()
3579 static inline uint32_t A6XX_RB_MRT_BLEND_CONTROL_RGB_BLEND_OPCODE(enum a3xx_rb_blend_opcode val) in A6XX_RB_MRT_BLEND_CONTROL_RGB_BLEND_OPCODE() argument
3581 …return ((val) << A6XX_RB_MRT_BLEND_CONTROL_RGB_BLEND_OPCODE__SHIFT) & A6XX_RB_MRT_BLEND_CONTROL_RG… in A6XX_RB_MRT_BLEND_CONTROL_RGB_BLEND_OPCODE()
3585 static inline uint32_t A6XX_RB_MRT_BLEND_CONTROL_RGB_DEST_FACTOR(enum adreno_rb_blend_factor val) in A6XX_RB_MRT_BLEND_CONTROL_RGB_DEST_FACTOR() argument
3587 …return ((val) << A6XX_RB_MRT_BLEND_CONTROL_RGB_DEST_FACTOR__SHIFT) & A6XX_RB_MRT_BLEND_CONTROL_RGB… in A6XX_RB_MRT_BLEND_CONTROL_RGB_DEST_FACTOR()
3591 static inline uint32_t A6XX_RB_MRT_BLEND_CONTROL_ALPHA_SRC_FACTOR(enum adreno_rb_blend_factor val) in A6XX_RB_MRT_BLEND_CONTROL_ALPHA_SRC_FACTOR() argument
3593 …return ((val) << A6XX_RB_MRT_BLEND_CONTROL_ALPHA_SRC_FACTOR__SHIFT) & A6XX_RB_MRT_BLEND_CONTROL_AL… in A6XX_RB_MRT_BLEND_CONTROL_ALPHA_SRC_FACTOR()
3597 static inline uint32_t A6XX_RB_MRT_BLEND_CONTROL_ALPHA_BLEND_OPCODE(enum a3xx_rb_blend_opcode val) in A6XX_RB_MRT_BLEND_CONTROL_ALPHA_BLEND_OPCODE() argument
3599 …return ((val) << A6XX_RB_MRT_BLEND_CONTROL_ALPHA_BLEND_OPCODE__SHIFT) & A6XX_RB_MRT_BLEND_CONTROL_… in A6XX_RB_MRT_BLEND_CONTROL_ALPHA_BLEND_OPCODE()
3603 static inline uint32_t A6XX_RB_MRT_BLEND_CONTROL_ALPHA_DEST_FACTOR(enum adreno_rb_blend_factor val) in A6XX_RB_MRT_BLEND_CONTROL_ALPHA_DEST_FACTOR() argument
3605 …return ((val) << A6XX_RB_MRT_BLEND_CONTROL_ALPHA_DEST_FACTOR__SHIFT) & A6XX_RB_MRT_BLEND_CONTROL_A… in A6XX_RB_MRT_BLEND_CONTROL_ALPHA_DEST_FACTOR()
3611 static inline uint32_t A6XX_RB_MRT_BUF_INFO_COLOR_FORMAT(enum a6xx_format val) in A6XX_RB_MRT_BUF_INFO_COLOR_FORMAT() argument
3613 …return ((val) << A6XX_RB_MRT_BUF_INFO_COLOR_FORMAT__SHIFT) & A6XX_RB_MRT_BUF_INFO_COLOR_FORMAT__MA… in A6XX_RB_MRT_BUF_INFO_COLOR_FORMAT()
3617 static inline uint32_t A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MODE(enum a6xx_tile_mode val) in A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MODE() argument
3619 …return ((val) << A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MODE__SHIFT) & A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MO… in A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MODE()
3623 static inline uint32_t A6XX_RB_MRT_BUF_INFO_UNK10(uint32_t val) in A6XX_RB_MRT_BUF_INFO_UNK10() argument
3625 return ((val) << A6XX_RB_MRT_BUF_INFO_UNK10__SHIFT) & A6XX_RB_MRT_BUF_INFO_UNK10__MASK; in A6XX_RB_MRT_BUF_INFO_UNK10()
3629 static inline uint32_t A6XX_RB_MRT_BUF_INFO_COLOR_SWAP(enum a3xx_color_swap val) in A6XX_RB_MRT_BUF_INFO_COLOR_SWAP() argument
3631 return ((val) << A6XX_RB_MRT_BUF_INFO_COLOR_SWAP__SHIFT) & A6XX_RB_MRT_BUF_INFO_COLOR_SWAP__MASK; in A6XX_RB_MRT_BUF_INFO_COLOR_SWAP()
3637 static inline uint32_t A6XX_RB_MRT_PITCH(uint32_t val) in A6XX_RB_MRT_PITCH() argument
3639 return ((val >> 6) << A6XX_RB_MRT_PITCH__SHIFT) & A6XX_RB_MRT_PITCH__MASK; in A6XX_RB_MRT_PITCH()
3645 static inline uint32_t A6XX_RB_MRT_ARRAY_PITCH(uint32_t val) in A6XX_RB_MRT_ARRAY_PITCH() argument
3647 return ((val >> 6) << A6XX_RB_MRT_ARRAY_PITCH__SHIFT) & A6XX_RB_MRT_ARRAY_PITCH__MASK; in A6XX_RB_MRT_ARRAY_PITCH()
3653 static inline uint32_t A6XX_RB_MRT_BASE(uint32_t val) in A6XX_RB_MRT_BASE() argument
3655 return ((val) << A6XX_RB_MRT_BASE__SHIFT) & A6XX_RB_MRT_BASE__MASK; in A6XX_RB_MRT_BASE()
3661 static inline uint32_t A6XX_RB_MRT_BASE_GMEM(uint32_t val) in A6XX_RB_MRT_BASE_GMEM() argument
3663 return ((val >> 12) << A6XX_RB_MRT_BASE_GMEM__SHIFT) & A6XX_RB_MRT_BASE_GMEM__MASK; in A6XX_RB_MRT_BASE_GMEM()
3669 static inline uint32_t A6XX_RB_BLEND_RED_F32(float val) in A6XX_RB_BLEND_RED_F32() argument
3671 return ((fui(val)) << A6XX_RB_BLEND_RED_F32__SHIFT) & A6XX_RB_BLEND_RED_F32__MASK; in A6XX_RB_BLEND_RED_F32()
3677 static inline uint32_t A6XX_RB_BLEND_GREEN_F32(float val) in A6XX_RB_BLEND_GREEN_F32() argument
3679 return ((fui(val)) << A6XX_RB_BLEND_GREEN_F32__SHIFT) & A6XX_RB_BLEND_GREEN_F32__MASK; in A6XX_RB_BLEND_GREEN_F32()
3685 static inline uint32_t A6XX_RB_BLEND_BLUE_F32(float val) in A6XX_RB_BLEND_BLUE_F32() argument
3687 return ((fui(val)) << A6XX_RB_BLEND_BLUE_F32__SHIFT) & A6XX_RB_BLEND_BLUE_F32__MASK; in A6XX_RB_BLEND_BLUE_F32()
3693 static inline uint32_t A6XX_RB_BLEND_ALPHA_F32(float val) in A6XX_RB_BLEND_ALPHA_F32() argument
3695 return ((fui(val)) << A6XX_RB_BLEND_ALPHA_F32__SHIFT) & A6XX_RB_BLEND_ALPHA_F32__MASK; in A6XX_RB_BLEND_ALPHA_F32()
3701 static inline uint32_t A6XX_RB_ALPHA_CONTROL_ALPHA_REF(uint32_t val) in A6XX_RB_ALPHA_CONTROL_ALPHA_REF() argument
3703 return ((val) << A6XX_RB_ALPHA_CONTROL_ALPHA_REF__SHIFT) & A6XX_RB_ALPHA_CONTROL_ALPHA_REF__MASK; in A6XX_RB_ALPHA_CONTROL_ALPHA_REF()
3708 static inline uint32_t A6XX_RB_ALPHA_CONTROL_ALPHA_TEST_FUNC(enum adreno_compare_func val) in A6XX_RB_ALPHA_CONTROL_ALPHA_TEST_FUNC() argument
3710 …return ((val) << A6XX_RB_ALPHA_CONTROL_ALPHA_TEST_FUNC__SHIFT) & A6XX_RB_ALPHA_CONTROL_ALPHA_TEST_… in A6XX_RB_ALPHA_CONTROL_ALPHA_TEST_FUNC()
3716 static inline uint32_t A6XX_RB_BLEND_CNTL_ENABLE_BLEND(uint32_t val) in A6XX_RB_BLEND_CNTL_ENABLE_BLEND() argument
3718 return ((val) << A6XX_RB_BLEND_CNTL_ENABLE_BLEND__SHIFT) & A6XX_RB_BLEND_CNTL_ENABLE_BLEND__MASK; in A6XX_RB_BLEND_CNTL_ENABLE_BLEND()
3726 static inline uint32_t A6XX_RB_BLEND_CNTL_SAMPLE_MASK(uint32_t val) in A6XX_RB_BLEND_CNTL_SAMPLE_MASK() argument
3728 return ((val) << A6XX_RB_BLEND_CNTL_SAMPLE_MASK__SHIFT) & A6XX_RB_BLEND_CNTL_SAMPLE_MASK__MASK; in A6XX_RB_BLEND_CNTL_SAMPLE_MASK()
3734 static inline uint32_t A6XX_RB_DEPTH_PLANE_CNTL_Z_MODE(enum a6xx_ztest_mode val) in A6XX_RB_DEPTH_PLANE_CNTL_Z_MODE() argument
3736 return ((val) << A6XX_RB_DEPTH_PLANE_CNTL_Z_MODE__SHIFT) & A6XX_RB_DEPTH_PLANE_CNTL_Z_MODE__MASK; in A6XX_RB_DEPTH_PLANE_CNTL_Z_MODE()
3744 static inline uint32_t A6XX_RB_DEPTH_CNTL_ZFUNC(enum adreno_compare_func val) in A6XX_RB_DEPTH_CNTL_ZFUNC() argument
3746 return ((val) << A6XX_RB_DEPTH_CNTL_ZFUNC__SHIFT) & A6XX_RB_DEPTH_CNTL_ZFUNC__MASK; in A6XX_RB_DEPTH_CNTL_ZFUNC()
3755 static inline uint32_t A6XX_RB_DEPTH_BUFFER_INFO_DEPTH_FORMAT(enum a6xx_depth_format val) in A6XX_RB_DEPTH_BUFFER_INFO_DEPTH_FORMAT() argument
3757 …return ((val) << A6XX_RB_DEPTH_BUFFER_INFO_DEPTH_FORMAT__SHIFT) & A6XX_RB_DEPTH_BUFFER_INFO_DEPTH_… in A6XX_RB_DEPTH_BUFFER_INFO_DEPTH_FORMAT()
3761 static inline uint32_t A6XX_RB_DEPTH_BUFFER_INFO_UNK3(uint32_t val) in A6XX_RB_DEPTH_BUFFER_INFO_UNK3() argument
3763 return ((val) << A6XX_RB_DEPTH_BUFFER_INFO_UNK3__SHIFT) & A6XX_RB_DEPTH_BUFFER_INFO_UNK3__MASK; in A6XX_RB_DEPTH_BUFFER_INFO_UNK3()
3769 static inline uint32_t A6XX_RB_DEPTH_BUFFER_PITCH(uint32_t val) in A6XX_RB_DEPTH_BUFFER_PITCH() argument
3771 return ((val >> 6) << A6XX_RB_DEPTH_BUFFER_PITCH__SHIFT) & A6XX_RB_DEPTH_BUFFER_PITCH__MASK; in A6XX_RB_DEPTH_BUFFER_PITCH()
3777 static inline uint32_t A6XX_RB_DEPTH_BUFFER_ARRAY_PITCH(uint32_t val) in A6XX_RB_DEPTH_BUFFER_ARRAY_PITCH() argument
3779 …return ((val >> 6) << A6XX_RB_DEPTH_BUFFER_ARRAY_PITCH__SHIFT) & A6XX_RB_DEPTH_BUFFER_ARRAY_PITCH_… in A6XX_RB_DEPTH_BUFFER_ARRAY_PITCH()
3785 static inline uint32_t A6XX_RB_DEPTH_BUFFER_BASE(uint32_t val) in A6XX_RB_DEPTH_BUFFER_BASE() argument
3787 return ((val) << A6XX_RB_DEPTH_BUFFER_BASE__SHIFT) & A6XX_RB_DEPTH_BUFFER_BASE__MASK; in A6XX_RB_DEPTH_BUFFER_BASE()
3793 static inline uint32_t A6XX_RB_DEPTH_BUFFER_BASE_GMEM(uint32_t val) in A6XX_RB_DEPTH_BUFFER_BASE_GMEM() argument
3795 …return ((val >> 12) << A6XX_RB_DEPTH_BUFFER_BASE_GMEM__SHIFT) & A6XX_RB_DEPTH_BUFFER_BASE_GMEM__MA… in A6XX_RB_DEPTH_BUFFER_BASE_GMEM()
3801 static inline uint32_t A6XX_RB_Z_BOUNDS_MIN(float val) in A6XX_RB_Z_BOUNDS_MIN() argument
3803 return ((fui(val)) << A6XX_RB_Z_BOUNDS_MIN__SHIFT) & A6XX_RB_Z_BOUNDS_MIN__MASK; in A6XX_RB_Z_BOUNDS_MIN()
3809 static inline uint32_t A6XX_RB_Z_BOUNDS_MAX(float val) in A6XX_RB_Z_BOUNDS_MAX() argument
3811 return ((fui(val)) << A6XX_RB_Z_BOUNDS_MAX__SHIFT) & A6XX_RB_Z_BOUNDS_MAX__MASK; in A6XX_RB_Z_BOUNDS_MAX()
3820 static inline uint32_t A6XX_RB_STENCIL_CONTROL_FUNC(enum adreno_compare_func val) in A6XX_RB_STENCIL_CONTROL_FUNC() argument
3822 return ((val) << A6XX_RB_STENCIL_CONTROL_FUNC__SHIFT) & A6XX_RB_STENCIL_CONTROL_FUNC__MASK; in A6XX_RB_STENCIL_CONTROL_FUNC()
3826 static inline uint32_t A6XX_RB_STENCIL_CONTROL_FAIL(enum adreno_stencil_op val) in A6XX_RB_STENCIL_CONTROL_FAIL() argument
3828 return ((val) << A6XX_RB_STENCIL_CONTROL_FAIL__SHIFT) & A6XX_RB_STENCIL_CONTROL_FAIL__MASK; in A6XX_RB_STENCIL_CONTROL_FAIL()
3832 static inline uint32_t A6XX_RB_STENCIL_CONTROL_ZPASS(enum adreno_stencil_op val) in A6XX_RB_STENCIL_CONTROL_ZPASS() argument
3834 return ((val) << A6XX_RB_STENCIL_CONTROL_ZPASS__SHIFT) & A6XX_RB_STENCIL_CONTROL_ZPASS__MASK; in A6XX_RB_STENCIL_CONTROL_ZPASS()
3838 static inline uint32_t A6XX_RB_STENCIL_CONTROL_ZFAIL(enum adreno_stencil_op val) in A6XX_RB_STENCIL_CONTROL_ZFAIL() argument
3840 return ((val) << A6XX_RB_STENCIL_CONTROL_ZFAIL__SHIFT) & A6XX_RB_STENCIL_CONTROL_ZFAIL__MASK; in A6XX_RB_STENCIL_CONTROL_ZFAIL()
3844 static inline uint32_t A6XX_RB_STENCIL_CONTROL_FUNC_BF(enum adreno_compare_func val) in A6XX_RB_STENCIL_CONTROL_FUNC_BF() argument
3846 return ((val) << A6XX_RB_STENCIL_CONTROL_FUNC_BF__SHIFT) & A6XX_RB_STENCIL_CONTROL_FUNC_BF__MASK; in A6XX_RB_STENCIL_CONTROL_FUNC_BF()
3850 static inline uint32_t A6XX_RB_STENCIL_CONTROL_FAIL_BF(enum adreno_stencil_op val) in A6XX_RB_STENCIL_CONTROL_FAIL_BF() argument
3852 return ((val) << A6XX_RB_STENCIL_CONTROL_FAIL_BF__SHIFT) & A6XX_RB_STENCIL_CONTROL_FAIL_BF__MASK; in A6XX_RB_STENCIL_CONTROL_FAIL_BF()
3856 static inline uint32_t A6XX_RB_STENCIL_CONTROL_ZPASS_BF(enum adreno_stencil_op val) in A6XX_RB_STENCIL_CONTROL_ZPASS_BF() argument
3858 return ((val) << A6XX_RB_STENCIL_CONTROL_ZPASS_BF__SHIFT) & A6XX_RB_STENCIL_CONTROL_ZPASS_BF__MASK; in A6XX_RB_STENCIL_CONTROL_ZPASS_BF()
3862 static inline uint32_t A6XX_RB_STENCIL_CONTROL_ZFAIL_BF(enum adreno_stencil_op val) in A6XX_RB_STENCIL_CONTROL_ZFAIL_BF() argument
3864 return ((val) << A6XX_RB_STENCIL_CONTROL_ZFAIL_BF__SHIFT) & A6XX_RB_STENCIL_CONTROL_ZFAIL_BF__MASK; in A6XX_RB_STENCIL_CONTROL_ZFAIL_BF()
3874 static inline uint32_t A6XX_RB_STENCIL_BUFFER_PITCH(uint32_t val) in A6XX_RB_STENCIL_BUFFER_PITCH() argument
3876 return ((val >> 6) << A6XX_RB_STENCIL_BUFFER_PITCH__SHIFT) & A6XX_RB_STENCIL_BUFFER_PITCH__MASK; in A6XX_RB_STENCIL_BUFFER_PITCH()
3882 static inline uint32_t A6XX_RB_STENCIL_BUFFER_ARRAY_PITCH(uint32_t val) in A6XX_RB_STENCIL_BUFFER_ARRAY_PITCH() argument
3884 …return ((val >> 6) << A6XX_RB_STENCIL_BUFFER_ARRAY_PITCH__SHIFT) & A6XX_RB_STENCIL_BUFFER_ARRAY_PI… in A6XX_RB_STENCIL_BUFFER_ARRAY_PITCH()
3890 static inline uint32_t A6XX_RB_STENCIL_BUFFER_BASE(uint32_t val) in A6XX_RB_STENCIL_BUFFER_BASE() argument
3892 return ((val) << A6XX_RB_STENCIL_BUFFER_BASE__SHIFT) & A6XX_RB_STENCIL_BUFFER_BASE__MASK; in A6XX_RB_STENCIL_BUFFER_BASE()
3898 static inline uint32_t A6XX_RB_STENCIL_BUFFER_BASE_GMEM(uint32_t val) in A6XX_RB_STENCIL_BUFFER_BASE_GMEM() argument
3900 …return ((val >> 12) << A6XX_RB_STENCIL_BUFFER_BASE_GMEM__SHIFT) & A6XX_RB_STENCIL_BUFFER_BASE_GMEM… in A6XX_RB_STENCIL_BUFFER_BASE_GMEM()
3906 static inline uint32_t A6XX_RB_STENCILREF_REF(uint32_t val) in A6XX_RB_STENCILREF_REF() argument
3908 return ((val) << A6XX_RB_STENCILREF_REF__SHIFT) & A6XX_RB_STENCILREF_REF__MASK; in A6XX_RB_STENCILREF_REF()
3912 static inline uint32_t A6XX_RB_STENCILREF_BFREF(uint32_t val) in A6XX_RB_STENCILREF_BFREF() argument
3914 return ((val) << A6XX_RB_STENCILREF_BFREF__SHIFT) & A6XX_RB_STENCILREF_BFREF__MASK; in A6XX_RB_STENCILREF_BFREF()
3920 static inline uint32_t A6XX_RB_STENCILMASK_MASK(uint32_t val) in A6XX_RB_STENCILMASK_MASK() argument
3922 return ((val) << A6XX_RB_STENCILMASK_MASK__SHIFT) & A6XX_RB_STENCILMASK_MASK__MASK; in A6XX_RB_STENCILMASK_MASK()
3926 static inline uint32_t A6XX_RB_STENCILMASK_BFMASK(uint32_t val) in A6XX_RB_STENCILMASK_BFMASK() argument
3928 return ((val) << A6XX_RB_STENCILMASK_BFMASK__SHIFT) & A6XX_RB_STENCILMASK_BFMASK__MASK; in A6XX_RB_STENCILMASK_BFMASK()
3934 static inline uint32_t A6XX_RB_STENCILWRMASK_WRMASK(uint32_t val) in A6XX_RB_STENCILWRMASK_WRMASK() argument
3936 return ((val) << A6XX_RB_STENCILWRMASK_WRMASK__SHIFT) & A6XX_RB_STENCILWRMASK_WRMASK__MASK; in A6XX_RB_STENCILWRMASK_WRMASK()
3940 static inline uint32_t A6XX_RB_STENCILWRMASK_BFWRMASK(uint32_t val) in A6XX_RB_STENCILWRMASK_BFWRMASK() argument
3942 return ((val) << A6XX_RB_STENCILWRMASK_BFWRMASK__SHIFT) & A6XX_RB_STENCILWRMASK_BFWRMASK__MASK; in A6XX_RB_STENCILWRMASK_BFWRMASK()
3948 static inline uint32_t A6XX_RB_WINDOW_OFFSET_X(uint32_t val) in A6XX_RB_WINDOW_OFFSET_X() argument
3950 return ((val) << A6XX_RB_WINDOW_OFFSET_X__SHIFT) & A6XX_RB_WINDOW_OFFSET_X__MASK; in A6XX_RB_WINDOW_OFFSET_X()
3954 static inline uint32_t A6XX_RB_WINDOW_OFFSET_Y(uint32_t val) in A6XX_RB_WINDOW_OFFSET_Y() argument
3956 return ((val) << A6XX_RB_WINDOW_OFFSET_Y__SHIFT) & A6XX_RB_WINDOW_OFFSET_Y__MASK; in A6XX_RB_WINDOW_OFFSET_Y()
3969 static inline uint32_t A6XX_RB_Z_CLAMP_MIN(float val) in A6XX_RB_Z_CLAMP_MIN() argument
3971 return ((fui(val)) << A6XX_RB_Z_CLAMP_MIN__SHIFT) & A6XX_RB_Z_CLAMP_MIN__MASK; in A6XX_RB_Z_CLAMP_MIN()
3977 static inline uint32_t A6XX_RB_Z_CLAMP_MAX(float val) in A6XX_RB_Z_CLAMP_MAX() argument
3979 return ((fui(val)) << A6XX_RB_Z_CLAMP_MAX__SHIFT) & A6XX_RB_Z_CLAMP_MAX__MASK; in A6XX_RB_Z_CLAMP_MAX()
3985 static inline uint32_t A6XX_RB_UNKNOWN_88D0_UNK0(uint32_t val) in A6XX_RB_UNKNOWN_88D0_UNK0() argument
3987 return ((val) << A6XX_RB_UNKNOWN_88D0_UNK0__SHIFT) & A6XX_RB_UNKNOWN_88D0_UNK0__MASK; in A6XX_RB_UNKNOWN_88D0_UNK0()
3991 static inline uint32_t A6XX_RB_UNKNOWN_88D0_UNK16(uint32_t val) in A6XX_RB_UNKNOWN_88D0_UNK16() argument
3993 return ((val) << A6XX_RB_UNKNOWN_88D0_UNK16__SHIFT) & A6XX_RB_UNKNOWN_88D0_UNK16__MASK; in A6XX_RB_UNKNOWN_88D0_UNK16()
3999 static inline uint32_t A6XX_RB_BLIT_SCISSOR_TL_X(uint32_t val) in A6XX_RB_BLIT_SCISSOR_TL_X() argument
4001 return ((val) << A6XX_RB_BLIT_SCISSOR_TL_X__SHIFT) & A6XX_RB_BLIT_SCISSOR_TL_X__MASK; in A6XX_RB_BLIT_SCISSOR_TL_X()
4005 static inline uint32_t A6XX_RB_BLIT_SCISSOR_TL_Y(uint32_t val) in A6XX_RB_BLIT_SCISSOR_TL_Y() argument
4007 return ((val) << A6XX_RB_BLIT_SCISSOR_TL_Y__SHIFT) & A6XX_RB_BLIT_SCISSOR_TL_Y__MASK; in A6XX_RB_BLIT_SCISSOR_TL_Y()
4013 static inline uint32_t A6XX_RB_BLIT_SCISSOR_BR_X(uint32_t val) in A6XX_RB_BLIT_SCISSOR_BR_X() argument
4015 return ((val) << A6XX_RB_BLIT_SCISSOR_BR_X__SHIFT) & A6XX_RB_BLIT_SCISSOR_BR_X__MASK; in A6XX_RB_BLIT_SCISSOR_BR_X()
4019 static inline uint32_t A6XX_RB_BLIT_SCISSOR_BR_Y(uint32_t val) in A6XX_RB_BLIT_SCISSOR_BR_Y() argument
4021 return ((val) << A6XX_RB_BLIT_SCISSOR_BR_Y__SHIFT) & A6XX_RB_BLIT_SCISSOR_BR_Y__MASK; in A6XX_RB_BLIT_SCISSOR_BR_Y()
4027 static inline uint32_t A6XX_RB_BIN_CONTROL2_BINW(uint32_t val) in A6XX_RB_BIN_CONTROL2_BINW() argument
4029 return ((val >> 5) << A6XX_RB_BIN_CONTROL2_BINW__SHIFT) & A6XX_RB_BIN_CONTROL2_BINW__MASK; in A6XX_RB_BIN_CONTROL2_BINW()
4033 static inline uint32_t A6XX_RB_BIN_CONTROL2_BINH(uint32_t val) in A6XX_RB_BIN_CONTROL2_BINH() argument
4035 return ((val >> 4) << A6XX_RB_BIN_CONTROL2_BINH__SHIFT) & A6XX_RB_BIN_CONTROL2_BINH__MASK; in A6XX_RB_BIN_CONTROL2_BINH()
4041 static inline uint32_t A6XX_RB_WINDOW_OFFSET2_X(uint32_t val) in A6XX_RB_WINDOW_OFFSET2_X() argument
4043 return ((val) << A6XX_RB_WINDOW_OFFSET2_X__SHIFT) & A6XX_RB_WINDOW_OFFSET2_X__MASK; in A6XX_RB_WINDOW_OFFSET2_X()
4047 static inline uint32_t A6XX_RB_WINDOW_OFFSET2_Y(uint32_t val) in A6XX_RB_WINDOW_OFFSET2_Y() argument
4049 return ((val) << A6XX_RB_WINDOW_OFFSET2_Y__SHIFT) & A6XX_RB_WINDOW_OFFSET2_Y__MASK; in A6XX_RB_WINDOW_OFFSET2_Y()
4055 static inline uint32_t A6XX_RB_BLIT_GMEM_MSAA_CNTL_SAMPLES(enum a3xx_msaa_samples val) in A6XX_RB_BLIT_GMEM_MSAA_CNTL_SAMPLES() argument
4057 …return ((val) << A6XX_RB_BLIT_GMEM_MSAA_CNTL_SAMPLES__SHIFT) & A6XX_RB_BLIT_GMEM_MSAA_CNTL_SAMPLES… in A6XX_RB_BLIT_GMEM_MSAA_CNTL_SAMPLES()
4063 static inline uint32_t A6XX_RB_BLIT_BASE_GMEM(uint32_t val) in A6XX_RB_BLIT_BASE_GMEM() argument
4065 return ((val >> 12) << A6XX_RB_BLIT_BASE_GMEM__SHIFT) & A6XX_RB_BLIT_BASE_GMEM__MASK; in A6XX_RB_BLIT_BASE_GMEM()
4071 static inline uint32_t A6XX_RB_BLIT_DST_INFO_TILE_MODE(enum a6xx_tile_mode val) in A6XX_RB_BLIT_DST_INFO_TILE_MODE() argument
4073 return ((val) << A6XX_RB_BLIT_DST_INFO_TILE_MODE__SHIFT) & A6XX_RB_BLIT_DST_INFO_TILE_MODE__MASK; in A6XX_RB_BLIT_DST_INFO_TILE_MODE()
4078 static inline uint32_t A6XX_RB_BLIT_DST_INFO_SAMPLES(enum a3xx_msaa_samples val) in A6XX_RB_BLIT_DST_INFO_SAMPLES() argument
4080 return ((val) << A6XX_RB_BLIT_DST_INFO_SAMPLES__SHIFT) & A6XX_RB_BLIT_DST_INFO_SAMPLES__MASK; in A6XX_RB_BLIT_DST_INFO_SAMPLES()
4084 static inline uint32_t A6XX_RB_BLIT_DST_INFO_COLOR_SWAP(enum a3xx_color_swap val) in A6XX_RB_BLIT_DST_INFO_COLOR_SWAP() argument
4086 return ((val) << A6XX_RB_BLIT_DST_INFO_COLOR_SWAP__SHIFT) & A6XX_RB_BLIT_DST_INFO_COLOR_SWAP__MASK; in A6XX_RB_BLIT_DST_INFO_COLOR_SWAP()
4090 static inline uint32_t A6XX_RB_BLIT_DST_INFO_COLOR_FORMAT(enum a6xx_format val) in A6XX_RB_BLIT_DST_INFO_COLOR_FORMAT() argument
4092 …return ((val) << A6XX_RB_BLIT_DST_INFO_COLOR_FORMAT__SHIFT) & A6XX_RB_BLIT_DST_INFO_COLOR_FORMAT__… in A6XX_RB_BLIT_DST_INFO_COLOR_FORMAT()
4099 static inline uint32_t A6XX_RB_BLIT_DST(uint32_t val) in A6XX_RB_BLIT_DST() argument
4101 return ((val) << A6XX_RB_BLIT_DST__SHIFT) & A6XX_RB_BLIT_DST__MASK; in A6XX_RB_BLIT_DST()
4107 static inline uint32_t A6XX_RB_BLIT_DST_PITCH(uint32_t val) in A6XX_RB_BLIT_DST_PITCH() argument
4109 return ((val >> 6) << A6XX_RB_BLIT_DST_PITCH__SHIFT) & A6XX_RB_BLIT_DST_PITCH__MASK; in A6XX_RB_BLIT_DST_PITCH()
4115 static inline uint32_t A6XX_RB_BLIT_DST_ARRAY_PITCH(uint32_t val) in A6XX_RB_BLIT_DST_ARRAY_PITCH() argument
4117 return ((val >> 6) << A6XX_RB_BLIT_DST_ARRAY_PITCH__SHIFT) & A6XX_RB_BLIT_DST_ARRAY_PITCH__MASK; in A6XX_RB_BLIT_DST_ARRAY_PITCH()
4123 static inline uint32_t A6XX_RB_BLIT_FLAG_DST(uint32_t val) in A6XX_RB_BLIT_FLAG_DST() argument
4125 return ((val) << A6XX_RB_BLIT_FLAG_DST__SHIFT) & A6XX_RB_BLIT_FLAG_DST__MASK; in A6XX_RB_BLIT_FLAG_DST()
4131 static inline uint32_t A6XX_RB_BLIT_FLAG_DST_PITCH_PITCH(uint32_t val) in A6XX_RB_BLIT_FLAG_DST_PITCH_PITCH() argument
4133 …return ((val >> 6) << A6XX_RB_BLIT_FLAG_DST_PITCH_PITCH__SHIFT) & A6XX_RB_BLIT_FLAG_DST_PITCH_PITC… in A6XX_RB_BLIT_FLAG_DST_PITCH_PITCH()
4137 static inline uint32_t A6XX_RB_BLIT_FLAG_DST_PITCH_ARRAY_PITCH(uint32_t val) in A6XX_RB_BLIT_FLAG_DST_PITCH_ARRAY_PITCH() argument
4139 …return ((val >> 7) << A6XX_RB_BLIT_FLAG_DST_PITCH_ARRAY_PITCH__SHIFT) & A6XX_RB_BLIT_FLAG_DST_PITC… in A6XX_RB_BLIT_FLAG_DST_PITCH_ARRAY_PITCH()
4157 static inline uint32_t A6XX_RB_BLIT_INFO_CLEAR_MASK(uint32_t val) in A6XX_RB_BLIT_INFO_CLEAR_MASK() argument
4159 return ((val) << A6XX_RB_BLIT_INFO_CLEAR_MASK__SHIFT) & A6XX_RB_BLIT_INFO_CLEAR_MASK__MASK; in A6XX_RB_BLIT_INFO_CLEAR_MASK()
4163 static inline uint32_t A6XX_RB_BLIT_INFO_LAST(uint32_t val) in A6XX_RB_BLIT_INFO_LAST() argument
4165 return ((val) << A6XX_RB_BLIT_INFO_LAST__SHIFT) & A6XX_RB_BLIT_INFO_LAST__MASK; in A6XX_RB_BLIT_INFO_LAST()
4169 static inline uint32_t A6XX_RB_BLIT_INFO_BUFFER_ID(uint32_t val) in A6XX_RB_BLIT_INFO_BUFFER_ID() argument
4171 return ((val) << A6XX_RB_BLIT_INFO_BUFFER_ID__SHIFT) & A6XX_RB_BLIT_INFO_BUFFER_ID__MASK; in A6XX_RB_BLIT_INFO_BUFFER_ID()
4179 static inline uint32_t A6XX_RB_UNK_FLAG_BUFFER_BASE(uint32_t val) in A6XX_RB_UNK_FLAG_BUFFER_BASE() argument
4181 return ((val) << A6XX_RB_UNK_FLAG_BUFFER_BASE__SHIFT) & A6XX_RB_UNK_FLAG_BUFFER_BASE__MASK; in A6XX_RB_UNK_FLAG_BUFFER_BASE()
4187 static inline uint32_t A6XX_RB_UNK_FLAG_BUFFER_PITCH_PITCH(uint32_t val) in A6XX_RB_UNK_FLAG_BUFFER_PITCH_PITCH() argument
4189 …return ((val >> 6) << A6XX_RB_UNK_FLAG_BUFFER_PITCH_PITCH__SHIFT) & A6XX_RB_UNK_FLAG_BUFFER_PITCH_… in A6XX_RB_UNK_FLAG_BUFFER_PITCH_PITCH()
4193 static inline uint32_t A6XX_RB_UNK_FLAG_BUFFER_PITCH_ARRAY_PITCH(uint32_t val) in A6XX_RB_UNK_FLAG_BUFFER_PITCH_ARRAY_PITCH() argument
4195 …return ((val >> 7) << A6XX_RB_UNK_FLAG_BUFFER_PITCH_ARRAY_PITCH__SHIFT) & A6XX_RB_UNK_FLAG_BUFFER_… in A6XX_RB_UNK_FLAG_BUFFER_PITCH_ARRAY_PITCH()
4203 static inline uint32_t A6XX_RB_DEPTH_FLAG_BUFFER_BASE(uint32_t val) in A6XX_RB_DEPTH_FLAG_BUFFER_BASE() argument
4205 return ((val) << A6XX_RB_DEPTH_FLAG_BUFFER_BASE__SHIFT) & A6XX_RB_DEPTH_FLAG_BUFFER_BASE__MASK; in A6XX_RB_DEPTH_FLAG_BUFFER_BASE()
4211 static inline uint32_t A6XX_RB_DEPTH_FLAG_BUFFER_PITCH_PITCH(uint32_t val) in A6XX_RB_DEPTH_FLAG_BUFFER_PITCH_PITCH() argument
4213 …return ((val >> 6) << A6XX_RB_DEPTH_FLAG_BUFFER_PITCH_PITCH__SHIFT) & A6XX_RB_DEPTH_FLAG_BUFFER_PI… in A6XX_RB_DEPTH_FLAG_BUFFER_PITCH_PITCH()
4217 static inline uint32_t A6XX_RB_DEPTH_FLAG_BUFFER_PITCH_UNK8(uint32_t val) in A6XX_RB_DEPTH_FLAG_BUFFER_PITCH_UNK8() argument
4219 …return ((val) << A6XX_RB_DEPTH_FLAG_BUFFER_PITCH_UNK8__SHIFT) & A6XX_RB_DEPTH_FLAG_BUFFER_PITCH_UN… in A6XX_RB_DEPTH_FLAG_BUFFER_PITCH_UNK8()
4223 static inline uint32_t A6XX_RB_DEPTH_FLAG_BUFFER_PITCH_ARRAY_PITCH(uint32_t val) in A6XX_RB_DEPTH_FLAG_BUFFER_PITCH_ARRAY_PITCH() argument
4225 …return ((val >> 7) << A6XX_RB_DEPTH_FLAG_BUFFER_PITCH_ARRAY_PITCH__SHIFT) & A6XX_RB_DEPTH_FLAG_BUF… in A6XX_RB_DEPTH_FLAG_BUFFER_PITCH_ARRAY_PITCH()
4233 static inline uint32_t A6XX_RB_MRT_FLAG_BUFFER_ADDR(uint32_t val) in A6XX_RB_MRT_FLAG_BUFFER_ADDR() argument
4235 return ((val) << A6XX_RB_MRT_FLAG_BUFFER_ADDR__SHIFT) & A6XX_RB_MRT_FLAG_BUFFER_ADDR__MASK; in A6XX_RB_MRT_FLAG_BUFFER_ADDR()
4241 static inline uint32_t A6XX_RB_MRT_FLAG_BUFFER_PITCH_PITCH(uint32_t val) in A6XX_RB_MRT_FLAG_BUFFER_PITCH_PITCH() argument
4243 …return ((val >> 6) << A6XX_RB_MRT_FLAG_BUFFER_PITCH_PITCH__SHIFT) & A6XX_RB_MRT_FLAG_BUFFER_PITCH_… in A6XX_RB_MRT_FLAG_BUFFER_PITCH_PITCH()
4247 static inline uint32_t A6XX_RB_MRT_FLAG_BUFFER_PITCH_ARRAY_PITCH(uint32_t val) in A6XX_RB_MRT_FLAG_BUFFER_PITCH_ARRAY_PITCH() argument
4249 …return ((val >> 7) << A6XX_RB_MRT_FLAG_BUFFER_PITCH_ARRAY_PITCH__SHIFT) & A6XX_RB_MRT_FLAG_BUFFER_… in A6XX_RB_MRT_FLAG_BUFFER_PITCH_ARRAY_PITCH()
4255 static inline uint32_t A6XX_RB_SAMPLE_COUNT_ADDR(uint32_t val) in A6XX_RB_SAMPLE_COUNT_ADDR() argument
4257 return ((val) << A6XX_RB_SAMPLE_COUNT_ADDR__SHIFT) & A6XX_RB_SAMPLE_COUNT_ADDR__MASK; in A6XX_RB_SAMPLE_COUNT_ADDR()
4271 static inline uint32_t A6XX_RB_2D_BLIT_CNTL_ROTATE(enum a6xx_rotation val) in A6XX_RB_2D_BLIT_CNTL_ROTATE() argument
4273 return ((val) << A6XX_RB_2D_BLIT_CNTL_ROTATE__SHIFT) & A6XX_RB_2D_BLIT_CNTL_ROTATE__MASK; in A6XX_RB_2D_BLIT_CNTL_ROTATE()
4278 static inline uint32_t A6XX_RB_2D_BLIT_CNTL_UNK4(uint32_t val) in A6XX_RB_2D_BLIT_CNTL_UNK4() argument
4280 return ((val) << A6XX_RB_2D_BLIT_CNTL_UNK4__SHIFT) & A6XX_RB_2D_BLIT_CNTL_UNK4__MASK; in A6XX_RB_2D_BLIT_CNTL_UNK4()
4285 static inline uint32_t A6XX_RB_2D_BLIT_CNTL_COLOR_FORMAT(enum a6xx_format val) in A6XX_RB_2D_BLIT_CNTL_COLOR_FORMAT() argument
4287 …return ((val) << A6XX_RB_2D_BLIT_CNTL_COLOR_FORMAT__SHIFT) & A6XX_RB_2D_BLIT_CNTL_COLOR_FORMAT__MA… in A6XX_RB_2D_BLIT_CNTL_COLOR_FORMAT()
4292 static inline uint32_t A6XX_RB_2D_BLIT_CNTL_UNK17(uint32_t val) in A6XX_RB_2D_BLIT_CNTL_UNK17() argument
4294 return ((val) << A6XX_RB_2D_BLIT_CNTL_UNK17__SHIFT) & A6XX_RB_2D_BLIT_CNTL_UNK17__MASK; in A6XX_RB_2D_BLIT_CNTL_UNK17()
4299 static inline uint32_t A6XX_RB_2D_BLIT_CNTL_MASK(uint32_t val) in A6XX_RB_2D_BLIT_CNTL_MASK() argument
4301 return ((val) << A6XX_RB_2D_BLIT_CNTL_MASK__SHIFT) & A6XX_RB_2D_BLIT_CNTL_MASK__MASK; in A6XX_RB_2D_BLIT_CNTL_MASK()
4305 static inline uint32_t A6XX_RB_2D_BLIT_CNTL_IFMT(enum a6xx_2d_ifmt val) in A6XX_RB_2D_BLIT_CNTL_IFMT() argument
4307 return ((val) << A6XX_RB_2D_BLIT_CNTL_IFMT__SHIFT) & A6XX_RB_2D_BLIT_CNTL_IFMT__MASK; in A6XX_RB_2D_BLIT_CNTL_IFMT()
4311 static inline uint32_t A6XX_RB_2D_BLIT_CNTL_RASTER_MODE(enum a6xx_raster_mode val) in A6XX_RB_2D_BLIT_CNTL_RASTER_MODE() argument
4313 return ((val) << A6XX_RB_2D_BLIT_CNTL_RASTER_MODE__SHIFT) & A6XX_RB_2D_BLIT_CNTL_RASTER_MODE__MASK; in A6XX_RB_2D_BLIT_CNTL_RASTER_MODE()
4321 static inline uint32_t A6XX_RB_2D_DST_INFO_COLOR_FORMAT(enum a6xx_format val) in A6XX_RB_2D_DST_INFO_COLOR_FORMAT() argument
4323 return ((val) << A6XX_RB_2D_DST_INFO_COLOR_FORMAT__SHIFT) & A6XX_RB_2D_DST_INFO_COLOR_FORMAT__MASK; in A6XX_RB_2D_DST_INFO_COLOR_FORMAT()
4327 static inline uint32_t A6XX_RB_2D_DST_INFO_TILE_MODE(enum a6xx_tile_mode val) in A6XX_RB_2D_DST_INFO_TILE_MODE() argument
4329 return ((val) << A6XX_RB_2D_DST_INFO_TILE_MODE__SHIFT) & A6XX_RB_2D_DST_INFO_TILE_MODE__MASK; in A6XX_RB_2D_DST_INFO_TILE_MODE()
4333 static inline uint32_t A6XX_RB_2D_DST_INFO_COLOR_SWAP(enum a3xx_color_swap val) in A6XX_RB_2D_DST_INFO_COLOR_SWAP() argument
4335 return ((val) << A6XX_RB_2D_DST_INFO_COLOR_SWAP__SHIFT) & A6XX_RB_2D_DST_INFO_COLOR_SWAP__MASK; in A6XX_RB_2D_DST_INFO_COLOR_SWAP()
4341 static inline uint32_t A6XX_RB_2D_DST_INFO_SAMPLES(enum a3xx_msaa_samples val) in A6XX_RB_2D_DST_INFO_SAMPLES() argument
4343 return ((val) << A6XX_RB_2D_DST_INFO_SAMPLES__SHIFT) & A6XX_RB_2D_DST_INFO_SAMPLES__MASK; in A6XX_RB_2D_DST_INFO_SAMPLES()
4354 static inline uint32_t A6XX_RB_2D_DST_INFO_UNK23(uint32_t val) in A6XX_RB_2D_DST_INFO_UNK23() argument
4356 return ((val) << A6XX_RB_2D_DST_INFO_UNK23__SHIFT) & A6XX_RB_2D_DST_INFO_UNK23__MASK; in A6XX_RB_2D_DST_INFO_UNK23()
4363 static inline uint32_t A6XX_RB_2D_DST(uint32_t val) in A6XX_RB_2D_DST() argument
4365 return ((val) << A6XX_RB_2D_DST__SHIFT) & A6XX_RB_2D_DST__MASK; in A6XX_RB_2D_DST()
4371 static inline uint32_t A6XX_RB_2D_DST_PITCH(uint32_t val) in A6XX_RB_2D_DST_PITCH() argument
4373 return ((val >> 6) << A6XX_RB_2D_DST_PITCH__SHIFT) & A6XX_RB_2D_DST_PITCH__MASK; in A6XX_RB_2D_DST_PITCH()
4379 static inline uint32_t A6XX_RB_2D_DST_PLANE1(uint32_t val) in A6XX_RB_2D_DST_PLANE1() argument
4381 return ((val) << A6XX_RB_2D_DST_PLANE1__SHIFT) & A6XX_RB_2D_DST_PLANE1__MASK; in A6XX_RB_2D_DST_PLANE1()
4387 static inline uint32_t A6XX_RB_2D_DST_PLANE_PITCH(uint32_t val) in A6XX_RB_2D_DST_PLANE_PITCH() argument
4389 return ((val >> 6) << A6XX_RB_2D_DST_PLANE_PITCH__SHIFT) & A6XX_RB_2D_DST_PLANE_PITCH__MASK; in A6XX_RB_2D_DST_PLANE_PITCH()
4395 static inline uint32_t A6XX_RB_2D_DST_PLANE2(uint32_t val) in A6XX_RB_2D_DST_PLANE2() argument
4397 return ((val) << A6XX_RB_2D_DST_PLANE2__SHIFT) & A6XX_RB_2D_DST_PLANE2__MASK; in A6XX_RB_2D_DST_PLANE2()
4403 static inline uint32_t A6XX_RB_2D_DST_FLAGS(uint32_t val) in A6XX_RB_2D_DST_FLAGS() argument
4405 return ((val) << A6XX_RB_2D_DST_FLAGS__SHIFT) & A6XX_RB_2D_DST_FLAGS__MASK; in A6XX_RB_2D_DST_FLAGS()
4411 static inline uint32_t A6XX_RB_2D_DST_FLAGS_PITCH(uint32_t val) in A6XX_RB_2D_DST_FLAGS_PITCH() argument
4413 return ((val >> 6) << A6XX_RB_2D_DST_FLAGS_PITCH__SHIFT) & A6XX_RB_2D_DST_FLAGS_PITCH__MASK; in A6XX_RB_2D_DST_FLAGS_PITCH()
4419 static inline uint32_t A6XX_RB_2D_DST_FLAGS_PLANE(uint32_t val) in A6XX_RB_2D_DST_FLAGS_PLANE() argument
4421 return ((val) << A6XX_RB_2D_DST_FLAGS_PLANE__SHIFT) & A6XX_RB_2D_DST_FLAGS_PLANE__MASK; in A6XX_RB_2D_DST_FLAGS_PLANE()
4427 static inline uint32_t A6XX_RB_2D_DST_FLAGS_PLANE_PITCH(uint32_t val) in A6XX_RB_2D_DST_FLAGS_PLANE_PITCH() argument
4429 …return ((val >> 6) << A6XX_RB_2D_DST_FLAGS_PLANE_PITCH__SHIFT) & A6XX_RB_2D_DST_FLAGS_PLANE_PITCH_… in A6XX_RB_2D_DST_FLAGS_PLANE_PITCH()
4450 static inline uint32_t A6XX_RB_CCU_CNTL_DEPTH_OFFSET_HI(uint32_t val) in A6XX_RB_CCU_CNTL_DEPTH_OFFSET_HI() argument
4452 return ((val) << A6XX_RB_CCU_CNTL_DEPTH_OFFSET_HI__SHIFT) & A6XX_RB_CCU_CNTL_DEPTH_OFFSET_HI__MASK; in A6XX_RB_CCU_CNTL_DEPTH_OFFSET_HI()
4456 static inline uint32_t A6XX_RB_CCU_CNTL_COLOR_OFFSET_HI(uint32_t val) in A6XX_RB_CCU_CNTL_COLOR_OFFSET_HI() argument
4458 return ((val) << A6XX_RB_CCU_CNTL_COLOR_OFFSET_HI__SHIFT) & A6XX_RB_CCU_CNTL_COLOR_OFFSET_HI__MASK; in A6XX_RB_CCU_CNTL_COLOR_OFFSET_HI()
4462 static inline uint32_t A6XX_RB_CCU_CNTL_DEPTH_OFFSET(uint32_t val) in A6XX_RB_CCU_CNTL_DEPTH_OFFSET() argument
4464 return ((val >> 12) << A6XX_RB_CCU_CNTL_DEPTH_OFFSET__SHIFT) & A6XX_RB_CCU_CNTL_DEPTH_OFFSET__MASK; in A6XX_RB_CCU_CNTL_DEPTH_OFFSET()
4469 static inline uint32_t A6XX_RB_CCU_CNTL_COLOR_OFFSET(uint32_t val) in A6XX_RB_CCU_CNTL_COLOR_OFFSET() argument
4471 return ((val >> 12) << A6XX_RB_CCU_CNTL_COLOR_OFFSET__SHIFT) & A6XX_RB_CCU_CNTL_COLOR_OFFSET__MASK; in A6XX_RB_CCU_CNTL_COLOR_OFFSET()
4478 static inline uint32_t A6XX_RB_NC_MODE_CNTL_LOWER_BIT(uint32_t val) in A6XX_RB_NC_MODE_CNTL_LOWER_BIT() argument
4480 return ((val) << A6XX_RB_NC_MODE_CNTL_LOWER_BIT__SHIFT) & A6XX_RB_NC_MODE_CNTL_LOWER_BIT__MASK; in A6XX_RB_NC_MODE_CNTL_LOWER_BIT()
4486 static inline uint32_t A6XX_RB_NC_MODE_CNTL_UPPER_BIT(uint32_t val) in A6XX_RB_NC_MODE_CNTL_UPPER_BIT() argument
4488 return ((val) << A6XX_RB_NC_MODE_CNTL_UPPER_BIT__SHIFT) & A6XX_RB_NC_MODE_CNTL_UPPER_BIT__MASK; in A6XX_RB_NC_MODE_CNTL_UPPER_BIT()
4493 static inline uint32_t A6XX_RB_NC_MODE_CNTL_UNK12(uint32_t val) in A6XX_RB_NC_MODE_CNTL_UNK12() argument
4495 return ((val) << A6XX_RB_NC_MODE_CNTL_UNK12__SHIFT) & A6XX_RB_NC_MODE_CNTL_UNK12__MASK; in A6XX_RB_NC_MODE_CNTL_UNK12()
4517 static inline uint32_t A6XX_RB_UNKNOWN_8E51(uint32_t val) in A6XX_RB_UNKNOWN_8E51() argument
4519 return ((val) << A6XX_RB_UNKNOWN_8E51__SHIFT) & A6XX_RB_UNKNOWN_8E51__MASK; in A6XX_RB_UNKNOWN_8E51()
4525 static inline uint32_t A6XX_VPC_GS_PARAM_LINELENGTHLOC(uint32_t val) in A6XX_VPC_GS_PARAM_LINELENGTHLOC() argument
4527 return ((val) << A6XX_VPC_GS_PARAM_LINELENGTHLOC__SHIFT) & A6XX_VPC_GS_PARAM_LINELENGTHLOC__MASK; in A6XX_VPC_GS_PARAM_LINELENGTHLOC()
4533 static inline uint32_t A6XX_VPC_VS_CLIP_CNTL_CLIP_MASK(uint32_t val) in A6XX_VPC_VS_CLIP_CNTL_CLIP_MASK() argument
4535 return ((val) << A6XX_VPC_VS_CLIP_CNTL_CLIP_MASK__SHIFT) & A6XX_VPC_VS_CLIP_CNTL_CLIP_MASK__MASK; in A6XX_VPC_VS_CLIP_CNTL_CLIP_MASK()
4539 static inline uint32_t A6XX_VPC_VS_CLIP_CNTL_CLIP_DIST_03_LOC(uint32_t val) in A6XX_VPC_VS_CLIP_CNTL_CLIP_DIST_03_LOC() argument
4541 …return ((val) << A6XX_VPC_VS_CLIP_CNTL_CLIP_DIST_03_LOC__SHIFT) & A6XX_VPC_VS_CLIP_CNTL_CLIP_DIST_… in A6XX_VPC_VS_CLIP_CNTL_CLIP_DIST_03_LOC()
4545 static inline uint32_t A6XX_VPC_VS_CLIP_CNTL_CLIP_DIST_47_LOC(uint32_t val) in A6XX_VPC_VS_CLIP_CNTL_CLIP_DIST_47_LOC() argument
4547 …return ((val) << A6XX_VPC_VS_CLIP_CNTL_CLIP_DIST_47_LOC__SHIFT) & A6XX_VPC_VS_CLIP_CNTL_CLIP_DIST_… in A6XX_VPC_VS_CLIP_CNTL_CLIP_DIST_47_LOC()
4553 static inline uint32_t A6XX_VPC_GS_CLIP_CNTL_CLIP_MASK(uint32_t val) in A6XX_VPC_GS_CLIP_CNTL_CLIP_MASK() argument
4555 return ((val) << A6XX_VPC_GS_CLIP_CNTL_CLIP_MASK__SHIFT) & A6XX_VPC_GS_CLIP_CNTL_CLIP_MASK__MASK; in A6XX_VPC_GS_CLIP_CNTL_CLIP_MASK()
4559 static inline uint32_t A6XX_VPC_GS_CLIP_CNTL_CLIP_DIST_03_LOC(uint32_t val) in A6XX_VPC_GS_CLIP_CNTL_CLIP_DIST_03_LOC() argument
4561 …return ((val) << A6XX_VPC_GS_CLIP_CNTL_CLIP_DIST_03_LOC__SHIFT) & A6XX_VPC_GS_CLIP_CNTL_CLIP_DIST_… in A6XX_VPC_GS_CLIP_CNTL_CLIP_DIST_03_LOC()
4565 static inline uint32_t A6XX_VPC_GS_CLIP_CNTL_CLIP_DIST_47_LOC(uint32_t val) in A6XX_VPC_GS_CLIP_CNTL_CLIP_DIST_47_LOC() argument
4567 …return ((val) << A6XX_VPC_GS_CLIP_CNTL_CLIP_DIST_47_LOC__SHIFT) & A6XX_VPC_GS_CLIP_CNTL_CLIP_DIST_… in A6XX_VPC_GS_CLIP_CNTL_CLIP_DIST_47_LOC()
4573 static inline uint32_t A6XX_VPC_DS_CLIP_CNTL_CLIP_MASK(uint32_t val) in A6XX_VPC_DS_CLIP_CNTL_CLIP_MASK() argument
4575 return ((val) << A6XX_VPC_DS_CLIP_CNTL_CLIP_MASK__SHIFT) & A6XX_VPC_DS_CLIP_CNTL_CLIP_MASK__MASK; in A6XX_VPC_DS_CLIP_CNTL_CLIP_MASK()
4579 static inline uint32_t A6XX_VPC_DS_CLIP_CNTL_CLIP_DIST_03_LOC(uint32_t val) in A6XX_VPC_DS_CLIP_CNTL_CLIP_DIST_03_LOC() argument
4581 …return ((val) << A6XX_VPC_DS_CLIP_CNTL_CLIP_DIST_03_LOC__SHIFT) & A6XX_VPC_DS_CLIP_CNTL_CLIP_DIST_… in A6XX_VPC_DS_CLIP_CNTL_CLIP_DIST_03_LOC()
4585 static inline uint32_t A6XX_VPC_DS_CLIP_CNTL_CLIP_DIST_47_LOC(uint32_t val) in A6XX_VPC_DS_CLIP_CNTL_CLIP_DIST_47_LOC() argument
4587 …return ((val) << A6XX_VPC_DS_CLIP_CNTL_CLIP_DIST_47_LOC__SHIFT) & A6XX_VPC_DS_CLIP_CNTL_CLIP_DIST_… in A6XX_VPC_DS_CLIP_CNTL_CLIP_DIST_47_LOC()
4593 static inline uint32_t A6XX_VPC_VS_LAYER_CNTL_LAYERLOC(uint32_t val) in A6XX_VPC_VS_LAYER_CNTL_LAYERLOC() argument
4595 return ((val) << A6XX_VPC_VS_LAYER_CNTL_LAYERLOC__SHIFT) & A6XX_VPC_VS_LAYER_CNTL_LAYERLOC__MASK; in A6XX_VPC_VS_LAYER_CNTL_LAYERLOC()
4599 static inline uint32_t A6XX_VPC_VS_LAYER_CNTL_VIEWLOC(uint32_t val) in A6XX_VPC_VS_LAYER_CNTL_VIEWLOC() argument
4601 return ((val) << A6XX_VPC_VS_LAYER_CNTL_VIEWLOC__SHIFT) & A6XX_VPC_VS_LAYER_CNTL_VIEWLOC__MASK; in A6XX_VPC_VS_LAYER_CNTL_VIEWLOC()
4607 static inline uint32_t A6XX_VPC_GS_LAYER_CNTL_LAYERLOC(uint32_t val) in A6XX_VPC_GS_LAYER_CNTL_LAYERLOC() argument
4609 return ((val) << A6XX_VPC_GS_LAYER_CNTL_LAYERLOC__SHIFT) & A6XX_VPC_GS_LAYER_CNTL_LAYERLOC__MASK; in A6XX_VPC_GS_LAYER_CNTL_LAYERLOC()
4613 static inline uint32_t A6XX_VPC_GS_LAYER_CNTL_VIEWLOC(uint32_t val) in A6XX_VPC_GS_LAYER_CNTL_VIEWLOC() argument
4615 return ((val) << A6XX_VPC_GS_LAYER_CNTL_VIEWLOC__SHIFT) & A6XX_VPC_GS_LAYER_CNTL_VIEWLOC__MASK; in A6XX_VPC_GS_LAYER_CNTL_VIEWLOC()
4621 static inline uint32_t A6XX_VPC_DS_LAYER_CNTL_LAYERLOC(uint32_t val) in A6XX_VPC_DS_LAYER_CNTL_LAYERLOC() argument
4623 return ((val) << A6XX_VPC_DS_LAYER_CNTL_LAYERLOC__SHIFT) & A6XX_VPC_DS_LAYER_CNTL_LAYERLOC__MASK; in A6XX_VPC_DS_LAYER_CNTL_LAYERLOC()
4627 static inline uint32_t A6XX_VPC_DS_LAYER_CNTL_VIEWLOC(uint32_t val) in A6XX_VPC_DS_LAYER_CNTL_VIEWLOC() argument
4629 return ((val) << A6XX_VPC_DS_LAYER_CNTL_VIEWLOC__SHIFT) & A6XX_VPC_DS_LAYER_CNTL_VIEWLOC__MASK; in A6XX_VPC_DS_LAYER_CNTL_VIEWLOC()
4639 static inline uint32_t A6XX_VPC_POLYGON_MODE_MODE(enum a6xx_polygon_mode val) in A6XX_VPC_POLYGON_MODE_MODE() argument
4641 return ((val) << A6XX_VPC_POLYGON_MODE_MODE__SHIFT) & A6XX_VPC_POLYGON_MODE_MODE__MASK; in A6XX_VPC_POLYGON_MODE_MODE()
4663 static inline uint32_t A6XX_VPC_SO_CNTL_ADDR(uint32_t val) in A6XX_VPC_SO_CNTL_ADDR() argument
4665 return ((val) << A6XX_VPC_SO_CNTL_ADDR__SHIFT) & A6XX_VPC_SO_CNTL_ADDR__MASK; in A6XX_VPC_SO_CNTL_ADDR()
4672 static inline uint32_t A6XX_VPC_SO_PROG_A_BUF(uint32_t val) in A6XX_VPC_SO_PROG_A_BUF() argument
4674 return ((val) << A6XX_VPC_SO_PROG_A_BUF__SHIFT) & A6XX_VPC_SO_PROG_A_BUF__MASK; in A6XX_VPC_SO_PROG_A_BUF()
4678 static inline uint32_t A6XX_VPC_SO_PROG_A_OFF(uint32_t val) in A6XX_VPC_SO_PROG_A_OFF() argument
4680 return ((val >> 2) << A6XX_VPC_SO_PROG_A_OFF__SHIFT) & A6XX_VPC_SO_PROG_A_OFF__MASK; in A6XX_VPC_SO_PROG_A_OFF()
4685 static inline uint32_t A6XX_VPC_SO_PROG_B_BUF(uint32_t val) in A6XX_VPC_SO_PROG_B_BUF() argument
4687 return ((val) << A6XX_VPC_SO_PROG_B_BUF__SHIFT) & A6XX_VPC_SO_PROG_B_BUF__MASK; in A6XX_VPC_SO_PROG_B_BUF()
4691 static inline uint32_t A6XX_VPC_SO_PROG_B_OFF(uint32_t val) in A6XX_VPC_SO_PROG_B_OFF() argument
4693 return ((val >> 2) << A6XX_VPC_SO_PROG_B_OFF__SHIFT) & A6XX_VPC_SO_PROG_B_OFF__MASK; in A6XX_VPC_SO_PROG_B_OFF()
4700 static inline uint32_t A6XX_VPC_SO_STREAM_COUNTS(uint32_t val) in A6XX_VPC_SO_STREAM_COUNTS() argument
4702 return ((val) << A6XX_VPC_SO_STREAM_COUNTS__SHIFT) & A6XX_VPC_SO_STREAM_COUNTS__MASK; in A6XX_VPC_SO_STREAM_COUNTS()
4710 static inline uint32_t A6XX_VPC_SO_BUFFER_BASE(uint32_t val) in A6XX_VPC_SO_BUFFER_BASE() argument
4712 return ((val) << A6XX_VPC_SO_BUFFER_BASE__SHIFT) & A6XX_VPC_SO_BUFFER_BASE__MASK; in A6XX_VPC_SO_BUFFER_BASE()
4718 static inline uint32_t A6XX_VPC_SO_BUFFER_SIZE(uint32_t val) in A6XX_VPC_SO_BUFFER_SIZE() argument
4720 return ((val >> 2) << A6XX_VPC_SO_BUFFER_SIZE__SHIFT) & A6XX_VPC_SO_BUFFER_SIZE__MASK; in A6XX_VPC_SO_BUFFER_SIZE()
4726 static inline uint32_t A6XX_VPC_SO_BUFFER_STRIDE(uint32_t val) in A6XX_VPC_SO_BUFFER_STRIDE() argument
4728 return ((val >> 2) << A6XX_VPC_SO_BUFFER_STRIDE__SHIFT) & A6XX_VPC_SO_BUFFER_STRIDE__MASK; in A6XX_VPC_SO_BUFFER_STRIDE()
4734 static inline uint32_t A6XX_VPC_SO_BUFFER_OFFSET(uint32_t val) in A6XX_VPC_SO_BUFFER_OFFSET() argument
4736 return ((val >> 2) << A6XX_VPC_SO_BUFFER_OFFSET__SHIFT) & A6XX_VPC_SO_BUFFER_OFFSET__MASK; in A6XX_VPC_SO_BUFFER_OFFSET()
4742 static inline uint32_t A6XX_VPC_SO_FLUSH_BASE(uint32_t val) in A6XX_VPC_SO_FLUSH_BASE() argument
4744 return ((val) << A6XX_VPC_SO_FLUSH_BASE__SHIFT) & A6XX_VPC_SO_FLUSH_BASE__MASK; in A6XX_VPC_SO_FLUSH_BASE()
4755 static inline uint32_t A6XX_VPC_VS_PACK_STRIDE_IN_VPC(uint32_t val) in A6XX_VPC_VS_PACK_STRIDE_IN_VPC() argument
4757 return ((val) << A6XX_VPC_VS_PACK_STRIDE_IN_VPC__SHIFT) & A6XX_VPC_VS_PACK_STRIDE_IN_VPC__MASK; in A6XX_VPC_VS_PACK_STRIDE_IN_VPC()
4761 static inline uint32_t A6XX_VPC_VS_PACK_POSITIONLOC(uint32_t val) in A6XX_VPC_VS_PACK_POSITIONLOC() argument
4763 return ((val) << A6XX_VPC_VS_PACK_POSITIONLOC__SHIFT) & A6XX_VPC_VS_PACK_POSITIONLOC__MASK; in A6XX_VPC_VS_PACK_POSITIONLOC()
4767 static inline uint32_t A6XX_VPC_VS_PACK_PSIZELOC(uint32_t val) in A6XX_VPC_VS_PACK_PSIZELOC() argument
4769 return ((val) << A6XX_VPC_VS_PACK_PSIZELOC__SHIFT) & A6XX_VPC_VS_PACK_PSIZELOC__MASK; in A6XX_VPC_VS_PACK_PSIZELOC()
4773 static inline uint32_t A6XX_VPC_VS_PACK_EXTRAPOS(uint32_t val) in A6XX_VPC_VS_PACK_EXTRAPOS() argument
4775 return ((val) << A6XX_VPC_VS_PACK_EXTRAPOS__SHIFT) & A6XX_VPC_VS_PACK_EXTRAPOS__MASK; in A6XX_VPC_VS_PACK_EXTRAPOS()
4781 static inline uint32_t A6XX_VPC_GS_PACK_STRIDE_IN_VPC(uint32_t val) in A6XX_VPC_GS_PACK_STRIDE_IN_VPC() argument
4783 return ((val) << A6XX_VPC_GS_PACK_STRIDE_IN_VPC__SHIFT) & A6XX_VPC_GS_PACK_STRIDE_IN_VPC__MASK; in A6XX_VPC_GS_PACK_STRIDE_IN_VPC()
4787 static inline uint32_t A6XX_VPC_GS_PACK_POSITIONLOC(uint32_t val) in A6XX_VPC_GS_PACK_POSITIONLOC() argument
4789 return ((val) << A6XX_VPC_GS_PACK_POSITIONLOC__SHIFT) & A6XX_VPC_GS_PACK_POSITIONLOC__MASK; in A6XX_VPC_GS_PACK_POSITIONLOC()
4793 static inline uint32_t A6XX_VPC_GS_PACK_PSIZELOC(uint32_t val) in A6XX_VPC_GS_PACK_PSIZELOC() argument
4795 return ((val) << A6XX_VPC_GS_PACK_PSIZELOC__SHIFT) & A6XX_VPC_GS_PACK_PSIZELOC__MASK; in A6XX_VPC_GS_PACK_PSIZELOC()
4799 static inline uint32_t A6XX_VPC_GS_PACK_EXTRAPOS(uint32_t val) in A6XX_VPC_GS_PACK_EXTRAPOS() argument
4801 return ((val) << A6XX_VPC_GS_PACK_EXTRAPOS__SHIFT) & A6XX_VPC_GS_PACK_EXTRAPOS__MASK; in A6XX_VPC_GS_PACK_EXTRAPOS()
4807 static inline uint32_t A6XX_VPC_DS_PACK_STRIDE_IN_VPC(uint32_t val) in A6XX_VPC_DS_PACK_STRIDE_IN_VPC() argument
4809 return ((val) << A6XX_VPC_DS_PACK_STRIDE_IN_VPC__SHIFT) & A6XX_VPC_DS_PACK_STRIDE_IN_VPC__MASK; in A6XX_VPC_DS_PACK_STRIDE_IN_VPC()
4813 static inline uint32_t A6XX_VPC_DS_PACK_POSITIONLOC(uint32_t val) in A6XX_VPC_DS_PACK_POSITIONLOC() argument
4815 return ((val) << A6XX_VPC_DS_PACK_POSITIONLOC__SHIFT) & A6XX_VPC_DS_PACK_POSITIONLOC__MASK; in A6XX_VPC_DS_PACK_POSITIONLOC()
4819 static inline uint32_t A6XX_VPC_DS_PACK_PSIZELOC(uint32_t val) in A6XX_VPC_DS_PACK_PSIZELOC() argument
4821 return ((val) << A6XX_VPC_DS_PACK_PSIZELOC__SHIFT) & A6XX_VPC_DS_PACK_PSIZELOC__MASK; in A6XX_VPC_DS_PACK_PSIZELOC()
4825 static inline uint32_t A6XX_VPC_DS_PACK_EXTRAPOS(uint32_t val) in A6XX_VPC_DS_PACK_EXTRAPOS() argument
4827 return ((val) << A6XX_VPC_DS_PACK_EXTRAPOS__SHIFT) & A6XX_VPC_DS_PACK_EXTRAPOS__MASK; in A6XX_VPC_DS_PACK_EXTRAPOS()
4833 static inline uint32_t A6XX_VPC_CNTL_0_NUMNONPOSVAR(uint32_t val) in A6XX_VPC_CNTL_0_NUMNONPOSVAR() argument
4835 return ((val) << A6XX_VPC_CNTL_0_NUMNONPOSVAR__SHIFT) & A6XX_VPC_CNTL_0_NUMNONPOSVAR__MASK; in A6XX_VPC_CNTL_0_NUMNONPOSVAR()
4839 static inline uint32_t A6XX_VPC_CNTL_0_PRIMIDLOC(uint32_t val) in A6XX_VPC_CNTL_0_PRIMIDLOC() argument
4841 return ((val) << A6XX_VPC_CNTL_0_PRIMIDLOC__SHIFT) & A6XX_VPC_CNTL_0_PRIMIDLOC__MASK; in A6XX_VPC_CNTL_0_PRIMIDLOC()
4846 static inline uint32_t A6XX_VPC_CNTL_0_VIEWIDLOC(uint32_t val) in A6XX_VPC_CNTL_0_VIEWIDLOC() argument
4848 return ((val) << A6XX_VPC_CNTL_0_VIEWIDLOC__SHIFT) & A6XX_VPC_CNTL_0_VIEWIDLOC__MASK; in A6XX_VPC_CNTL_0_VIEWIDLOC()
4854 static inline uint32_t A6XX_VPC_SO_STREAM_CNTL_BUF0_STREAM(uint32_t val) in A6XX_VPC_SO_STREAM_CNTL_BUF0_STREAM() argument
4856 …return ((val) << A6XX_VPC_SO_STREAM_CNTL_BUF0_STREAM__SHIFT) & A6XX_VPC_SO_STREAM_CNTL_BUF0_STREAM… in A6XX_VPC_SO_STREAM_CNTL_BUF0_STREAM()
4860 static inline uint32_t A6XX_VPC_SO_STREAM_CNTL_BUF1_STREAM(uint32_t val) in A6XX_VPC_SO_STREAM_CNTL_BUF1_STREAM() argument
4862 …return ((val) << A6XX_VPC_SO_STREAM_CNTL_BUF1_STREAM__SHIFT) & A6XX_VPC_SO_STREAM_CNTL_BUF1_STREAM… in A6XX_VPC_SO_STREAM_CNTL_BUF1_STREAM()
4866 static inline uint32_t A6XX_VPC_SO_STREAM_CNTL_BUF2_STREAM(uint32_t val) in A6XX_VPC_SO_STREAM_CNTL_BUF2_STREAM() argument
4868 …return ((val) << A6XX_VPC_SO_STREAM_CNTL_BUF2_STREAM__SHIFT) & A6XX_VPC_SO_STREAM_CNTL_BUF2_STREAM… in A6XX_VPC_SO_STREAM_CNTL_BUF2_STREAM()
4872 static inline uint32_t A6XX_VPC_SO_STREAM_CNTL_BUF3_STREAM(uint32_t val) in A6XX_VPC_SO_STREAM_CNTL_BUF3_STREAM() argument
4874 …return ((val) << A6XX_VPC_SO_STREAM_CNTL_BUF3_STREAM__SHIFT) & A6XX_VPC_SO_STREAM_CNTL_BUF3_STREAM… in A6XX_VPC_SO_STREAM_CNTL_BUF3_STREAM()
4878 static inline uint32_t A6XX_VPC_SO_STREAM_CNTL_STREAM_ENABLE(uint32_t val) in A6XX_VPC_SO_STREAM_CNTL_STREAM_ENABLE() argument
4880 …return ((val) << A6XX_VPC_SO_STREAM_CNTL_STREAM_ENABLE__SHIFT) & A6XX_VPC_SO_STREAM_CNTL_STREAM_EN… in A6XX_VPC_SO_STREAM_CNTL_STREAM_ENABLE()
4903 static inline uint32_t A6XX_PC_HS_INPUT_SIZE_SIZE(uint32_t val) in A6XX_PC_HS_INPUT_SIZE_SIZE() argument
4905 return ((val) << A6XX_PC_HS_INPUT_SIZE_SIZE__SHIFT) & A6XX_PC_HS_INPUT_SIZE_SIZE__MASK; in A6XX_PC_HS_INPUT_SIZE_SIZE()
4909 static inline uint32_t A6XX_PC_HS_INPUT_SIZE_UNK13(uint32_t val) in A6XX_PC_HS_INPUT_SIZE_UNK13() argument
4911 return ((val) << A6XX_PC_HS_INPUT_SIZE_UNK13__SHIFT) & A6XX_PC_HS_INPUT_SIZE_UNK13__MASK; in A6XX_PC_HS_INPUT_SIZE_UNK13()
4917 static inline uint32_t A6XX_PC_TESS_CNTL_SPACING(enum a6xx_tess_spacing val) in A6XX_PC_TESS_CNTL_SPACING() argument
4919 return ((val) << A6XX_PC_TESS_CNTL_SPACING__SHIFT) & A6XX_PC_TESS_CNTL_SPACING__MASK; in A6XX_PC_TESS_CNTL_SPACING()
4923 static inline uint32_t A6XX_PC_TESS_CNTL_OUTPUT(enum a6xx_tess_output val) in A6XX_PC_TESS_CNTL_OUTPUT() argument
4925 return ((val) << A6XX_PC_TESS_CNTL_OUTPUT__SHIFT) & A6XX_PC_TESS_CNTL_OUTPUT__MASK; in A6XX_PC_TESS_CNTL_OUTPUT()
4939 static inline uint32_t A6XX_PC_SO_STREAM_CNTL_STREAM_ENABLE(uint32_t val) in A6XX_PC_SO_STREAM_CNTL_STREAM_ENABLE() argument
4941 …return ((val) << A6XX_PC_SO_STREAM_CNTL_STREAM_ENABLE__SHIFT) & A6XX_PC_SO_STREAM_CNTL_STREAM_ENAB… in A6XX_PC_SO_STREAM_CNTL_STREAM_ENABLE()
4950 static inline uint32_t A6XX_PC_DRAW_CMD_STATE_ID(uint32_t val) in A6XX_PC_DRAW_CMD_STATE_ID() argument
4952 return ((val) << A6XX_PC_DRAW_CMD_STATE_ID__SHIFT) & A6XX_PC_DRAW_CMD_STATE_ID__MASK; in A6XX_PC_DRAW_CMD_STATE_ID()
4958 static inline uint32_t A6XX_PC_DISPATCH_CMD_STATE_ID(uint32_t val) in A6XX_PC_DISPATCH_CMD_STATE_ID() argument
4960 return ((val) << A6XX_PC_DISPATCH_CMD_STATE_ID__SHIFT) & A6XX_PC_DISPATCH_CMD_STATE_ID__MASK; in A6XX_PC_DISPATCH_CMD_STATE_ID()
4966 static inline uint32_t A6XX_PC_EVENT_CMD_STATE_ID(uint32_t val) in A6XX_PC_EVENT_CMD_STATE_ID() argument
4968 return ((val) << A6XX_PC_EVENT_CMD_STATE_ID__SHIFT) & A6XX_PC_EVENT_CMD_STATE_ID__MASK; in A6XX_PC_EVENT_CMD_STATE_ID()
4972 static inline uint32_t A6XX_PC_EVENT_CMD_EVENT(enum vgt_event_type val) in A6XX_PC_EVENT_CMD_EVENT() argument
4974 return ((val) << A6XX_PC_EVENT_CMD_EVENT__SHIFT) & A6XX_PC_EVENT_CMD_EVENT__MASK; in A6XX_PC_EVENT_CMD_EVENT()
4982 static inline uint32_t A6XX_PC_POLYGON_MODE_MODE(enum a6xx_polygon_mode val) in A6XX_PC_POLYGON_MODE_MODE() argument
4984 return ((val) << A6XX_PC_POLYGON_MODE_MODE__SHIFT) & A6XX_PC_POLYGON_MODE_MODE__MASK; in A6XX_PC_POLYGON_MODE_MODE()
4990 static inline uint32_t A6XX_PC_RASTER_CNTL_STREAM(uint32_t val) in A6XX_PC_RASTER_CNTL_STREAM() argument
4992 return ((val) << A6XX_PC_RASTER_CNTL_STREAM__SHIFT) & A6XX_PC_RASTER_CNTL_STREAM__MASK; in A6XX_PC_RASTER_CNTL_STREAM()
5005 static inline uint32_t A6XX_PC_VS_OUT_CNTL_STRIDE_IN_VPC(uint32_t val) in A6XX_PC_VS_OUT_CNTL_STRIDE_IN_VPC() argument
5007 …return ((val) << A6XX_PC_VS_OUT_CNTL_STRIDE_IN_VPC__SHIFT) & A6XX_PC_VS_OUT_CNTL_STRIDE_IN_VPC__MA… in A6XX_PC_VS_OUT_CNTL_STRIDE_IN_VPC()
5015 static inline uint32_t A6XX_PC_VS_OUT_CNTL_CLIP_MASK(uint32_t val) in A6XX_PC_VS_OUT_CNTL_CLIP_MASK() argument
5017 return ((val) << A6XX_PC_VS_OUT_CNTL_CLIP_MASK__SHIFT) & A6XX_PC_VS_OUT_CNTL_CLIP_MASK__MASK; in A6XX_PC_VS_OUT_CNTL_CLIP_MASK()
5023 static inline uint32_t A6XX_PC_GS_OUT_CNTL_STRIDE_IN_VPC(uint32_t val) in A6XX_PC_GS_OUT_CNTL_STRIDE_IN_VPC() argument
5025 …return ((val) << A6XX_PC_GS_OUT_CNTL_STRIDE_IN_VPC__SHIFT) & A6XX_PC_GS_OUT_CNTL_STRIDE_IN_VPC__MA… in A6XX_PC_GS_OUT_CNTL_STRIDE_IN_VPC()
5033 static inline uint32_t A6XX_PC_GS_OUT_CNTL_CLIP_MASK(uint32_t val) in A6XX_PC_GS_OUT_CNTL_CLIP_MASK() argument
5035 return ((val) << A6XX_PC_GS_OUT_CNTL_CLIP_MASK__SHIFT) & A6XX_PC_GS_OUT_CNTL_CLIP_MASK__MASK; in A6XX_PC_GS_OUT_CNTL_CLIP_MASK()
5041 static inline uint32_t A6XX_PC_HS_OUT_CNTL_STRIDE_IN_VPC(uint32_t val) in A6XX_PC_HS_OUT_CNTL_STRIDE_IN_VPC() argument
5043 …return ((val) << A6XX_PC_HS_OUT_CNTL_STRIDE_IN_VPC__SHIFT) & A6XX_PC_HS_OUT_CNTL_STRIDE_IN_VPC__MA… in A6XX_PC_HS_OUT_CNTL_STRIDE_IN_VPC()
5051 static inline uint32_t A6XX_PC_HS_OUT_CNTL_CLIP_MASK(uint32_t val) in A6XX_PC_HS_OUT_CNTL_CLIP_MASK() argument
5053 return ((val) << A6XX_PC_HS_OUT_CNTL_CLIP_MASK__SHIFT) & A6XX_PC_HS_OUT_CNTL_CLIP_MASK__MASK; in A6XX_PC_HS_OUT_CNTL_CLIP_MASK()
5059 static inline uint32_t A6XX_PC_DS_OUT_CNTL_STRIDE_IN_VPC(uint32_t val) in A6XX_PC_DS_OUT_CNTL_STRIDE_IN_VPC() argument
5061 …return ((val) << A6XX_PC_DS_OUT_CNTL_STRIDE_IN_VPC__SHIFT) & A6XX_PC_DS_OUT_CNTL_STRIDE_IN_VPC__MA… in A6XX_PC_DS_OUT_CNTL_STRIDE_IN_VPC()
5069 static inline uint32_t A6XX_PC_DS_OUT_CNTL_CLIP_MASK(uint32_t val) in A6XX_PC_DS_OUT_CNTL_CLIP_MASK() argument
5071 return ((val) << A6XX_PC_DS_OUT_CNTL_CLIP_MASK__SHIFT) & A6XX_PC_DS_OUT_CNTL_CLIP_MASK__MASK; in A6XX_PC_DS_OUT_CNTL_CLIP_MASK()
5077 static inline uint32_t A6XX_PC_PRIMITIVE_CNTL_5_GS_VERTICES_OUT(uint32_t val) in A6XX_PC_PRIMITIVE_CNTL_5_GS_VERTICES_OUT() argument
5079 …return ((val) << A6XX_PC_PRIMITIVE_CNTL_5_GS_VERTICES_OUT__SHIFT) & A6XX_PC_PRIMITIVE_CNTL_5_GS_VE… in A6XX_PC_PRIMITIVE_CNTL_5_GS_VERTICES_OUT()
5083 static inline uint32_t A6XX_PC_PRIMITIVE_CNTL_5_GS_INVOCATIONS(uint32_t val) in A6XX_PC_PRIMITIVE_CNTL_5_GS_INVOCATIONS() argument
5085 …return ((val) << A6XX_PC_PRIMITIVE_CNTL_5_GS_INVOCATIONS__SHIFT) & A6XX_PC_PRIMITIVE_CNTL_5_GS_INV… in A6XX_PC_PRIMITIVE_CNTL_5_GS_INVOCATIONS()
5090 static inline uint32_t A6XX_PC_PRIMITIVE_CNTL_5_GS_OUTPUT(enum a6xx_tess_output val) in A6XX_PC_PRIMITIVE_CNTL_5_GS_OUTPUT() argument
5092 …return ((val) << A6XX_PC_PRIMITIVE_CNTL_5_GS_OUTPUT__SHIFT) & A6XX_PC_PRIMITIVE_CNTL_5_GS_OUTPUT__… in A6XX_PC_PRIMITIVE_CNTL_5_GS_OUTPUT()
5096 static inline uint32_t A6XX_PC_PRIMITIVE_CNTL_5_UNK18(uint32_t val) in A6XX_PC_PRIMITIVE_CNTL_5_UNK18() argument
5098 return ((val) << A6XX_PC_PRIMITIVE_CNTL_5_UNK18__SHIFT) & A6XX_PC_PRIMITIVE_CNTL_5_UNK18__MASK; in A6XX_PC_PRIMITIVE_CNTL_5_UNK18()
5104 static inline uint32_t A6XX_PC_PRIMITIVE_CNTL_6_STRIDE_IN_VPC(uint32_t val) in A6XX_PC_PRIMITIVE_CNTL_6_STRIDE_IN_VPC() argument
5106 …return ((val) << A6XX_PC_PRIMITIVE_CNTL_6_STRIDE_IN_VPC__SHIFT) & A6XX_PC_PRIMITIVE_CNTL_6_STRIDE_… in A6XX_PC_PRIMITIVE_CNTL_6_STRIDE_IN_VPC()
5114 static inline uint32_t A6XX_PC_MULTIVIEW_CNTL_VIEWS(uint32_t val) in A6XX_PC_MULTIVIEW_CNTL_VIEWS() argument
5116 return ((val) << A6XX_PC_MULTIVIEW_CNTL_VIEWS__SHIFT) & A6XX_PC_MULTIVIEW_CNTL_VIEWS__MASK; in A6XX_PC_MULTIVIEW_CNTL_VIEWS()
5124 static inline uint32_t A6XX_PC_2D_EVENT_CMD_EVENT(enum vgt_event_type val) in A6XX_PC_2D_EVENT_CMD_EVENT() argument
5126 return ((val) << A6XX_PC_2D_EVENT_CMD_EVENT__SHIFT) & A6XX_PC_2D_EVENT_CMD_EVENT__MASK; in A6XX_PC_2D_EVENT_CMD_EVENT()
5130 static inline uint32_t A6XX_PC_2D_EVENT_CMD_STATE_ID(uint32_t val) in A6XX_PC_2D_EVENT_CMD_STATE_ID() argument
5132 return ((val) << A6XX_PC_2D_EVENT_CMD_STATE_ID__SHIFT) & A6XX_PC_2D_EVENT_CMD_STATE_ID__MASK; in A6XX_PC_2D_EVENT_CMD_STATE_ID()
5148 static inline uint32_t A6XX_PC_TESSFACTOR_ADDR(uint32_t val) in A6XX_PC_TESSFACTOR_ADDR() argument
5150 return ((val) << A6XX_PC_TESSFACTOR_ADDR__SHIFT) & A6XX_PC_TESSFACTOR_ADDR__MASK; in A6XX_PC_TESSFACTOR_ADDR()
5156 static inline uint32_t A6XX_PC_DRAW_INITIATOR_PRIM_TYPE(enum pc_di_primtype val) in A6XX_PC_DRAW_INITIATOR_PRIM_TYPE() argument
5158 return ((val) << A6XX_PC_DRAW_INITIATOR_PRIM_TYPE__SHIFT) & A6XX_PC_DRAW_INITIATOR_PRIM_TYPE__MASK; in A6XX_PC_DRAW_INITIATOR_PRIM_TYPE()
5162 static inline uint32_t A6XX_PC_DRAW_INITIATOR_SOURCE_SELECT(enum pc_di_src_sel val) in A6XX_PC_DRAW_INITIATOR_SOURCE_SELECT() argument
5164 …return ((val) << A6XX_PC_DRAW_INITIATOR_SOURCE_SELECT__SHIFT) & A6XX_PC_DRAW_INITIATOR_SOURCE_SELE… in A6XX_PC_DRAW_INITIATOR_SOURCE_SELECT()
5168 static inline uint32_t A6XX_PC_DRAW_INITIATOR_VIS_CULL(enum pc_di_vis_cull_mode val) in A6XX_PC_DRAW_INITIATOR_VIS_CULL() argument
5170 return ((val) << A6XX_PC_DRAW_INITIATOR_VIS_CULL__SHIFT) & A6XX_PC_DRAW_INITIATOR_VIS_CULL__MASK; in A6XX_PC_DRAW_INITIATOR_VIS_CULL()
5174 static inline uint32_t A6XX_PC_DRAW_INITIATOR_INDEX_SIZE(enum a4xx_index_size val) in A6XX_PC_DRAW_INITIATOR_INDEX_SIZE() argument
5176 …return ((val) << A6XX_PC_DRAW_INITIATOR_INDEX_SIZE__SHIFT) & A6XX_PC_DRAW_INITIATOR_INDEX_SIZE__MA… in A6XX_PC_DRAW_INITIATOR_INDEX_SIZE()
5180 static inline uint32_t A6XX_PC_DRAW_INITIATOR_PATCH_TYPE(enum a6xx_patch_type val) in A6XX_PC_DRAW_INITIATOR_PATCH_TYPE() argument
5182 …return ((val) << A6XX_PC_DRAW_INITIATOR_PATCH_TYPE__SHIFT) & A6XX_PC_DRAW_INITIATOR_PATCH_TYPE__MA… in A6XX_PC_DRAW_INITIATOR_PATCH_TYPE()
5194 static inline uint32_t A6XX_PC_VSTREAM_CONTROL_UNK0(uint32_t val) in A6XX_PC_VSTREAM_CONTROL_UNK0() argument
5196 return ((val) << A6XX_PC_VSTREAM_CONTROL_UNK0__SHIFT) & A6XX_PC_VSTREAM_CONTROL_UNK0__MASK; in A6XX_PC_VSTREAM_CONTROL_UNK0()
5200 static inline uint32_t A6XX_PC_VSTREAM_CONTROL_VSC_SIZE(uint32_t val) in A6XX_PC_VSTREAM_CONTROL_VSC_SIZE() argument
5202 return ((val) << A6XX_PC_VSTREAM_CONTROL_VSC_SIZE__SHIFT) & A6XX_PC_VSTREAM_CONTROL_VSC_SIZE__MASK; in A6XX_PC_VSTREAM_CONTROL_VSC_SIZE()
5206 static inline uint32_t A6XX_PC_VSTREAM_CONTROL_VSC_N(uint32_t val) in A6XX_PC_VSTREAM_CONTROL_VSC_N() argument
5208 return ((val) << A6XX_PC_VSTREAM_CONTROL_VSC_N__SHIFT) & A6XX_PC_VSTREAM_CONTROL_VSC_N__MASK; in A6XX_PC_VSTREAM_CONTROL_VSC_N()
5214 static inline uint32_t A6XX_PC_BIN_PRIM_STRM(uint32_t val) in A6XX_PC_BIN_PRIM_STRM() argument
5216 return ((val) << A6XX_PC_BIN_PRIM_STRM__SHIFT) & A6XX_PC_BIN_PRIM_STRM__MASK; in A6XX_PC_BIN_PRIM_STRM()
5222 static inline uint32_t A6XX_PC_BIN_DRAW_STRM(uint32_t val) in A6XX_PC_BIN_DRAW_STRM() argument
5224 return ((val) << A6XX_PC_BIN_DRAW_STRM__SHIFT) & A6XX_PC_BIN_DRAW_STRM__MASK; in A6XX_PC_BIN_DRAW_STRM()
5239 static inline uint32_t A6XX_VFD_CONTROL_0_FETCH_CNT(uint32_t val) in A6XX_VFD_CONTROL_0_FETCH_CNT() argument
5241 return ((val) << A6XX_VFD_CONTROL_0_FETCH_CNT__SHIFT) & A6XX_VFD_CONTROL_0_FETCH_CNT__MASK; in A6XX_VFD_CONTROL_0_FETCH_CNT()
5245 static inline uint32_t A6XX_VFD_CONTROL_0_DECODE_CNT(uint32_t val) in A6XX_VFD_CONTROL_0_DECODE_CNT() argument
5247 return ((val) << A6XX_VFD_CONTROL_0_DECODE_CNT__SHIFT) & A6XX_VFD_CONTROL_0_DECODE_CNT__MASK; in A6XX_VFD_CONTROL_0_DECODE_CNT()
5253 static inline uint32_t A6XX_VFD_CONTROL_1_REGID4VTX(uint32_t val) in A6XX_VFD_CONTROL_1_REGID4VTX() argument
5255 return ((val) << A6XX_VFD_CONTROL_1_REGID4VTX__SHIFT) & A6XX_VFD_CONTROL_1_REGID4VTX__MASK; in A6XX_VFD_CONTROL_1_REGID4VTX()
5259 static inline uint32_t A6XX_VFD_CONTROL_1_REGID4INST(uint32_t val) in A6XX_VFD_CONTROL_1_REGID4INST() argument
5261 return ((val) << A6XX_VFD_CONTROL_1_REGID4INST__SHIFT) & A6XX_VFD_CONTROL_1_REGID4INST__MASK; in A6XX_VFD_CONTROL_1_REGID4INST()
5265 static inline uint32_t A6XX_VFD_CONTROL_1_REGID4PRIMID(uint32_t val) in A6XX_VFD_CONTROL_1_REGID4PRIMID() argument
5267 return ((val) << A6XX_VFD_CONTROL_1_REGID4PRIMID__SHIFT) & A6XX_VFD_CONTROL_1_REGID4PRIMID__MASK; in A6XX_VFD_CONTROL_1_REGID4PRIMID()
5271 static inline uint32_t A6XX_VFD_CONTROL_1_REGID4VIEWID(uint32_t val) in A6XX_VFD_CONTROL_1_REGID4VIEWID() argument
5273 return ((val) << A6XX_VFD_CONTROL_1_REGID4VIEWID__SHIFT) & A6XX_VFD_CONTROL_1_REGID4VIEWID__MASK; in A6XX_VFD_CONTROL_1_REGID4VIEWID()
5279 static inline uint32_t A6XX_VFD_CONTROL_2_REGID_HSRELPATCHID(uint32_t val) in A6XX_VFD_CONTROL_2_REGID_HSRELPATCHID() argument
5281 …return ((val) << A6XX_VFD_CONTROL_2_REGID_HSRELPATCHID__SHIFT) & A6XX_VFD_CONTROL_2_REGID_HSRELPAT… in A6XX_VFD_CONTROL_2_REGID_HSRELPATCHID()
5285 static inline uint32_t A6XX_VFD_CONTROL_2_REGID_INVOCATIONID(uint32_t val) in A6XX_VFD_CONTROL_2_REGID_INVOCATIONID() argument
5287 …return ((val) << A6XX_VFD_CONTROL_2_REGID_INVOCATIONID__SHIFT) & A6XX_VFD_CONTROL_2_REGID_INVOCATI… in A6XX_VFD_CONTROL_2_REGID_INVOCATIONID()
5293 static inline uint32_t A6XX_VFD_CONTROL_3_REGID_DSPRIMID(uint32_t val) in A6XX_VFD_CONTROL_3_REGID_DSPRIMID() argument
5295 …return ((val) << A6XX_VFD_CONTROL_3_REGID_DSPRIMID__SHIFT) & A6XX_VFD_CONTROL_3_REGID_DSPRIMID__MA… in A6XX_VFD_CONTROL_3_REGID_DSPRIMID()
5299 static inline uint32_t A6XX_VFD_CONTROL_3_REGID_DSRELPATCHID(uint32_t val) in A6XX_VFD_CONTROL_3_REGID_DSRELPATCHID() argument
5301 …return ((val) << A6XX_VFD_CONTROL_3_REGID_DSRELPATCHID__SHIFT) & A6XX_VFD_CONTROL_3_REGID_DSRELPAT… in A6XX_VFD_CONTROL_3_REGID_DSRELPATCHID()
5305 static inline uint32_t A6XX_VFD_CONTROL_3_REGID_TESSX(uint32_t val) in A6XX_VFD_CONTROL_3_REGID_TESSX() argument
5307 return ((val) << A6XX_VFD_CONTROL_3_REGID_TESSX__SHIFT) & A6XX_VFD_CONTROL_3_REGID_TESSX__MASK; in A6XX_VFD_CONTROL_3_REGID_TESSX()
5311 static inline uint32_t A6XX_VFD_CONTROL_3_REGID_TESSY(uint32_t val) in A6XX_VFD_CONTROL_3_REGID_TESSY() argument
5313 return ((val) << A6XX_VFD_CONTROL_3_REGID_TESSY__SHIFT) & A6XX_VFD_CONTROL_3_REGID_TESSY__MASK; in A6XX_VFD_CONTROL_3_REGID_TESSY()
5319 static inline uint32_t A6XX_VFD_CONTROL_4_UNK0(uint32_t val) in A6XX_VFD_CONTROL_4_UNK0() argument
5321 return ((val) << A6XX_VFD_CONTROL_4_UNK0__SHIFT) & A6XX_VFD_CONTROL_4_UNK0__MASK; in A6XX_VFD_CONTROL_4_UNK0()
5327 static inline uint32_t A6XX_VFD_CONTROL_5_REGID_GSHEADER(uint32_t val) in A6XX_VFD_CONTROL_5_REGID_GSHEADER() argument
5329 …return ((val) << A6XX_VFD_CONTROL_5_REGID_GSHEADER__SHIFT) & A6XX_VFD_CONTROL_5_REGID_GSHEADER__MA… in A6XX_VFD_CONTROL_5_REGID_GSHEADER()
5333 static inline uint32_t A6XX_VFD_CONTROL_5_UNK8(uint32_t val) in A6XX_VFD_CONTROL_5_UNK8() argument
5335 return ((val) << A6XX_VFD_CONTROL_5_UNK8__SHIFT) & A6XX_VFD_CONTROL_5_UNK8__MASK; in A6XX_VFD_CONTROL_5_UNK8()
5344 static inline uint32_t A6XX_VFD_MODE_CNTL_RENDER_MODE(enum a6xx_render_mode val) in A6XX_VFD_MODE_CNTL_RENDER_MODE() argument
5346 return ((val) << A6XX_VFD_MODE_CNTL_RENDER_MODE__SHIFT) & A6XX_VFD_MODE_CNTL_RENDER_MODE__MASK; in A6XX_VFD_MODE_CNTL_RENDER_MODE()
5354 static inline uint32_t A6XX_VFD_MULTIVIEW_CNTL_VIEWS(uint32_t val) in A6XX_VFD_MULTIVIEW_CNTL_VIEWS() argument
5356 return ((val) << A6XX_VFD_MULTIVIEW_CNTL_VIEWS__SHIFT) & A6XX_VFD_MULTIVIEW_CNTL_VIEWS__MASK; in A6XX_VFD_MULTIVIEW_CNTL_VIEWS()
5372 static inline uint32_t A6XX_VFD_FETCH_BASE(uint32_t val) in A6XX_VFD_FETCH_BASE() argument
5374 return ((val) << A6XX_VFD_FETCH_BASE__SHIFT) & A6XX_VFD_FETCH_BASE__MASK; in A6XX_VFD_FETCH_BASE()
5386 static inline uint32_t A6XX_VFD_DECODE_INSTR_IDX(uint32_t val) in A6XX_VFD_DECODE_INSTR_IDX() argument
5388 return ((val) << A6XX_VFD_DECODE_INSTR_IDX__SHIFT) & A6XX_VFD_DECODE_INSTR_IDX__MASK; in A6XX_VFD_DECODE_INSTR_IDX()
5392 static inline uint32_t A6XX_VFD_DECODE_INSTR_OFFSET(uint32_t val) in A6XX_VFD_DECODE_INSTR_OFFSET() argument
5394 return ((val) << A6XX_VFD_DECODE_INSTR_OFFSET__SHIFT) & A6XX_VFD_DECODE_INSTR_OFFSET__MASK; in A6XX_VFD_DECODE_INSTR_OFFSET()
5399 static inline uint32_t A6XX_VFD_DECODE_INSTR_FORMAT(enum a6xx_format val) in A6XX_VFD_DECODE_INSTR_FORMAT() argument
5401 return ((val) << A6XX_VFD_DECODE_INSTR_FORMAT__SHIFT) & A6XX_VFD_DECODE_INSTR_FORMAT__MASK; in A6XX_VFD_DECODE_INSTR_FORMAT()
5405 static inline uint32_t A6XX_VFD_DECODE_INSTR_SWAP(enum a3xx_color_swap val) in A6XX_VFD_DECODE_INSTR_SWAP() argument
5407 return ((val) << A6XX_VFD_DECODE_INSTR_SWAP__SHIFT) & A6XX_VFD_DECODE_INSTR_SWAP__MASK; in A6XX_VFD_DECODE_INSTR_SWAP()
5419 static inline uint32_t A6XX_VFD_DEST_CNTL_INSTR_WRITEMASK(uint32_t val) in A6XX_VFD_DEST_CNTL_INSTR_WRITEMASK() argument
5421 …return ((val) << A6XX_VFD_DEST_CNTL_INSTR_WRITEMASK__SHIFT) & A6XX_VFD_DEST_CNTL_INSTR_WRITEMASK__… in A6XX_VFD_DEST_CNTL_INSTR_WRITEMASK()
5425 static inline uint32_t A6XX_VFD_DEST_CNTL_INSTR_REGID(uint32_t val) in A6XX_VFD_DEST_CNTL_INSTR_REGID() argument
5427 return ((val) << A6XX_VFD_DEST_CNTL_INSTR_REGID__SHIFT) & A6XX_VFD_DEST_CNTL_INSTR_REGID__MASK; in A6XX_VFD_DEST_CNTL_INSTR_REGID()
5443 static inline uint32_t A6XX_SP_VS_CTRL_REG0_THREADMODE(enum a3xx_threadmode val) in A6XX_SP_VS_CTRL_REG0_THREADMODE() argument
5445 return ((val) << A6XX_SP_VS_CTRL_REG0_THREADMODE__SHIFT) & A6XX_SP_VS_CTRL_REG0_THREADMODE__MASK; in A6XX_SP_VS_CTRL_REG0_THREADMODE()
5449 static inline uint32_t A6XX_SP_VS_CTRL_REG0_HALFREGFOOTPRINT(uint32_t val) in A6XX_SP_VS_CTRL_REG0_HALFREGFOOTPRINT() argument
5451 …return ((val) << A6XX_SP_VS_CTRL_REG0_HALFREGFOOTPRINT__SHIFT) & A6XX_SP_VS_CTRL_REG0_HALFREGFOOTP… in A6XX_SP_VS_CTRL_REG0_HALFREGFOOTPRINT()
5455 static inline uint32_t A6XX_SP_VS_CTRL_REG0_FULLREGFOOTPRINT(uint32_t val) in A6XX_SP_VS_CTRL_REG0_FULLREGFOOTPRINT() argument
5457 …return ((val) << A6XX_SP_VS_CTRL_REG0_FULLREGFOOTPRINT__SHIFT) & A6XX_SP_VS_CTRL_REG0_FULLREGFOOTP… in A6XX_SP_VS_CTRL_REG0_FULLREGFOOTPRINT()
5462 static inline uint32_t A6XX_SP_VS_CTRL_REG0_BRANCHSTACK(uint32_t val) in A6XX_SP_VS_CTRL_REG0_BRANCHSTACK() argument
5464 return ((val) << A6XX_SP_VS_CTRL_REG0_BRANCHSTACK__SHIFT) & A6XX_SP_VS_CTRL_REG0_BRANCHSTACK__MASK; in A6XX_SP_VS_CTRL_REG0_BRANCHSTACK()
5472 static inline uint32_t A6XX_SP_VS_PRIMITIVE_CNTL_OUT(uint32_t val) in A6XX_SP_VS_PRIMITIVE_CNTL_OUT() argument
5474 return ((val) << A6XX_SP_VS_PRIMITIVE_CNTL_OUT__SHIFT) & A6XX_SP_VS_PRIMITIVE_CNTL_OUT__MASK; in A6XX_SP_VS_PRIMITIVE_CNTL_OUT()
5478 static inline uint32_t A6XX_SP_VS_PRIMITIVE_CNTL_FLAGS_REGID(uint32_t val) in A6XX_SP_VS_PRIMITIVE_CNTL_FLAGS_REGID() argument
5480 …return ((val) << A6XX_SP_VS_PRIMITIVE_CNTL_FLAGS_REGID__SHIFT) & A6XX_SP_VS_PRIMITIVE_CNTL_FLAGS_R… in A6XX_SP_VS_PRIMITIVE_CNTL_FLAGS_REGID()
5488 static inline uint32_t A6XX_SP_VS_OUT_REG_A_REGID(uint32_t val) in A6XX_SP_VS_OUT_REG_A_REGID() argument
5490 return ((val) << A6XX_SP_VS_OUT_REG_A_REGID__SHIFT) & A6XX_SP_VS_OUT_REG_A_REGID__MASK; in A6XX_SP_VS_OUT_REG_A_REGID()
5494 static inline uint32_t A6XX_SP_VS_OUT_REG_A_COMPMASK(uint32_t val) in A6XX_SP_VS_OUT_REG_A_COMPMASK() argument
5496 return ((val) << A6XX_SP_VS_OUT_REG_A_COMPMASK__SHIFT) & A6XX_SP_VS_OUT_REG_A_COMPMASK__MASK; in A6XX_SP_VS_OUT_REG_A_COMPMASK()
5500 static inline uint32_t A6XX_SP_VS_OUT_REG_B_REGID(uint32_t val) in A6XX_SP_VS_OUT_REG_B_REGID() argument
5502 return ((val) << A6XX_SP_VS_OUT_REG_B_REGID__SHIFT) & A6XX_SP_VS_OUT_REG_B_REGID__MASK; in A6XX_SP_VS_OUT_REG_B_REGID()
5506 static inline uint32_t A6XX_SP_VS_OUT_REG_B_COMPMASK(uint32_t val) in A6XX_SP_VS_OUT_REG_B_COMPMASK() argument
5508 return ((val) << A6XX_SP_VS_OUT_REG_B_COMPMASK__SHIFT) & A6XX_SP_VS_OUT_REG_B_COMPMASK__MASK; in A6XX_SP_VS_OUT_REG_B_COMPMASK()
5516 static inline uint32_t A6XX_SP_VS_VPC_DST_REG_OUTLOC0(uint32_t val) in A6XX_SP_VS_VPC_DST_REG_OUTLOC0() argument
5518 return ((val) << A6XX_SP_VS_VPC_DST_REG_OUTLOC0__SHIFT) & A6XX_SP_VS_VPC_DST_REG_OUTLOC0__MASK; in A6XX_SP_VS_VPC_DST_REG_OUTLOC0()
5522 static inline uint32_t A6XX_SP_VS_VPC_DST_REG_OUTLOC1(uint32_t val) in A6XX_SP_VS_VPC_DST_REG_OUTLOC1() argument
5524 return ((val) << A6XX_SP_VS_VPC_DST_REG_OUTLOC1__SHIFT) & A6XX_SP_VS_VPC_DST_REG_OUTLOC1__MASK; in A6XX_SP_VS_VPC_DST_REG_OUTLOC1()
5528 static inline uint32_t A6XX_SP_VS_VPC_DST_REG_OUTLOC2(uint32_t val) in A6XX_SP_VS_VPC_DST_REG_OUTLOC2() argument
5530 return ((val) << A6XX_SP_VS_VPC_DST_REG_OUTLOC2__SHIFT) & A6XX_SP_VS_VPC_DST_REG_OUTLOC2__MASK; in A6XX_SP_VS_VPC_DST_REG_OUTLOC2()
5534 static inline uint32_t A6XX_SP_VS_VPC_DST_REG_OUTLOC3(uint32_t val) in A6XX_SP_VS_VPC_DST_REG_OUTLOC3() argument
5536 return ((val) << A6XX_SP_VS_VPC_DST_REG_OUTLOC3__SHIFT) & A6XX_SP_VS_VPC_DST_REG_OUTLOC3__MASK; in A6XX_SP_VS_VPC_DST_REG_OUTLOC3()
5544 static inline uint32_t A6XX_SP_VS_OBJ_START(uint32_t val) in A6XX_SP_VS_OBJ_START() argument
5546 return ((val) << A6XX_SP_VS_OBJ_START__SHIFT) & A6XX_SP_VS_OBJ_START__MASK; in A6XX_SP_VS_OBJ_START()
5552 static inline uint32_t A6XX_SP_VS_PVT_MEM_PARAM_MEMSIZEPERITEM(uint32_t val) in A6XX_SP_VS_PVT_MEM_PARAM_MEMSIZEPERITEM() argument
5554 …return ((val >> 9) << A6XX_SP_VS_PVT_MEM_PARAM_MEMSIZEPERITEM__SHIFT) & A6XX_SP_VS_PVT_MEM_PARAM_M… in A6XX_SP_VS_PVT_MEM_PARAM_MEMSIZEPERITEM()
5558 static inline uint32_t A6XX_SP_VS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD(uint32_t val) in A6XX_SP_VS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD() argument
5560 …return ((val) << A6XX_SP_VS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD__SHIFT) & A6XX_SP_VS_PVT_MEM_PARAM_… in A6XX_SP_VS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD()
5566 static inline uint32_t A6XX_SP_VS_PVT_MEM_ADDR(uint32_t val) in A6XX_SP_VS_PVT_MEM_ADDR() argument
5568 return ((val) << A6XX_SP_VS_PVT_MEM_ADDR__SHIFT) & A6XX_SP_VS_PVT_MEM_ADDR__MASK; in A6XX_SP_VS_PVT_MEM_ADDR()
5574 static inline uint32_t A6XX_SP_VS_PVT_MEM_SIZE_TOTALPVTMEMSIZE(uint32_t val) in A6XX_SP_VS_PVT_MEM_SIZE_TOTALPVTMEMSIZE() argument
5576 …return ((val >> 12) << A6XX_SP_VS_PVT_MEM_SIZE_TOTALPVTMEMSIZE__SHIFT) & A6XX_SP_VS_PVT_MEM_SIZE_T… in A6XX_SP_VS_PVT_MEM_SIZE_TOTALPVTMEMSIZE()
5590 static inline uint32_t A6XX_SP_VS_CONFIG_NTEX(uint32_t val) in A6XX_SP_VS_CONFIG_NTEX() argument
5592 return ((val) << A6XX_SP_VS_CONFIG_NTEX__SHIFT) & A6XX_SP_VS_CONFIG_NTEX__MASK; in A6XX_SP_VS_CONFIG_NTEX()
5596 static inline uint32_t A6XX_SP_VS_CONFIG_NSAMP(uint32_t val) in A6XX_SP_VS_CONFIG_NSAMP() argument
5598 return ((val) << A6XX_SP_VS_CONFIG_NSAMP__SHIFT) & A6XX_SP_VS_CONFIG_NSAMP__MASK; in A6XX_SP_VS_CONFIG_NSAMP()
5602 static inline uint32_t A6XX_SP_VS_CONFIG_NIBO(uint32_t val) in A6XX_SP_VS_CONFIG_NIBO() argument
5604 return ((val) << A6XX_SP_VS_CONFIG_NIBO__SHIFT) & A6XX_SP_VS_CONFIG_NIBO__MASK; in A6XX_SP_VS_CONFIG_NIBO()
5612 static inline uint32_t A6XX_SP_VS_PVT_MEM_HW_STACK_OFFSET_OFFSET(uint32_t val) in A6XX_SP_VS_PVT_MEM_HW_STACK_OFFSET_OFFSET() argument
5614 …return ((val >> 11) << A6XX_SP_VS_PVT_MEM_HW_STACK_OFFSET_OFFSET__SHIFT) & A6XX_SP_VS_PVT_MEM_HW_S… in A6XX_SP_VS_PVT_MEM_HW_STACK_OFFSET_OFFSET()
5621 static inline uint32_t A6XX_SP_HS_CTRL_REG0_THREADMODE(enum a3xx_threadmode val) in A6XX_SP_HS_CTRL_REG0_THREADMODE() argument
5623 return ((val) << A6XX_SP_HS_CTRL_REG0_THREADMODE__SHIFT) & A6XX_SP_HS_CTRL_REG0_THREADMODE__MASK; in A6XX_SP_HS_CTRL_REG0_THREADMODE()
5627 static inline uint32_t A6XX_SP_HS_CTRL_REG0_HALFREGFOOTPRINT(uint32_t val) in A6XX_SP_HS_CTRL_REG0_HALFREGFOOTPRINT() argument
5629 …return ((val) << A6XX_SP_HS_CTRL_REG0_HALFREGFOOTPRINT__SHIFT) & A6XX_SP_HS_CTRL_REG0_HALFREGFOOTP… in A6XX_SP_HS_CTRL_REG0_HALFREGFOOTPRINT()
5633 static inline uint32_t A6XX_SP_HS_CTRL_REG0_FULLREGFOOTPRINT(uint32_t val) in A6XX_SP_HS_CTRL_REG0_FULLREGFOOTPRINT() argument
5635 …return ((val) << A6XX_SP_HS_CTRL_REG0_FULLREGFOOTPRINT__SHIFT) & A6XX_SP_HS_CTRL_REG0_FULLREGFOOTP… in A6XX_SP_HS_CTRL_REG0_FULLREGFOOTPRINT()
5640 static inline uint32_t A6XX_SP_HS_CTRL_REG0_BRANCHSTACK(uint32_t val) in A6XX_SP_HS_CTRL_REG0_BRANCHSTACK() argument
5642 return ((val) << A6XX_SP_HS_CTRL_REG0_BRANCHSTACK__SHIFT) & A6XX_SP_HS_CTRL_REG0_BRANCHSTACK__MASK; in A6XX_SP_HS_CTRL_REG0_BRANCHSTACK()
5654 static inline uint32_t A6XX_SP_HS_OBJ_START(uint32_t val) in A6XX_SP_HS_OBJ_START() argument
5656 return ((val) << A6XX_SP_HS_OBJ_START__SHIFT) & A6XX_SP_HS_OBJ_START__MASK; in A6XX_SP_HS_OBJ_START()
5662 static inline uint32_t A6XX_SP_HS_PVT_MEM_PARAM_MEMSIZEPERITEM(uint32_t val) in A6XX_SP_HS_PVT_MEM_PARAM_MEMSIZEPERITEM() argument
5664 …return ((val >> 9) << A6XX_SP_HS_PVT_MEM_PARAM_MEMSIZEPERITEM__SHIFT) & A6XX_SP_HS_PVT_MEM_PARAM_M… in A6XX_SP_HS_PVT_MEM_PARAM_MEMSIZEPERITEM()
5668 static inline uint32_t A6XX_SP_HS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD(uint32_t val) in A6XX_SP_HS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD() argument
5670 …return ((val) << A6XX_SP_HS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD__SHIFT) & A6XX_SP_HS_PVT_MEM_PARAM_… in A6XX_SP_HS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD()
5676 static inline uint32_t A6XX_SP_HS_PVT_MEM_ADDR(uint32_t val) in A6XX_SP_HS_PVT_MEM_ADDR() argument
5678 return ((val) << A6XX_SP_HS_PVT_MEM_ADDR__SHIFT) & A6XX_SP_HS_PVT_MEM_ADDR__MASK; in A6XX_SP_HS_PVT_MEM_ADDR()
5684 static inline uint32_t A6XX_SP_HS_PVT_MEM_SIZE_TOTALPVTMEMSIZE(uint32_t val) in A6XX_SP_HS_PVT_MEM_SIZE_TOTALPVTMEMSIZE() argument
5686 …return ((val >> 12) << A6XX_SP_HS_PVT_MEM_SIZE_TOTALPVTMEMSIZE__SHIFT) & A6XX_SP_HS_PVT_MEM_SIZE_T… in A6XX_SP_HS_PVT_MEM_SIZE_TOTALPVTMEMSIZE()
5700 static inline uint32_t A6XX_SP_HS_CONFIG_NTEX(uint32_t val) in A6XX_SP_HS_CONFIG_NTEX() argument
5702 return ((val) << A6XX_SP_HS_CONFIG_NTEX__SHIFT) & A6XX_SP_HS_CONFIG_NTEX__MASK; in A6XX_SP_HS_CONFIG_NTEX()
5706 static inline uint32_t A6XX_SP_HS_CONFIG_NSAMP(uint32_t val) in A6XX_SP_HS_CONFIG_NSAMP() argument
5708 return ((val) << A6XX_SP_HS_CONFIG_NSAMP__SHIFT) & A6XX_SP_HS_CONFIG_NSAMP__MASK; in A6XX_SP_HS_CONFIG_NSAMP()
5712 static inline uint32_t A6XX_SP_HS_CONFIG_NIBO(uint32_t val) in A6XX_SP_HS_CONFIG_NIBO() argument
5714 return ((val) << A6XX_SP_HS_CONFIG_NIBO__SHIFT) & A6XX_SP_HS_CONFIG_NIBO__MASK; in A6XX_SP_HS_CONFIG_NIBO()
5722 static inline uint32_t A6XX_SP_HS_PVT_MEM_HW_STACK_OFFSET_OFFSET(uint32_t val) in A6XX_SP_HS_PVT_MEM_HW_STACK_OFFSET_OFFSET() argument
5724 …return ((val >> 11) << A6XX_SP_HS_PVT_MEM_HW_STACK_OFFSET_OFFSET__SHIFT) & A6XX_SP_HS_PVT_MEM_HW_S… in A6XX_SP_HS_PVT_MEM_HW_STACK_OFFSET_OFFSET()
5731 static inline uint32_t A6XX_SP_DS_CTRL_REG0_THREADMODE(enum a3xx_threadmode val) in A6XX_SP_DS_CTRL_REG0_THREADMODE() argument
5733 return ((val) << A6XX_SP_DS_CTRL_REG0_THREADMODE__SHIFT) & A6XX_SP_DS_CTRL_REG0_THREADMODE__MASK; in A6XX_SP_DS_CTRL_REG0_THREADMODE()
5737 static inline uint32_t A6XX_SP_DS_CTRL_REG0_HALFREGFOOTPRINT(uint32_t val) in A6XX_SP_DS_CTRL_REG0_HALFREGFOOTPRINT() argument
5739 …return ((val) << A6XX_SP_DS_CTRL_REG0_HALFREGFOOTPRINT__SHIFT) & A6XX_SP_DS_CTRL_REG0_HALFREGFOOTP… in A6XX_SP_DS_CTRL_REG0_HALFREGFOOTPRINT()
5743 static inline uint32_t A6XX_SP_DS_CTRL_REG0_FULLREGFOOTPRINT(uint32_t val) in A6XX_SP_DS_CTRL_REG0_FULLREGFOOTPRINT() argument
5745 …return ((val) << A6XX_SP_DS_CTRL_REG0_FULLREGFOOTPRINT__SHIFT) & A6XX_SP_DS_CTRL_REG0_FULLREGFOOTP… in A6XX_SP_DS_CTRL_REG0_FULLREGFOOTPRINT()
5750 static inline uint32_t A6XX_SP_DS_CTRL_REG0_BRANCHSTACK(uint32_t val) in A6XX_SP_DS_CTRL_REG0_BRANCHSTACK() argument
5752 return ((val) << A6XX_SP_DS_CTRL_REG0_BRANCHSTACK__SHIFT) & A6XX_SP_DS_CTRL_REG0_BRANCHSTACK__MASK; in A6XX_SP_DS_CTRL_REG0_BRANCHSTACK()
5760 static inline uint32_t A6XX_SP_DS_PRIMITIVE_CNTL_OUT(uint32_t val) in A6XX_SP_DS_PRIMITIVE_CNTL_OUT() argument
5762 return ((val) << A6XX_SP_DS_PRIMITIVE_CNTL_OUT__SHIFT) & A6XX_SP_DS_PRIMITIVE_CNTL_OUT__MASK; in A6XX_SP_DS_PRIMITIVE_CNTL_OUT()
5766 static inline uint32_t A6XX_SP_DS_PRIMITIVE_CNTL_FLAGS_REGID(uint32_t val) in A6XX_SP_DS_PRIMITIVE_CNTL_FLAGS_REGID() argument
5768 …return ((val) << A6XX_SP_DS_PRIMITIVE_CNTL_FLAGS_REGID__SHIFT) & A6XX_SP_DS_PRIMITIVE_CNTL_FLAGS_R… in A6XX_SP_DS_PRIMITIVE_CNTL_FLAGS_REGID()
5776 static inline uint32_t A6XX_SP_DS_OUT_REG_A_REGID(uint32_t val) in A6XX_SP_DS_OUT_REG_A_REGID() argument
5778 return ((val) << A6XX_SP_DS_OUT_REG_A_REGID__SHIFT) & A6XX_SP_DS_OUT_REG_A_REGID__MASK; in A6XX_SP_DS_OUT_REG_A_REGID()
5782 static inline uint32_t A6XX_SP_DS_OUT_REG_A_COMPMASK(uint32_t val) in A6XX_SP_DS_OUT_REG_A_COMPMASK() argument
5784 return ((val) << A6XX_SP_DS_OUT_REG_A_COMPMASK__SHIFT) & A6XX_SP_DS_OUT_REG_A_COMPMASK__MASK; in A6XX_SP_DS_OUT_REG_A_COMPMASK()
5788 static inline uint32_t A6XX_SP_DS_OUT_REG_B_REGID(uint32_t val) in A6XX_SP_DS_OUT_REG_B_REGID() argument
5790 return ((val) << A6XX_SP_DS_OUT_REG_B_REGID__SHIFT) & A6XX_SP_DS_OUT_REG_B_REGID__MASK; in A6XX_SP_DS_OUT_REG_B_REGID()
5794 static inline uint32_t A6XX_SP_DS_OUT_REG_B_COMPMASK(uint32_t val) in A6XX_SP_DS_OUT_REG_B_COMPMASK() argument
5796 return ((val) << A6XX_SP_DS_OUT_REG_B_COMPMASK__SHIFT) & A6XX_SP_DS_OUT_REG_B_COMPMASK__MASK; in A6XX_SP_DS_OUT_REG_B_COMPMASK()
5804 static inline uint32_t A6XX_SP_DS_VPC_DST_REG_OUTLOC0(uint32_t val) in A6XX_SP_DS_VPC_DST_REG_OUTLOC0() argument
5806 return ((val) << A6XX_SP_DS_VPC_DST_REG_OUTLOC0__SHIFT) & A6XX_SP_DS_VPC_DST_REG_OUTLOC0__MASK; in A6XX_SP_DS_VPC_DST_REG_OUTLOC0()
5810 static inline uint32_t A6XX_SP_DS_VPC_DST_REG_OUTLOC1(uint32_t val) in A6XX_SP_DS_VPC_DST_REG_OUTLOC1() argument
5812 return ((val) << A6XX_SP_DS_VPC_DST_REG_OUTLOC1__SHIFT) & A6XX_SP_DS_VPC_DST_REG_OUTLOC1__MASK; in A6XX_SP_DS_VPC_DST_REG_OUTLOC1()
5816 static inline uint32_t A6XX_SP_DS_VPC_DST_REG_OUTLOC2(uint32_t val) in A6XX_SP_DS_VPC_DST_REG_OUTLOC2() argument
5818 return ((val) << A6XX_SP_DS_VPC_DST_REG_OUTLOC2__SHIFT) & A6XX_SP_DS_VPC_DST_REG_OUTLOC2__MASK; in A6XX_SP_DS_VPC_DST_REG_OUTLOC2()
5822 static inline uint32_t A6XX_SP_DS_VPC_DST_REG_OUTLOC3(uint32_t val) in A6XX_SP_DS_VPC_DST_REG_OUTLOC3() argument
5824 return ((val) << A6XX_SP_DS_VPC_DST_REG_OUTLOC3__SHIFT) & A6XX_SP_DS_VPC_DST_REG_OUTLOC3__MASK; in A6XX_SP_DS_VPC_DST_REG_OUTLOC3()
5832 static inline uint32_t A6XX_SP_DS_OBJ_START(uint32_t val) in A6XX_SP_DS_OBJ_START() argument
5834 return ((val) << A6XX_SP_DS_OBJ_START__SHIFT) & A6XX_SP_DS_OBJ_START__MASK; in A6XX_SP_DS_OBJ_START()
5840 static inline uint32_t A6XX_SP_DS_PVT_MEM_PARAM_MEMSIZEPERITEM(uint32_t val) in A6XX_SP_DS_PVT_MEM_PARAM_MEMSIZEPERITEM() argument
5842 …return ((val >> 9) << A6XX_SP_DS_PVT_MEM_PARAM_MEMSIZEPERITEM__SHIFT) & A6XX_SP_DS_PVT_MEM_PARAM_M… in A6XX_SP_DS_PVT_MEM_PARAM_MEMSIZEPERITEM()
5846 static inline uint32_t A6XX_SP_DS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD(uint32_t val) in A6XX_SP_DS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD() argument
5848 …return ((val) << A6XX_SP_DS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD__SHIFT) & A6XX_SP_DS_PVT_MEM_PARAM_… in A6XX_SP_DS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD()
5854 static inline uint32_t A6XX_SP_DS_PVT_MEM_ADDR(uint32_t val) in A6XX_SP_DS_PVT_MEM_ADDR() argument
5856 return ((val) << A6XX_SP_DS_PVT_MEM_ADDR__SHIFT) & A6XX_SP_DS_PVT_MEM_ADDR__MASK; in A6XX_SP_DS_PVT_MEM_ADDR()
5862 static inline uint32_t A6XX_SP_DS_PVT_MEM_SIZE_TOTALPVTMEMSIZE(uint32_t val) in A6XX_SP_DS_PVT_MEM_SIZE_TOTALPVTMEMSIZE() argument
5864 …return ((val >> 12) << A6XX_SP_DS_PVT_MEM_SIZE_TOTALPVTMEMSIZE__SHIFT) & A6XX_SP_DS_PVT_MEM_SIZE_T… in A6XX_SP_DS_PVT_MEM_SIZE_TOTALPVTMEMSIZE()
5878 static inline uint32_t A6XX_SP_DS_CONFIG_NTEX(uint32_t val) in A6XX_SP_DS_CONFIG_NTEX() argument
5880 return ((val) << A6XX_SP_DS_CONFIG_NTEX__SHIFT) & A6XX_SP_DS_CONFIG_NTEX__MASK; in A6XX_SP_DS_CONFIG_NTEX()
5884 static inline uint32_t A6XX_SP_DS_CONFIG_NSAMP(uint32_t val) in A6XX_SP_DS_CONFIG_NSAMP() argument
5886 return ((val) << A6XX_SP_DS_CONFIG_NSAMP__SHIFT) & A6XX_SP_DS_CONFIG_NSAMP__MASK; in A6XX_SP_DS_CONFIG_NSAMP()
5890 static inline uint32_t A6XX_SP_DS_CONFIG_NIBO(uint32_t val) in A6XX_SP_DS_CONFIG_NIBO() argument
5892 return ((val) << A6XX_SP_DS_CONFIG_NIBO__SHIFT) & A6XX_SP_DS_CONFIG_NIBO__MASK; in A6XX_SP_DS_CONFIG_NIBO()
5900 static inline uint32_t A6XX_SP_DS_PVT_MEM_HW_STACK_OFFSET_OFFSET(uint32_t val) in A6XX_SP_DS_PVT_MEM_HW_STACK_OFFSET_OFFSET() argument
5902 …return ((val >> 11) << A6XX_SP_DS_PVT_MEM_HW_STACK_OFFSET_OFFSET__SHIFT) & A6XX_SP_DS_PVT_MEM_HW_S… in A6XX_SP_DS_PVT_MEM_HW_STACK_OFFSET_OFFSET()
5909 static inline uint32_t A6XX_SP_GS_CTRL_REG0_THREADMODE(enum a3xx_threadmode val) in A6XX_SP_GS_CTRL_REG0_THREADMODE() argument
5911 return ((val) << A6XX_SP_GS_CTRL_REG0_THREADMODE__SHIFT) & A6XX_SP_GS_CTRL_REG0_THREADMODE__MASK; in A6XX_SP_GS_CTRL_REG0_THREADMODE()
5915 static inline uint32_t A6XX_SP_GS_CTRL_REG0_HALFREGFOOTPRINT(uint32_t val) in A6XX_SP_GS_CTRL_REG0_HALFREGFOOTPRINT() argument
5917 …return ((val) << A6XX_SP_GS_CTRL_REG0_HALFREGFOOTPRINT__SHIFT) & A6XX_SP_GS_CTRL_REG0_HALFREGFOOTP… in A6XX_SP_GS_CTRL_REG0_HALFREGFOOTPRINT()
5921 static inline uint32_t A6XX_SP_GS_CTRL_REG0_FULLREGFOOTPRINT(uint32_t val) in A6XX_SP_GS_CTRL_REG0_FULLREGFOOTPRINT() argument
5923 …return ((val) << A6XX_SP_GS_CTRL_REG0_FULLREGFOOTPRINT__SHIFT) & A6XX_SP_GS_CTRL_REG0_FULLREGFOOTP… in A6XX_SP_GS_CTRL_REG0_FULLREGFOOTPRINT()
5928 static inline uint32_t A6XX_SP_GS_CTRL_REG0_BRANCHSTACK(uint32_t val) in A6XX_SP_GS_CTRL_REG0_BRANCHSTACK() argument
5930 return ((val) << A6XX_SP_GS_CTRL_REG0_BRANCHSTACK__SHIFT) & A6XX_SP_GS_CTRL_REG0_BRANCHSTACK__MASK; in A6XX_SP_GS_CTRL_REG0_BRANCHSTACK()
5940 static inline uint32_t A6XX_SP_GS_PRIMITIVE_CNTL_OUT(uint32_t val) in A6XX_SP_GS_PRIMITIVE_CNTL_OUT() argument
5942 return ((val) << A6XX_SP_GS_PRIMITIVE_CNTL_OUT__SHIFT) & A6XX_SP_GS_PRIMITIVE_CNTL_OUT__MASK; in A6XX_SP_GS_PRIMITIVE_CNTL_OUT()
5946 static inline uint32_t A6XX_SP_GS_PRIMITIVE_CNTL_FLAGS_REGID(uint32_t val) in A6XX_SP_GS_PRIMITIVE_CNTL_FLAGS_REGID() argument
5948 …return ((val) << A6XX_SP_GS_PRIMITIVE_CNTL_FLAGS_REGID__SHIFT) & A6XX_SP_GS_PRIMITIVE_CNTL_FLAGS_R… in A6XX_SP_GS_PRIMITIVE_CNTL_FLAGS_REGID()
5956 static inline uint32_t A6XX_SP_GS_OUT_REG_A_REGID(uint32_t val) in A6XX_SP_GS_OUT_REG_A_REGID() argument
5958 return ((val) << A6XX_SP_GS_OUT_REG_A_REGID__SHIFT) & A6XX_SP_GS_OUT_REG_A_REGID__MASK; in A6XX_SP_GS_OUT_REG_A_REGID()
5962 static inline uint32_t A6XX_SP_GS_OUT_REG_A_COMPMASK(uint32_t val) in A6XX_SP_GS_OUT_REG_A_COMPMASK() argument
5964 return ((val) << A6XX_SP_GS_OUT_REG_A_COMPMASK__SHIFT) & A6XX_SP_GS_OUT_REG_A_COMPMASK__MASK; in A6XX_SP_GS_OUT_REG_A_COMPMASK()
5968 static inline uint32_t A6XX_SP_GS_OUT_REG_B_REGID(uint32_t val) in A6XX_SP_GS_OUT_REG_B_REGID() argument
5970 return ((val) << A6XX_SP_GS_OUT_REG_B_REGID__SHIFT) & A6XX_SP_GS_OUT_REG_B_REGID__MASK; in A6XX_SP_GS_OUT_REG_B_REGID()
5974 static inline uint32_t A6XX_SP_GS_OUT_REG_B_COMPMASK(uint32_t val) in A6XX_SP_GS_OUT_REG_B_COMPMASK() argument
5976 return ((val) << A6XX_SP_GS_OUT_REG_B_COMPMASK__SHIFT) & A6XX_SP_GS_OUT_REG_B_COMPMASK__MASK; in A6XX_SP_GS_OUT_REG_B_COMPMASK()
5984 static inline uint32_t A6XX_SP_GS_VPC_DST_REG_OUTLOC0(uint32_t val) in A6XX_SP_GS_VPC_DST_REG_OUTLOC0() argument
5986 return ((val) << A6XX_SP_GS_VPC_DST_REG_OUTLOC0__SHIFT) & A6XX_SP_GS_VPC_DST_REG_OUTLOC0__MASK; in A6XX_SP_GS_VPC_DST_REG_OUTLOC0()
5990 static inline uint32_t A6XX_SP_GS_VPC_DST_REG_OUTLOC1(uint32_t val) in A6XX_SP_GS_VPC_DST_REG_OUTLOC1() argument
5992 return ((val) << A6XX_SP_GS_VPC_DST_REG_OUTLOC1__SHIFT) & A6XX_SP_GS_VPC_DST_REG_OUTLOC1__MASK; in A6XX_SP_GS_VPC_DST_REG_OUTLOC1()
5996 static inline uint32_t A6XX_SP_GS_VPC_DST_REG_OUTLOC2(uint32_t val) in A6XX_SP_GS_VPC_DST_REG_OUTLOC2() argument
5998 return ((val) << A6XX_SP_GS_VPC_DST_REG_OUTLOC2__SHIFT) & A6XX_SP_GS_VPC_DST_REG_OUTLOC2__MASK; in A6XX_SP_GS_VPC_DST_REG_OUTLOC2()
6002 static inline uint32_t A6XX_SP_GS_VPC_DST_REG_OUTLOC3(uint32_t val) in A6XX_SP_GS_VPC_DST_REG_OUTLOC3() argument
6004 return ((val) << A6XX_SP_GS_VPC_DST_REG_OUTLOC3__SHIFT) & A6XX_SP_GS_VPC_DST_REG_OUTLOC3__MASK; in A6XX_SP_GS_VPC_DST_REG_OUTLOC3()
6012 static inline uint32_t A6XX_SP_GS_OBJ_START(uint32_t val) in A6XX_SP_GS_OBJ_START() argument
6014 return ((val) << A6XX_SP_GS_OBJ_START__SHIFT) & A6XX_SP_GS_OBJ_START__MASK; in A6XX_SP_GS_OBJ_START()
6020 static inline uint32_t A6XX_SP_GS_PVT_MEM_PARAM_MEMSIZEPERITEM(uint32_t val) in A6XX_SP_GS_PVT_MEM_PARAM_MEMSIZEPERITEM() argument
6022 …return ((val >> 9) << A6XX_SP_GS_PVT_MEM_PARAM_MEMSIZEPERITEM__SHIFT) & A6XX_SP_GS_PVT_MEM_PARAM_M… in A6XX_SP_GS_PVT_MEM_PARAM_MEMSIZEPERITEM()
6026 static inline uint32_t A6XX_SP_GS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD(uint32_t val) in A6XX_SP_GS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD() argument
6028 …return ((val) << A6XX_SP_GS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD__SHIFT) & A6XX_SP_GS_PVT_MEM_PARAM_… in A6XX_SP_GS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD()
6034 static inline uint32_t A6XX_SP_GS_PVT_MEM_ADDR(uint32_t val) in A6XX_SP_GS_PVT_MEM_ADDR() argument
6036 return ((val) << A6XX_SP_GS_PVT_MEM_ADDR__SHIFT) & A6XX_SP_GS_PVT_MEM_ADDR__MASK; in A6XX_SP_GS_PVT_MEM_ADDR()
6042 static inline uint32_t A6XX_SP_GS_PVT_MEM_SIZE_TOTALPVTMEMSIZE(uint32_t val) in A6XX_SP_GS_PVT_MEM_SIZE_TOTALPVTMEMSIZE() argument
6044 …return ((val >> 12) << A6XX_SP_GS_PVT_MEM_SIZE_TOTALPVTMEMSIZE__SHIFT) & A6XX_SP_GS_PVT_MEM_SIZE_T… in A6XX_SP_GS_PVT_MEM_SIZE_TOTALPVTMEMSIZE()
6058 static inline uint32_t A6XX_SP_GS_CONFIG_NTEX(uint32_t val) in A6XX_SP_GS_CONFIG_NTEX() argument
6060 return ((val) << A6XX_SP_GS_CONFIG_NTEX__SHIFT) & A6XX_SP_GS_CONFIG_NTEX__MASK; in A6XX_SP_GS_CONFIG_NTEX()
6064 static inline uint32_t A6XX_SP_GS_CONFIG_NSAMP(uint32_t val) in A6XX_SP_GS_CONFIG_NSAMP() argument
6066 return ((val) << A6XX_SP_GS_CONFIG_NSAMP__SHIFT) & A6XX_SP_GS_CONFIG_NSAMP__MASK; in A6XX_SP_GS_CONFIG_NSAMP()
6070 static inline uint32_t A6XX_SP_GS_CONFIG_NIBO(uint32_t val) in A6XX_SP_GS_CONFIG_NIBO() argument
6072 return ((val) << A6XX_SP_GS_CONFIG_NIBO__SHIFT) & A6XX_SP_GS_CONFIG_NIBO__MASK; in A6XX_SP_GS_CONFIG_NIBO()
6080 static inline uint32_t A6XX_SP_GS_PVT_MEM_HW_STACK_OFFSET_OFFSET(uint32_t val) in A6XX_SP_GS_PVT_MEM_HW_STACK_OFFSET_OFFSET() argument
6082 …return ((val >> 11) << A6XX_SP_GS_PVT_MEM_HW_STACK_OFFSET_OFFSET__SHIFT) & A6XX_SP_GS_PVT_MEM_HW_S… in A6XX_SP_GS_PVT_MEM_HW_STACK_OFFSET_OFFSET()
6088 static inline uint32_t A6XX_SP_VS_TEX_SAMP(uint32_t val) in A6XX_SP_VS_TEX_SAMP() argument
6090 return ((val) << A6XX_SP_VS_TEX_SAMP__SHIFT) & A6XX_SP_VS_TEX_SAMP__MASK; in A6XX_SP_VS_TEX_SAMP()
6096 static inline uint32_t A6XX_SP_HS_TEX_SAMP(uint32_t val) in A6XX_SP_HS_TEX_SAMP() argument
6098 return ((val) << A6XX_SP_HS_TEX_SAMP__SHIFT) & A6XX_SP_HS_TEX_SAMP__MASK; in A6XX_SP_HS_TEX_SAMP()
6104 static inline uint32_t A6XX_SP_DS_TEX_SAMP(uint32_t val) in A6XX_SP_DS_TEX_SAMP() argument
6106 return ((val) << A6XX_SP_DS_TEX_SAMP__SHIFT) & A6XX_SP_DS_TEX_SAMP__MASK; in A6XX_SP_DS_TEX_SAMP()
6112 static inline uint32_t A6XX_SP_GS_TEX_SAMP(uint32_t val) in A6XX_SP_GS_TEX_SAMP() argument
6114 return ((val) << A6XX_SP_GS_TEX_SAMP__SHIFT) & A6XX_SP_GS_TEX_SAMP__MASK; in A6XX_SP_GS_TEX_SAMP()
6120 static inline uint32_t A6XX_SP_VS_TEX_CONST(uint32_t val) in A6XX_SP_VS_TEX_CONST() argument
6122 return ((val) << A6XX_SP_VS_TEX_CONST__SHIFT) & A6XX_SP_VS_TEX_CONST__MASK; in A6XX_SP_VS_TEX_CONST()
6128 static inline uint32_t A6XX_SP_HS_TEX_CONST(uint32_t val) in A6XX_SP_HS_TEX_CONST() argument
6130 return ((val) << A6XX_SP_HS_TEX_CONST__SHIFT) & A6XX_SP_HS_TEX_CONST__MASK; in A6XX_SP_HS_TEX_CONST()
6136 static inline uint32_t A6XX_SP_DS_TEX_CONST(uint32_t val) in A6XX_SP_DS_TEX_CONST() argument
6138 return ((val) << A6XX_SP_DS_TEX_CONST__SHIFT) & A6XX_SP_DS_TEX_CONST__MASK; in A6XX_SP_DS_TEX_CONST()
6144 static inline uint32_t A6XX_SP_GS_TEX_CONST(uint32_t val) in A6XX_SP_GS_TEX_CONST() argument
6146 return ((val) << A6XX_SP_GS_TEX_CONST__SHIFT) & A6XX_SP_GS_TEX_CONST__MASK; in A6XX_SP_GS_TEX_CONST()
6152 static inline uint32_t A6XX_SP_FS_CTRL_REG0_THREADSIZE(enum a6xx_threadsize val) in A6XX_SP_FS_CTRL_REG0_THREADSIZE() argument
6154 return ((val) << A6XX_SP_FS_CTRL_REG0_THREADSIZE__SHIFT) & A6XX_SP_FS_CTRL_REG0_THREADSIZE__MASK; in A6XX_SP_FS_CTRL_REG0_THREADSIZE()
6167 static inline uint32_t A6XX_SP_FS_CTRL_REG0_THREADMODE(enum a3xx_threadmode val) in A6XX_SP_FS_CTRL_REG0_THREADMODE() argument
6169 return ((val) << A6XX_SP_FS_CTRL_REG0_THREADMODE__SHIFT) & A6XX_SP_FS_CTRL_REG0_THREADMODE__MASK; in A6XX_SP_FS_CTRL_REG0_THREADMODE()
6173 static inline uint32_t A6XX_SP_FS_CTRL_REG0_HALFREGFOOTPRINT(uint32_t val) in A6XX_SP_FS_CTRL_REG0_HALFREGFOOTPRINT() argument
6175 …return ((val) << A6XX_SP_FS_CTRL_REG0_HALFREGFOOTPRINT__SHIFT) & A6XX_SP_FS_CTRL_REG0_HALFREGFOOTP… in A6XX_SP_FS_CTRL_REG0_HALFREGFOOTPRINT()
6179 static inline uint32_t A6XX_SP_FS_CTRL_REG0_FULLREGFOOTPRINT(uint32_t val) in A6XX_SP_FS_CTRL_REG0_FULLREGFOOTPRINT() argument
6181 …return ((val) << A6XX_SP_FS_CTRL_REG0_FULLREGFOOTPRINT__SHIFT) & A6XX_SP_FS_CTRL_REG0_FULLREGFOOTP… in A6XX_SP_FS_CTRL_REG0_FULLREGFOOTPRINT()
6186 static inline uint32_t A6XX_SP_FS_CTRL_REG0_BRANCHSTACK(uint32_t val) in A6XX_SP_FS_CTRL_REG0_BRANCHSTACK() argument
6188 return ((val) << A6XX_SP_FS_CTRL_REG0_BRANCHSTACK__SHIFT) & A6XX_SP_FS_CTRL_REG0_BRANCHSTACK__MASK; in A6XX_SP_FS_CTRL_REG0_BRANCHSTACK()
6198 static inline uint32_t A6XX_SP_FS_OBJ_START(uint32_t val) in A6XX_SP_FS_OBJ_START() argument
6200 return ((val) << A6XX_SP_FS_OBJ_START__SHIFT) & A6XX_SP_FS_OBJ_START__MASK; in A6XX_SP_FS_OBJ_START()
6206 static inline uint32_t A6XX_SP_FS_PVT_MEM_PARAM_MEMSIZEPERITEM(uint32_t val) in A6XX_SP_FS_PVT_MEM_PARAM_MEMSIZEPERITEM() argument
6208 …return ((val >> 9) << A6XX_SP_FS_PVT_MEM_PARAM_MEMSIZEPERITEM__SHIFT) & A6XX_SP_FS_PVT_MEM_PARAM_M… in A6XX_SP_FS_PVT_MEM_PARAM_MEMSIZEPERITEM()
6212 static inline uint32_t A6XX_SP_FS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD(uint32_t val) in A6XX_SP_FS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD() argument
6214 …return ((val) << A6XX_SP_FS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD__SHIFT) & A6XX_SP_FS_PVT_MEM_PARAM_… in A6XX_SP_FS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD()
6220 static inline uint32_t A6XX_SP_FS_PVT_MEM_ADDR(uint32_t val) in A6XX_SP_FS_PVT_MEM_ADDR() argument
6222 return ((val) << A6XX_SP_FS_PVT_MEM_ADDR__SHIFT) & A6XX_SP_FS_PVT_MEM_ADDR__MASK; in A6XX_SP_FS_PVT_MEM_ADDR()
6228 static inline uint32_t A6XX_SP_FS_PVT_MEM_SIZE_TOTALPVTMEMSIZE(uint32_t val) in A6XX_SP_FS_PVT_MEM_SIZE_TOTALPVTMEMSIZE() argument
6230 …return ((val >> 12) << A6XX_SP_FS_PVT_MEM_SIZE_TOTALPVTMEMSIZE__SHIFT) & A6XX_SP_FS_PVT_MEM_SIZE_T… in A6XX_SP_FS_PVT_MEM_SIZE_TOTALPVTMEMSIZE()
6237 static inline uint32_t A6XX_SP_BLEND_CNTL_ENABLE_BLEND(uint32_t val) in A6XX_SP_BLEND_CNTL_ENABLE_BLEND() argument
6239 return ((val) << A6XX_SP_BLEND_CNTL_ENABLE_BLEND__SHIFT) & A6XX_SP_BLEND_CNTL_ENABLE_BLEND__MASK; in A6XX_SP_BLEND_CNTL_ENABLE_BLEND()
6258 static inline uint32_t A6XX_SP_FS_RENDER_COMPONENTS_RT0(uint32_t val) in A6XX_SP_FS_RENDER_COMPONENTS_RT0() argument
6260 return ((val) << A6XX_SP_FS_RENDER_COMPONENTS_RT0__SHIFT) & A6XX_SP_FS_RENDER_COMPONENTS_RT0__MASK; in A6XX_SP_FS_RENDER_COMPONENTS_RT0()
6264 static inline uint32_t A6XX_SP_FS_RENDER_COMPONENTS_RT1(uint32_t val) in A6XX_SP_FS_RENDER_COMPONENTS_RT1() argument
6266 return ((val) << A6XX_SP_FS_RENDER_COMPONENTS_RT1__SHIFT) & A6XX_SP_FS_RENDER_COMPONENTS_RT1__MASK; in A6XX_SP_FS_RENDER_COMPONENTS_RT1()
6270 static inline uint32_t A6XX_SP_FS_RENDER_COMPONENTS_RT2(uint32_t val) in A6XX_SP_FS_RENDER_COMPONENTS_RT2() argument
6272 return ((val) << A6XX_SP_FS_RENDER_COMPONENTS_RT2__SHIFT) & A6XX_SP_FS_RENDER_COMPONENTS_RT2__MASK; in A6XX_SP_FS_RENDER_COMPONENTS_RT2()
6276 static inline uint32_t A6XX_SP_FS_RENDER_COMPONENTS_RT3(uint32_t val) in A6XX_SP_FS_RENDER_COMPONENTS_RT3() argument
6278 return ((val) << A6XX_SP_FS_RENDER_COMPONENTS_RT3__SHIFT) & A6XX_SP_FS_RENDER_COMPONENTS_RT3__MASK; in A6XX_SP_FS_RENDER_COMPONENTS_RT3()
6282 static inline uint32_t A6XX_SP_FS_RENDER_COMPONENTS_RT4(uint32_t val) in A6XX_SP_FS_RENDER_COMPONENTS_RT4() argument
6284 return ((val) << A6XX_SP_FS_RENDER_COMPONENTS_RT4__SHIFT) & A6XX_SP_FS_RENDER_COMPONENTS_RT4__MASK; in A6XX_SP_FS_RENDER_COMPONENTS_RT4()
6288 static inline uint32_t A6XX_SP_FS_RENDER_COMPONENTS_RT5(uint32_t val) in A6XX_SP_FS_RENDER_COMPONENTS_RT5() argument
6290 return ((val) << A6XX_SP_FS_RENDER_COMPONENTS_RT5__SHIFT) & A6XX_SP_FS_RENDER_COMPONENTS_RT5__MASK; in A6XX_SP_FS_RENDER_COMPONENTS_RT5()
6294 static inline uint32_t A6XX_SP_FS_RENDER_COMPONENTS_RT6(uint32_t val) in A6XX_SP_FS_RENDER_COMPONENTS_RT6() argument
6296 return ((val) << A6XX_SP_FS_RENDER_COMPONENTS_RT6__SHIFT) & A6XX_SP_FS_RENDER_COMPONENTS_RT6__MASK; in A6XX_SP_FS_RENDER_COMPONENTS_RT6()
6300 static inline uint32_t A6XX_SP_FS_RENDER_COMPONENTS_RT7(uint32_t val) in A6XX_SP_FS_RENDER_COMPONENTS_RT7() argument
6302 return ((val) << A6XX_SP_FS_RENDER_COMPONENTS_RT7__SHIFT) & A6XX_SP_FS_RENDER_COMPONENTS_RT7__MASK; in A6XX_SP_FS_RENDER_COMPONENTS_RT7()
6309 static inline uint32_t A6XX_SP_FS_OUTPUT_CNTL0_DEPTH_REGID(uint32_t val) in A6XX_SP_FS_OUTPUT_CNTL0_DEPTH_REGID() argument
6311 …return ((val) << A6XX_SP_FS_OUTPUT_CNTL0_DEPTH_REGID__SHIFT) & A6XX_SP_FS_OUTPUT_CNTL0_DEPTH_REGID… in A6XX_SP_FS_OUTPUT_CNTL0_DEPTH_REGID()
6315 static inline uint32_t A6XX_SP_FS_OUTPUT_CNTL0_SAMPMASK_REGID(uint32_t val) in A6XX_SP_FS_OUTPUT_CNTL0_SAMPMASK_REGID() argument
6317 …return ((val) << A6XX_SP_FS_OUTPUT_CNTL0_SAMPMASK_REGID__SHIFT) & A6XX_SP_FS_OUTPUT_CNTL0_SAMPMASK… in A6XX_SP_FS_OUTPUT_CNTL0_SAMPMASK_REGID()
6321 static inline uint32_t A6XX_SP_FS_OUTPUT_CNTL0_STENCILREF_REGID(uint32_t val) in A6XX_SP_FS_OUTPUT_CNTL0_STENCILREF_REGID() argument
6323 …return ((val) << A6XX_SP_FS_OUTPUT_CNTL0_STENCILREF_REGID__SHIFT) & A6XX_SP_FS_OUTPUT_CNTL0_STENCI… in A6XX_SP_FS_OUTPUT_CNTL0_STENCILREF_REGID()
6329 static inline uint32_t A6XX_SP_FS_OUTPUT_CNTL1_MRT(uint32_t val) in A6XX_SP_FS_OUTPUT_CNTL1_MRT() argument
6331 return ((val) << A6XX_SP_FS_OUTPUT_CNTL1_MRT__SHIFT) & A6XX_SP_FS_OUTPUT_CNTL1_MRT__MASK; in A6XX_SP_FS_OUTPUT_CNTL1_MRT()
6339 static inline uint32_t A6XX_SP_FS_OUTPUT_REG_REGID(uint32_t val) in A6XX_SP_FS_OUTPUT_REG_REGID() argument
6341 return ((val) << A6XX_SP_FS_OUTPUT_REG_REGID__SHIFT) & A6XX_SP_FS_OUTPUT_REG_REGID__MASK; in A6XX_SP_FS_OUTPUT_REG_REGID()
6350 static inline uint32_t A6XX_SP_FS_MRT_REG_COLOR_FORMAT(enum a6xx_format val) in A6XX_SP_FS_MRT_REG_COLOR_FORMAT() argument
6352 return ((val) << A6XX_SP_FS_MRT_REG_COLOR_FORMAT__SHIFT) & A6XX_SP_FS_MRT_REG_COLOR_FORMAT__MASK; in A6XX_SP_FS_MRT_REG_COLOR_FORMAT()
6361 static inline uint32_t A6XX_SP_FS_PREFETCH_CNTL_COUNT(uint32_t val) in A6XX_SP_FS_PREFETCH_CNTL_COUNT() argument
6363 return ((val) << A6XX_SP_FS_PREFETCH_CNTL_COUNT__SHIFT) & A6XX_SP_FS_PREFETCH_CNTL_COUNT__MASK; in A6XX_SP_FS_PREFETCH_CNTL_COUNT()
6370 static inline uint32_t A6XX_SP_FS_PREFETCH_CNTL_UNK6(uint32_t val) in A6XX_SP_FS_PREFETCH_CNTL_UNK6() argument
6372 return ((val) << A6XX_SP_FS_PREFETCH_CNTL_UNK6__SHIFT) & A6XX_SP_FS_PREFETCH_CNTL_UNK6__MASK; in A6XX_SP_FS_PREFETCH_CNTL_UNK6()
6380 static inline uint32_t A6XX_SP_FS_PREFETCH_CMD_SRC(uint32_t val) in A6XX_SP_FS_PREFETCH_CMD_SRC() argument
6382 return ((val) << A6XX_SP_FS_PREFETCH_CMD_SRC__SHIFT) & A6XX_SP_FS_PREFETCH_CMD_SRC__MASK; in A6XX_SP_FS_PREFETCH_CMD_SRC()
6386 static inline uint32_t A6XX_SP_FS_PREFETCH_CMD_SAMP_ID(uint32_t val) in A6XX_SP_FS_PREFETCH_CMD_SAMP_ID() argument
6388 return ((val) << A6XX_SP_FS_PREFETCH_CMD_SAMP_ID__SHIFT) & A6XX_SP_FS_PREFETCH_CMD_SAMP_ID__MASK; in A6XX_SP_FS_PREFETCH_CMD_SAMP_ID()
6392 static inline uint32_t A6XX_SP_FS_PREFETCH_CMD_TEX_ID(uint32_t val) in A6XX_SP_FS_PREFETCH_CMD_TEX_ID() argument
6394 return ((val) << A6XX_SP_FS_PREFETCH_CMD_TEX_ID__SHIFT) & A6XX_SP_FS_PREFETCH_CMD_TEX_ID__MASK; in A6XX_SP_FS_PREFETCH_CMD_TEX_ID()
6398 static inline uint32_t A6XX_SP_FS_PREFETCH_CMD_DST(uint32_t val) in A6XX_SP_FS_PREFETCH_CMD_DST() argument
6400 return ((val) << A6XX_SP_FS_PREFETCH_CMD_DST__SHIFT) & A6XX_SP_FS_PREFETCH_CMD_DST__MASK; in A6XX_SP_FS_PREFETCH_CMD_DST()
6404 static inline uint32_t A6XX_SP_FS_PREFETCH_CMD_WRMASK(uint32_t val) in A6XX_SP_FS_PREFETCH_CMD_WRMASK() argument
6406 return ((val) << A6XX_SP_FS_PREFETCH_CMD_WRMASK__SHIFT) & A6XX_SP_FS_PREFETCH_CMD_WRMASK__MASK; in A6XX_SP_FS_PREFETCH_CMD_WRMASK()
6413 static inline uint32_t A6XX_SP_FS_PREFETCH_CMD_CMD(enum a6xx_tex_prefetch_cmd val) in A6XX_SP_FS_PREFETCH_CMD_CMD() argument
6415 return ((val) << A6XX_SP_FS_PREFETCH_CMD_CMD__SHIFT) & A6XX_SP_FS_PREFETCH_CMD_CMD__MASK; in A6XX_SP_FS_PREFETCH_CMD_CMD()
6423 static inline uint32_t A6XX_SP_FS_BINDLESS_PREFETCH_CMD_SAMP_ID(uint32_t val) in A6XX_SP_FS_BINDLESS_PREFETCH_CMD_SAMP_ID() argument
6425 …return ((val) << A6XX_SP_FS_BINDLESS_PREFETCH_CMD_SAMP_ID__SHIFT) & A6XX_SP_FS_BINDLESS_PREFETCH_C… in A6XX_SP_FS_BINDLESS_PREFETCH_CMD_SAMP_ID()
6429 static inline uint32_t A6XX_SP_FS_BINDLESS_PREFETCH_CMD_TEX_ID(uint32_t val) in A6XX_SP_FS_BINDLESS_PREFETCH_CMD_TEX_ID() argument
6431 …return ((val) << A6XX_SP_FS_BINDLESS_PREFETCH_CMD_TEX_ID__SHIFT) & A6XX_SP_FS_BINDLESS_PREFETCH_CM… in A6XX_SP_FS_BINDLESS_PREFETCH_CMD_TEX_ID()
6441 static inline uint32_t A6XX_SP_FS_PVT_MEM_HW_STACK_OFFSET_OFFSET(uint32_t val) in A6XX_SP_FS_PVT_MEM_HW_STACK_OFFSET_OFFSET() argument
6443 …return ((val >> 11) << A6XX_SP_FS_PVT_MEM_HW_STACK_OFFSET_OFFSET__SHIFT) & A6XX_SP_FS_PVT_MEM_HW_S… in A6XX_SP_FS_PVT_MEM_HW_STACK_OFFSET_OFFSET()
6449 static inline uint32_t A6XX_SP_CS_CTRL_REG0_THREADSIZE(enum a6xx_threadsize val) in A6XX_SP_CS_CTRL_REG0_THREADSIZE() argument
6451 return ((val) << A6XX_SP_CS_CTRL_REG0_THREADSIZE__SHIFT) & A6XX_SP_CS_CTRL_REG0_THREADSIZE__MASK; in A6XX_SP_CS_CTRL_REG0_THREADSIZE()
6459 static inline uint32_t A6XX_SP_CS_CTRL_REG0_THREADMODE(enum a3xx_threadmode val) in A6XX_SP_CS_CTRL_REG0_THREADMODE() argument
6461 return ((val) << A6XX_SP_CS_CTRL_REG0_THREADMODE__SHIFT) & A6XX_SP_CS_CTRL_REG0_THREADMODE__MASK; in A6XX_SP_CS_CTRL_REG0_THREADMODE()
6465 static inline uint32_t A6XX_SP_CS_CTRL_REG0_HALFREGFOOTPRINT(uint32_t val) in A6XX_SP_CS_CTRL_REG0_HALFREGFOOTPRINT() argument
6467 …return ((val) << A6XX_SP_CS_CTRL_REG0_HALFREGFOOTPRINT__SHIFT) & A6XX_SP_CS_CTRL_REG0_HALFREGFOOTP… in A6XX_SP_CS_CTRL_REG0_HALFREGFOOTPRINT()
6471 static inline uint32_t A6XX_SP_CS_CTRL_REG0_FULLREGFOOTPRINT(uint32_t val) in A6XX_SP_CS_CTRL_REG0_FULLREGFOOTPRINT() argument
6473 …return ((val) << A6XX_SP_CS_CTRL_REG0_FULLREGFOOTPRINT__SHIFT) & A6XX_SP_CS_CTRL_REG0_FULLREGFOOTP… in A6XX_SP_CS_CTRL_REG0_FULLREGFOOTPRINT()
6478 static inline uint32_t A6XX_SP_CS_CTRL_REG0_BRANCHSTACK(uint32_t val) in A6XX_SP_CS_CTRL_REG0_BRANCHSTACK() argument
6480 return ((val) << A6XX_SP_CS_CTRL_REG0_BRANCHSTACK__SHIFT) & A6XX_SP_CS_CTRL_REG0_BRANCHSTACK__MASK; in A6XX_SP_CS_CTRL_REG0_BRANCHSTACK()
6486 static inline uint32_t A6XX_SP_CS_UNKNOWN_A9B1_SHARED_SIZE(uint32_t val) in A6XX_SP_CS_UNKNOWN_A9B1_SHARED_SIZE() argument
6488 …return ((val) << A6XX_SP_CS_UNKNOWN_A9B1_SHARED_SIZE__SHIFT) & A6XX_SP_CS_UNKNOWN_A9B1_SHARED_SIZE… in A6XX_SP_CS_UNKNOWN_A9B1_SHARED_SIZE()
6500 static inline uint32_t A6XX_SP_CS_OBJ_START(uint32_t val) in A6XX_SP_CS_OBJ_START() argument
6502 return ((val) << A6XX_SP_CS_OBJ_START__SHIFT) & A6XX_SP_CS_OBJ_START__MASK; in A6XX_SP_CS_OBJ_START()
6508 static inline uint32_t A6XX_SP_CS_PVT_MEM_PARAM_MEMSIZEPERITEM(uint32_t val) in A6XX_SP_CS_PVT_MEM_PARAM_MEMSIZEPERITEM() argument
6510 …return ((val >> 9) << A6XX_SP_CS_PVT_MEM_PARAM_MEMSIZEPERITEM__SHIFT) & A6XX_SP_CS_PVT_MEM_PARAM_M… in A6XX_SP_CS_PVT_MEM_PARAM_MEMSIZEPERITEM()
6514 static inline uint32_t A6XX_SP_CS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD(uint32_t val) in A6XX_SP_CS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD() argument
6516 …return ((val) << A6XX_SP_CS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD__SHIFT) & A6XX_SP_CS_PVT_MEM_PARAM_… in A6XX_SP_CS_PVT_MEM_PARAM_HWSTACKSIZEPERTHREAD()
6522 static inline uint32_t A6XX_SP_CS_PVT_MEM_ADDR(uint32_t val) in A6XX_SP_CS_PVT_MEM_ADDR() argument
6524 return ((val) << A6XX_SP_CS_PVT_MEM_ADDR__SHIFT) & A6XX_SP_CS_PVT_MEM_ADDR__MASK; in A6XX_SP_CS_PVT_MEM_ADDR()
6530 static inline uint32_t A6XX_SP_CS_PVT_MEM_SIZE_TOTALPVTMEMSIZE(uint32_t val) in A6XX_SP_CS_PVT_MEM_SIZE_TOTALPVTMEMSIZE() argument
6532 …return ((val >> 12) << A6XX_SP_CS_PVT_MEM_SIZE_TOTALPVTMEMSIZE__SHIFT) & A6XX_SP_CS_PVT_MEM_SIZE_T… in A6XX_SP_CS_PVT_MEM_SIZE_TOTALPVTMEMSIZE()
6546 static inline uint32_t A6XX_SP_CS_CONFIG_NTEX(uint32_t val) in A6XX_SP_CS_CONFIG_NTEX() argument
6548 return ((val) << A6XX_SP_CS_CONFIG_NTEX__SHIFT) & A6XX_SP_CS_CONFIG_NTEX__MASK; in A6XX_SP_CS_CONFIG_NTEX()
6552 static inline uint32_t A6XX_SP_CS_CONFIG_NSAMP(uint32_t val) in A6XX_SP_CS_CONFIG_NSAMP() argument
6554 return ((val) << A6XX_SP_CS_CONFIG_NSAMP__SHIFT) & A6XX_SP_CS_CONFIG_NSAMP__MASK; in A6XX_SP_CS_CONFIG_NSAMP()
6558 static inline uint32_t A6XX_SP_CS_CONFIG_NIBO(uint32_t val) in A6XX_SP_CS_CONFIG_NIBO() argument
6560 return ((val) << A6XX_SP_CS_CONFIG_NIBO__SHIFT) & A6XX_SP_CS_CONFIG_NIBO__MASK; in A6XX_SP_CS_CONFIG_NIBO()
6568 static inline uint32_t A6XX_SP_CS_PVT_MEM_HW_STACK_OFFSET_OFFSET(uint32_t val) in A6XX_SP_CS_PVT_MEM_HW_STACK_OFFSET_OFFSET() argument
6570 …return ((val >> 11) << A6XX_SP_CS_PVT_MEM_HW_STACK_OFFSET_OFFSET__SHIFT) & A6XX_SP_CS_PVT_MEM_HW_S… in A6XX_SP_CS_PVT_MEM_HW_STACK_OFFSET_OFFSET()
6576 static inline uint32_t A6XX_SP_CS_CNTL_0_WGIDCONSTID(uint32_t val) in A6XX_SP_CS_CNTL_0_WGIDCONSTID() argument
6578 return ((val) << A6XX_SP_CS_CNTL_0_WGIDCONSTID__SHIFT) & A6XX_SP_CS_CNTL_0_WGIDCONSTID__MASK; in A6XX_SP_CS_CNTL_0_WGIDCONSTID()
6582 static inline uint32_t A6XX_SP_CS_CNTL_0_WGSIZECONSTID(uint32_t val) in A6XX_SP_CS_CNTL_0_WGSIZECONSTID() argument
6584 return ((val) << A6XX_SP_CS_CNTL_0_WGSIZECONSTID__SHIFT) & A6XX_SP_CS_CNTL_0_WGSIZECONSTID__MASK; in A6XX_SP_CS_CNTL_0_WGSIZECONSTID()
6588 static inline uint32_t A6XX_SP_CS_CNTL_0_WGOFFSETCONSTID(uint32_t val) in A6XX_SP_CS_CNTL_0_WGOFFSETCONSTID() argument
6590 …return ((val) << A6XX_SP_CS_CNTL_0_WGOFFSETCONSTID__SHIFT) & A6XX_SP_CS_CNTL_0_WGOFFSETCONSTID__MA… in A6XX_SP_CS_CNTL_0_WGOFFSETCONSTID()
6594 static inline uint32_t A6XX_SP_CS_CNTL_0_LOCALIDREGID(uint32_t val) in A6XX_SP_CS_CNTL_0_LOCALIDREGID() argument
6596 return ((val) << A6XX_SP_CS_CNTL_0_LOCALIDREGID__SHIFT) & A6XX_SP_CS_CNTL_0_LOCALIDREGID__MASK; in A6XX_SP_CS_CNTL_0_LOCALIDREGID()
6602 static inline uint32_t A6XX_SP_CS_CNTL_1_LINEARLOCALIDREGID(uint32_t val) in A6XX_SP_CS_CNTL_1_LINEARLOCALIDREGID() argument
6604 …return ((val) << A6XX_SP_CS_CNTL_1_LINEARLOCALIDREGID__SHIFT) & A6XX_SP_CS_CNTL_1_LINEARLOCALIDREG… in A6XX_SP_CS_CNTL_1_LINEARLOCALIDREGID()
6609 static inline uint32_t A6XX_SP_CS_CNTL_1_THREADSIZE(enum a6xx_threadsize val) in A6XX_SP_CS_CNTL_1_THREADSIZE() argument
6611 return ((val) << A6XX_SP_CS_CNTL_1_THREADSIZE__SHIFT) & A6XX_SP_CS_CNTL_1_THREADSIZE__MASK; in A6XX_SP_CS_CNTL_1_THREADSIZE()
6618 static inline uint32_t A6XX_SP_FS_TEX_SAMP(uint32_t val) in A6XX_SP_FS_TEX_SAMP() argument
6620 return ((val) << A6XX_SP_FS_TEX_SAMP__SHIFT) & A6XX_SP_FS_TEX_SAMP__MASK; in A6XX_SP_FS_TEX_SAMP()
6626 static inline uint32_t A6XX_SP_CS_TEX_SAMP(uint32_t val) in A6XX_SP_CS_TEX_SAMP() argument
6628 return ((val) << A6XX_SP_CS_TEX_SAMP__SHIFT) & A6XX_SP_CS_TEX_SAMP__MASK; in A6XX_SP_CS_TEX_SAMP()
6634 static inline uint32_t A6XX_SP_FS_TEX_CONST(uint32_t val) in A6XX_SP_FS_TEX_CONST() argument
6636 return ((val) << A6XX_SP_FS_TEX_CONST__SHIFT) & A6XX_SP_FS_TEX_CONST__MASK; in A6XX_SP_FS_TEX_CONST()
6642 static inline uint32_t A6XX_SP_CS_TEX_CONST(uint32_t val) in A6XX_SP_CS_TEX_CONST() argument
6644 return ((val) << A6XX_SP_CS_TEX_CONST__SHIFT) & A6XX_SP_CS_TEX_CONST__MASK; in A6XX_SP_CS_TEX_CONST()
6652 …line uint32_t A6XX_SP_CS_BINDLESS_BASE_DESCRIPTOR_DESC_SIZE(enum a6xx_bindless_descriptor_size val) in A6XX_SP_CS_BINDLESS_BASE_DESCRIPTOR_DESC_SIZE() argument
6654 …return ((val) << A6XX_SP_CS_BINDLESS_BASE_DESCRIPTOR_DESC_SIZE__SHIFT) & A6XX_SP_CS_BINDLESS_BASE_… in A6XX_SP_CS_BINDLESS_BASE_DESCRIPTOR_DESC_SIZE()
6658 static inline uint32_t A6XX_SP_CS_BINDLESS_BASE_DESCRIPTOR_ADDR(uint32_t val) in A6XX_SP_CS_BINDLESS_BASE_DESCRIPTOR_ADDR() argument
6660 …return ((val >> 2) << A6XX_SP_CS_BINDLESS_BASE_DESCRIPTOR_ADDR__SHIFT) & A6XX_SP_CS_BINDLESS_BASE_… in A6XX_SP_CS_BINDLESS_BASE_DESCRIPTOR_ADDR()
6666 static inline uint32_t A6XX_SP_CS_IBO(uint32_t val) in A6XX_SP_CS_IBO() argument
6668 return ((val) << A6XX_SP_CS_IBO__SHIFT) & A6XX_SP_CS_IBO__MASK; in A6XX_SP_CS_IBO()
6677 static inline uint32_t A6XX_SP_MODE_CONTROL_ISAMMODE(enum a6xx_isam_mode val) in A6XX_SP_MODE_CONTROL_ISAMMODE() argument
6679 return ((val) << A6XX_SP_MODE_CONTROL_ISAMMODE__SHIFT) & A6XX_SP_MODE_CONTROL_ISAMMODE__MASK; in A6XX_SP_MODE_CONTROL_ISAMMODE()
6691 static inline uint32_t A6XX_SP_FS_CONFIG_NTEX(uint32_t val) in A6XX_SP_FS_CONFIG_NTEX() argument
6693 return ((val) << A6XX_SP_FS_CONFIG_NTEX__SHIFT) & A6XX_SP_FS_CONFIG_NTEX__MASK; in A6XX_SP_FS_CONFIG_NTEX()
6697 static inline uint32_t A6XX_SP_FS_CONFIG_NSAMP(uint32_t val) in A6XX_SP_FS_CONFIG_NSAMP() argument
6699 return ((val) << A6XX_SP_FS_CONFIG_NSAMP__SHIFT) & A6XX_SP_FS_CONFIG_NSAMP__MASK; in A6XX_SP_FS_CONFIG_NSAMP()
6703 static inline uint32_t A6XX_SP_FS_CONFIG_NIBO(uint32_t val) in A6XX_SP_FS_CONFIG_NIBO() argument
6705 return ((val) << A6XX_SP_FS_CONFIG_NIBO__SHIFT) & A6XX_SP_FS_CONFIG_NIBO__MASK; in A6XX_SP_FS_CONFIG_NIBO()
6715 … inline uint32_t A6XX_SP_BINDLESS_BASE_DESCRIPTOR_DESC_SIZE(enum a6xx_bindless_descriptor_size val) in A6XX_SP_BINDLESS_BASE_DESCRIPTOR_DESC_SIZE() argument
6717 …return ((val) << A6XX_SP_BINDLESS_BASE_DESCRIPTOR_DESC_SIZE__SHIFT) & A6XX_SP_BINDLESS_BASE_DESCRI… in A6XX_SP_BINDLESS_BASE_DESCRIPTOR_DESC_SIZE()
6721 static inline uint32_t A6XX_SP_BINDLESS_BASE_DESCRIPTOR_ADDR(uint32_t val) in A6XX_SP_BINDLESS_BASE_DESCRIPTOR_ADDR() argument
6723 …return ((val >> 2) << A6XX_SP_BINDLESS_BASE_DESCRIPTOR_ADDR__SHIFT) & A6XX_SP_BINDLESS_BASE_DESCRI… in A6XX_SP_BINDLESS_BASE_DESCRIPTOR_ADDR()
6729 static inline uint32_t A6XX_SP_IBO(uint32_t val) in A6XX_SP_IBO() argument
6731 return ((val) << A6XX_SP_IBO__SHIFT) & A6XX_SP_IBO__MASK; in A6XX_SP_IBO()
6742 static inline uint32_t A6XX_SP_2D_DST_FORMAT_COLOR_FORMAT(enum a6xx_format val) in A6XX_SP_2D_DST_FORMAT_COLOR_FORMAT() argument
6744 …return ((val) << A6XX_SP_2D_DST_FORMAT_COLOR_FORMAT__SHIFT) & A6XX_SP_2D_DST_FORMAT_COLOR_FORMAT__… in A6XX_SP_2D_DST_FORMAT_COLOR_FORMAT()
6749 static inline uint32_t A6XX_SP_2D_DST_FORMAT_MASK(uint32_t val) in A6XX_SP_2D_DST_FORMAT_MASK() argument
6751 return ((val) << A6XX_SP_2D_DST_FORMAT_MASK__SHIFT) & A6XX_SP_2D_DST_FORMAT_MASK__MASK; in A6XX_SP_2D_DST_FORMAT_MASK()
6786 static inline uint32_t A6XX_SP_PS_TP_BORDER_COLOR_BASE_ADDR(uint32_t val) in A6XX_SP_PS_TP_BORDER_COLOR_BASE_ADDR() argument
6788 …return ((val) << A6XX_SP_PS_TP_BORDER_COLOR_BASE_ADDR__SHIFT) & A6XX_SP_PS_TP_BORDER_COLOR_BASE_AD… in A6XX_SP_PS_TP_BORDER_COLOR_BASE_ADDR()
6802 static inline uint32_t A6XX_SP_TP_RAS_MSAA_CNTL_SAMPLES(enum a3xx_msaa_samples val) in A6XX_SP_TP_RAS_MSAA_CNTL_SAMPLES() argument
6804 return ((val) << A6XX_SP_TP_RAS_MSAA_CNTL_SAMPLES__SHIFT) & A6XX_SP_TP_RAS_MSAA_CNTL_SAMPLES__MASK; in A6XX_SP_TP_RAS_MSAA_CNTL_SAMPLES()
6808 static inline uint32_t A6XX_SP_TP_RAS_MSAA_CNTL_UNK2(uint32_t val) in A6XX_SP_TP_RAS_MSAA_CNTL_UNK2() argument
6810 return ((val) << A6XX_SP_TP_RAS_MSAA_CNTL_UNK2__SHIFT) & A6XX_SP_TP_RAS_MSAA_CNTL_UNK2__MASK; in A6XX_SP_TP_RAS_MSAA_CNTL_UNK2()
6816 static inline uint32_t A6XX_SP_TP_DEST_MSAA_CNTL_SAMPLES(enum a3xx_msaa_samples val) in A6XX_SP_TP_DEST_MSAA_CNTL_SAMPLES() argument
6818 …return ((val) << A6XX_SP_TP_DEST_MSAA_CNTL_SAMPLES__SHIFT) & A6XX_SP_TP_DEST_MSAA_CNTL_SAMPLES__MA… in A6XX_SP_TP_DEST_MSAA_CNTL_SAMPLES()
6825 static inline uint32_t A6XX_SP_TP_BORDER_COLOR_BASE_ADDR(uint32_t val) in A6XX_SP_TP_BORDER_COLOR_BASE_ADDR() argument
6827 …return ((val) << A6XX_SP_TP_BORDER_COLOR_BASE_ADDR__SHIFT) & A6XX_SP_TP_BORDER_COLOR_BASE_ADDR__MA… in A6XX_SP_TP_BORDER_COLOR_BASE_ADDR()
6837 static inline uint32_t A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_0_X(float val) in A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_0_X() argument
6839 …return ((((int32_t)(val * 1.0))) << A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_0_X__SHIFT) & A6XX_SP_TP_S… in A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_0_X()
6843 static inline uint32_t A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_0_Y(float val) in A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_0_Y() argument
6845 …return ((((int32_t)(val * 1.0))) << A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_0_Y__SHIFT) & A6XX_SP_TP_S… in A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_0_Y()
6849 static inline uint32_t A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_1_X(float val) in A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_1_X() argument
6851 …return ((((int32_t)(val * 1.0))) << A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_1_X__SHIFT) & A6XX_SP_TP_S… in A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_1_X()
6855 static inline uint32_t A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_1_Y(float val) in A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_1_Y() argument
6857 …return ((((int32_t)(val * 1.0))) << A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_1_Y__SHIFT) & A6XX_SP_TP_S… in A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_1_Y()
6861 static inline uint32_t A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_2_X(float val) in A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_2_X() argument
6863 …return ((((int32_t)(val * 1.0))) << A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_2_X__SHIFT) & A6XX_SP_TP_S… in A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_2_X()
6867 static inline uint32_t A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_2_Y(float val) in A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_2_Y() argument
6869 …return ((((int32_t)(val * 1.0))) << A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_2_Y__SHIFT) & A6XX_SP_TP_S… in A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_2_Y()
6873 static inline uint32_t A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_3_X(float val) in A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_3_X() argument
6875 …return ((((int32_t)(val * 1.0))) << A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_3_X__SHIFT) & A6XX_SP_TP_S… in A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_3_X()
6879 static inline uint32_t A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_3_Y(float val) in A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_3_Y() argument
6881 …return ((((int32_t)(val * 1.0))) << A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_3_Y__SHIFT) & A6XX_SP_TP_S… in A6XX_SP_TP_SAMPLE_LOCATION_0_SAMPLE_3_Y()
6887 static inline uint32_t A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_0_X(float val) in A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_0_X() argument
6889 …return ((((int32_t)(val * 1.0))) << A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_0_X__SHIFT) & A6XX_SP_TP_S… in A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_0_X()
6893 static inline uint32_t A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_0_Y(float val) in A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_0_Y() argument
6895 …return ((((int32_t)(val * 1.0))) << A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_0_Y__SHIFT) & A6XX_SP_TP_S… in A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_0_Y()
6899 static inline uint32_t A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_1_X(float val) in A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_1_X() argument
6901 …return ((((int32_t)(val * 1.0))) << A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_1_X__SHIFT) & A6XX_SP_TP_S… in A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_1_X()
6905 static inline uint32_t A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_1_Y(float val) in A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_1_Y() argument
6907 …return ((((int32_t)(val * 1.0))) << A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_1_Y__SHIFT) & A6XX_SP_TP_S… in A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_1_Y()
6911 static inline uint32_t A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_2_X(float val) in A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_2_X() argument
6913 …return ((((int32_t)(val * 1.0))) << A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_2_X__SHIFT) & A6XX_SP_TP_S… in A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_2_X()
6917 static inline uint32_t A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_2_Y(float val) in A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_2_Y() argument
6919 …return ((((int32_t)(val * 1.0))) << A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_2_Y__SHIFT) & A6XX_SP_TP_S… in A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_2_Y()
6923 static inline uint32_t A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_3_X(float val) in A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_3_X() argument
6925 …return ((((int32_t)(val * 1.0))) << A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_3_X__SHIFT) & A6XX_SP_TP_S… in A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_3_X()
6929 static inline uint32_t A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_3_Y(float val) in A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_3_Y() argument
6931 …return ((((int32_t)(val * 1.0))) << A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_3_Y__SHIFT) & A6XX_SP_TP_S… in A6XX_SP_TP_SAMPLE_LOCATION_1_SAMPLE_3_Y()
6937 static inline uint32_t A6XX_SP_TP_WINDOW_OFFSET_X(uint32_t val) in A6XX_SP_TP_WINDOW_OFFSET_X() argument
6939 return ((val) << A6XX_SP_TP_WINDOW_OFFSET_X__SHIFT) & A6XX_SP_TP_WINDOW_OFFSET_X__MASK; in A6XX_SP_TP_WINDOW_OFFSET_X()
6943 static inline uint32_t A6XX_SP_TP_WINDOW_OFFSET_Y(uint32_t val) in A6XX_SP_TP_WINDOW_OFFSET_Y() argument
6945 return ((val) << A6XX_SP_TP_WINDOW_OFFSET_Y__SHIFT) & A6XX_SP_TP_WINDOW_OFFSET_Y__MASK; in A6XX_SP_TP_WINDOW_OFFSET_Y()
6951 static inline uint32_t A6XX_SP_TP_MODE_CNTL_ISAMMODE(enum a6xx_isam_mode val) in A6XX_SP_TP_MODE_CNTL_ISAMMODE() argument
6953 return ((val) << A6XX_SP_TP_MODE_CNTL_ISAMMODE__SHIFT) & A6XX_SP_TP_MODE_CNTL_ISAMMODE__MASK; in A6XX_SP_TP_MODE_CNTL_ISAMMODE()
6957 static inline uint32_t A6XX_SP_TP_MODE_CNTL_UNK3(uint32_t val) in A6XX_SP_TP_MODE_CNTL_UNK3() argument
6959 return ((val) << A6XX_SP_TP_MODE_CNTL_UNK3__SHIFT) & A6XX_SP_TP_MODE_CNTL_UNK3__MASK; in A6XX_SP_TP_MODE_CNTL_UNK3()
6965 static inline uint32_t A6XX_SP_PS_2D_SRC_INFO_COLOR_FORMAT(enum a6xx_format val) in A6XX_SP_PS_2D_SRC_INFO_COLOR_FORMAT() argument
6967 …return ((val) << A6XX_SP_PS_2D_SRC_INFO_COLOR_FORMAT__SHIFT) & A6XX_SP_PS_2D_SRC_INFO_COLOR_FORMAT… in A6XX_SP_PS_2D_SRC_INFO_COLOR_FORMAT()
6971 static inline uint32_t A6XX_SP_PS_2D_SRC_INFO_TILE_MODE(enum a6xx_tile_mode val) in A6XX_SP_PS_2D_SRC_INFO_TILE_MODE() argument
6973 return ((val) << A6XX_SP_PS_2D_SRC_INFO_TILE_MODE__SHIFT) & A6XX_SP_PS_2D_SRC_INFO_TILE_MODE__MASK; in A6XX_SP_PS_2D_SRC_INFO_TILE_MODE()
6977 static inline uint32_t A6XX_SP_PS_2D_SRC_INFO_COLOR_SWAP(enum a3xx_color_swap val) in A6XX_SP_PS_2D_SRC_INFO_COLOR_SWAP() argument
6979 …return ((val) << A6XX_SP_PS_2D_SRC_INFO_COLOR_SWAP__SHIFT) & A6XX_SP_PS_2D_SRC_INFO_COLOR_SWAP__MA… in A6XX_SP_PS_2D_SRC_INFO_COLOR_SWAP()
6985 static inline uint32_t A6XX_SP_PS_2D_SRC_INFO_SAMPLES(enum a3xx_msaa_samples val) in A6XX_SP_PS_2D_SRC_INFO_SAMPLES() argument
6987 return ((val) << A6XX_SP_PS_2D_SRC_INFO_SAMPLES__SHIFT) & A6XX_SP_PS_2D_SRC_INFO_SAMPLES__MASK; in A6XX_SP_PS_2D_SRC_INFO_SAMPLES()
6998 static inline uint32_t A6XX_SP_PS_2D_SRC_INFO_UNK23(uint32_t val) in A6XX_SP_PS_2D_SRC_INFO_UNK23() argument
7000 return ((val) << A6XX_SP_PS_2D_SRC_INFO_UNK23__SHIFT) & A6XX_SP_PS_2D_SRC_INFO_UNK23__MASK; in A6XX_SP_PS_2D_SRC_INFO_UNK23()
7007 static inline uint32_t A6XX_SP_PS_2D_SRC_SIZE_WIDTH(uint32_t val) in A6XX_SP_PS_2D_SRC_SIZE_WIDTH() argument
7009 return ((val) << A6XX_SP_PS_2D_SRC_SIZE_WIDTH__SHIFT) & A6XX_SP_PS_2D_SRC_SIZE_WIDTH__MASK; in A6XX_SP_PS_2D_SRC_SIZE_WIDTH()
7013 static inline uint32_t A6XX_SP_PS_2D_SRC_SIZE_HEIGHT(uint32_t val) in A6XX_SP_PS_2D_SRC_SIZE_HEIGHT() argument
7015 return ((val) << A6XX_SP_PS_2D_SRC_SIZE_HEIGHT__SHIFT) & A6XX_SP_PS_2D_SRC_SIZE_HEIGHT__MASK; in A6XX_SP_PS_2D_SRC_SIZE_HEIGHT()
7021 static inline uint32_t A6XX_SP_PS_2D_SRC(uint32_t val) in A6XX_SP_PS_2D_SRC() argument
7023 return ((val) << A6XX_SP_PS_2D_SRC__SHIFT) & A6XX_SP_PS_2D_SRC__MASK; in A6XX_SP_PS_2D_SRC()
7029 static inline uint32_t A6XX_SP_PS_2D_SRC_PITCH_UNK0(uint32_t val) in A6XX_SP_PS_2D_SRC_PITCH_UNK0() argument
7031 return ((val) << A6XX_SP_PS_2D_SRC_PITCH_UNK0__SHIFT) & A6XX_SP_PS_2D_SRC_PITCH_UNK0__MASK; in A6XX_SP_PS_2D_SRC_PITCH_UNK0()
7035 static inline uint32_t A6XX_SP_PS_2D_SRC_PITCH_PITCH(uint32_t val) in A6XX_SP_PS_2D_SRC_PITCH_PITCH() argument
7037 return ((val >> 6) << A6XX_SP_PS_2D_SRC_PITCH_PITCH__SHIFT) & A6XX_SP_PS_2D_SRC_PITCH_PITCH__MASK; in A6XX_SP_PS_2D_SRC_PITCH_PITCH()
7043 static inline uint32_t A6XX_SP_PS_2D_SRC_PLANE1(uint32_t val) in A6XX_SP_PS_2D_SRC_PLANE1() argument
7045 return ((val) << A6XX_SP_PS_2D_SRC_PLANE1__SHIFT) & A6XX_SP_PS_2D_SRC_PLANE1__MASK; in A6XX_SP_PS_2D_SRC_PLANE1()
7051 static inline uint32_t A6XX_SP_PS_2D_SRC_PLANE_PITCH(uint32_t val) in A6XX_SP_PS_2D_SRC_PLANE_PITCH() argument
7053 return ((val >> 6) << A6XX_SP_PS_2D_SRC_PLANE_PITCH__SHIFT) & A6XX_SP_PS_2D_SRC_PLANE_PITCH__MASK; in A6XX_SP_PS_2D_SRC_PLANE_PITCH()
7059 static inline uint32_t A6XX_SP_PS_2D_SRC_PLANE2(uint32_t val) in A6XX_SP_PS_2D_SRC_PLANE2() argument
7061 return ((val) << A6XX_SP_PS_2D_SRC_PLANE2__SHIFT) & A6XX_SP_PS_2D_SRC_PLANE2__MASK; in A6XX_SP_PS_2D_SRC_PLANE2()
7067 static inline uint32_t A6XX_SP_PS_2D_SRC_FLAGS(uint32_t val) in A6XX_SP_PS_2D_SRC_FLAGS() argument
7069 return ((val) << A6XX_SP_PS_2D_SRC_FLAGS__SHIFT) & A6XX_SP_PS_2D_SRC_FLAGS__MASK; in A6XX_SP_PS_2D_SRC_FLAGS()
7075 static inline uint32_t A6XX_SP_PS_2D_SRC_FLAGS_PITCH(uint32_t val) in A6XX_SP_PS_2D_SRC_FLAGS_PITCH() argument
7077 return ((val >> 6) << A6XX_SP_PS_2D_SRC_FLAGS_PITCH__SHIFT) & A6XX_SP_PS_2D_SRC_FLAGS_PITCH__MASK; in A6XX_SP_PS_2D_SRC_FLAGS_PITCH()
7091 static inline uint32_t A6XX_SP_WINDOW_OFFSET_X(uint32_t val) in A6XX_SP_WINDOW_OFFSET_X() argument
7093 return ((val) << A6XX_SP_WINDOW_OFFSET_X__SHIFT) & A6XX_SP_WINDOW_OFFSET_X__MASK; in A6XX_SP_WINDOW_OFFSET_X()
7097 static inline uint32_t A6XX_SP_WINDOW_OFFSET_Y(uint32_t val) in A6XX_SP_WINDOW_OFFSET_Y() argument
7099 return ((val) << A6XX_SP_WINDOW_OFFSET_Y__SHIFT) & A6XX_SP_WINDOW_OFFSET_Y__MASK; in A6XX_SP_WINDOW_OFFSET_Y()
7112 static inline uint32_t A6XX_TPL1_NC_MODE_CNTL_LOWER_BIT(uint32_t val) in A6XX_TPL1_NC_MODE_CNTL_LOWER_BIT() argument
7114 return ((val) << A6XX_TPL1_NC_MODE_CNTL_LOWER_BIT__SHIFT) & A6XX_TPL1_NC_MODE_CNTL_LOWER_BIT__MASK; in A6XX_TPL1_NC_MODE_CNTL_LOWER_BIT()
7119 static inline uint32_t A6XX_TPL1_NC_MODE_CNTL_UPPER_BIT(uint32_t val) in A6XX_TPL1_NC_MODE_CNTL_UPPER_BIT() argument
7121 return ((val) << A6XX_TPL1_NC_MODE_CNTL_UPPER_BIT__SHIFT) & A6XX_TPL1_NC_MODE_CNTL_UPPER_BIT__MASK; in A6XX_TPL1_NC_MODE_CNTL_UPPER_BIT()
7125 static inline uint32_t A6XX_TPL1_NC_MODE_CNTL_UNK6(uint32_t val) in A6XX_TPL1_NC_MODE_CNTL_UNK6() argument
7127 return ((val) << A6XX_TPL1_NC_MODE_CNTL_UNK6__SHIFT) & A6XX_TPL1_NC_MODE_CNTL_UNK6__MASK; in A6XX_TPL1_NC_MODE_CNTL_UNK6()
7147 static inline uint32_t A6XX_HLSQ_VS_CNTL_CONSTLEN(uint32_t val) in A6XX_HLSQ_VS_CNTL_CONSTLEN() argument
7149 return ((val >> 2) << A6XX_HLSQ_VS_CNTL_CONSTLEN__SHIFT) & A6XX_HLSQ_VS_CNTL_CONSTLEN__MASK; in A6XX_HLSQ_VS_CNTL_CONSTLEN()
7156 static inline uint32_t A6XX_HLSQ_HS_CNTL_CONSTLEN(uint32_t val) in A6XX_HLSQ_HS_CNTL_CONSTLEN() argument
7158 return ((val >> 2) << A6XX_HLSQ_HS_CNTL_CONSTLEN__SHIFT) & A6XX_HLSQ_HS_CNTL_CONSTLEN__MASK; in A6XX_HLSQ_HS_CNTL_CONSTLEN()
7165 static inline uint32_t A6XX_HLSQ_DS_CNTL_CONSTLEN(uint32_t val) in A6XX_HLSQ_DS_CNTL_CONSTLEN() argument
7167 return ((val >> 2) << A6XX_HLSQ_DS_CNTL_CONSTLEN__SHIFT) & A6XX_HLSQ_DS_CNTL_CONSTLEN__MASK; in A6XX_HLSQ_DS_CNTL_CONSTLEN()
7174 static inline uint32_t A6XX_HLSQ_GS_CNTL_CONSTLEN(uint32_t val) in A6XX_HLSQ_GS_CNTL_CONSTLEN() argument
7176 return ((val >> 2) << A6XX_HLSQ_GS_CNTL_CONSTLEN__SHIFT) & A6XX_HLSQ_GS_CNTL_CONSTLEN__MASK; in A6XX_HLSQ_GS_CNTL_CONSTLEN()
7185 static inline uint32_t A6XX_HLSQ_LOAD_STATE_GEOM_EXT_SRC_ADDR(uint32_t val) in A6XX_HLSQ_LOAD_STATE_GEOM_EXT_SRC_ADDR() argument
7187 …return ((val) << A6XX_HLSQ_LOAD_STATE_GEOM_EXT_SRC_ADDR__SHIFT) & A6XX_HLSQ_LOAD_STATE_GEOM_EXT_SR… in A6XX_HLSQ_LOAD_STATE_GEOM_EXT_SRC_ADDR()
7195 static inline uint32_t A6XX_HLSQ_FS_CNTL_0_THREADSIZE(enum a6xx_threadsize val) in A6XX_HLSQ_FS_CNTL_0_THREADSIZE() argument
7197 return ((val) << A6XX_HLSQ_FS_CNTL_0_THREADSIZE__SHIFT) & A6XX_HLSQ_FS_CNTL_0_THREADSIZE__MASK; in A6XX_HLSQ_FS_CNTL_0_THREADSIZE()
7202 static inline uint32_t A6XX_HLSQ_FS_CNTL_0_UNK2(uint32_t val) in A6XX_HLSQ_FS_CNTL_0_UNK2() argument
7204 return ((val) << A6XX_HLSQ_FS_CNTL_0_UNK2__SHIFT) & A6XX_HLSQ_FS_CNTL_0_UNK2__MASK; in A6XX_HLSQ_FS_CNTL_0_UNK2()
7216 static inline uint32_t A6XX_HLSQ_CONTROL_2_REG_FACEREGID(uint32_t val) in A6XX_HLSQ_CONTROL_2_REG_FACEREGID() argument
7218 …return ((val) << A6XX_HLSQ_CONTROL_2_REG_FACEREGID__SHIFT) & A6XX_HLSQ_CONTROL_2_REG_FACEREGID__MA… in A6XX_HLSQ_CONTROL_2_REG_FACEREGID()
7222 static inline uint32_t A6XX_HLSQ_CONTROL_2_REG_SAMPLEID(uint32_t val) in A6XX_HLSQ_CONTROL_2_REG_SAMPLEID() argument
7224 return ((val) << A6XX_HLSQ_CONTROL_2_REG_SAMPLEID__SHIFT) & A6XX_HLSQ_CONTROL_2_REG_SAMPLEID__MASK; in A6XX_HLSQ_CONTROL_2_REG_SAMPLEID()
7228 static inline uint32_t A6XX_HLSQ_CONTROL_2_REG_SAMPLEMASK(uint32_t val) in A6XX_HLSQ_CONTROL_2_REG_SAMPLEMASK() argument
7230 …return ((val) << A6XX_HLSQ_CONTROL_2_REG_SAMPLEMASK__SHIFT) & A6XX_HLSQ_CONTROL_2_REG_SAMPLEMASK__… in A6XX_HLSQ_CONTROL_2_REG_SAMPLEMASK()
7234 static inline uint32_t A6XX_HLSQ_CONTROL_2_REG_CENTERRHW(uint32_t val) in A6XX_HLSQ_CONTROL_2_REG_CENTERRHW() argument
7236 …return ((val) << A6XX_HLSQ_CONTROL_2_REG_CENTERRHW__SHIFT) & A6XX_HLSQ_CONTROL_2_REG_CENTERRHW__MA… in A6XX_HLSQ_CONTROL_2_REG_CENTERRHW()
7242 static inline uint32_t A7XX_HLSQ_CONTROL_2_REG_FACEREGID(uint32_t val) in A7XX_HLSQ_CONTROL_2_REG_FACEREGID() argument
7244 …return ((val) << A7XX_HLSQ_CONTROL_2_REG_FACEREGID__SHIFT) & A7XX_HLSQ_CONTROL_2_REG_FACEREGID__MA… in A7XX_HLSQ_CONTROL_2_REG_FACEREGID()
7248 static inline uint32_t A7XX_HLSQ_CONTROL_2_REG_SAMPLEID(uint32_t val) in A7XX_HLSQ_CONTROL_2_REG_SAMPLEID() argument
7250 return ((val) << A7XX_HLSQ_CONTROL_2_REG_SAMPLEID__SHIFT) & A7XX_HLSQ_CONTROL_2_REG_SAMPLEID__MASK; in A7XX_HLSQ_CONTROL_2_REG_SAMPLEID()
7254 static inline uint32_t A7XX_HLSQ_CONTROL_2_REG_SAMPLEMASK(uint32_t val) in A7XX_HLSQ_CONTROL_2_REG_SAMPLEMASK() argument
7256 …return ((val) << A7XX_HLSQ_CONTROL_2_REG_SAMPLEMASK__SHIFT) & A7XX_HLSQ_CONTROL_2_REG_SAMPLEMASK__… in A7XX_HLSQ_CONTROL_2_REG_SAMPLEMASK()
7260 static inline uint32_t A7XX_HLSQ_CONTROL_2_REG_CENTERRHW(uint32_t val) in A7XX_HLSQ_CONTROL_2_REG_CENTERRHW() argument
7262 …return ((val) << A7XX_HLSQ_CONTROL_2_REG_CENTERRHW__SHIFT) & A7XX_HLSQ_CONTROL_2_REG_CENTERRHW__MA… in A7XX_HLSQ_CONTROL_2_REG_CENTERRHW()
7268 static inline uint32_t A6XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL(uint32_t val) in A6XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL() argument
7270 …return ((val) << A6XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL__SHIFT) & A6XX_HLSQ_CONTROL_3_REG_IJ_PERSP… in A6XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL()
7274 static inline uint32_t A6XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL(uint32_t val) in A6XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL() argument
7276 …return ((val) << A6XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL__SHIFT) & A6XX_HLSQ_CONTROL_3_REG_IJ_LINE… in A6XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL()
7280 static inline uint32_t A6XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID(uint32_t val) in A6XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID() argument
7282 …return ((val) << A6XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID__SHIFT) & A6XX_HLSQ_CONTROL_3_REG_IJ_PE… in A6XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID()
7286 static inline uint32_t A6XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID(uint32_t val) in A6XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID() argument
7288 …return ((val) << A6XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID__SHIFT) & A6XX_HLSQ_CONTROL_3_REG_IJ_L… in A6XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID()
7294 static inline uint32_t A7XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL(uint32_t val) in A7XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL() argument
7296 …return ((val) << A7XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL__SHIFT) & A7XX_HLSQ_CONTROL_3_REG_IJ_PERSP… in A7XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL()
7300 static inline uint32_t A7XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL(uint32_t val) in A7XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL() argument
7302 …return ((val) << A7XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL__SHIFT) & A7XX_HLSQ_CONTROL_3_REG_IJ_LINE… in A7XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL()
7306 static inline uint32_t A7XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID(uint32_t val) in A7XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID() argument
7308 …return ((val) << A7XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID__SHIFT) & A7XX_HLSQ_CONTROL_3_REG_IJ_PE… in A7XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID()
7312 static inline uint32_t A7XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID(uint32_t val) in A7XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID() argument
7314 …return ((val) << A7XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID__SHIFT) & A7XX_HLSQ_CONTROL_3_REG_IJ_L… in A7XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID()
7320 static inline uint32_t A6XX_HLSQ_CONTROL_4_REG_IJ_PERSP_SAMPLE(uint32_t val) in A6XX_HLSQ_CONTROL_4_REG_IJ_PERSP_SAMPLE() argument
7322 …return ((val) << A6XX_HLSQ_CONTROL_4_REG_IJ_PERSP_SAMPLE__SHIFT) & A6XX_HLSQ_CONTROL_4_REG_IJ_PERS… in A6XX_HLSQ_CONTROL_4_REG_IJ_PERSP_SAMPLE()
7326 static inline uint32_t A6XX_HLSQ_CONTROL_4_REG_IJ_LINEAR_SAMPLE(uint32_t val) in A6XX_HLSQ_CONTROL_4_REG_IJ_LINEAR_SAMPLE() argument
7328 …return ((val) << A6XX_HLSQ_CONTROL_4_REG_IJ_LINEAR_SAMPLE__SHIFT) & A6XX_HLSQ_CONTROL_4_REG_IJ_LIN… in A6XX_HLSQ_CONTROL_4_REG_IJ_LINEAR_SAMPLE()
7332 static inline uint32_t A6XX_HLSQ_CONTROL_4_REG_XYCOORDREGID(uint32_t val) in A6XX_HLSQ_CONTROL_4_REG_XYCOORDREGID() argument
7334 …return ((val) << A6XX_HLSQ_CONTROL_4_REG_XYCOORDREGID__SHIFT) & A6XX_HLSQ_CONTROL_4_REG_XYCOORDREG… in A6XX_HLSQ_CONTROL_4_REG_XYCOORDREGID()
7338 static inline uint32_t A6XX_HLSQ_CONTROL_4_REG_ZWCOORDREGID(uint32_t val) in A6XX_HLSQ_CONTROL_4_REG_ZWCOORDREGID() argument
7340 …return ((val) << A6XX_HLSQ_CONTROL_4_REG_ZWCOORDREGID__SHIFT) & A6XX_HLSQ_CONTROL_4_REG_ZWCOORDREG… in A6XX_HLSQ_CONTROL_4_REG_ZWCOORDREGID()
7346 static inline uint32_t A7XX_HLSQ_CONTROL_4_REG_IJ_PERSP_SAMPLE(uint32_t val) in A7XX_HLSQ_CONTROL_4_REG_IJ_PERSP_SAMPLE() argument
7348 …return ((val) << A7XX_HLSQ_CONTROL_4_REG_IJ_PERSP_SAMPLE__SHIFT) & A7XX_HLSQ_CONTROL_4_REG_IJ_PERS… in A7XX_HLSQ_CONTROL_4_REG_IJ_PERSP_SAMPLE()
7352 static inline uint32_t A7XX_HLSQ_CONTROL_4_REG_IJ_LINEAR_SAMPLE(uint32_t val) in A7XX_HLSQ_CONTROL_4_REG_IJ_LINEAR_SAMPLE() argument
7354 …return ((val) << A7XX_HLSQ_CONTROL_4_REG_IJ_LINEAR_SAMPLE__SHIFT) & A7XX_HLSQ_CONTROL_4_REG_IJ_LIN… in A7XX_HLSQ_CONTROL_4_REG_IJ_LINEAR_SAMPLE()
7358 static inline uint32_t A7XX_HLSQ_CONTROL_4_REG_XYCOORDREGID(uint32_t val) in A7XX_HLSQ_CONTROL_4_REG_XYCOORDREGID() argument
7360 …return ((val) << A7XX_HLSQ_CONTROL_4_REG_XYCOORDREGID__SHIFT) & A7XX_HLSQ_CONTROL_4_REG_XYCOORDREG… in A7XX_HLSQ_CONTROL_4_REG_XYCOORDREGID()
7364 static inline uint32_t A7XX_HLSQ_CONTROL_4_REG_ZWCOORDREGID(uint32_t val) in A7XX_HLSQ_CONTROL_4_REG_ZWCOORDREGID() argument
7366 …return ((val) << A7XX_HLSQ_CONTROL_4_REG_ZWCOORDREGID__SHIFT) & A7XX_HLSQ_CONTROL_4_REG_ZWCOORDREG… in A7XX_HLSQ_CONTROL_4_REG_ZWCOORDREGID()
7372 static inline uint32_t A6XX_HLSQ_CONTROL_5_REG_LINELENGTHREGID(uint32_t val) in A6XX_HLSQ_CONTROL_5_REG_LINELENGTHREGID() argument
7374 …return ((val) << A6XX_HLSQ_CONTROL_5_REG_LINELENGTHREGID__SHIFT) & A6XX_HLSQ_CONTROL_5_REG_LINELEN… in A6XX_HLSQ_CONTROL_5_REG_LINELENGTHREGID()
7378 static inline uint32_t A6XX_HLSQ_CONTROL_5_REG_FOVEATIONQUALITYREGID(uint32_t val) in A6XX_HLSQ_CONTROL_5_REG_FOVEATIONQUALITYREGID() argument
7380 …return ((val) << A6XX_HLSQ_CONTROL_5_REG_FOVEATIONQUALITYREGID__SHIFT) & A6XX_HLSQ_CONTROL_5_REG_F… in A6XX_HLSQ_CONTROL_5_REG_FOVEATIONQUALITYREGID()
7386 static inline uint32_t A7XX_HLSQ_CONTROL_5_REG_LINELENGTHREGID(uint32_t val) in A7XX_HLSQ_CONTROL_5_REG_LINELENGTHREGID() argument
7388 …return ((val) << A7XX_HLSQ_CONTROL_5_REG_LINELENGTHREGID__SHIFT) & A7XX_HLSQ_CONTROL_5_REG_LINELEN… in A7XX_HLSQ_CONTROL_5_REG_LINELENGTHREGID()
7392 static inline uint32_t A7XX_HLSQ_CONTROL_5_REG_FOVEATIONQUALITYREGID(uint32_t val) in A7XX_HLSQ_CONTROL_5_REG_FOVEATIONQUALITYREGID() argument
7394 …return ((val) << A7XX_HLSQ_CONTROL_5_REG_FOVEATIONQUALITYREGID__SHIFT) & A7XX_HLSQ_CONTROL_5_REG_F… in A7XX_HLSQ_CONTROL_5_REG_FOVEATIONQUALITYREGID()
7400 static inline uint32_t A6XX_HLSQ_CS_CNTL_CONSTLEN(uint32_t val) in A6XX_HLSQ_CS_CNTL_CONSTLEN() argument
7402 return ((val >> 2) << A6XX_HLSQ_CS_CNTL_CONSTLEN__SHIFT) & A6XX_HLSQ_CS_CNTL_CONSTLEN__MASK; in A6XX_HLSQ_CS_CNTL_CONSTLEN()
7409 static inline uint32_t A6XX_HLSQ_CS_NDRANGE_0_KERNELDIM(uint32_t val) in A6XX_HLSQ_CS_NDRANGE_0_KERNELDIM() argument
7411 return ((val) << A6XX_HLSQ_CS_NDRANGE_0_KERNELDIM__SHIFT) & A6XX_HLSQ_CS_NDRANGE_0_KERNELDIM__MASK; in A6XX_HLSQ_CS_NDRANGE_0_KERNELDIM()
7415 static inline uint32_t A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEX(uint32_t val) in A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEX() argument
7417 …return ((val) << A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEX__SHIFT) & A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEX__MA… in A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEX()
7421 static inline uint32_t A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEY(uint32_t val) in A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEY() argument
7423 …return ((val) << A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEY__SHIFT) & A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEY__MA… in A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEY()
7427 static inline uint32_t A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEZ(uint32_t val) in A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEZ() argument
7429 …return ((val) << A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEZ__SHIFT) & A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEZ__MA… in A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEZ()
7435 static inline uint32_t A6XX_HLSQ_CS_NDRANGE_1_GLOBALSIZE_X(uint32_t val) in A6XX_HLSQ_CS_NDRANGE_1_GLOBALSIZE_X() argument
7437 …return ((val) << A6XX_HLSQ_CS_NDRANGE_1_GLOBALSIZE_X__SHIFT) & A6XX_HLSQ_CS_NDRANGE_1_GLOBALSIZE_X… in A6XX_HLSQ_CS_NDRANGE_1_GLOBALSIZE_X()
7443 static inline uint32_t A6XX_HLSQ_CS_NDRANGE_2_GLOBALOFF_X(uint32_t val) in A6XX_HLSQ_CS_NDRANGE_2_GLOBALOFF_X() argument
7445 …return ((val) << A6XX_HLSQ_CS_NDRANGE_2_GLOBALOFF_X__SHIFT) & A6XX_HLSQ_CS_NDRANGE_2_GLOBALOFF_X__… in A6XX_HLSQ_CS_NDRANGE_2_GLOBALOFF_X()
7451 static inline uint32_t A6XX_HLSQ_CS_NDRANGE_3_GLOBALSIZE_Y(uint32_t val) in A6XX_HLSQ_CS_NDRANGE_3_GLOBALSIZE_Y() argument
7453 …return ((val) << A6XX_HLSQ_CS_NDRANGE_3_GLOBALSIZE_Y__SHIFT) & A6XX_HLSQ_CS_NDRANGE_3_GLOBALSIZE_Y… in A6XX_HLSQ_CS_NDRANGE_3_GLOBALSIZE_Y()
7459 static inline uint32_t A6XX_HLSQ_CS_NDRANGE_4_GLOBALOFF_Y(uint32_t val) in A6XX_HLSQ_CS_NDRANGE_4_GLOBALOFF_Y() argument
7461 …return ((val) << A6XX_HLSQ_CS_NDRANGE_4_GLOBALOFF_Y__SHIFT) & A6XX_HLSQ_CS_NDRANGE_4_GLOBALOFF_Y__… in A6XX_HLSQ_CS_NDRANGE_4_GLOBALOFF_Y()
7467 static inline uint32_t A6XX_HLSQ_CS_NDRANGE_5_GLOBALSIZE_Z(uint32_t val) in A6XX_HLSQ_CS_NDRANGE_5_GLOBALSIZE_Z() argument
7469 …return ((val) << A6XX_HLSQ_CS_NDRANGE_5_GLOBALSIZE_Z__SHIFT) & A6XX_HLSQ_CS_NDRANGE_5_GLOBALSIZE_Z… in A6XX_HLSQ_CS_NDRANGE_5_GLOBALSIZE_Z()
7475 static inline uint32_t A6XX_HLSQ_CS_NDRANGE_6_GLOBALOFF_Z(uint32_t val) in A6XX_HLSQ_CS_NDRANGE_6_GLOBALOFF_Z() argument
7477 …return ((val) << A6XX_HLSQ_CS_NDRANGE_6_GLOBALOFF_Z__SHIFT) & A6XX_HLSQ_CS_NDRANGE_6_GLOBALOFF_Z__… in A6XX_HLSQ_CS_NDRANGE_6_GLOBALOFF_Z()
7483 static inline uint32_t A6XX_HLSQ_CS_CNTL_0_WGIDCONSTID(uint32_t val) in A6XX_HLSQ_CS_CNTL_0_WGIDCONSTID() argument
7485 return ((val) << A6XX_HLSQ_CS_CNTL_0_WGIDCONSTID__SHIFT) & A6XX_HLSQ_CS_CNTL_0_WGIDCONSTID__MASK; in A6XX_HLSQ_CS_CNTL_0_WGIDCONSTID()
7489 static inline uint32_t A6XX_HLSQ_CS_CNTL_0_WGSIZECONSTID(uint32_t val) in A6XX_HLSQ_CS_CNTL_0_WGSIZECONSTID() argument
7491 …return ((val) << A6XX_HLSQ_CS_CNTL_0_WGSIZECONSTID__SHIFT) & A6XX_HLSQ_CS_CNTL_0_WGSIZECONSTID__MA… in A6XX_HLSQ_CS_CNTL_0_WGSIZECONSTID()
7495 static inline uint32_t A6XX_HLSQ_CS_CNTL_0_WGOFFSETCONSTID(uint32_t val) in A6XX_HLSQ_CS_CNTL_0_WGOFFSETCONSTID() argument
7497 …return ((val) << A6XX_HLSQ_CS_CNTL_0_WGOFFSETCONSTID__SHIFT) & A6XX_HLSQ_CS_CNTL_0_WGOFFSETCONSTID… in A6XX_HLSQ_CS_CNTL_0_WGOFFSETCONSTID()
7501 static inline uint32_t A6XX_HLSQ_CS_CNTL_0_LOCALIDREGID(uint32_t val) in A6XX_HLSQ_CS_CNTL_0_LOCALIDREGID() argument
7503 return ((val) << A6XX_HLSQ_CS_CNTL_0_LOCALIDREGID__SHIFT) & A6XX_HLSQ_CS_CNTL_0_LOCALIDREGID__MASK; in A6XX_HLSQ_CS_CNTL_0_LOCALIDREGID()
7509 static inline uint32_t A6XX_HLSQ_CS_CNTL_1_LINEARLOCALIDREGID(uint32_t val) in A6XX_HLSQ_CS_CNTL_1_LINEARLOCALIDREGID() argument
7511 …return ((val) << A6XX_HLSQ_CS_CNTL_1_LINEARLOCALIDREGID__SHIFT) & A6XX_HLSQ_CS_CNTL_1_LINEARLOCALI… in A6XX_HLSQ_CS_CNTL_1_LINEARLOCALIDREGID()
7516 static inline uint32_t A6XX_HLSQ_CS_CNTL_1_THREADSIZE(enum a6xx_threadsize val) in A6XX_HLSQ_CS_CNTL_1_THREADSIZE() argument
7518 return ((val) << A6XX_HLSQ_CS_CNTL_1_THREADSIZE__SHIFT) & A6XX_HLSQ_CS_CNTL_1_THREADSIZE__MASK; in A6XX_HLSQ_CS_CNTL_1_THREADSIZE()
7533 static inline uint32_t A6XX_HLSQ_LOAD_STATE_FRAG_EXT_SRC_ADDR(uint32_t val) in A6XX_HLSQ_LOAD_STATE_FRAG_EXT_SRC_ADDR() argument
7535 …return ((val) << A6XX_HLSQ_LOAD_STATE_FRAG_EXT_SRC_ADDR__SHIFT) & A6XX_HLSQ_LOAD_STATE_FRAG_EXT_SR… in A6XX_HLSQ_LOAD_STATE_FRAG_EXT_SRC_ADDR()
7545 …ne uint32_t A6XX_HLSQ_CS_BINDLESS_BASE_DESCRIPTOR_DESC_SIZE(enum a6xx_bindless_descriptor_size val) in A6XX_HLSQ_CS_BINDLESS_BASE_DESCRIPTOR_DESC_SIZE() argument
7547 …return ((val) << A6XX_HLSQ_CS_BINDLESS_BASE_DESCRIPTOR_DESC_SIZE__SHIFT) & A6XX_HLSQ_CS_BINDLESS_B… in A6XX_HLSQ_CS_BINDLESS_BASE_DESCRIPTOR_DESC_SIZE()
7551 static inline uint32_t A6XX_HLSQ_CS_BINDLESS_BASE_DESCRIPTOR_ADDR(uint32_t val) in A6XX_HLSQ_CS_BINDLESS_BASE_DESCRIPTOR_ADDR() argument
7553 …return ((val >> 2) << A6XX_HLSQ_CS_BINDLESS_BASE_DESCRIPTOR_ADDR__SHIFT) & A6XX_HLSQ_CS_BINDLESS_B… in A6XX_HLSQ_CS_BINDLESS_BASE_DESCRIPTOR_ADDR()
7559 static inline uint32_t A6XX_HLSQ_CS_UNKNOWN_B9D0_SHARED_SIZE(uint32_t val) in A6XX_HLSQ_CS_UNKNOWN_B9D0_SHARED_SIZE() argument
7561 …return ((val) << A6XX_HLSQ_CS_UNKNOWN_B9D0_SHARED_SIZE__SHIFT) & A6XX_HLSQ_CS_UNKNOWN_B9D0_SHARED_… in A6XX_HLSQ_CS_UNKNOWN_B9D0_SHARED_SIZE()
7569 static inline uint32_t A6XX_HLSQ_DRAW_CMD_STATE_ID(uint32_t val) in A6XX_HLSQ_DRAW_CMD_STATE_ID() argument
7571 return ((val) << A6XX_HLSQ_DRAW_CMD_STATE_ID__SHIFT) & A6XX_HLSQ_DRAW_CMD_STATE_ID__MASK; in A6XX_HLSQ_DRAW_CMD_STATE_ID()
7577 static inline uint32_t A6XX_HLSQ_DISPATCH_CMD_STATE_ID(uint32_t val) in A6XX_HLSQ_DISPATCH_CMD_STATE_ID() argument
7579 return ((val) << A6XX_HLSQ_DISPATCH_CMD_STATE_ID__SHIFT) & A6XX_HLSQ_DISPATCH_CMD_STATE_ID__MASK; in A6XX_HLSQ_DISPATCH_CMD_STATE_ID()
7585 static inline uint32_t A6XX_HLSQ_EVENT_CMD_STATE_ID(uint32_t val) in A6XX_HLSQ_EVENT_CMD_STATE_ID() argument
7587 return ((val) << A6XX_HLSQ_EVENT_CMD_STATE_ID__SHIFT) & A6XX_HLSQ_EVENT_CMD_STATE_ID__MASK; in A6XX_HLSQ_EVENT_CMD_STATE_ID()
7591 static inline uint32_t A6XX_HLSQ_EVENT_CMD_EVENT(enum vgt_event_type val) in A6XX_HLSQ_EVENT_CMD_EVENT() argument
7593 return ((val) << A6XX_HLSQ_EVENT_CMD_EVENT__SHIFT) & A6XX_HLSQ_EVENT_CMD_EVENT__MASK; in A6XX_HLSQ_EVENT_CMD_EVENT()
7609 static inline uint32_t A6XX_HLSQ_INVALIDATE_CMD_CS_BINDLESS(uint32_t val) in A6XX_HLSQ_INVALIDATE_CMD_CS_BINDLESS() argument
7611 …return ((val) << A6XX_HLSQ_INVALIDATE_CMD_CS_BINDLESS__SHIFT) & A6XX_HLSQ_INVALIDATE_CMD_CS_BINDLE… in A6XX_HLSQ_INVALIDATE_CMD_CS_BINDLESS()
7615 static inline uint32_t A6XX_HLSQ_INVALIDATE_CMD_GFX_BINDLESS(uint32_t val) in A6XX_HLSQ_INVALIDATE_CMD_GFX_BINDLESS() argument
7617 …return ((val) << A6XX_HLSQ_INVALIDATE_CMD_GFX_BINDLESS__SHIFT) & A6XX_HLSQ_INVALIDATE_CMD_GFX_BIND… in A6XX_HLSQ_INVALIDATE_CMD_GFX_BINDLESS()
7623 static inline uint32_t A6XX_HLSQ_FS_CNTL_CONSTLEN(uint32_t val) in A6XX_HLSQ_FS_CNTL_CONSTLEN() argument
7625 return ((val >> 2) << A6XX_HLSQ_FS_CNTL_CONSTLEN__SHIFT) & A6XX_HLSQ_FS_CNTL_CONSTLEN__MASK; in A6XX_HLSQ_FS_CNTL_CONSTLEN()
7637 …nline uint32_t A6XX_HLSQ_BINDLESS_BASE_DESCRIPTOR_DESC_SIZE(enum a6xx_bindless_descriptor_size val) in A6XX_HLSQ_BINDLESS_BASE_DESCRIPTOR_DESC_SIZE() argument
7639 …return ((val) << A6XX_HLSQ_BINDLESS_BASE_DESCRIPTOR_DESC_SIZE__SHIFT) & A6XX_HLSQ_BINDLESS_BASE_DE… in A6XX_HLSQ_BINDLESS_BASE_DESCRIPTOR_DESC_SIZE()
7643 static inline uint32_t A6XX_HLSQ_BINDLESS_BASE_DESCRIPTOR_ADDR(uint32_t val) in A6XX_HLSQ_BINDLESS_BASE_DESCRIPTOR_ADDR() argument
7645 …return ((val >> 2) << A6XX_HLSQ_BINDLESS_BASE_DESCRIPTOR_ADDR__SHIFT) & A6XX_HLSQ_BINDLESS_BASE_DE… in A6XX_HLSQ_BINDLESS_BASE_DESCRIPTOR_ADDR()
7651 static inline uint32_t A6XX_HLSQ_2D_EVENT_CMD_STATE_ID(uint32_t val) in A6XX_HLSQ_2D_EVENT_CMD_STATE_ID() argument
7653 return ((val) << A6XX_HLSQ_2D_EVENT_CMD_STATE_ID__SHIFT) & A6XX_HLSQ_2D_EVENT_CMD_STATE_ID__MASK; in A6XX_HLSQ_2D_EVENT_CMD_STATE_ID()
7657 static inline uint32_t A6XX_HLSQ_2D_EVENT_CMD_EVENT(enum vgt_event_type val) in A6XX_HLSQ_2D_EVENT_CMD_EVENT() argument
7659 return ((val) << A6XX_HLSQ_2D_EVENT_CMD_EVENT__SHIFT) & A6XX_HLSQ_2D_EVENT_CMD_EVENT__MASK; in A6XX_HLSQ_2D_EVENT_CMD_EVENT()
7681 static inline uint32_t A6XX_CP_EVENT_START_STATE_ID(uint32_t val) in A6XX_CP_EVENT_START_STATE_ID() argument
7683 return ((val) << A6XX_CP_EVENT_START_STATE_ID__SHIFT) & A6XX_CP_EVENT_START_STATE_ID__MASK; in A6XX_CP_EVENT_START_STATE_ID()
7689 static inline uint32_t A6XX_CP_EVENT_END_STATE_ID(uint32_t val) in A6XX_CP_EVENT_END_STATE_ID() argument
7691 return ((val) << A6XX_CP_EVENT_END_STATE_ID__SHIFT) & A6XX_CP_EVENT_END_STATE_ID__MASK; in A6XX_CP_EVENT_END_STATE_ID()
7697 static inline uint32_t A6XX_CP_2D_EVENT_START_STATE_ID(uint32_t val) in A6XX_CP_2D_EVENT_START_STATE_ID() argument
7699 return ((val) << A6XX_CP_2D_EVENT_START_STATE_ID__SHIFT) & A6XX_CP_2D_EVENT_START_STATE_ID__MASK; in A6XX_CP_2D_EVENT_START_STATE_ID()
7705 static inline uint32_t A6XX_CP_2D_EVENT_END_STATE_ID(uint32_t val) in A6XX_CP_2D_EVENT_END_STATE_ID() argument
7707 return ((val) << A6XX_CP_2D_EVENT_END_STATE_ID__SHIFT) & A6XX_CP_2D_EVENT_END_STATE_ID__MASK; in A6XX_CP_2D_EVENT_END_STATE_ID()
7714 static inline uint32_t A6XX_TEX_SAMP_0_XY_MAG(enum a6xx_tex_filter val) in A6XX_TEX_SAMP_0_XY_MAG() argument
7716 return ((val) << A6XX_TEX_SAMP_0_XY_MAG__SHIFT) & A6XX_TEX_SAMP_0_XY_MAG__MASK; in A6XX_TEX_SAMP_0_XY_MAG()
7720 static inline uint32_t A6XX_TEX_SAMP_0_XY_MIN(enum a6xx_tex_filter val) in A6XX_TEX_SAMP_0_XY_MIN() argument
7722 return ((val) << A6XX_TEX_SAMP_0_XY_MIN__SHIFT) & A6XX_TEX_SAMP_0_XY_MIN__MASK; in A6XX_TEX_SAMP_0_XY_MIN()
7726 static inline uint32_t A6XX_TEX_SAMP_0_WRAP_S(enum a6xx_tex_clamp val) in A6XX_TEX_SAMP_0_WRAP_S() argument
7728 return ((val) << A6XX_TEX_SAMP_0_WRAP_S__SHIFT) & A6XX_TEX_SAMP_0_WRAP_S__MASK; in A6XX_TEX_SAMP_0_WRAP_S()
7732 static inline uint32_t A6XX_TEX_SAMP_0_WRAP_T(enum a6xx_tex_clamp val) in A6XX_TEX_SAMP_0_WRAP_T() argument
7734 return ((val) << A6XX_TEX_SAMP_0_WRAP_T__SHIFT) & A6XX_TEX_SAMP_0_WRAP_T__MASK; in A6XX_TEX_SAMP_0_WRAP_T()
7738 static inline uint32_t A6XX_TEX_SAMP_0_WRAP_R(enum a6xx_tex_clamp val) in A6XX_TEX_SAMP_0_WRAP_R() argument
7740 return ((val) << A6XX_TEX_SAMP_0_WRAP_R__SHIFT) & A6XX_TEX_SAMP_0_WRAP_R__MASK; in A6XX_TEX_SAMP_0_WRAP_R()
7744 static inline uint32_t A6XX_TEX_SAMP_0_ANISO(enum a6xx_tex_aniso val) in A6XX_TEX_SAMP_0_ANISO() argument
7746 return ((val) << A6XX_TEX_SAMP_0_ANISO__SHIFT) & A6XX_TEX_SAMP_0_ANISO__MASK; in A6XX_TEX_SAMP_0_ANISO()
7750 static inline uint32_t A6XX_TEX_SAMP_0_LOD_BIAS(float val) in A6XX_TEX_SAMP_0_LOD_BIAS() argument
7752 …return ((((int32_t)(val * 256.0))) << A6XX_TEX_SAMP_0_LOD_BIAS__SHIFT) & A6XX_TEX_SAMP_0_LOD_BIAS_… in A6XX_TEX_SAMP_0_LOD_BIAS()
7759 static inline uint32_t A6XX_TEX_SAMP_1_COMPARE_FUNC(enum adreno_compare_func val) in A6XX_TEX_SAMP_1_COMPARE_FUNC() argument
7761 return ((val) << A6XX_TEX_SAMP_1_COMPARE_FUNC__SHIFT) & A6XX_TEX_SAMP_1_COMPARE_FUNC__MASK; in A6XX_TEX_SAMP_1_COMPARE_FUNC()
7768 static inline uint32_t A6XX_TEX_SAMP_1_MAX_LOD(float val) in A6XX_TEX_SAMP_1_MAX_LOD() argument
7770 …return ((((uint32_t)(val * 256.0))) << A6XX_TEX_SAMP_1_MAX_LOD__SHIFT) & A6XX_TEX_SAMP_1_MAX_LOD__… in A6XX_TEX_SAMP_1_MAX_LOD()
7774 static inline uint32_t A6XX_TEX_SAMP_1_MIN_LOD(float val) in A6XX_TEX_SAMP_1_MIN_LOD() argument
7776 …return ((((uint32_t)(val * 256.0))) << A6XX_TEX_SAMP_1_MIN_LOD__SHIFT) & A6XX_TEX_SAMP_1_MIN_LOD__… in A6XX_TEX_SAMP_1_MIN_LOD()
7782 static inline uint32_t A6XX_TEX_SAMP_2_REDUCTION_MODE(enum a6xx_reduction_mode val) in A6XX_TEX_SAMP_2_REDUCTION_MODE() argument
7784 return ((val) << A6XX_TEX_SAMP_2_REDUCTION_MODE__SHIFT) & A6XX_TEX_SAMP_2_REDUCTION_MODE__MASK; in A6XX_TEX_SAMP_2_REDUCTION_MODE()
7789 static inline uint32_t A6XX_TEX_SAMP_2_BCOLOR(uint32_t val) in A6XX_TEX_SAMP_2_BCOLOR() argument
7791 return ((val) << A6XX_TEX_SAMP_2_BCOLOR__SHIFT) & A6XX_TEX_SAMP_2_BCOLOR__MASK; in A6XX_TEX_SAMP_2_BCOLOR()
7799 static inline uint32_t A6XX_TEX_CONST_0_TILE_MODE(enum a6xx_tile_mode val) in A6XX_TEX_CONST_0_TILE_MODE() argument
7801 return ((val) << A6XX_TEX_CONST_0_TILE_MODE__SHIFT) & A6XX_TEX_CONST_0_TILE_MODE__MASK; in A6XX_TEX_CONST_0_TILE_MODE()
7806 static inline uint32_t A6XX_TEX_CONST_0_SWIZ_X(enum a6xx_tex_swiz val) in A6XX_TEX_CONST_0_SWIZ_X() argument
7808 return ((val) << A6XX_TEX_CONST_0_SWIZ_X__SHIFT) & A6XX_TEX_CONST_0_SWIZ_X__MASK; in A6XX_TEX_CONST_0_SWIZ_X()
7812 static inline uint32_t A6XX_TEX_CONST_0_SWIZ_Y(enum a6xx_tex_swiz val) in A6XX_TEX_CONST_0_SWIZ_Y() argument
7814 return ((val) << A6XX_TEX_CONST_0_SWIZ_Y__SHIFT) & A6XX_TEX_CONST_0_SWIZ_Y__MASK; in A6XX_TEX_CONST_0_SWIZ_Y()
7818 static inline uint32_t A6XX_TEX_CONST_0_SWIZ_Z(enum a6xx_tex_swiz val) in A6XX_TEX_CONST_0_SWIZ_Z() argument
7820 return ((val) << A6XX_TEX_CONST_0_SWIZ_Z__SHIFT) & A6XX_TEX_CONST_0_SWIZ_Z__MASK; in A6XX_TEX_CONST_0_SWIZ_Z()
7824 static inline uint32_t A6XX_TEX_CONST_0_SWIZ_W(enum a6xx_tex_swiz val) in A6XX_TEX_CONST_0_SWIZ_W() argument
7826 return ((val) << A6XX_TEX_CONST_0_SWIZ_W__SHIFT) & A6XX_TEX_CONST_0_SWIZ_W__MASK; in A6XX_TEX_CONST_0_SWIZ_W()
7830 static inline uint32_t A6XX_TEX_CONST_0_MIPLVLS(uint32_t val) in A6XX_TEX_CONST_0_MIPLVLS() argument
7832 return ((val) << A6XX_TEX_CONST_0_MIPLVLS__SHIFT) & A6XX_TEX_CONST_0_MIPLVLS__MASK; in A6XX_TEX_CONST_0_MIPLVLS()
7838 static inline uint32_t A6XX_TEX_CONST_0_SAMPLES(enum a3xx_msaa_samples val) in A6XX_TEX_CONST_0_SAMPLES() argument
7840 return ((val) << A6XX_TEX_CONST_0_SAMPLES__SHIFT) & A6XX_TEX_CONST_0_SAMPLES__MASK; in A6XX_TEX_CONST_0_SAMPLES()
7844 static inline uint32_t A6XX_TEX_CONST_0_FMT(enum a6xx_format val) in A6XX_TEX_CONST_0_FMT() argument
7846 return ((val) << A6XX_TEX_CONST_0_FMT__SHIFT) & A6XX_TEX_CONST_0_FMT__MASK; in A6XX_TEX_CONST_0_FMT()
7850 static inline uint32_t A6XX_TEX_CONST_0_SWAP(enum a3xx_color_swap val) in A6XX_TEX_CONST_0_SWAP() argument
7852 return ((val) << A6XX_TEX_CONST_0_SWAP__SHIFT) & A6XX_TEX_CONST_0_SWAP__MASK; in A6XX_TEX_CONST_0_SWAP()
7858 static inline uint32_t A6XX_TEX_CONST_1_WIDTH(uint32_t val) in A6XX_TEX_CONST_1_WIDTH() argument
7860 return ((val) << A6XX_TEX_CONST_1_WIDTH__SHIFT) & A6XX_TEX_CONST_1_WIDTH__MASK; in A6XX_TEX_CONST_1_WIDTH()
7864 static inline uint32_t A6XX_TEX_CONST_1_HEIGHT(uint32_t val) in A6XX_TEX_CONST_1_HEIGHT() argument
7866 return ((val) << A6XX_TEX_CONST_1_HEIGHT__SHIFT) & A6XX_TEX_CONST_1_HEIGHT__MASK; in A6XX_TEX_CONST_1_HEIGHT()
7872 static inline uint32_t A6XX_TEX_CONST_2_STRUCTSIZETEXELS(uint32_t val) in A6XX_TEX_CONST_2_STRUCTSIZETEXELS() argument
7874 …return ((val) << A6XX_TEX_CONST_2_STRUCTSIZETEXELS__SHIFT) & A6XX_TEX_CONST_2_STRUCTSIZETEXELS__MA… in A6XX_TEX_CONST_2_STRUCTSIZETEXELS()
7878 static inline uint32_t A6XX_TEX_CONST_2_STARTOFFSETTEXELS(uint32_t val) in A6XX_TEX_CONST_2_STARTOFFSETTEXELS() argument
7880 …return ((val) << A6XX_TEX_CONST_2_STARTOFFSETTEXELS__SHIFT) & A6XX_TEX_CONST_2_STARTOFFSETTEXELS__… in A6XX_TEX_CONST_2_STARTOFFSETTEXELS()
7884 static inline uint32_t A6XX_TEX_CONST_2_PITCHALIGN(uint32_t val) in A6XX_TEX_CONST_2_PITCHALIGN() argument
7886 return ((val) << A6XX_TEX_CONST_2_PITCHALIGN__SHIFT) & A6XX_TEX_CONST_2_PITCHALIGN__MASK; in A6XX_TEX_CONST_2_PITCHALIGN()
7890 static inline uint32_t A6XX_TEX_CONST_2_PITCH(uint32_t val) in A6XX_TEX_CONST_2_PITCH() argument
7892 return ((val) << A6XX_TEX_CONST_2_PITCH__SHIFT) & A6XX_TEX_CONST_2_PITCH__MASK; in A6XX_TEX_CONST_2_PITCH()
7896 static inline uint32_t A6XX_TEX_CONST_2_TYPE(enum a6xx_tex_type val) in A6XX_TEX_CONST_2_TYPE() argument
7898 return ((val) << A6XX_TEX_CONST_2_TYPE__SHIFT) & A6XX_TEX_CONST_2_TYPE__MASK; in A6XX_TEX_CONST_2_TYPE()
7904 static inline uint32_t A6XX_TEX_CONST_3_ARRAY_PITCH(uint32_t val) in A6XX_TEX_CONST_3_ARRAY_PITCH() argument
7906 return ((val >> 12) << A6XX_TEX_CONST_3_ARRAY_PITCH__SHIFT) & A6XX_TEX_CONST_3_ARRAY_PITCH__MASK; in A6XX_TEX_CONST_3_ARRAY_PITCH()
7910 static inline uint32_t A6XX_TEX_CONST_3_MIN_LAYERSZ(uint32_t val) in A6XX_TEX_CONST_3_MIN_LAYERSZ() argument
7912 return ((val >> 12) << A6XX_TEX_CONST_3_MIN_LAYERSZ__SHIFT) & A6XX_TEX_CONST_3_MIN_LAYERSZ__MASK; in A6XX_TEX_CONST_3_MIN_LAYERSZ()
7920 static inline uint32_t A6XX_TEX_CONST_4_BASE_LO(uint32_t val) in A6XX_TEX_CONST_4_BASE_LO() argument
7922 return ((val >> 5) << A6XX_TEX_CONST_4_BASE_LO__SHIFT) & A6XX_TEX_CONST_4_BASE_LO__MASK; in A6XX_TEX_CONST_4_BASE_LO()
7928 static inline uint32_t A6XX_TEX_CONST_5_BASE_HI(uint32_t val) in A6XX_TEX_CONST_5_BASE_HI() argument
7930 return ((val) << A6XX_TEX_CONST_5_BASE_HI__SHIFT) & A6XX_TEX_CONST_5_BASE_HI__MASK; in A6XX_TEX_CONST_5_BASE_HI()
7934 static inline uint32_t A6XX_TEX_CONST_5_DEPTH(uint32_t val) in A6XX_TEX_CONST_5_DEPTH() argument
7936 return ((val) << A6XX_TEX_CONST_5_DEPTH__SHIFT) & A6XX_TEX_CONST_5_DEPTH__MASK; in A6XX_TEX_CONST_5_DEPTH()
7942 static inline uint32_t A6XX_TEX_CONST_6_MIN_LOD_CLAMP(float val) in A6XX_TEX_CONST_6_MIN_LOD_CLAMP() argument
7944 …return ((((uint32_t)(val * 256.0))) << A6XX_TEX_CONST_6_MIN_LOD_CLAMP__SHIFT) & A6XX_TEX_CONST_6_M… in A6XX_TEX_CONST_6_MIN_LOD_CLAMP()
7948 static inline uint32_t A6XX_TEX_CONST_6_PLANE_PITCH(uint32_t val) in A6XX_TEX_CONST_6_PLANE_PITCH() argument
7950 return ((val) << A6XX_TEX_CONST_6_PLANE_PITCH__SHIFT) & A6XX_TEX_CONST_6_PLANE_PITCH__MASK; in A6XX_TEX_CONST_6_PLANE_PITCH()
7956 static inline uint32_t A6XX_TEX_CONST_7_FLAG_LO(uint32_t val) in A6XX_TEX_CONST_7_FLAG_LO() argument
7958 return ((val >> 5) << A6XX_TEX_CONST_7_FLAG_LO__SHIFT) & A6XX_TEX_CONST_7_FLAG_LO__MASK; in A6XX_TEX_CONST_7_FLAG_LO()
7964 static inline uint32_t A6XX_TEX_CONST_8_FLAG_HI(uint32_t val) in A6XX_TEX_CONST_8_FLAG_HI() argument
7966 return ((val) << A6XX_TEX_CONST_8_FLAG_HI__SHIFT) & A6XX_TEX_CONST_8_FLAG_HI__MASK; in A6XX_TEX_CONST_8_FLAG_HI()
7972 static inline uint32_t A6XX_TEX_CONST_9_FLAG_BUFFER_ARRAY_PITCH(uint32_t val) in A6XX_TEX_CONST_9_FLAG_BUFFER_ARRAY_PITCH() argument
7974 …return ((val >> 4) << A6XX_TEX_CONST_9_FLAG_BUFFER_ARRAY_PITCH__SHIFT) & A6XX_TEX_CONST_9_FLAG_BUF… in A6XX_TEX_CONST_9_FLAG_BUFFER_ARRAY_PITCH()
7980 static inline uint32_t A6XX_TEX_CONST_10_FLAG_BUFFER_PITCH(uint32_t val) in A6XX_TEX_CONST_10_FLAG_BUFFER_PITCH() argument
7982 …return ((val >> 6) << A6XX_TEX_CONST_10_FLAG_BUFFER_PITCH__SHIFT) & A6XX_TEX_CONST_10_FLAG_BUFFER_… in A6XX_TEX_CONST_10_FLAG_BUFFER_PITCH()
7986 static inline uint32_t A6XX_TEX_CONST_10_FLAG_BUFFER_LOGW(uint32_t val) in A6XX_TEX_CONST_10_FLAG_BUFFER_LOGW() argument
7988 …return ((val) << A6XX_TEX_CONST_10_FLAG_BUFFER_LOGW__SHIFT) & A6XX_TEX_CONST_10_FLAG_BUFFER_LOGW__… in A6XX_TEX_CONST_10_FLAG_BUFFER_LOGW()
7992 static inline uint32_t A6XX_TEX_CONST_10_FLAG_BUFFER_LOGH(uint32_t val) in A6XX_TEX_CONST_10_FLAG_BUFFER_LOGH() argument
7994 …return ((val) << A6XX_TEX_CONST_10_FLAG_BUFFER_LOGH__SHIFT) & A6XX_TEX_CONST_10_FLAG_BUFFER_LOGH__… in A6XX_TEX_CONST_10_FLAG_BUFFER_LOGH()
8010 static inline uint32_t A6XX_UBO_0_BASE_LO(uint32_t val) in A6XX_UBO_0_BASE_LO() argument
8012 return ((val) << A6XX_UBO_0_BASE_LO__SHIFT) & A6XX_UBO_0_BASE_LO__MASK; in A6XX_UBO_0_BASE_LO()
8018 static inline uint32_t A6XX_UBO_1_BASE_HI(uint32_t val) in A6XX_UBO_1_BASE_HI() argument
8020 return ((val) << A6XX_UBO_1_BASE_HI__SHIFT) & A6XX_UBO_1_BASE_HI__MASK; in A6XX_UBO_1_BASE_HI()
8024 static inline uint32_t A6XX_UBO_1_SIZE(uint32_t val) in A6XX_UBO_1_SIZE() argument
8026 return ((val) << A6XX_UBO_1_SIZE__SHIFT) & A6XX_UBO_1_SIZE__MASK; in A6XX_UBO_1_SIZE()
8086 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_SEL_A_PING_INDEX(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_SEL_A_PING_INDEX() argument
8088 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_SEL_A_PING_INDEX__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_SEL_A_… in A6XX_CX_DBGC_CFG_DBGBUS_SEL_A_PING_INDEX()
8092 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_SEL_A_PING_BLK_SEL(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_SEL_A_PING_BLK_SEL() argument
8094 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_SEL_A_PING_BLK_SEL__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_SEL_… in A6XX_CX_DBGC_CFG_DBGBUS_SEL_A_PING_BLK_SEL()
8106 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_CNTLT_TRACEEN(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_CNTLT_TRACEEN() argument
8108 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_CNTLT_TRACEEN__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_CNTLT_TRA… in A6XX_CX_DBGC_CFG_DBGBUS_CNTLT_TRACEEN()
8112 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_CNTLT_GRANU(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_CNTLT_GRANU() argument
8114 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_CNTLT_GRANU__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_CNTLT_GRANU… in A6XX_CX_DBGC_CFG_DBGBUS_CNTLT_GRANU()
8118 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_CNTLT_SEGT(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_CNTLT_SEGT() argument
8120 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_CNTLT_SEGT__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_CNTLT_SEGT__… in A6XX_CX_DBGC_CFG_DBGBUS_CNTLT_SEGT()
8126 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_CNTLM_ENABLE(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_CNTLM_ENABLE() argument
8128 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_CNTLM_ENABLE__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_CNTLM_ENAB… in A6XX_CX_DBGC_CFG_DBGBUS_CNTLM_ENABLE()
8150 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL0(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL0() argument
8152 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL0__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_… in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL0()
8156 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL1(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL1() argument
8158 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL1__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_… in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL1()
8162 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL2(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL2() argument
8164 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL2__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_… in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL2()
8168 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL3(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL3() argument
8170 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL3__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_… in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL3()
8174 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL4(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL4() argument
8176 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL4__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_… in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL4()
8180 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL5(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL5() argument
8182 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL5__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_… in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL5()
8186 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL6(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL6() argument
8188 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL6__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_… in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL6()
8192 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL7(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL7() argument
8194 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL7__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_… in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL7()
8200 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL8(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL8() argument
8202 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL8__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_… in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL8()
8206 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL9(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL9() argument
8208 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL9__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_… in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL9()
8212 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL10(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL10() argument
8214 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL10__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1… in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL10()
8218 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL11(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL11() argument
8220 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL11__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1… in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL11()
8224 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12() argument
8226 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1… in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12()
8230 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL13(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL13() argument
8232 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL13__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1… in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL13()
8236 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL14(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL14() argument
8238 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL14__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1… in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL14()
8242 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL15(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL15() argument
8244 …return ((val) << A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL15__SHIFT) & A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1… in A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL15()