Home
last modified time | relevance | path

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

/drivers/gpu/drm/nouveau/include/nvhw/
Ddrf.h26 #define DRF_LO(drf) (0 ? drf) macro
28 #define DRF_BITS(drf) (DRF_HI(drf) - DRF_LO(drf) + 1)
30 #define DRF_SMASK(drf) (DRF_MASK(drf) << DRF_LO(drf))
39 #define DRF_LW_IDX(o,drf) (DRF_LO(DRF_MW(drf)) / DRF_MW_SIZE(o))
40 #define DRF_LW_LO(o,drf) (DRF_LO(DRF_MW(drf)) % DRF_MW_SIZE(o))
62 #define NVVAL_X(drf,v) (((v) & DRF_MASK(drf)) << DRF_LO(drf))
73 #define NVVAL_GET_X(o,drf) (((o) >> DRF_LO(drf)) & DRF_MASK(drf))