Lines Matching refs:val

1073 static inline uint32_t A6XX_CP_PROTECT_REG_BASE_ADDR(uint32_t val)  in A6XX_CP_PROTECT_REG_BASE_ADDR()  argument
1075 return ((val) << A6XX_CP_PROTECT_REG_BASE_ADDR__SHIFT) & A6XX_CP_PROTECT_REG_BASE_ADDR__MASK; in A6XX_CP_PROTECT_REG_BASE_ADDR()
1079 static inline uint32_t A6XX_CP_PROTECT_REG_MASK_LEN(uint32_t val) in A6XX_CP_PROTECT_REG_MASK_LEN() argument
1081 return ((val) << A6XX_CP_PROTECT_REG_MASK_LEN__SHIFT) & A6XX_CP_PROTECT_REG_MASK_LEN__MASK; in A6XX_CP_PROTECT_REG_MASK_LEN()
2004 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
2006 …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()
2010 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
2012 …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()
2018 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_CNTLT_TRACEEN(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_CNTLT_TRACEEN() argument
2020 …return ((val) << A6XX_DBGC_CFG_DBGBUS_CNTLT_TRACEEN__SHIFT) & A6XX_DBGC_CFG_DBGBUS_CNTLT_TRACEEN__… in A6XX_DBGC_CFG_DBGBUS_CNTLT_TRACEEN()
2024 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU() argument
2026 return ((val) << A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU__SHIFT) & A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU__MASK; in A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU()
2030 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_CNTLT_SEGT(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_CNTLT_SEGT() argument
2032 return ((val) << A6XX_DBGC_CFG_DBGBUS_CNTLT_SEGT__SHIFT) & A6XX_DBGC_CFG_DBGBUS_CNTLT_SEGT__MASK; in A6XX_DBGC_CFG_DBGBUS_CNTLT_SEGT()
2038 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_CNTLM_ENABLE(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_CNTLM_ENABLE() argument
2040 …return ((val) << A6XX_DBGC_CFG_DBGBUS_CNTLM_ENABLE__SHIFT) & A6XX_DBGC_CFG_DBGBUS_CNTLM_ENABLE__MA… in A6XX_DBGC_CFG_DBGBUS_CNTLM_ENABLE()
2062 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL0(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL0() argument
2064 …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()
2068 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL1(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL1() argument
2070 …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()
2074 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL2(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL2() argument
2076 …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()
2080 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL3(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL3() argument
2082 …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()
2086 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL4(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL4() argument
2088 …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()
2092 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL5(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL5() argument
2094 …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()
2098 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL6(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL6() argument
2100 …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()
2104 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL7(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_0_BYTEL7() argument
2106 …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()
2112 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL8(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL8() argument
2114 …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()
2118 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL9(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL9() argument
2120 …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()
2124 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL10(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL10() argument
2126 …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()
2130 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL11(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL11() argument
2132 …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()
2136 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12() argument
2138 …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()
2142 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL13(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL13() argument
2144 …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()
2148 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL14(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL14() argument
2150 …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()
2154 static inline uint32_t A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL15(uint32_t val) in A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL15() argument
2156 …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()
2336 static inline uint32_t A6XX_UCHE_CLIENT_PF_PERFSEL(uint32_t val) in A6XX_UCHE_CLIENT_PF_PERFSEL() argument
2338 return ((val) << A6XX_UCHE_CLIENT_PF_PERFSEL__SHIFT) & A6XX_UCHE_CLIENT_PF_PERFSEL__MASK; in A6XX_UCHE_CLIENT_PF_PERFSEL()
2463 static inline uint32_t A6XX_VBIF_TEST_BUS1_CTRL1_DATA_SEL(uint32_t val) in A6XX_VBIF_TEST_BUS1_CTRL1_DATA_SEL() argument
2465 …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()
2473 static inline uint32_t A6XX_VBIF_TEST_BUS2_CTRL1_DATA_SEL(uint32_t val) in A6XX_VBIF_TEST_BUS2_CTRL1_DATA_SEL() argument
2475 …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()
2526 static inline uint32_t A6XX_RB_WINDOW_OFFSET2_X(uint32_t val) in A6XX_RB_WINDOW_OFFSET2_X() argument
2528 return ((val) << A6XX_RB_WINDOW_OFFSET2_X__SHIFT) & A6XX_RB_WINDOW_OFFSET2_X__MASK; in A6XX_RB_WINDOW_OFFSET2_X()
2532 static inline uint32_t A6XX_RB_WINDOW_OFFSET2_Y(uint32_t val) in A6XX_RB_WINDOW_OFFSET2_Y() argument
2534 return ((val) << A6XX_RB_WINDOW_OFFSET2_Y__SHIFT) & A6XX_RB_WINDOW_OFFSET2_Y__MASK; in A6XX_RB_WINDOW_OFFSET2_Y()
2541 static inline uint32_t A6XX_SP_WINDOW_OFFSET_X(uint32_t val) in A6XX_SP_WINDOW_OFFSET_X() argument
2543 return ((val) << A6XX_SP_WINDOW_OFFSET_X__SHIFT) & A6XX_SP_WINDOW_OFFSET_X__MASK; in A6XX_SP_WINDOW_OFFSET_X()
2547 static inline uint32_t A6XX_SP_WINDOW_OFFSET_Y(uint32_t val) in A6XX_SP_WINDOW_OFFSET_Y() argument
2549 return ((val) << A6XX_SP_WINDOW_OFFSET_Y__SHIFT) & A6XX_SP_WINDOW_OFFSET_Y__MASK; in A6XX_SP_WINDOW_OFFSET_Y()
2556 static inline uint32_t A6XX_SP_TP_WINDOW_OFFSET_X(uint32_t val) in A6XX_SP_TP_WINDOW_OFFSET_X() argument
2558 return ((val) << A6XX_SP_TP_WINDOW_OFFSET_X__SHIFT) & A6XX_SP_TP_WINDOW_OFFSET_X__MASK; in A6XX_SP_TP_WINDOW_OFFSET_X()
2562 static inline uint32_t A6XX_SP_TP_WINDOW_OFFSET_Y(uint32_t val) in A6XX_SP_TP_WINDOW_OFFSET_Y() argument
2564 return ((val) << A6XX_SP_TP_WINDOW_OFFSET_Y__SHIFT) & A6XX_SP_TP_WINDOW_OFFSET_Y__MASK; in A6XX_SP_TP_WINDOW_OFFSET_Y()
2570 static inline uint32_t A6XX_GRAS_BIN_CONTROL_BINW(uint32_t val) in A6XX_GRAS_BIN_CONTROL_BINW() argument
2572 return ((val >> 5) << A6XX_GRAS_BIN_CONTROL_BINW__SHIFT) & A6XX_GRAS_BIN_CONTROL_BINW__MASK; in A6XX_GRAS_BIN_CONTROL_BINW()
2576 static inline uint32_t A6XX_GRAS_BIN_CONTROL_BINH(uint32_t val) in A6XX_GRAS_BIN_CONTROL_BINH() argument
2578 return ((val >> 4) << A6XX_GRAS_BIN_CONTROL_BINH__SHIFT) & A6XX_GRAS_BIN_CONTROL_BINH__MASK; in A6XX_GRAS_BIN_CONTROL_BINH()
2586 static inline uint32_t A6XX_RB_BIN_CONTROL2_BINW(uint32_t val) in A6XX_RB_BIN_CONTROL2_BINW() argument
2588 return ((val >> 5) << A6XX_RB_BIN_CONTROL2_BINW__SHIFT) & A6XX_RB_BIN_CONTROL2_BINW__MASK; in A6XX_RB_BIN_CONTROL2_BINW()
2592 static inline uint32_t A6XX_RB_BIN_CONTROL2_BINH(uint32_t val) in A6XX_RB_BIN_CONTROL2_BINH() argument
2594 return ((val >> 4) << A6XX_RB_BIN_CONTROL2_BINH__SHIFT) & A6XX_RB_BIN_CONTROL2_BINH__MASK; in A6XX_RB_BIN_CONTROL2_BINH()
2600 static inline uint32_t A6XX_VSC_BIN_SIZE_WIDTH(uint32_t val) in A6XX_VSC_BIN_SIZE_WIDTH() argument
2602 return ((val >> 5) << A6XX_VSC_BIN_SIZE_WIDTH__SHIFT) & A6XX_VSC_BIN_SIZE_WIDTH__MASK; in A6XX_VSC_BIN_SIZE_WIDTH()
2606 static inline uint32_t A6XX_VSC_BIN_SIZE_HEIGHT(uint32_t val) in A6XX_VSC_BIN_SIZE_HEIGHT() argument
2608 return ((val >> 4) << A6XX_VSC_BIN_SIZE_HEIGHT__SHIFT) & A6XX_VSC_BIN_SIZE_HEIGHT__MASK; in A6XX_VSC_BIN_SIZE_HEIGHT()
2618 static inline uint32_t A6XX_VSC_BIN_COUNT_NX(uint32_t val) in A6XX_VSC_BIN_COUNT_NX() argument
2620 return ((val) << A6XX_VSC_BIN_COUNT_NX__SHIFT) & A6XX_VSC_BIN_COUNT_NX__MASK; in A6XX_VSC_BIN_COUNT_NX()
2624 static inline uint32_t A6XX_VSC_BIN_COUNT_NY(uint32_t val) in A6XX_VSC_BIN_COUNT_NY() argument
2626 return ((val) << A6XX_VSC_BIN_COUNT_NY__SHIFT) & A6XX_VSC_BIN_COUNT_NY__MASK; in A6XX_VSC_BIN_COUNT_NY()
2634 static inline uint32_t A6XX_VSC_PIPE_CONFIG_REG_X(uint32_t val) in A6XX_VSC_PIPE_CONFIG_REG_X() argument
2636 return ((val) << A6XX_VSC_PIPE_CONFIG_REG_X__SHIFT) & A6XX_VSC_PIPE_CONFIG_REG_X__MASK; in A6XX_VSC_PIPE_CONFIG_REG_X()
2640 static inline uint32_t A6XX_VSC_PIPE_CONFIG_REG_Y(uint32_t val) in A6XX_VSC_PIPE_CONFIG_REG_Y() argument
2642 return ((val) << A6XX_VSC_PIPE_CONFIG_REG_Y__SHIFT) & A6XX_VSC_PIPE_CONFIG_REG_Y__MASK; in A6XX_VSC_PIPE_CONFIG_REG_Y()
2646 static inline uint32_t A6XX_VSC_PIPE_CONFIG_REG_W(uint32_t val) in A6XX_VSC_PIPE_CONFIG_REG_W() argument
2648 return ((val) << A6XX_VSC_PIPE_CONFIG_REG_W__SHIFT) & A6XX_VSC_PIPE_CONFIG_REG_W__MASK; in A6XX_VSC_PIPE_CONFIG_REG_W()
2652 static inline uint32_t A6XX_VSC_PIPE_CONFIG_REG_H(uint32_t val) in A6XX_VSC_PIPE_CONFIG_REG_H() argument
2654 return ((val) << A6XX_VSC_PIPE_CONFIG_REG_H__SHIFT) & A6XX_VSC_PIPE_CONFIG_REG_H__MASK; in A6XX_VSC_PIPE_CONFIG_REG_H()
2666 static inline uint32_t A6XX_VSC_PIPE_DATA2_ARRAY_PITCH(uint32_t val) in A6XX_VSC_PIPE_DATA2_ARRAY_PITCH() argument
2668 …return ((val >> 4) << A6XX_VSC_PIPE_DATA2_ARRAY_PITCH__SHIFT) & A6XX_VSC_PIPE_DATA2_ARRAY_PITCH__M… in A6XX_VSC_PIPE_DATA2_ARRAY_PITCH()
2680 static inline uint32_t A6XX_VSC_PIPE_DATA_ARRAY_PITCH(uint32_t val) in A6XX_VSC_PIPE_DATA_ARRAY_PITCH() argument
2682 …return ((val >> 4) << A6XX_VSC_PIPE_DATA_ARRAY_PITCH__SHIFT) & A6XX_VSC_PIPE_DATA_ARRAY_PITCH__MAS… in A6XX_VSC_PIPE_DATA_ARRAY_PITCH()
2708 static inline uint32_t A6XX_GRAS_CL_GUARDBAND_CLIP_ADJ_HORZ(uint32_t val) in A6XX_GRAS_CL_GUARDBAND_CLIP_ADJ_HORZ() argument
2710 …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()
2714 static inline uint32_t A6XX_GRAS_CL_GUARDBAND_CLIP_ADJ_VERT(uint32_t val) in A6XX_GRAS_CL_GUARDBAND_CLIP_ADJ_VERT() argument
2716 …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()
2722 static inline uint32_t A6XX_GRAS_CL_VPORT_XOFFSET_0(float val) in A6XX_GRAS_CL_VPORT_XOFFSET_0() argument
2724 return ((fui(val)) << A6XX_GRAS_CL_VPORT_XOFFSET_0__SHIFT) & A6XX_GRAS_CL_VPORT_XOFFSET_0__MASK; in A6XX_GRAS_CL_VPORT_XOFFSET_0()
2730 static inline uint32_t A6XX_GRAS_CL_VPORT_XSCALE_0(float val) in A6XX_GRAS_CL_VPORT_XSCALE_0() argument
2732 return ((fui(val)) << A6XX_GRAS_CL_VPORT_XSCALE_0__SHIFT) & A6XX_GRAS_CL_VPORT_XSCALE_0__MASK; in A6XX_GRAS_CL_VPORT_XSCALE_0()
2738 static inline uint32_t A6XX_GRAS_CL_VPORT_YOFFSET_0(float val) in A6XX_GRAS_CL_VPORT_YOFFSET_0() argument
2740 return ((fui(val)) << A6XX_GRAS_CL_VPORT_YOFFSET_0__SHIFT) & A6XX_GRAS_CL_VPORT_YOFFSET_0__MASK; in A6XX_GRAS_CL_VPORT_YOFFSET_0()
2746 static inline uint32_t A6XX_GRAS_CL_VPORT_YSCALE_0(float val) in A6XX_GRAS_CL_VPORT_YSCALE_0() argument
2748 return ((fui(val)) << A6XX_GRAS_CL_VPORT_YSCALE_0__SHIFT) & A6XX_GRAS_CL_VPORT_YSCALE_0__MASK; in A6XX_GRAS_CL_VPORT_YSCALE_0()
2754 static inline uint32_t A6XX_GRAS_CL_VPORT_ZOFFSET_0(float val) in A6XX_GRAS_CL_VPORT_ZOFFSET_0() argument
2756 return ((fui(val)) << A6XX_GRAS_CL_VPORT_ZOFFSET_0__SHIFT) & A6XX_GRAS_CL_VPORT_ZOFFSET_0__MASK; in A6XX_GRAS_CL_VPORT_ZOFFSET_0()
2762 static inline uint32_t A6XX_GRAS_CL_VPORT_ZSCALE_0(float val) in A6XX_GRAS_CL_VPORT_ZSCALE_0() argument
2764 return ((fui(val)) << A6XX_GRAS_CL_VPORT_ZSCALE_0__SHIFT) & A6XX_GRAS_CL_VPORT_ZSCALE_0__MASK; in A6XX_GRAS_CL_VPORT_ZSCALE_0()
2773 static inline uint32_t A6XX_GRAS_SU_CNTL_LINEHALFWIDTH(float val) in A6XX_GRAS_SU_CNTL_LINEHALFWIDTH() argument
2775 …return ((((int32_t)(val * 4.0))) << A6XX_GRAS_SU_CNTL_LINEHALFWIDTH__SHIFT) & A6XX_GRAS_SU_CNTL_LI… in A6XX_GRAS_SU_CNTL_LINEHALFWIDTH()
2783 static inline uint32_t A6XX_GRAS_SU_POINT_MINMAX_MIN(float val) in A6XX_GRAS_SU_POINT_MINMAX_MIN() argument
2785 …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()
2789 static inline uint32_t A6XX_GRAS_SU_POINT_MINMAX_MAX(float val) in A6XX_GRAS_SU_POINT_MINMAX_MAX() argument
2791 …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()
2797 static inline uint32_t A6XX_GRAS_SU_POINT_SIZE(float val) in A6XX_GRAS_SU_POINT_SIZE() argument
2799 …return ((((int32_t)(val * 16.0))) << A6XX_GRAS_SU_POINT_SIZE__SHIFT) & A6XX_GRAS_SU_POINT_SIZE__MA… in A6XX_GRAS_SU_POINT_SIZE()
2808 static inline uint32_t A6XX_GRAS_SU_POLY_OFFSET_SCALE(float val) in A6XX_GRAS_SU_POLY_OFFSET_SCALE() argument
2810 …return ((fui(val)) << A6XX_GRAS_SU_POLY_OFFSET_SCALE__SHIFT) & A6XX_GRAS_SU_POLY_OFFSET_SCALE__MAS… in A6XX_GRAS_SU_POLY_OFFSET_SCALE()
2816 static inline uint32_t A6XX_GRAS_SU_POLY_OFFSET_OFFSET(float val) in A6XX_GRAS_SU_POLY_OFFSET_OFFSET() argument
2818 …return ((fui(val)) << A6XX_GRAS_SU_POLY_OFFSET_OFFSET__SHIFT) & A6XX_GRAS_SU_POLY_OFFSET_OFFSET__M… in A6XX_GRAS_SU_POLY_OFFSET_OFFSET()
2824 static inline uint32_t A6XX_GRAS_SU_POLY_OFFSET_OFFSET_CLAMP(float val) in A6XX_GRAS_SU_POLY_OFFSET_OFFSET_CLAMP() argument
2826 …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()
2832 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
2834 …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()
2846 static inline uint32_t A6XX_GRAS_RAS_MSAA_CNTL_SAMPLES(enum a3xx_msaa_samples val) in A6XX_GRAS_RAS_MSAA_CNTL_SAMPLES() argument
2848 return ((val) << A6XX_GRAS_RAS_MSAA_CNTL_SAMPLES__SHIFT) & A6XX_GRAS_RAS_MSAA_CNTL_SAMPLES__MASK; in A6XX_GRAS_RAS_MSAA_CNTL_SAMPLES()
2854 static inline uint32_t A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES(enum a3xx_msaa_samples val) in A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES() argument
2856 return ((val) << A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES__SHIFT) & A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES__MASK; in A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES()
2872 static inline uint32_t A6XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X(uint32_t val) in A6XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X() argument
2874 …return ((val) << A6XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X__SHIFT) & A6XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X__… in A6XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X()
2878 static inline uint32_t A6XX_GRAS_SC_SCREEN_SCISSOR_TL_0_Y(uint32_t val) in A6XX_GRAS_SC_SCREEN_SCISSOR_TL_0_Y() argument
2880 …return ((val) << A6XX_GRAS_SC_SCREEN_SCISSOR_TL_0_Y__SHIFT) & A6XX_GRAS_SC_SCREEN_SCISSOR_TL_0_Y__… in A6XX_GRAS_SC_SCREEN_SCISSOR_TL_0_Y()
2887 static inline uint32_t A6XX_GRAS_SC_SCREEN_SCISSOR_BR_0_X(uint32_t val) in A6XX_GRAS_SC_SCREEN_SCISSOR_BR_0_X() argument
2889 …return ((val) << A6XX_GRAS_SC_SCREEN_SCISSOR_BR_0_X__SHIFT) & A6XX_GRAS_SC_SCREEN_SCISSOR_BR_0_X__… in A6XX_GRAS_SC_SCREEN_SCISSOR_BR_0_X()
2893 static inline uint32_t A6XX_GRAS_SC_SCREEN_SCISSOR_BR_0_Y(uint32_t val) in A6XX_GRAS_SC_SCREEN_SCISSOR_BR_0_Y() argument
2895 …return ((val) << A6XX_GRAS_SC_SCREEN_SCISSOR_BR_0_Y__SHIFT) & A6XX_GRAS_SC_SCREEN_SCISSOR_BR_0_Y__… in A6XX_GRAS_SC_SCREEN_SCISSOR_BR_0_Y()
2902 static inline uint32_t A6XX_GRAS_SC_VIEWPORT_SCISSOR_TL_0_X(uint32_t val) in A6XX_GRAS_SC_VIEWPORT_SCISSOR_TL_0_X() argument
2904 …return ((val) << A6XX_GRAS_SC_VIEWPORT_SCISSOR_TL_0_X__SHIFT) & A6XX_GRAS_SC_VIEWPORT_SCISSOR_TL_0… in A6XX_GRAS_SC_VIEWPORT_SCISSOR_TL_0_X()
2908 static inline uint32_t A6XX_GRAS_SC_VIEWPORT_SCISSOR_TL_0_Y(uint32_t val) in A6XX_GRAS_SC_VIEWPORT_SCISSOR_TL_0_Y() argument
2910 …return ((val) << A6XX_GRAS_SC_VIEWPORT_SCISSOR_TL_0_Y__SHIFT) & A6XX_GRAS_SC_VIEWPORT_SCISSOR_TL_0… in A6XX_GRAS_SC_VIEWPORT_SCISSOR_TL_0_Y()
2917 static inline uint32_t A6XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_X(uint32_t val) in A6XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_X() argument
2919 …return ((val) << A6XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_X__SHIFT) & A6XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0… in A6XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_X()
2923 static inline uint32_t A6XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_Y(uint32_t val) in A6XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_Y() argument
2925 …return ((val) << A6XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_Y__SHIFT) & A6XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0… in A6XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_Y()
2932 static inline uint32_t A6XX_GRAS_SC_WINDOW_SCISSOR_TL_X(uint32_t val) in A6XX_GRAS_SC_WINDOW_SCISSOR_TL_X() argument
2934 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()
2938 static inline uint32_t A6XX_GRAS_SC_WINDOW_SCISSOR_TL_Y(uint32_t val) in A6XX_GRAS_SC_WINDOW_SCISSOR_TL_Y() argument
2940 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()
2947 static inline uint32_t A6XX_GRAS_SC_WINDOW_SCISSOR_BR_X(uint32_t val) in A6XX_GRAS_SC_WINDOW_SCISSOR_BR_X() argument
2949 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()
2953 static inline uint32_t A6XX_GRAS_SC_WINDOW_SCISSOR_BR_Y(uint32_t val) in A6XX_GRAS_SC_WINDOW_SCISSOR_BR_Y() argument
2955 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()
2970 static inline uint32_t A6XX_GRAS_2D_BLIT_INFO_COLOR_FORMAT(enum a6xx_color_fmt val) in A6XX_GRAS_2D_BLIT_INFO_COLOR_FORMAT() argument
2972 …return ((val) << A6XX_GRAS_2D_BLIT_INFO_COLOR_FORMAT__SHIFT) & A6XX_GRAS_2D_BLIT_INFO_COLOR_FORMAT… in A6XX_GRAS_2D_BLIT_INFO_COLOR_FORMAT()
2982 static inline uint32_t A6XX_GRAS_LRZ_BUFFER_PITCH_PITCH(uint32_t val) in A6XX_GRAS_LRZ_BUFFER_PITCH_PITCH() argument
2984 …return ((val >> 5) << A6XX_GRAS_LRZ_BUFFER_PITCH_PITCH__SHIFT) & A6XX_GRAS_LRZ_BUFFER_PITCH_PITCH_… in A6XX_GRAS_LRZ_BUFFER_PITCH_PITCH()
2988 static inline uint32_t A6XX_GRAS_LRZ_BUFFER_PITCH_ARRAY_PITCH(uint32_t val) in A6XX_GRAS_LRZ_BUFFER_PITCH_ARRAY_PITCH() argument
2990 …return ((val >> 5) << A6XX_GRAS_LRZ_BUFFER_PITCH_ARRAY_PITCH__SHIFT) & A6XX_GRAS_LRZ_BUFFER_PITCH_… in A6XX_GRAS_LRZ_BUFFER_PITCH_ARRAY_PITCH()
3004 static inline uint32_t A6XX_GRAS_2D_BLIT_CNTL_COLOR_FORMAT(enum a6xx_color_fmt val) in A6XX_GRAS_2D_BLIT_CNTL_COLOR_FORMAT() argument
3006 …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()
3013 static inline uint32_t A6XX_GRAS_2D_SRC_TL_X_X(uint32_t val) in A6XX_GRAS_2D_SRC_TL_X_X() argument
3015 return ((val) << A6XX_GRAS_2D_SRC_TL_X_X__SHIFT) & A6XX_GRAS_2D_SRC_TL_X_X__MASK; in A6XX_GRAS_2D_SRC_TL_X_X()
3021 static inline uint32_t A6XX_GRAS_2D_SRC_BR_X_X(uint32_t val) in A6XX_GRAS_2D_SRC_BR_X_X() argument
3023 return ((val) << A6XX_GRAS_2D_SRC_BR_X_X__SHIFT) & A6XX_GRAS_2D_SRC_BR_X_X__MASK; in A6XX_GRAS_2D_SRC_BR_X_X()
3029 static inline uint32_t A6XX_GRAS_2D_SRC_TL_Y_Y(uint32_t val) in A6XX_GRAS_2D_SRC_TL_Y_Y() argument
3031 return ((val) << A6XX_GRAS_2D_SRC_TL_Y_Y__SHIFT) & A6XX_GRAS_2D_SRC_TL_Y_Y__MASK; in A6XX_GRAS_2D_SRC_TL_Y_Y()
3037 static inline uint32_t A6XX_GRAS_2D_SRC_BR_Y_Y(uint32_t val) in A6XX_GRAS_2D_SRC_BR_Y_Y() argument
3039 return ((val) << A6XX_GRAS_2D_SRC_BR_Y_Y__SHIFT) & A6XX_GRAS_2D_SRC_BR_Y_Y__MASK; in A6XX_GRAS_2D_SRC_BR_Y_Y()
3046 static inline uint32_t A6XX_GRAS_2D_DST_TL_X(uint32_t val) in A6XX_GRAS_2D_DST_TL_X() argument
3048 return ((val) << A6XX_GRAS_2D_DST_TL_X__SHIFT) & A6XX_GRAS_2D_DST_TL_X__MASK; in A6XX_GRAS_2D_DST_TL_X()
3052 static inline uint32_t A6XX_GRAS_2D_DST_TL_Y(uint32_t val) in A6XX_GRAS_2D_DST_TL_Y() argument
3054 return ((val) << A6XX_GRAS_2D_DST_TL_Y__SHIFT) & A6XX_GRAS_2D_DST_TL_Y__MASK; in A6XX_GRAS_2D_DST_TL_Y()
3061 static inline uint32_t A6XX_GRAS_2D_DST_BR_X(uint32_t val) in A6XX_GRAS_2D_DST_BR_X() argument
3063 return ((val) << A6XX_GRAS_2D_DST_BR_X__SHIFT) & A6XX_GRAS_2D_DST_BR_X__MASK; in A6XX_GRAS_2D_DST_BR_X()
3067 static inline uint32_t A6XX_GRAS_2D_DST_BR_Y(uint32_t val) in A6XX_GRAS_2D_DST_BR_Y() argument
3069 return ((val) << A6XX_GRAS_2D_DST_BR_Y__SHIFT) & A6XX_GRAS_2D_DST_BR_Y__MASK; in A6XX_GRAS_2D_DST_BR_Y()
3076 static inline uint32_t A6XX_GRAS_RESOLVE_CNTL_1_X(uint32_t val) in A6XX_GRAS_RESOLVE_CNTL_1_X() argument
3078 return ((val) << A6XX_GRAS_RESOLVE_CNTL_1_X__SHIFT) & A6XX_GRAS_RESOLVE_CNTL_1_X__MASK; in A6XX_GRAS_RESOLVE_CNTL_1_X()
3082 static inline uint32_t A6XX_GRAS_RESOLVE_CNTL_1_Y(uint32_t val) in A6XX_GRAS_RESOLVE_CNTL_1_Y() argument
3084 return ((val) << A6XX_GRAS_RESOLVE_CNTL_1_Y__SHIFT) & A6XX_GRAS_RESOLVE_CNTL_1_Y__MASK; in A6XX_GRAS_RESOLVE_CNTL_1_Y()
3091 static inline uint32_t A6XX_GRAS_RESOLVE_CNTL_2_X(uint32_t val) in A6XX_GRAS_RESOLVE_CNTL_2_X() argument
3093 return ((val) << A6XX_GRAS_RESOLVE_CNTL_2_X__SHIFT) & A6XX_GRAS_RESOLVE_CNTL_2_X__MASK; in A6XX_GRAS_RESOLVE_CNTL_2_X()
3097 static inline uint32_t A6XX_GRAS_RESOLVE_CNTL_2_Y(uint32_t val) in A6XX_GRAS_RESOLVE_CNTL_2_Y() argument
3099 return ((val) << A6XX_GRAS_RESOLVE_CNTL_2_Y__SHIFT) & A6XX_GRAS_RESOLVE_CNTL_2_Y__MASK; in A6XX_GRAS_RESOLVE_CNTL_2_Y()
3107 static inline uint32_t A6XX_RB_BIN_CONTROL_BINW(uint32_t val) in A6XX_RB_BIN_CONTROL_BINW() argument
3109 return ((val >> 5) << A6XX_RB_BIN_CONTROL_BINW__SHIFT) & A6XX_RB_BIN_CONTROL_BINW__MASK; in A6XX_RB_BIN_CONTROL_BINW()
3113 static inline uint32_t A6XX_RB_BIN_CONTROL_BINH(uint32_t val) in A6XX_RB_BIN_CONTROL_BINH() argument
3115 return ((val >> 4) << A6XX_RB_BIN_CONTROL_BINH__SHIFT) & A6XX_RB_BIN_CONTROL_BINH__MASK; in A6XX_RB_BIN_CONTROL_BINH()
3126 static inline uint32_t A6XX_RB_RENDER_CNTL_FLAG_MRTS(uint32_t val) in A6XX_RB_RENDER_CNTL_FLAG_MRTS() argument
3128 return ((val) << A6XX_RB_RENDER_CNTL_FLAG_MRTS__SHIFT) & A6XX_RB_RENDER_CNTL_FLAG_MRTS__MASK; in A6XX_RB_RENDER_CNTL_FLAG_MRTS()
3134 static inline uint32_t A6XX_RB_RAS_MSAA_CNTL_SAMPLES(enum a3xx_msaa_samples val) in A6XX_RB_RAS_MSAA_CNTL_SAMPLES() argument
3136 return ((val) << A6XX_RB_RAS_MSAA_CNTL_SAMPLES__SHIFT) & A6XX_RB_RAS_MSAA_CNTL_SAMPLES__MASK; in A6XX_RB_RAS_MSAA_CNTL_SAMPLES()
3142 static inline uint32_t A6XX_RB_DEST_MSAA_CNTL_SAMPLES(enum a3xx_msaa_samples val) in A6XX_RB_DEST_MSAA_CNTL_SAMPLES() argument
3144 return ((val) << A6XX_RB_DEST_MSAA_CNTL_SAMPLES__SHIFT) & A6XX_RB_DEST_MSAA_CNTL_SAMPLES__MASK; in A6XX_RB_DEST_MSAA_CNTL_SAMPLES()
3174 static inline uint32_t A6XX_RB_FS_OUTPUT_CNTL1_MRT(uint32_t val) in A6XX_RB_FS_OUTPUT_CNTL1_MRT() argument
3176 return ((val) << A6XX_RB_FS_OUTPUT_CNTL1_MRT__SHIFT) & A6XX_RB_FS_OUTPUT_CNTL1_MRT__MASK; in A6XX_RB_FS_OUTPUT_CNTL1_MRT()
3182 static inline uint32_t A6XX_RB_RENDER_COMPONENTS_RT0(uint32_t val) in A6XX_RB_RENDER_COMPONENTS_RT0() argument
3184 return ((val) << A6XX_RB_RENDER_COMPONENTS_RT0__SHIFT) & A6XX_RB_RENDER_COMPONENTS_RT0__MASK; in A6XX_RB_RENDER_COMPONENTS_RT0()
3188 static inline uint32_t A6XX_RB_RENDER_COMPONENTS_RT1(uint32_t val) in A6XX_RB_RENDER_COMPONENTS_RT1() argument
3190 return ((val) << A6XX_RB_RENDER_COMPONENTS_RT1__SHIFT) & A6XX_RB_RENDER_COMPONENTS_RT1__MASK; in A6XX_RB_RENDER_COMPONENTS_RT1()
3194 static inline uint32_t A6XX_RB_RENDER_COMPONENTS_RT2(uint32_t val) in A6XX_RB_RENDER_COMPONENTS_RT2() argument
3196 return ((val) << A6XX_RB_RENDER_COMPONENTS_RT2__SHIFT) & A6XX_RB_RENDER_COMPONENTS_RT2__MASK; in A6XX_RB_RENDER_COMPONENTS_RT2()
3200 static inline uint32_t A6XX_RB_RENDER_COMPONENTS_RT3(uint32_t val) in A6XX_RB_RENDER_COMPONENTS_RT3() argument
3202 return ((val) << A6XX_RB_RENDER_COMPONENTS_RT3__SHIFT) & A6XX_RB_RENDER_COMPONENTS_RT3__MASK; in A6XX_RB_RENDER_COMPONENTS_RT3()
3206 static inline uint32_t A6XX_RB_RENDER_COMPONENTS_RT4(uint32_t val) in A6XX_RB_RENDER_COMPONENTS_RT4() argument
3208 return ((val) << A6XX_RB_RENDER_COMPONENTS_RT4__SHIFT) & A6XX_RB_RENDER_COMPONENTS_RT4__MASK; in A6XX_RB_RENDER_COMPONENTS_RT4()
3212 static inline uint32_t A6XX_RB_RENDER_COMPONENTS_RT5(uint32_t val) in A6XX_RB_RENDER_COMPONENTS_RT5() argument
3214 return ((val) << A6XX_RB_RENDER_COMPONENTS_RT5__SHIFT) & A6XX_RB_RENDER_COMPONENTS_RT5__MASK; in A6XX_RB_RENDER_COMPONENTS_RT5()
3218 static inline uint32_t A6XX_RB_RENDER_COMPONENTS_RT6(uint32_t val) in A6XX_RB_RENDER_COMPONENTS_RT6() argument
3220 return ((val) << A6XX_RB_RENDER_COMPONENTS_RT6__SHIFT) & A6XX_RB_RENDER_COMPONENTS_RT6__MASK; in A6XX_RB_RENDER_COMPONENTS_RT6()
3224 static inline uint32_t A6XX_RB_RENDER_COMPONENTS_RT7(uint32_t val) in A6XX_RB_RENDER_COMPONENTS_RT7() argument
3226 return ((val) << A6XX_RB_RENDER_COMPONENTS_RT7__SHIFT) & A6XX_RB_RENDER_COMPONENTS_RT7__MASK; in A6XX_RB_RENDER_COMPONENTS_RT7()
3232 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
3234 …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()
3238 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
3240 …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()
3244 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
3246 …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()
3250 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
3252 …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()
3256 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
3258 …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()
3262 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
3264 …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()
3268 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
3270 …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()
3274 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
3276 …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()
3315 static inline uint32_t A6XX_RB_MRT_CONTROL_ROP_CODE(enum a3xx_rop_code val) in A6XX_RB_MRT_CONTROL_ROP_CODE() argument
3317 return ((val) << A6XX_RB_MRT_CONTROL_ROP_CODE__SHIFT) & A6XX_RB_MRT_CONTROL_ROP_CODE__MASK; in A6XX_RB_MRT_CONTROL_ROP_CODE()
3321 static inline uint32_t A6XX_RB_MRT_CONTROL_COMPONENT_ENABLE(uint32_t val) in A6XX_RB_MRT_CONTROL_COMPONENT_ENABLE() argument
3323 …return ((val) << A6XX_RB_MRT_CONTROL_COMPONENT_ENABLE__SHIFT) & A6XX_RB_MRT_CONTROL_COMPONENT_ENAB… in A6XX_RB_MRT_CONTROL_COMPONENT_ENABLE()
3329 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
3331 …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()
3335 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
3337 …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()
3341 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
3343 …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()
3347 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
3349 …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()
3353 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
3355 …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()
3359 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
3361 …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()
3367 static inline uint32_t A6XX_RB_MRT_BUF_INFO_COLOR_FORMAT(enum a6xx_color_fmt val) in A6XX_RB_MRT_BUF_INFO_COLOR_FORMAT() argument
3369 …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()
3373 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
3375 …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()
3379 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
3381 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()
3387 static inline uint32_t A6XX_RB_MRT_PITCH(uint32_t val) in A6XX_RB_MRT_PITCH() argument
3389 return ((val >> 6) << A6XX_RB_MRT_PITCH__SHIFT) & A6XX_RB_MRT_PITCH__MASK; in A6XX_RB_MRT_PITCH()
3395 static inline uint32_t A6XX_RB_MRT_ARRAY_PITCH(uint32_t val) in A6XX_RB_MRT_ARRAY_PITCH() argument
3397 return ((val >> 6) << A6XX_RB_MRT_ARRAY_PITCH__SHIFT) & A6XX_RB_MRT_ARRAY_PITCH__MASK; in A6XX_RB_MRT_ARRAY_PITCH()
3409 static inline uint32_t A6XX_RB_BLEND_RED_F32(float val) in A6XX_RB_BLEND_RED_F32() argument
3411 return ((fui(val)) << A6XX_RB_BLEND_RED_F32__SHIFT) & A6XX_RB_BLEND_RED_F32__MASK; in A6XX_RB_BLEND_RED_F32()
3417 static inline uint32_t A6XX_RB_BLEND_GREEN_F32(float val) in A6XX_RB_BLEND_GREEN_F32() argument
3419 return ((fui(val)) << A6XX_RB_BLEND_GREEN_F32__SHIFT) & A6XX_RB_BLEND_GREEN_F32__MASK; in A6XX_RB_BLEND_GREEN_F32()
3425 static inline uint32_t A6XX_RB_BLEND_BLUE_F32(float val) in A6XX_RB_BLEND_BLUE_F32() argument
3427 return ((fui(val)) << A6XX_RB_BLEND_BLUE_F32__SHIFT) & A6XX_RB_BLEND_BLUE_F32__MASK; in A6XX_RB_BLEND_BLUE_F32()
3433 static inline uint32_t A6XX_RB_BLEND_ALPHA_F32(float val) in A6XX_RB_BLEND_ALPHA_F32() argument
3435 return ((fui(val)) << A6XX_RB_BLEND_ALPHA_F32__SHIFT) & A6XX_RB_BLEND_ALPHA_F32__MASK; in A6XX_RB_BLEND_ALPHA_F32()
3441 static inline uint32_t A6XX_RB_ALPHA_CONTROL_ALPHA_REF(uint32_t val) in A6XX_RB_ALPHA_CONTROL_ALPHA_REF() argument
3443 return ((val) << A6XX_RB_ALPHA_CONTROL_ALPHA_REF__SHIFT) & A6XX_RB_ALPHA_CONTROL_ALPHA_REF__MASK; in A6XX_RB_ALPHA_CONTROL_ALPHA_REF()
3448 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
3450 …return ((val) << A6XX_RB_ALPHA_CONTROL_ALPHA_TEST_FUNC__SHIFT) & A6XX_RB_ALPHA_CONTROL_ALPHA_TEST_… in A6XX_RB_ALPHA_CONTROL_ALPHA_TEST_FUNC()
3456 static inline uint32_t A6XX_RB_BLEND_CNTL_ENABLE_BLEND(uint32_t val) in A6XX_RB_BLEND_CNTL_ENABLE_BLEND() argument
3458 return ((val) << A6XX_RB_BLEND_CNTL_ENABLE_BLEND__SHIFT) & A6XX_RB_BLEND_CNTL_ENABLE_BLEND__MASK; in A6XX_RB_BLEND_CNTL_ENABLE_BLEND()
3464 static inline uint32_t A6XX_RB_BLEND_CNTL_SAMPLE_MASK(uint32_t val) in A6XX_RB_BLEND_CNTL_SAMPLE_MASK() argument
3466 return ((val) << A6XX_RB_BLEND_CNTL_SAMPLE_MASK__SHIFT) & A6XX_RB_BLEND_CNTL_SAMPLE_MASK__MASK; in A6XX_RB_BLEND_CNTL_SAMPLE_MASK()
3477 static inline uint32_t A6XX_RB_DEPTH_CNTL_ZFUNC(enum adreno_compare_func val) in A6XX_RB_DEPTH_CNTL_ZFUNC() argument
3479 return ((val) << A6XX_RB_DEPTH_CNTL_ZFUNC__SHIFT) & A6XX_RB_DEPTH_CNTL_ZFUNC__MASK; in A6XX_RB_DEPTH_CNTL_ZFUNC()
3486 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
3488 …return ((val) << A6XX_RB_DEPTH_BUFFER_INFO_DEPTH_FORMAT__SHIFT) & A6XX_RB_DEPTH_BUFFER_INFO_DEPTH_… in A6XX_RB_DEPTH_BUFFER_INFO_DEPTH_FORMAT()
3494 static inline uint32_t A6XX_RB_DEPTH_BUFFER_PITCH(uint32_t val) in A6XX_RB_DEPTH_BUFFER_PITCH() argument
3496 return ((val >> 6) << A6XX_RB_DEPTH_BUFFER_PITCH__SHIFT) & A6XX_RB_DEPTH_BUFFER_PITCH__MASK; in A6XX_RB_DEPTH_BUFFER_PITCH()
3502 static inline uint32_t A6XX_RB_DEPTH_BUFFER_ARRAY_PITCH(uint32_t val) in A6XX_RB_DEPTH_BUFFER_ARRAY_PITCH() argument
3504 …return ((val >> 6) << A6XX_RB_DEPTH_BUFFER_ARRAY_PITCH__SHIFT) & A6XX_RB_DEPTH_BUFFER_ARRAY_PITCH_… in A6XX_RB_DEPTH_BUFFER_ARRAY_PITCH()
3523 static inline uint32_t A6XX_RB_STENCIL_CONTROL_FUNC(enum adreno_compare_func val) in A6XX_RB_STENCIL_CONTROL_FUNC() argument
3525 return ((val) << A6XX_RB_STENCIL_CONTROL_FUNC__SHIFT) & A6XX_RB_STENCIL_CONTROL_FUNC__MASK; in A6XX_RB_STENCIL_CONTROL_FUNC()
3529 static inline uint32_t A6XX_RB_STENCIL_CONTROL_FAIL(enum adreno_stencil_op val) in A6XX_RB_STENCIL_CONTROL_FAIL() argument
3531 return ((val) << A6XX_RB_STENCIL_CONTROL_FAIL__SHIFT) & A6XX_RB_STENCIL_CONTROL_FAIL__MASK; in A6XX_RB_STENCIL_CONTROL_FAIL()
3535 static inline uint32_t A6XX_RB_STENCIL_CONTROL_ZPASS(enum adreno_stencil_op val) in A6XX_RB_STENCIL_CONTROL_ZPASS() argument
3537 return ((val) << A6XX_RB_STENCIL_CONTROL_ZPASS__SHIFT) & A6XX_RB_STENCIL_CONTROL_ZPASS__MASK; in A6XX_RB_STENCIL_CONTROL_ZPASS()
3541 static inline uint32_t A6XX_RB_STENCIL_CONTROL_ZFAIL(enum adreno_stencil_op val) in A6XX_RB_STENCIL_CONTROL_ZFAIL() argument
3543 return ((val) << A6XX_RB_STENCIL_CONTROL_ZFAIL__SHIFT) & A6XX_RB_STENCIL_CONTROL_ZFAIL__MASK; in A6XX_RB_STENCIL_CONTROL_ZFAIL()
3547 static inline uint32_t A6XX_RB_STENCIL_CONTROL_FUNC_BF(enum adreno_compare_func val) in A6XX_RB_STENCIL_CONTROL_FUNC_BF() argument
3549 return ((val) << A6XX_RB_STENCIL_CONTROL_FUNC_BF__SHIFT) & A6XX_RB_STENCIL_CONTROL_FUNC_BF__MASK; in A6XX_RB_STENCIL_CONTROL_FUNC_BF()
3553 static inline uint32_t A6XX_RB_STENCIL_CONTROL_FAIL_BF(enum adreno_stencil_op val) in A6XX_RB_STENCIL_CONTROL_FAIL_BF() argument
3555 return ((val) << A6XX_RB_STENCIL_CONTROL_FAIL_BF__SHIFT) & A6XX_RB_STENCIL_CONTROL_FAIL_BF__MASK; in A6XX_RB_STENCIL_CONTROL_FAIL_BF()
3559 static inline uint32_t A6XX_RB_STENCIL_CONTROL_ZPASS_BF(enum adreno_stencil_op val) in A6XX_RB_STENCIL_CONTROL_ZPASS_BF() argument
3561 return ((val) << A6XX_RB_STENCIL_CONTROL_ZPASS_BF__SHIFT) & A6XX_RB_STENCIL_CONTROL_ZPASS_BF__MASK; in A6XX_RB_STENCIL_CONTROL_ZPASS_BF()
3565 static inline uint32_t A6XX_RB_STENCIL_CONTROL_ZFAIL_BF(enum adreno_stencil_op val) in A6XX_RB_STENCIL_CONTROL_ZFAIL_BF() argument
3567 return ((val) << A6XX_RB_STENCIL_CONTROL_ZFAIL_BF__SHIFT) & A6XX_RB_STENCIL_CONTROL_ZFAIL_BF__MASK; in A6XX_RB_STENCIL_CONTROL_ZFAIL_BF()
3576 static inline uint32_t A6XX_RB_STENCIL_BUFFER_PITCH(uint32_t val) in A6XX_RB_STENCIL_BUFFER_PITCH() argument
3578 return ((val >> 6) << A6XX_RB_STENCIL_BUFFER_PITCH__SHIFT) & A6XX_RB_STENCIL_BUFFER_PITCH__MASK; in A6XX_RB_STENCIL_BUFFER_PITCH()
3584 static inline uint32_t A6XX_RB_STENCIL_BUFFER_ARRAY_PITCH(uint32_t val) in A6XX_RB_STENCIL_BUFFER_ARRAY_PITCH() argument
3586 …return ((val >> 6) << A6XX_RB_STENCIL_BUFFER_ARRAY_PITCH__SHIFT) & A6XX_RB_STENCIL_BUFFER_ARRAY_PI… in A6XX_RB_STENCIL_BUFFER_ARRAY_PITCH()
3598 static inline uint32_t A6XX_RB_STENCILREF_REF(uint32_t val) in A6XX_RB_STENCILREF_REF() argument
3600 return ((val) << A6XX_RB_STENCILREF_REF__SHIFT) & A6XX_RB_STENCILREF_REF__MASK; in A6XX_RB_STENCILREF_REF()
3604 static inline uint32_t A6XX_RB_STENCILREF_BFREF(uint32_t val) in A6XX_RB_STENCILREF_BFREF() argument
3606 return ((val) << A6XX_RB_STENCILREF_BFREF__SHIFT) & A6XX_RB_STENCILREF_BFREF__MASK; in A6XX_RB_STENCILREF_BFREF()
3612 static inline uint32_t A6XX_RB_STENCILMASK_MASK(uint32_t val) in A6XX_RB_STENCILMASK_MASK() argument
3614 return ((val) << A6XX_RB_STENCILMASK_MASK__SHIFT) & A6XX_RB_STENCILMASK_MASK__MASK; in A6XX_RB_STENCILMASK_MASK()
3618 static inline uint32_t A6XX_RB_STENCILMASK_BFMASK(uint32_t val) in A6XX_RB_STENCILMASK_BFMASK() argument
3620 return ((val) << A6XX_RB_STENCILMASK_BFMASK__SHIFT) & A6XX_RB_STENCILMASK_BFMASK__MASK; in A6XX_RB_STENCILMASK_BFMASK()
3626 static inline uint32_t A6XX_RB_STENCILWRMASK_WRMASK(uint32_t val) in A6XX_RB_STENCILWRMASK_WRMASK() argument
3628 return ((val) << A6XX_RB_STENCILWRMASK_WRMASK__SHIFT) & A6XX_RB_STENCILWRMASK_WRMASK__MASK; in A6XX_RB_STENCILWRMASK_WRMASK()
3632 static inline uint32_t A6XX_RB_STENCILWRMASK_BFWRMASK(uint32_t val) in A6XX_RB_STENCILWRMASK_BFWRMASK() argument
3634 return ((val) << A6XX_RB_STENCILWRMASK_BFWRMASK__SHIFT) & A6XX_RB_STENCILWRMASK_BFWRMASK__MASK; in A6XX_RB_STENCILWRMASK_BFWRMASK()
3641 static inline uint32_t A6XX_RB_WINDOW_OFFSET_X(uint32_t val) in A6XX_RB_WINDOW_OFFSET_X() argument
3643 return ((val) << A6XX_RB_WINDOW_OFFSET_X__SHIFT) & A6XX_RB_WINDOW_OFFSET_X__MASK; in A6XX_RB_WINDOW_OFFSET_X()
3647 static inline uint32_t A6XX_RB_WINDOW_OFFSET_Y(uint32_t val) in A6XX_RB_WINDOW_OFFSET_Y() argument
3649 return ((val) << A6XX_RB_WINDOW_OFFSET_Y__SHIFT) & A6XX_RB_WINDOW_OFFSET_Y__MASK; in A6XX_RB_WINDOW_OFFSET_Y()
3664 static inline uint32_t A6XX_RB_BLIT_SCISSOR_TL_X(uint32_t val) in A6XX_RB_BLIT_SCISSOR_TL_X() argument
3666 return ((val) << A6XX_RB_BLIT_SCISSOR_TL_X__SHIFT) & A6XX_RB_BLIT_SCISSOR_TL_X__MASK; in A6XX_RB_BLIT_SCISSOR_TL_X()
3670 static inline uint32_t A6XX_RB_BLIT_SCISSOR_TL_Y(uint32_t val) in A6XX_RB_BLIT_SCISSOR_TL_Y() argument
3672 return ((val) << A6XX_RB_BLIT_SCISSOR_TL_Y__SHIFT) & A6XX_RB_BLIT_SCISSOR_TL_Y__MASK; in A6XX_RB_BLIT_SCISSOR_TL_Y()
3679 static inline uint32_t A6XX_RB_BLIT_SCISSOR_BR_X(uint32_t val) in A6XX_RB_BLIT_SCISSOR_BR_X() argument
3681 return ((val) << A6XX_RB_BLIT_SCISSOR_BR_X__SHIFT) & A6XX_RB_BLIT_SCISSOR_BR_X__MASK; in A6XX_RB_BLIT_SCISSOR_BR_X()
3685 static inline uint32_t A6XX_RB_BLIT_SCISSOR_BR_Y(uint32_t val) in A6XX_RB_BLIT_SCISSOR_BR_Y() argument
3687 return ((val) << A6XX_RB_BLIT_SCISSOR_BR_Y__SHIFT) & A6XX_RB_BLIT_SCISSOR_BR_Y__MASK; in A6XX_RB_BLIT_SCISSOR_BR_Y()
3693 static inline uint32_t A6XX_RB_MSAA_CNTL_SAMPLES(enum a3xx_msaa_samples val) in A6XX_RB_MSAA_CNTL_SAMPLES() argument
3695 return ((val) << A6XX_RB_MSAA_CNTL_SAMPLES__SHIFT) & A6XX_RB_MSAA_CNTL_SAMPLES__MASK; in A6XX_RB_MSAA_CNTL_SAMPLES()
3703 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
3705 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()
3710 static inline uint32_t A6XX_RB_BLIT_DST_INFO_SAMPLES(enum a3xx_msaa_samples val) in A6XX_RB_BLIT_DST_INFO_SAMPLES() argument
3712 return ((val) << A6XX_RB_BLIT_DST_INFO_SAMPLES__SHIFT) & A6XX_RB_BLIT_DST_INFO_SAMPLES__MASK; in A6XX_RB_BLIT_DST_INFO_SAMPLES()
3716 static inline uint32_t A6XX_RB_BLIT_DST_INFO_COLOR_FORMAT(enum a6xx_color_fmt val) in A6XX_RB_BLIT_DST_INFO_COLOR_FORMAT() argument
3718 …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()
3722 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
3724 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()
3734 static inline uint32_t A6XX_RB_BLIT_DST_PITCH(uint32_t val) in A6XX_RB_BLIT_DST_PITCH() argument
3736 return ((val >> 6) << A6XX_RB_BLIT_DST_PITCH__SHIFT) & A6XX_RB_BLIT_DST_PITCH__MASK; in A6XX_RB_BLIT_DST_PITCH()
3742 static inline uint32_t A6XX_RB_BLIT_DST_ARRAY_PITCH(uint32_t val) in A6XX_RB_BLIT_DST_ARRAY_PITCH() argument
3744 return ((val >> 6) << A6XX_RB_BLIT_DST_ARRAY_PITCH__SHIFT) & A6XX_RB_BLIT_DST_ARRAY_PITCH__MASK; in A6XX_RB_BLIT_DST_ARRAY_PITCH()
3766 static inline uint32_t A6XX_RB_BLIT_INFO_CLEAR_MASK(uint32_t val) in A6XX_RB_BLIT_INFO_CLEAR_MASK() argument
3768 return ((val) << A6XX_RB_BLIT_INFO_CLEAR_MASK__SHIFT) & A6XX_RB_BLIT_INFO_CLEAR_MASK__MASK; in A6XX_RB_BLIT_INFO_CLEAR_MASK()
3788 static inline uint32_t A6XX_RB_MRT_FLAG_BUFFER_PITCH_PITCH(uint32_t val) in A6XX_RB_MRT_FLAG_BUFFER_PITCH_PITCH() argument
3790 …return ((val >> 5) << A6XX_RB_MRT_FLAG_BUFFER_PITCH_PITCH__SHIFT) & A6XX_RB_MRT_FLAG_BUFFER_PITCH_… in A6XX_RB_MRT_FLAG_BUFFER_PITCH_PITCH()
3794 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
3796 …return ((val >> 5) << A6XX_RB_MRT_FLAG_BUFFER_PITCH_ARRAY_PITCH__SHIFT) & A6XX_RB_MRT_FLAG_BUFFER_… in A6XX_RB_MRT_FLAG_BUFFER_PITCH_ARRAY_PITCH()
3806 static inline uint32_t A6XX_RB_2D_BLIT_CNTL_COLOR_FORMAT(enum a6xx_color_fmt val) in A6XX_RB_2D_BLIT_CNTL_COLOR_FORMAT() argument
3808 …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()
3817 static inline uint32_t A6XX_RB_2D_DST_INFO_COLOR_FORMAT(enum a6xx_color_fmt val) in A6XX_RB_2D_DST_INFO_COLOR_FORMAT() argument
3819 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()
3823 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
3825 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()
3829 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
3831 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()
3842 static inline uint32_t A6XX_RB_2D_DST_SIZE_PITCH(uint32_t val) in A6XX_RB_2D_DST_SIZE_PITCH() argument
3844 return ((val >> 6) << A6XX_RB_2D_DST_SIZE_PITCH__SHIFT) & A6XX_RB_2D_DST_SIZE_PITCH__MASK; in A6XX_RB_2D_DST_SIZE_PITCH()
3895 static inline uint32_t A6XX_VPC_SO_PROG_A_BUF(uint32_t val) in A6XX_VPC_SO_PROG_A_BUF() argument
3897 return ((val) << A6XX_VPC_SO_PROG_A_BUF__SHIFT) & A6XX_VPC_SO_PROG_A_BUF__MASK; in A6XX_VPC_SO_PROG_A_BUF()
3901 static inline uint32_t A6XX_VPC_SO_PROG_A_OFF(uint32_t val) in A6XX_VPC_SO_PROG_A_OFF() argument
3903 return ((val >> 2) << A6XX_VPC_SO_PROG_A_OFF__SHIFT) & A6XX_VPC_SO_PROG_A_OFF__MASK; in A6XX_VPC_SO_PROG_A_OFF()
3908 static inline uint32_t A6XX_VPC_SO_PROG_B_BUF(uint32_t val) in A6XX_VPC_SO_PROG_B_BUF() argument
3910 return ((val) << A6XX_VPC_SO_PROG_B_BUF__SHIFT) & A6XX_VPC_SO_PROG_B_BUF__MASK; in A6XX_VPC_SO_PROG_B_BUF()
3914 static inline uint32_t A6XX_VPC_SO_PROG_B_OFF(uint32_t val) in A6XX_VPC_SO_PROG_B_OFF() argument
3916 return ((val >> 2) << A6XX_VPC_SO_PROG_B_OFF__SHIFT) & A6XX_VPC_SO_PROG_B_OFF__MASK; in A6XX_VPC_SO_PROG_B_OFF()
3943 static inline uint32_t A6XX_VPC_PACK_STRIDE_IN_VPC(uint32_t val) in A6XX_VPC_PACK_STRIDE_IN_VPC() argument
3945 return ((val) << A6XX_VPC_PACK_STRIDE_IN_VPC__SHIFT) & A6XX_VPC_PACK_STRIDE_IN_VPC__MASK; in A6XX_VPC_PACK_STRIDE_IN_VPC()
3949 static inline uint32_t A6XX_VPC_PACK_NUMNONPOSVAR(uint32_t val) in A6XX_VPC_PACK_NUMNONPOSVAR() argument
3951 return ((val) << A6XX_VPC_PACK_NUMNONPOSVAR__SHIFT) & A6XX_VPC_PACK_NUMNONPOSVAR__MASK; in A6XX_VPC_PACK_NUMNONPOSVAR()
3955 static inline uint32_t A6XX_VPC_PACK_PSIZELOC(uint32_t val) in A6XX_VPC_PACK_PSIZELOC() argument
3957 return ((val) << A6XX_VPC_PACK_PSIZELOC__SHIFT) & A6XX_VPC_PACK_PSIZELOC__MASK; in A6XX_VPC_PACK_PSIZELOC()
3963 static inline uint32_t A6XX_VPC_CNTL_0_NUMNONPOSVAR(uint32_t val) in A6XX_VPC_CNTL_0_NUMNONPOSVAR() argument
3965 return ((val) << A6XX_VPC_CNTL_0_NUMNONPOSVAR__SHIFT) & A6XX_VPC_CNTL_0_NUMNONPOSVAR__MASK; in A6XX_VPC_CNTL_0_NUMNONPOSVAR()
4006 static inline uint32_t A6XX_PC_PRIMITIVE_CNTL_1_STRIDE_IN_VPC(uint32_t val) in A6XX_PC_PRIMITIVE_CNTL_1_STRIDE_IN_VPC() argument
4008 …return ((val) << A6XX_PC_PRIMITIVE_CNTL_1_STRIDE_IN_VPC__SHIFT) & A6XX_PC_PRIMITIVE_CNTL_1_STRIDE_… in A6XX_PC_PRIMITIVE_CNTL_1_STRIDE_IN_VPC()
4025 static inline uint32_t A6XX_VFD_CONTROL_0_VTXCNT(uint32_t val) in A6XX_VFD_CONTROL_0_VTXCNT() argument
4027 return ((val) << A6XX_VFD_CONTROL_0_VTXCNT__SHIFT) & A6XX_VFD_CONTROL_0_VTXCNT__MASK; in A6XX_VFD_CONTROL_0_VTXCNT()
4033 static inline uint32_t A6XX_VFD_CONTROL_1_REGID4VTX(uint32_t val) in A6XX_VFD_CONTROL_1_REGID4VTX() argument
4035 return ((val) << A6XX_VFD_CONTROL_1_REGID4VTX__SHIFT) & A6XX_VFD_CONTROL_1_REGID4VTX__MASK; in A6XX_VFD_CONTROL_1_REGID4VTX()
4039 static inline uint32_t A6XX_VFD_CONTROL_1_REGID4INST(uint32_t val) in A6XX_VFD_CONTROL_1_REGID4INST() argument
4041 return ((val) << A6XX_VFD_CONTROL_1_REGID4INST__SHIFT) & A6XX_VFD_CONTROL_1_REGID4INST__MASK; in A6XX_VFD_CONTROL_1_REGID4INST()
4045 static inline uint32_t A6XX_VFD_CONTROL_1_REGID4PRIMID(uint32_t val) in A6XX_VFD_CONTROL_1_REGID4PRIMID() argument
4047 return ((val) << A6XX_VFD_CONTROL_1_REGID4PRIMID__SHIFT) & A6XX_VFD_CONTROL_1_REGID4PRIMID__MASK; in A6XX_VFD_CONTROL_1_REGID4PRIMID()
4053 static inline uint32_t A6XX_VFD_CONTROL_2_REGID_PATCHID(uint32_t val) in A6XX_VFD_CONTROL_2_REGID_PATCHID() argument
4055 return ((val) << A6XX_VFD_CONTROL_2_REGID_PATCHID__SHIFT) & A6XX_VFD_CONTROL_2_REGID_PATCHID__MASK; in A6XX_VFD_CONTROL_2_REGID_PATCHID()
4061 static inline uint32_t A6XX_VFD_CONTROL_3_REGID_PATCHID(uint32_t val) in A6XX_VFD_CONTROL_3_REGID_PATCHID() argument
4063 return ((val) << A6XX_VFD_CONTROL_3_REGID_PATCHID__SHIFT) & A6XX_VFD_CONTROL_3_REGID_PATCHID__MASK; in A6XX_VFD_CONTROL_3_REGID_PATCHID()
4067 static inline uint32_t A6XX_VFD_CONTROL_3_REGID_TESSX(uint32_t val) in A6XX_VFD_CONTROL_3_REGID_TESSX() argument
4069 return ((val) << A6XX_VFD_CONTROL_3_REGID_TESSX__SHIFT) & A6XX_VFD_CONTROL_3_REGID_TESSX__MASK; in A6XX_VFD_CONTROL_3_REGID_TESSX()
4073 static inline uint32_t A6XX_VFD_CONTROL_3_REGID_TESSY(uint32_t val) in A6XX_VFD_CONTROL_3_REGID_TESSY() argument
4075 return ((val) << A6XX_VFD_CONTROL_3_REGID_TESSY__SHIFT) & A6XX_VFD_CONTROL_3_REGID_TESSY__MASK; in A6XX_VFD_CONTROL_3_REGID_TESSY()
4110 static inline uint32_t A6XX_VFD_DECODE_INSTR_IDX(uint32_t val) in A6XX_VFD_DECODE_INSTR_IDX() argument
4112 return ((val) << A6XX_VFD_DECODE_INSTR_IDX__SHIFT) & A6XX_VFD_DECODE_INSTR_IDX__MASK; in A6XX_VFD_DECODE_INSTR_IDX()
4117 static inline uint32_t A6XX_VFD_DECODE_INSTR_FORMAT(enum a6xx_vtx_fmt val) in A6XX_VFD_DECODE_INSTR_FORMAT() argument
4119 return ((val) << A6XX_VFD_DECODE_INSTR_FORMAT__SHIFT) & A6XX_VFD_DECODE_INSTR_FORMAT__MASK; in A6XX_VFD_DECODE_INSTR_FORMAT()
4123 static inline uint32_t A6XX_VFD_DECODE_INSTR_SWAP(enum a3xx_color_swap val) in A6XX_VFD_DECODE_INSTR_SWAP() argument
4125 return ((val) << A6XX_VFD_DECODE_INSTR_SWAP__SHIFT) & A6XX_VFD_DECODE_INSTR_SWAP__MASK; in A6XX_VFD_DECODE_INSTR_SWAP()
4137 static inline uint32_t A6XX_VFD_DEST_CNTL_INSTR_WRITEMASK(uint32_t val) in A6XX_VFD_DEST_CNTL_INSTR_WRITEMASK() argument
4139 …return ((val) << A6XX_VFD_DEST_CNTL_INSTR_WRITEMASK__SHIFT) & A6XX_VFD_DEST_CNTL_INSTR_WRITEMASK__… in A6XX_VFD_DEST_CNTL_INSTR_WRITEMASK()
4143 static inline uint32_t A6XX_VFD_DEST_CNTL_INSTR_REGID(uint32_t val) in A6XX_VFD_DEST_CNTL_INSTR_REGID() argument
4145 return ((val) << A6XX_VFD_DEST_CNTL_INSTR_REGID__SHIFT) & A6XX_VFD_DEST_CNTL_INSTR_REGID__MASK; in A6XX_VFD_DEST_CNTL_INSTR_REGID()
4153 static inline uint32_t A6XX_SP_PRIMITIVE_CNTL_VSOUT(uint32_t val) in A6XX_SP_PRIMITIVE_CNTL_VSOUT() argument
4155 return ((val) << A6XX_SP_PRIMITIVE_CNTL_VSOUT__SHIFT) & A6XX_SP_PRIMITIVE_CNTL_VSOUT__MASK; in A6XX_SP_PRIMITIVE_CNTL_VSOUT()
4163 static inline uint32_t A6XX_SP_VS_OUT_REG_A_REGID(uint32_t val) in A6XX_SP_VS_OUT_REG_A_REGID() argument
4165 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()
4169 static inline uint32_t A6XX_SP_VS_OUT_REG_A_COMPMASK(uint32_t val) in A6XX_SP_VS_OUT_REG_A_COMPMASK() argument
4171 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()
4175 static inline uint32_t A6XX_SP_VS_OUT_REG_B_REGID(uint32_t val) in A6XX_SP_VS_OUT_REG_B_REGID() argument
4177 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()
4181 static inline uint32_t A6XX_SP_VS_OUT_REG_B_COMPMASK(uint32_t val) in A6XX_SP_VS_OUT_REG_B_COMPMASK() argument
4183 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()
4191 static inline uint32_t A6XX_SP_VS_VPC_DST_REG_OUTLOC0(uint32_t val) in A6XX_SP_VS_VPC_DST_REG_OUTLOC0() argument
4193 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()
4197 static inline uint32_t A6XX_SP_VS_VPC_DST_REG_OUTLOC1(uint32_t val) in A6XX_SP_VS_VPC_DST_REG_OUTLOC1() argument
4199 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()
4203 static inline uint32_t A6XX_SP_VS_VPC_DST_REG_OUTLOC2(uint32_t val) in A6XX_SP_VS_VPC_DST_REG_OUTLOC2() argument
4205 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()
4209 static inline uint32_t A6XX_SP_VS_VPC_DST_REG_OUTLOC3(uint32_t val) in A6XX_SP_VS_VPC_DST_REG_OUTLOC3() argument
4211 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()
4217 static inline uint32_t A6XX_SP_VS_CTRL_REG0_HALFREGFOOTPRINT(uint32_t val) in A6XX_SP_VS_CTRL_REG0_HALFREGFOOTPRINT() argument
4219 …return ((val) << A6XX_SP_VS_CTRL_REG0_HALFREGFOOTPRINT__SHIFT) & A6XX_SP_VS_CTRL_REG0_HALFREGFOOTP… in A6XX_SP_VS_CTRL_REG0_HALFREGFOOTPRINT()
4223 static inline uint32_t A6XX_SP_VS_CTRL_REG0_FULLREGFOOTPRINT(uint32_t val) in A6XX_SP_VS_CTRL_REG0_FULLREGFOOTPRINT() argument
4225 …return ((val) << A6XX_SP_VS_CTRL_REG0_FULLREGFOOTPRINT__SHIFT) & A6XX_SP_VS_CTRL_REG0_FULLREGFOOTP… in A6XX_SP_VS_CTRL_REG0_FULLREGFOOTPRINT()
4229 static inline uint32_t A6XX_SP_VS_CTRL_REG0_BRANCHSTACK(uint32_t val) in A6XX_SP_VS_CTRL_REG0_BRANCHSTACK() argument
4231 return ((val) << A6XX_SP_VS_CTRL_REG0_BRANCHSTACK__SHIFT) & A6XX_SP_VS_CTRL_REG0_BRANCHSTACK__MASK; in A6XX_SP_VS_CTRL_REG0_BRANCHSTACK()
4235 static inline uint32_t A6XX_SP_VS_CTRL_REG0_THREADSIZE(enum a3xx_threadsize val) in A6XX_SP_VS_CTRL_REG0_THREADSIZE() argument
4237 return ((val) << A6XX_SP_VS_CTRL_REG0_THREADSIZE__SHIFT) & A6XX_SP_VS_CTRL_REG0_THREADSIZE__MASK; in A6XX_SP_VS_CTRL_REG0_THREADSIZE()
4255 static inline uint32_t A6XX_SP_VS_CONFIG_NTEX(uint32_t val) in A6XX_SP_VS_CONFIG_NTEX() argument
4257 return ((val) << A6XX_SP_VS_CONFIG_NTEX__SHIFT) & A6XX_SP_VS_CONFIG_NTEX__MASK; in A6XX_SP_VS_CONFIG_NTEX()
4261 static inline uint32_t A6XX_SP_VS_CONFIG_NSAMP(uint32_t val) in A6XX_SP_VS_CONFIG_NSAMP() argument
4263 return ((val) << A6XX_SP_VS_CONFIG_NSAMP__SHIFT) & A6XX_SP_VS_CONFIG_NSAMP__MASK; in A6XX_SP_VS_CONFIG_NSAMP()
4271 static inline uint32_t A6XX_SP_HS_CTRL_REG0_HALFREGFOOTPRINT(uint32_t val) in A6XX_SP_HS_CTRL_REG0_HALFREGFOOTPRINT() argument
4273 …return ((val) << A6XX_SP_HS_CTRL_REG0_HALFREGFOOTPRINT__SHIFT) & A6XX_SP_HS_CTRL_REG0_HALFREGFOOTP… in A6XX_SP_HS_CTRL_REG0_HALFREGFOOTPRINT()
4277 static inline uint32_t A6XX_SP_HS_CTRL_REG0_FULLREGFOOTPRINT(uint32_t val) in A6XX_SP_HS_CTRL_REG0_FULLREGFOOTPRINT() argument
4279 …return ((val) << A6XX_SP_HS_CTRL_REG0_FULLREGFOOTPRINT__SHIFT) & A6XX_SP_HS_CTRL_REG0_FULLREGFOOTP… in A6XX_SP_HS_CTRL_REG0_FULLREGFOOTPRINT()
4283 static inline uint32_t A6XX_SP_HS_CTRL_REG0_BRANCHSTACK(uint32_t val) in A6XX_SP_HS_CTRL_REG0_BRANCHSTACK() argument
4285 return ((val) << A6XX_SP_HS_CTRL_REG0_BRANCHSTACK__SHIFT) & A6XX_SP_HS_CTRL_REG0_BRANCHSTACK__MASK; in A6XX_SP_HS_CTRL_REG0_BRANCHSTACK()
4289 static inline uint32_t A6XX_SP_HS_CTRL_REG0_THREADSIZE(enum a3xx_threadsize val) in A6XX_SP_HS_CTRL_REG0_THREADSIZE() argument
4291 return ((val) << A6XX_SP_HS_CTRL_REG0_THREADSIZE__SHIFT) & A6XX_SP_HS_CTRL_REG0_THREADSIZE__MASK; in A6XX_SP_HS_CTRL_REG0_THREADSIZE()
4309 static inline uint32_t A6XX_SP_HS_CONFIG_NTEX(uint32_t val) in A6XX_SP_HS_CONFIG_NTEX() argument
4311 return ((val) << A6XX_SP_HS_CONFIG_NTEX__SHIFT) & A6XX_SP_HS_CONFIG_NTEX__MASK; in A6XX_SP_HS_CONFIG_NTEX()
4315 static inline uint32_t A6XX_SP_HS_CONFIG_NSAMP(uint32_t val) in A6XX_SP_HS_CONFIG_NSAMP() argument
4317 return ((val) << A6XX_SP_HS_CONFIG_NSAMP__SHIFT) & A6XX_SP_HS_CONFIG_NSAMP__MASK; in A6XX_SP_HS_CONFIG_NSAMP()
4325 static inline uint32_t A6XX_SP_DS_CTRL_REG0_HALFREGFOOTPRINT(uint32_t val) in A6XX_SP_DS_CTRL_REG0_HALFREGFOOTPRINT() argument
4327 …return ((val) << A6XX_SP_DS_CTRL_REG0_HALFREGFOOTPRINT__SHIFT) & A6XX_SP_DS_CTRL_REG0_HALFREGFOOTP… in A6XX_SP_DS_CTRL_REG0_HALFREGFOOTPRINT()
4331 static inline uint32_t A6XX_SP_DS_CTRL_REG0_FULLREGFOOTPRINT(uint32_t val) in A6XX_SP_DS_CTRL_REG0_FULLREGFOOTPRINT() argument
4333 …return ((val) << A6XX_SP_DS_CTRL_REG0_FULLREGFOOTPRINT__SHIFT) & A6XX_SP_DS_CTRL_REG0_FULLREGFOOTP… in A6XX_SP_DS_CTRL_REG0_FULLREGFOOTPRINT()
4337 static inline uint32_t A6XX_SP_DS_CTRL_REG0_BRANCHSTACK(uint32_t val) in A6XX_SP_DS_CTRL_REG0_BRANCHSTACK() argument
4339 return ((val) << A6XX_SP_DS_CTRL_REG0_BRANCHSTACK__SHIFT) & A6XX_SP_DS_CTRL_REG0_BRANCHSTACK__MASK; in A6XX_SP_DS_CTRL_REG0_BRANCHSTACK()
4343 static inline uint32_t A6XX_SP_DS_CTRL_REG0_THREADSIZE(enum a3xx_threadsize val) in A6XX_SP_DS_CTRL_REG0_THREADSIZE() argument
4345 return ((val) << A6XX_SP_DS_CTRL_REG0_THREADSIZE__SHIFT) & A6XX_SP_DS_CTRL_REG0_THREADSIZE__MASK; in A6XX_SP_DS_CTRL_REG0_THREADSIZE()
4361 static inline uint32_t A6XX_SP_DS_CONFIG_NTEX(uint32_t val) in A6XX_SP_DS_CONFIG_NTEX() argument
4363 return ((val) << A6XX_SP_DS_CONFIG_NTEX__SHIFT) & A6XX_SP_DS_CONFIG_NTEX__MASK; in A6XX_SP_DS_CONFIG_NTEX()
4367 static inline uint32_t A6XX_SP_DS_CONFIG_NSAMP(uint32_t val) in A6XX_SP_DS_CONFIG_NSAMP() argument
4369 return ((val) << A6XX_SP_DS_CONFIG_NSAMP__SHIFT) & A6XX_SP_DS_CONFIG_NSAMP__MASK; in A6XX_SP_DS_CONFIG_NSAMP()
4377 static inline uint32_t A6XX_SP_GS_CTRL_REG0_HALFREGFOOTPRINT(uint32_t val) in A6XX_SP_GS_CTRL_REG0_HALFREGFOOTPRINT() argument
4379 …return ((val) << A6XX_SP_GS_CTRL_REG0_HALFREGFOOTPRINT__SHIFT) & A6XX_SP_GS_CTRL_REG0_HALFREGFOOTP… in A6XX_SP_GS_CTRL_REG0_HALFREGFOOTPRINT()
4383 static inline uint32_t A6XX_SP_GS_CTRL_REG0_FULLREGFOOTPRINT(uint32_t val) in A6XX_SP_GS_CTRL_REG0_FULLREGFOOTPRINT() argument
4385 …return ((val) << A6XX_SP_GS_CTRL_REG0_FULLREGFOOTPRINT__SHIFT) & A6XX_SP_GS_CTRL_REG0_FULLREGFOOTP… in A6XX_SP_GS_CTRL_REG0_FULLREGFOOTPRINT()
4389 static inline uint32_t A6XX_SP_GS_CTRL_REG0_BRANCHSTACK(uint32_t val) in A6XX_SP_GS_CTRL_REG0_BRANCHSTACK() argument
4391 return ((val) << A6XX_SP_GS_CTRL_REG0_BRANCHSTACK__SHIFT) & A6XX_SP_GS_CTRL_REG0_BRANCHSTACK__MASK; in A6XX_SP_GS_CTRL_REG0_BRANCHSTACK()
4395 static inline uint32_t A6XX_SP_GS_CTRL_REG0_THREADSIZE(enum a3xx_threadsize val) in A6XX_SP_GS_CTRL_REG0_THREADSIZE() argument
4397 return ((val) << A6XX_SP_GS_CTRL_REG0_THREADSIZE__SHIFT) & A6XX_SP_GS_CTRL_REG0_THREADSIZE__MASK; in A6XX_SP_GS_CTRL_REG0_THREADSIZE()
4415 static inline uint32_t A6XX_SP_GS_CONFIG_NTEX(uint32_t val) in A6XX_SP_GS_CONFIG_NTEX() argument
4417 return ((val) << A6XX_SP_GS_CONFIG_NTEX__SHIFT) & A6XX_SP_GS_CONFIG_NTEX__MASK; in A6XX_SP_GS_CONFIG_NTEX()
4421 static inline uint32_t A6XX_SP_GS_CONFIG_NSAMP(uint32_t val) in A6XX_SP_GS_CONFIG_NSAMP() argument
4423 return ((val) << A6XX_SP_GS_CONFIG_NSAMP__SHIFT) & A6XX_SP_GS_CONFIG_NSAMP__MASK; in A6XX_SP_GS_CONFIG_NSAMP()
4463 static inline uint32_t A6XX_SP_FS_CTRL_REG0_HALFREGFOOTPRINT(uint32_t val) in A6XX_SP_FS_CTRL_REG0_HALFREGFOOTPRINT() argument
4465 …return ((val) << A6XX_SP_FS_CTRL_REG0_HALFREGFOOTPRINT__SHIFT) & A6XX_SP_FS_CTRL_REG0_HALFREGFOOTP… in A6XX_SP_FS_CTRL_REG0_HALFREGFOOTPRINT()
4469 static inline uint32_t A6XX_SP_FS_CTRL_REG0_FULLREGFOOTPRINT(uint32_t val) in A6XX_SP_FS_CTRL_REG0_FULLREGFOOTPRINT() argument
4471 …return ((val) << A6XX_SP_FS_CTRL_REG0_FULLREGFOOTPRINT__SHIFT) & A6XX_SP_FS_CTRL_REG0_FULLREGFOOTP… in A6XX_SP_FS_CTRL_REG0_FULLREGFOOTPRINT()
4475 static inline uint32_t A6XX_SP_FS_CTRL_REG0_BRANCHSTACK(uint32_t val) in A6XX_SP_FS_CTRL_REG0_BRANCHSTACK() argument
4477 return ((val) << A6XX_SP_FS_CTRL_REG0_BRANCHSTACK__SHIFT) & A6XX_SP_FS_CTRL_REG0_BRANCHSTACK__MASK; in A6XX_SP_FS_CTRL_REG0_BRANCHSTACK()
4481 static inline uint32_t A6XX_SP_FS_CTRL_REG0_THREADSIZE(enum a3xx_threadsize val) in A6XX_SP_FS_CTRL_REG0_THREADSIZE() argument
4483 return ((val) << A6XX_SP_FS_CTRL_REG0_THREADSIZE__SHIFT) & A6XX_SP_FS_CTRL_REG0_THREADSIZE__MASK; in A6XX_SP_FS_CTRL_REG0_THREADSIZE()
4513 static inline uint32_t A6XX_SP_FS_RENDER_COMPONENTS_RT0(uint32_t val) in A6XX_SP_FS_RENDER_COMPONENTS_RT0() argument
4515 return ((val) << A6XX_SP_FS_RENDER_COMPONENTS_RT0__SHIFT) & A6XX_SP_FS_RENDER_COMPONENTS_RT0__MASK; in A6XX_SP_FS_RENDER_COMPONENTS_RT0()
4519 static inline uint32_t A6XX_SP_FS_RENDER_COMPONENTS_RT1(uint32_t val) in A6XX_SP_FS_RENDER_COMPONENTS_RT1() argument
4521 return ((val) << A6XX_SP_FS_RENDER_COMPONENTS_RT1__SHIFT) & A6XX_SP_FS_RENDER_COMPONENTS_RT1__MASK; in A6XX_SP_FS_RENDER_COMPONENTS_RT1()
4525 static inline uint32_t A6XX_SP_FS_RENDER_COMPONENTS_RT2(uint32_t val) in A6XX_SP_FS_RENDER_COMPONENTS_RT2() argument
4527 return ((val) << A6XX_SP_FS_RENDER_COMPONENTS_RT2__SHIFT) & A6XX_SP_FS_RENDER_COMPONENTS_RT2__MASK; in A6XX_SP_FS_RENDER_COMPONENTS_RT2()
4531 static inline uint32_t A6XX_SP_FS_RENDER_COMPONENTS_RT3(uint32_t val) in A6XX_SP_FS_RENDER_COMPONENTS_RT3() argument
4533 return ((val) << A6XX_SP_FS_RENDER_COMPONENTS_RT3__SHIFT) & A6XX_SP_FS_RENDER_COMPONENTS_RT3__MASK; in A6XX_SP_FS_RENDER_COMPONENTS_RT3()
4537 static inline uint32_t A6XX_SP_FS_RENDER_COMPONENTS_RT4(uint32_t val) in A6XX_SP_FS_RENDER_COMPONENTS_RT4() argument
4539 return ((val) << A6XX_SP_FS_RENDER_COMPONENTS_RT4__SHIFT) & A6XX_SP_FS_RENDER_COMPONENTS_RT4__MASK; in A6XX_SP_FS_RENDER_COMPONENTS_RT4()
4543 static inline uint32_t A6XX_SP_FS_RENDER_COMPONENTS_RT5(uint32_t val) in A6XX_SP_FS_RENDER_COMPONENTS_RT5() argument
4545 return ((val) << A6XX_SP_FS_RENDER_COMPONENTS_RT5__SHIFT) & A6XX_SP_FS_RENDER_COMPONENTS_RT5__MASK; in A6XX_SP_FS_RENDER_COMPONENTS_RT5()
4549 static inline uint32_t A6XX_SP_FS_RENDER_COMPONENTS_RT6(uint32_t val) in A6XX_SP_FS_RENDER_COMPONENTS_RT6() argument
4551 return ((val) << A6XX_SP_FS_RENDER_COMPONENTS_RT6__SHIFT) & A6XX_SP_FS_RENDER_COMPONENTS_RT6__MASK; in A6XX_SP_FS_RENDER_COMPONENTS_RT6()
4555 static inline uint32_t A6XX_SP_FS_RENDER_COMPONENTS_RT7(uint32_t val) in A6XX_SP_FS_RENDER_COMPONENTS_RT7() argument
4557 return ((val) << A6XX_SP_FS_RENDER_COMPONENTS_RT7__SHIFT) & A6XX_SP_FS_RENDER_COMPONENTS_RT7__MASK; in A6XX_SP_FS_RENDER_COMPONENTS_RT7()
4563 static inline uint32_t A6XX_SP_FS_OUTPUT_CNTL0_DEPTH_REGID(uint32_t val) in A6XX_SP_FS_OUTPUT_CNTL0_DEPTH_REGID() argument
4565 …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()
4571 static inline uint32_t A6XX_SP_FS_OUTPUT_CNTL1_MRT(uint32_t val) in A6XX_SP_FS_OUTPUT_CNTL1_MRT() argument
4573 return ((val) << A6XX_SP_FS_OUTPUT_CNTL1_MRT__SHIFT) & A6XX_SP_FS_OUTPUT_CNTL1_MRT__MASK; in A6XX_SP_FS_OUTPUT_CNTL1_MRT()
4581 static inline uint32_t A6XX_SP_FS_MRT_REG_COLOR_FORMAT(enum a6xx_color_fmt val) in A6XX_SP_FS_MRT_REG_COLOR_FORMAT() argument
4583 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()
4615 static inline uint32_t A6XX_SP_FS_OUTPUT_REG_REGID(uint32_t val) in A6XX_SP_FS_OUTPUT_REG_REGID() argument
4617 return ((val) << A6XX_SP_FS_OUTPUT_REG_REGID__SHIFT) & A6XX_SP_FS_OUTPUT_REG_REGID__MASK; in A6XX_SP_FS_OUTPUT_REG_REGID()
4624 static inline uint32_t A6XX_SP_CS_CTRL_REG0_HALFREGFOOTPRINT(uint32_t val) in A6XX_SP_CS_CTRL_REG0_HALFREGFOOTPRINT() argument
4626 …return ((val) << A6XX_SP_CS_CTRL_REG0_HALFREGFOOTPRINT__SHIFT) & A6XX_SP_CS_CTRL_REG0_HALFREGFOOTP… in A6XX_SP_CS_CTRL_REG0_HALFREGFOOTPRINT()
4630 static inline uint32_t A6XX_SP_CS_CTRL_REG0_FULLREGFOOTPRINT(uint32_t val) in A6XX_SP_CS_CTRL_REG0_FULLREGFOOTPRINT() argument
4632 …return ((val) << A6XX_SP_CS_CTRL_REG0_FULLREGFOOTPRINT__SHIFT) & A6XX_SP_CS_CTRL_REG0_FULLREGFOOTP… in A6XX_SP_CS_CTRL_REG0_FULLREGFOOTPRINT()
4636 static inline uint32_t A6XX_SP_CS_CTRL_REG0_BRANCHSTACK(uint32_t val) in A6XX_SP_CS_CTRL_REG0_BRANCHSTACK() argument
4638 return ((val) << A6XX_SP_CS_CTRL_REG0_BRANCHSTACK__SHIFT) & A6XX_SP_CS_CTRL_REG0_BRANCHSTACK__MASK; in A6XX_SP_CS_CTRL_REG0_BRANCHSTACK()
4642 static inline uint32_t A6XX_SP_CS_CTRL_REG0_THREADSIZE(enum a3xx_threadsize val) in A6XX_SP_CS_CTRL_REG0_THREADSIZE() argument
4644 return ((val) << A6XX_SP_CS_CTRL_REG0_THREADSIZE__SHIFT) & A6XX_SP_CS_CTRL_REG0_THREADSIZE__MASK; in A6XX_SP_CS_CTRL_REG0_THREADSIZE()
4662 static inline uint32_t A6XX_SP_FS_CONFIG_NTEX(uint32_t val) in A6XX_SP_FS_CONFIG_NTEX() argument
4664 return ((val) << A6XX_SP_FS_CONFIG_NTEX__SHIFT) & A6XX_SP_FS_CONFIG_NTEX__MASK; in A6XX_SP_FS_CONFIG_NTEX()
4668 static inline uint32_t A6XX_SP_FS_CONFIG_NSAMP(uint32_t val) in A6XX_SP_FS_CONFIG_NSAMP() argument
4670 return ((val) << A6XX_SP_FS_CONFIG_NSAMP__SHIFT) & A6XX_SP_FS_CONFIG_NSAMP__MASK; in A6XX_SP_FS_CONFIG_NSAMP()
4694 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
4696 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()
4702 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
4704 …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()
4719 static inline uint32_t A6XX_SP_PS_2D_SRC_INFO_COLOR_FORMAT(enum a6xx_color_fmt val) in A6XX_SP_PS_2D_SRC_INFO_COLOR_FORMAT() argument
4721 …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()
4725 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
4727 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()
4731 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
4733 …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()
4741 static inline uint32_t A6XX_SP_PS_2D_SRC_SIZE_WIDTH(uint32_t val) in A6XX_SP_PS_2D_SRC_SIZE_WIDTH() argument
4743 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()
4747 static inline uint32_t A6XX_SP_PS_2D_SRC_SIZE_HEIGHT(uint32_t val) in A6XX_SP_PS_2D_SRC_SIZE_HEIGHT() argument
4749 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()
4759 static inline uint32_t A6XX_SP_PS_2D_SRC_PITCH_PITCH(uint32_t val) in A6XX_SP_PS_2D_SRC_PITCH_PITCH() argument
4761 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()
4775 static inline uint32_t A6XX_HLSQ_VS_CNTL_CONSTLEN(uint32_t val) in A6XX_HLSQ_VS_CNTL_CONSTLEN() argument
4777 return ((val >> 2) << A6XX_HLSQ_VS_CNTL_CONSTLEN__SHIFT) & A6XX_HLSQ_VS_CNTL_CONSTLEN__MASK; in A6XX_HLSQ_VS_CNTL_CONSTLEN()
4783 static inline uint32_t A6XX_HLSQ_HS_CNTL_CONSTLEN(uint32_t val) in A6XX_HLSQ_HS_CNTL_CONSTLEN() argument
4785 return ((val >> 2) << A6XX_HLSQ_HS_CNTL_CONSTLEN__SHIFT) & A6XX_HLSQ_HS_CNTL_CONSTLEN__MASK; in A6XX_HLSQ_HS_CNTL_CONSTLEN()
4791 static inline uint32_t A6XX_HLSQ_DS_CNTL_CONSTLEN(uint32_t val) in A6XX_HLSQ_DS_CNTL_CONSTLEN() argument
4793 return ((val >> 2) << A6XX_HLSQ_DS_CNTL_CONSTLEN__SHIFT) & A6XX_HLSQ_DS_CNTL_CONSTLEN__MASK; in A6XX_HLSQ_DS_CNTL_CONSTLEN()
4799 static inline uint32_t A6XX_HLSQ_GS_CNTL_CONSTLEN(uint32_t val) in A6XX_HLSQ_GS_CNTL_CONSTLEN() argument
4801 return ((val >> 2) << A6XX_HLSQ_GS_CNTL_CONSTLEN__SHIFT) & A6XX_HLSQ_GS_CNTL_CONSTLEN__MASK; in A6XX_HLSQ_GS_CNTL_CONSTLEN()
4811 static inline uint32_t A6XX_HLSQ_CONTROL_2_REG_FACEREGID(uint32_t val) in A6XX_HLSQ_CONTROL_2_REG_FACEREGID() argument
4813 …return ((val) << A6XX_HLSQ_CONTROL_2_REG_FACEREGID__SHIFT) & A6XX_HLSQ_CONTROL_2_REG_FACEREGID__MA… in A6XX_HLSQ_CONTROL_2_REG_FACEREGID()
4817 static inline uint32_t A6XX_HLSQ_CONTROL_2_REG_SAMPLEID(uint32_t val) in A6XX_HLSQ_CONTROL_2_REG_SAMPLEID() argument
4819 return ((val) << A6XX_HLSQ_CONTROL_2_REG_SAMPLEID__SHIFT) & A6XX_HLSQ_CONTROL_2_REG_SAMPLEID__MASK; in A6XX_HLSQ_CONTROL_2_REG_SAMPLEID()
4823 static inline uint32_t A6XX_HLSQ_CONTROL_2_REG_SAMPLEMASK(uint32_t val) in A6XX_HLSQ_CONTROL_2_REG_SAMPLEMASK() argument
4825 …return ((val) << A6XX_HLSQ_CONTROL_2_REG_SAMPLEMASK__SHIFT) & A6XX_HLSQ_CONTROL_2_REG_SAMPLEMASK__… in A6XX_HLSQ_CONTROL_2_REG_SAMPLEMASK()
4831 static inline uint32_t A6XX_HLSQ_CONTROL_3_REG_FRAGCOORDXYREGID(uint32_t val) in A6XX_HLSQ_CONTROL_3_REG_FRAGCOORDXYREGID() argument
4833 …return ((val) << A6XX_HLSQ_CONTROL_3_REG_FRAGCOORDXYREGID__SHIFT) & A6XX_HLSQ_CONTROL_3_REG_FRAGCO… in A6XX_HLSQ_CONTROL_3_REG_FRAGCOORDXYREGID()
4839 static inline uint32_t A6XX_HLSQ_CONTROL_4_REG_XYCOORDREGID(uint32_t val) in A6XX_HLSQ_CONTROL_4_REG_XYCOORDREGID() argument
4841 …return ((val) << A6XX_HLSQ_CONTROL_4_REG_XYCOORDREGID__SHIFT) & A6XX_HLSQ_CONTROL_4_REG_XYCOORDREG… in A6XX_HLSQ_CONTROL_4_REG_XYCOORDREGID()
4845 static inline uint32_t A6XX_HLSQ_CONTROL_4_REG_ZWCOORDREGID(uint32_t val) in A6XX_HLSQ_CONTROL_4_REG_ZWCOORDREGID() argument
4847 …return ((val) << A6XX_HLSQ_CONTROL_4_REG_ZWCOORDREGID__SHIFT) & A6XX_HLSQ_CONTROL_4_REG_ZWCOORDREG… in A6XX_HLSQ_CONTROL_4_REG_ZWCOORDREGID()
4855 static inline uint32_t A6XX_HLSQ_CS_NDRANGE_0_KERNELDIM(uint32_t val) in A6XX_HLSQ_CS_NDRANGE_0_KERNELDIM() argument
4857 return ((val) << A6XX_HLSQ_CS_NDRANGE_0_KERNELDIM__SHIFT) & A6XX_HLSQ_CS_NDRANGE_0_KERNELDIM__MASK; in A6XX_HLSQ_CS_NDRANGE_0_KERNELDIM()
4861 static inline uint32_t A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEX(uint32_t val) in A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEX() argument
4863 …return ((val) << A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEX__SHIFT) & A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEX__MA… in A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEX()
4867 static inline uint32_t A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEY(uint32_t val) in A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEY() argument
4869 …return ((val) << A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEY__SHIFT) & A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEY__MA… in A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEY()
4873 static inline uint32_t A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEZ(uint32_t val) in A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEZ() argument
4875 …return ((val) << A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEZ__SHIFT) & A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEZ__MA… in A6XX_HLSQ_CS_NDRANGE_0_LOCALSIZEZ()
4881 static inline uint32_t A6XX_HLSQ_CS_NDRANGE_1_GLOBALSIZE_X(uint32_t val) in A6XX_HLSQ_CS_NDRANGE_1_GLOBALSIZE_X() argument
4883 …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()
4889 static inline uint32_t A6XX_HLSQ_CS_NDRANGE_2_GLOBALOFF_X(uint32_t val) in A6XX_HLSQ_CS_NDRANGE_2_GLOBALOFF_X() argument
4891 …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()
4897 static inline uint32_t A6XX_HLSQ_CS_NDRANGE_3_GLOBALSIZE_Y(uint32_t val) in A6XX_HLSQ_CS_NDRANGE_3_GLOBALSIZE_Y() argument
4899 …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()
4905 static inline uint32_t A6XX_HLSQ_CS_NDRANGE_4_GLOBALOFF_Y(uint32_t val) in A6XX_HLSQ_CS_NDRANGE_4_GLOBALOFF_Y() argument
4907 …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()
4913 static inline uint32_t A6XX_HLSQ_CS_NDRANGE_5_GLOBALSIZE_Z(uint32_t val) in A6XX_HLSQ_CS_NDRANGE_5_GLOBALSIZE_Z() argument
4915 …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()
4921 static inline uint32_t A6XX_HLSQ_CS_NDRANGE_6_GLOBALOFF_Z(uint32_t val) in A6XX_HLSQ_CS_NDRANGE_6_GLOBALOFF_Z() argument
4923 …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()
4929 static inline uint32_t A6XX_HLSQ_CS_CNTL_0_WGIDCONSTID(uint32_t val) in A6XX_HLSQ_CS_CNTL_0_WGIDCONSTID() argument
4931 return ((val) << A6XX_HLSQ_CS_CNTL_0_WGIDCONSTID__SHIFT) & A6XX_HLSQ_CS_CNTL_0_WGIDCONSTID__MASK; in A6XX_HLSQ_CS_CNTL_0_WGIDCONSTID()
4935 static inline uint32_t A6XX_HLSQ_CS_CNTL_0_UNK0(uint32_t val) in A6XX_HLSQ_CS_CNTL_0_UNK0() argument
4937 return ((val) << A6XX_HLSQ_CS_CNTL_0_UNK0__SHIFT) & A6XX_HLSQ_CS_CNTL_0_UNK0__MASK; in A6XX_HLSQ_CS_CNTL_0_UNK0()
4941 static inline uint32_t A6XX_HLSQ_CS_CNTL_0_UNK1(uint32_t val) in A6XX_HLSQ_CS_CNTL_0_UNK1() argument
4943 return ((val) << A6XX_HLSQ_CS_CNTL_0_UNK1__SHIFT) & A6XX_HLSQ_CS_CNTL_0_UNK1__MASK; in A6XX_HLSQ_CS_CNTL_0_UNK1()
4947 static inline uint32_t A6XX_HLSQ_CS_CNTL_0_LOCALIDREGID(uint32_t val) in A6XX_HLSQ_CS_CNTL_0_LOCALIDREGID() argument
4949 return ((val) << A6XX_HLSQ_CS_CNTL_0_LOCALIDREGID__SHIFT) & A6XX_HLSQ_CS_CNTL_0_LOCALIDREGID__MASK; in A6XX_HLSQ_CS_CNTL_0_LOCALIDREGID()
4963 static inline uint32_t A6XX_HLSQ_FS_CNTL_CONSTLEN(uint32_t val) in A6XX_HLSQ_FS_CNTL_CONSTLEN() argument
4965 return ((val >> 2) << A6XX_HLSQ_FS_CNTL_CONSTLEN__SHIFT) & A6XX_HLSQ_FS_CNTL_CONSTLEN__MASK; in A6XX_HLSQ_FS_CNTL_CONSTLEN()
4980 static inline uint32_t A6XX_TEX_SAMP_0_XY_MAG(enum a6xx_tex_filter val) in A6XX_TEX_SAMP_0_XY_MAG() argument
4982 return ((val) << A6XX_TEX_SAMP_0_XY_MAG__SHIFT) & A6XX_TEX_SAMP_0_XY_MAG__MASK; in A6XX_TEX_SAMP_0_XY_MAG()
4986 static inline uint32_t A6XX_TEX_SAMP_0_XY_MIN(enum a6xx_tex_filter val) in A6XX_TEX_SAMP_0_XY_MIN() argument
4988 return ((val) << A6XX_TEX_SAMP_0_XY_MIN__SHIFT) & A6XX_TEX_SAMP_0_XY_MIN__MASK; in A6XX_TEX_SAMP_0_XY_MIN()
4992 static inline uint32_t A6XX_TEX_SAMP_0_WRAP_S(enum a6xx_tex_clamp val) in A6XX_TEX_SAMP_0_WRAP_S() argument
4994 return ((val) << A6XX_TEX_SAMP_0_WRAP_S__SHIFT) & A6XX_TEX_SAMP_0_WRAP_S__MASK; in A6XX_TEX_SAMP_0_WRAP_S()
4998 static inline uint32_t A6XX_TEX_SAMP_0_WRAP_T(enum a6xx_tex_clamp val) in A6XX_TEX_SAMP_0_WRAP_T() argument
5000 return ((val) << A6XX_TEX_SAMP_0_WRAP_T__SHIFT) & A6XX_TEX_SAMP_0_WRAP_T__MASK; in A6XX_TEX_SAMP_0_WRAP_T()
5004 static inline uint32_t A6XX_TEX_SAMP_0_WRAP_R(enum a6xx_tex_clamp val) in A6XX_TEX_SAMP_0_WRAP_R() argument
5006 return ((val) << A6XX_TEX_SAMP_0_WRAP_R__SHIFT) & A6XX_TEX_SAMP_0_WRAP_R__MASK; in A6XX_TEX_SAMP_0_WRAP_R()
5010 static inline uint32_t A6XX_TEX_SAMP_0_ANISO(enum a6xx_tex_aniso val) in A6XX_TEX_SAMP_0_ANISO() argument
5012 return ((val) << A6XX_TEX_SAMP_0_ANISO__SHIFT) & A6XX_TEX_SAMP_0_ANISO__MASK; in A6XX_TEX_SAMP_0_ANISO()
5016 static inline uint32_t A6XX_TEX_SAMP_0_LOD_BIAS(float val) in A6XX_TEX_SAMP_0_LOD_BIAS() argument
5018 …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()
5024 static inline uint32_t A6XX_TEX_SAMP_1_COMPARE_FUNC(enum adreno_compare_func val) in A6XX_TEX_SAMP_1_COMPARE_FUNC() argument
5026 return ((val) << A6XX_TEX_SAMP_1_COMPARE_FUNC__SHIFT) & A6XX_TEX_SAMP_1_COMPARE_FUNC__MASK; in A6XX_TEX_SAMP_1_COMPARE_FUNC()
5033 static inline uint32_t A6XX_TEX_SAMP_1_MAX_LOD(float val) in A6XX_TEX_SAMP_1_MAX_LOD() argument
5035 …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()
5039 static inline uint32_t A6XX_TEX_SAMP_1_MIN_LOD(float val) in A6XX_TEX_SAMP_1_MIN_LOD() argument
5041 …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()
5047 static inline uint32_t A6XX_TEX_SAMP_2_BCOLOR_OFFSET(uint32_t val) in A6XX_TEX_SAMP_2_BCOLOR_OFFSET() argument
5049 return ((val) << A6XX_TEX_SAMP_2_BCOLOR_OFFSET__SHIFT) & A6XX_TEX_SAMP_2_BCOLOR_OFFSET__MASK; in A6XX_TEX_SAMP_2_BCOLOR_OFFSET()
5057 static inline uint32_t A6XX_TEX_CONST_0_TILE_MODE(enum a6xx_tile_mode val) in A6XX_TEX_CONST_0_TILE_MODE() argument
5059 return ((val) << A6XX_TEX_CONST_0_TILE_MODE__SHIFT) & A6XX_TEX_CONST_0_TILE_MODE__MASK; in A6XX_TEX_CONST_0_TILE_MODE()
5064 static inline uint32_t A6XX_TEX_CONST_0_SWIZ_X(enum a6xx_tex_swiz val) in A6XX_TEX_CONST_0_SWIZ_X() argument
5066 return ((val) << A6XX_TEX_CONST_0_SWIZ_X__SHIFT) & A6XX_TEX_CONST_0_SWIZ_X__MASK; in A6XX_TEX_CONST_0_SWIZ_X()
5070 static inline uint32_t A6XX_TEX_CONST_0_SWIZ_Y(enum a6xx_tex_swiz val) in A6XX_TEX_CONST_0_SWIZ_Y() argument
5072 return ((val) << A6XX_TEX_CONST_0_SWIZ_Y__SHIFT) & A6XX_TEX_CONST_0_SWIZ_Y__MASK; in A6XX_TEX_CONST_0_SWIZ_Y()
5076 static inline uint32_t A6XX_TEX_CONST_0_SWIZ_Z(enum a6xx_tex_swiz val) in A6XX_TEX_CONST_0_SWIZ_Z() argument
5078 return ((val) << A6XX_TEX_CONST_0_SWIZ_Z__SHIFT) & A6XX_TEX_CONST_0_SWIZ_Z__MASK; in A6XX_TEX_CONST_0_SWIZ_Z()
5082 static inline uint32_t A6XX_TEX_CONST_0_SWIZ_W(enum a6xx_tex_swiz val) in A6XX_TEX_CONST_0_SWIZ_W() argument
5084 return ((val) << A6XX_TEX_CONST_0_SWIZ_W__SHIFT) & A6XX_TEX_CONST_0_SWIZ_W__MASK; in A6XX_TEX_CONST_0_SWIZ_W()
5088 static inline uint32_t A6XX_TEX_CONST_0_MIPLVLS(uint32_t val) in A6XX_TEX_CONST_0_MIPLVLS() argument
5090 return ((val) << A6XX_TEX_CONST_0_MIPLVLS__SHIFT) & A6XX_TEX_CONST_0_MIPLVLS__MASK; in A6XX_TEX_CONST_0_MIPLVLS()
5094 static inline uint32_t A6XX_TEX_CONST_0_SAMPLES(enum a3xx_msaa_samples val) in A6XX_TEX_CONST_0_SAMPLES() argument
5096 return ((val) << A6XX_TEX_CONST_0_SAMPLES__SHIFT) & A6XX_TEX_CONST_0_SAMPLES__MASK; in A6XX_TEX_CONST_0_SAMPLES()
5100 static inline uint32_t A6XX_TEX_CONST_0_FMT(enum a6xx_tex_fmt val) in A6XX_TEX_CONST_0_FMT() argument
5102 return ((val) << A6XX_TEX_CONST_0_FMT__SHIFT) & A6XX_TEX_CONST_0_FMT__MASK; in A6XX_TEX_CONST_0_FMT()
5106 static inline uint32_t A6XX_TEX_CONST_0_SWAP(enum a3xx_color_swap val) in A6XX_TEX_CONST_0_SWAP() argument
5108 return ((val) << A6XX_TEX_CONST_0_SWAP__SHIFT) & A6XX_TEX_CONST_0_SWAP__MASK; in A6XX_TEX_CONST_0_SWAP()
5114 static inline uint32_t A6XX_TEX_CONST_1_WIDTH(uint32_t val) in A6XX_TEX_CONST_1_WIDTH() argument
5116 return ((val) << A6XX_TEX_CONST_1_WIDTH__SHIFT) & A6XX_TEX_CONST_1_WIDTH__MASK; in A6XX_TEX_CONST_1_WIDTH()
5120 static inline uint32_t A6XX_TEX_CONST_1_HEIGHT(uint32_t val) in A6XX_TEX_CONST_1_HEIGHT() argument
5122 return ((val) << A6XX_TEX_CONST_1_HEIGHT__SHIFT) & A6XX_TEX_CONST_1_HEIGHT__MASK; in A6XX_TEX_CONST_1_HEIGHT()
5128 static inline uint32_t A6XX_TEX_CONST_2_FETCHSIZE(enum a6xx_tex_fetchsize val) in A6XX_TEX_CONST_2_FETCHSIZE() argument
5130 return ((val) << A6XX_TEX_CONST_2_FETCHSIZE__SHIFT) & A6XX_TEX_CONST_2_FETCHSIZE__MASK; in A6XX_TEX_CONST_2_FETCHSIZE()
5134 static inline uint32_t A6XX_TEX_CONST_2_PITCH(uint32_t val) in A6XX_TEX_CONST_2_PITCH() argument
5136 return ((val) << A6XX_TEX_CONST_2_PITCH__SHIFT) & A6XX_TEX_CONST_2_PITCH__MASK; in A6XX_TEX_CONST_2_PITCH()
5140 static inline uint32_t A6XX_TEX_CONST_2_TYPE(enum a6xx_tex_type val) in A6XX_TEX_CONST_2_TYPE() argument
5142 return ((val) << A6XX_TEX_CONST_2_TYPE__SHIFT) & A6XX_TEX_CONST_2_TYPE__MASK; in A6XX_TEX_CONST_2_TYPE()
5148 static inline uint32_t A6XX_TEX_CONST_3_ARRAY_PITCH(uint32_t val) in A6XX_TEX_CONST_3_ARRAY_PITCH() argument
5150 return ((val >> 12) << A6XX_TEX_CONST_3_ARRAY_PITCH__SHIFT) & A6XX_TEX_CONST_3_ARRAY_PITCH__MASK; in A6XX_TEX_CONST_3_ARRAY_PITCH()
5157 static inline uint32_t A6XX_TEX_CONST_4_BASE_LO(uint32_t val) in A6XX_TEX_CONST_4_BASE_LO() argument
5159 return ((val >> 5) << A6XX_TEX_CONST_4_BASE_LO__SHIFT) & A6XX_TEX_CONST_4_BASE_LO__MASK; in A6XX_TEX_CONST_4_BASE_LO()
5165 static inline uint32_t A6XX_TEX_CONST_5_BASE_HI(uint32_t val) in A6XX_TEX_CONST_5_BASE_HI() argument
5167 return ((val) << A6XX_TEX_CONST_5_BASE_HI__SHIFT) & A6XX_TEX_CONST_5_BASE_HI__MASK; in A6XX_TEX_CONST_5_BASE_HI()
5171 static inline uint32_t A6XX_TEX_CONST_5_DEPTH(uint32_t val) in A6XX_TEX_CONST_5_DEPTH() argument
5173 return ((val) << A6XX_TEX_CONST_5_DEPTH__SHIFT) & A6XX_TEX_CONST_5_DEPTH__MASK; in A6XX_TEX_CONST_5_DEPTH()
5181 static inline uint32_t A6XX_TEX_CONST_7_FLAG_LO(uint32_t val) in A6XX_TEX_CONST_7_FLAG_LO() argument
5183 return ((val >> 5) << A6XX_TEX_CONST_7_FLAG_LO__SHIFT) & A6XX_TEX_CONST_7_FLAG_LO__MASK; in A6XX_TEX_CONST_7_FLAG_LO()
5189 static inline uint32_t A6XX_TEX_CONST_8_FLAG_HI(uint32_t val) in A6XX_TEX_CONST_8_FLAG_HI() argument
5191 return ((val) << A6XX_TEX_CONST_8_FLAG_HI__SHIFT) & A6XX_TEX_CONST_8_FLAG_HI__MASK; in A6XX_TEX_CONST_8_FLAG_HI()
5265 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
5267 …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()
5271 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
5273 …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()
5285 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_CNTLT_TRACEEN(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_CNTLT_TRACEEN() argument
5287 …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()
5291 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_CNTLT_GRANU(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_CNTLT_GRANU() argument
5293 …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()
5297 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_CNTLT_SEGT(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_CNTLT_SEGT() argument
5299 …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()
5305 static inline uint32_t A6XX_CX_DBGC_CFG_DBGBUS_CNTLM_ENABLE(uint32_t val) in A6XX_CX_DBGC_CFG_DBGBUS_CNTLM_ENABLE() argument
5307 …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()
5329 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
5331 …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()
5335 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
5337 …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()
5341 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
5343 …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()
5347 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
5349 …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()
5353 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
5355 …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()
5359 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
5361 …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()
5365 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
5367 …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()
5371 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
5373 …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()
5379 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
5381 …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()
5385 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
5387 …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()
5391 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
5393 …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()
5397 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
5399 …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()
5403 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
5405 …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()
5409 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
5411 …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()
5415 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
5417 …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()
5421 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
5423 …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()