Home
last modified time | relevance | path

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

/openbmc/linux/drivers/vdpa/solidrun/
H A Dsnet_ctrl.c27 #define SNET_CTRL_ERROR_MASK 0x0FFC0000 macro
29 #define SNET_VAL_TO_ERR(val) (-(((val) & SNET_CTRL_ERROR_MASK) >> 18))
30 #define SNET_EMPTY_CTRL(val) (((val) & SNET_CTRL_ERROR_MASK) || \
32 #define SNET_DATA_READY(val) ((val) & (SNET_CTRL_ERROR_MASK | SNET_CTRL_CHUNK_RDY_MASK))
182 if (val & SNET_CTRL_ERROR_MASK) { in snet_ctrl_read_from_dpu()