Home
last modified time | relevance | path

Searched refs:dec_swreg15 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c108 #define IS_DEC_IDLE(dec_swreg15) \ argument
109 (((dec_swreg15) & DCORE0_DEC0_CMD_SWREG15_SW_WORK_STATE_MASK) == DEC_WORK_STATE_IDLE || \
110 ((dec_swreg15) & DCORE0_DEC0_CMD_SWREG15_SW_WORK_STATE_MASK) == DEC_WORK_STATE_PEND)
7261 u32 dec_swreg15, dec_enabled_bit; in gaudi2_get_decoder_idle_status() local
7281 dec_swreg15 = RREG32(mmDCORE0_DEC0_CMD_SWREG15 + offset); in gaudi2_get_decoder_idle_status()
7282 is_eng_idle = IS_DEC_IDLE(dec_swreg15); in gaudi2_get_decoder_idle_status()
7290 is_eng_idle ? "Y" : "N", dec_swreg15); in gaudi2_get_decoder_idle_status()
7307 dec_swreg15 = RREG32(mmPCIE_DEC0_CMD_SWREG15 + offset); in gaudi2_get_decoder_idle_status()
7308 is_eng_idle = IS_DEC_IDLE(dec_swreg15); in gaudi2_get_decoder_idle_status()
7316 is_eng_idle ? "Y" : "N", dec_swreg15); in gaudi2_get_decoder_idle_status()