Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/nouveau/include/nvhw/
H A Ddrf.h42 #define DRF_LW_BITS(o,drf) (DRF_LW_HI((o),drf) - DRF_LW_LO((o),drf) + 1) macro
43 #define DRF_LW_MASK(o,drf) (~0ULL >> (64 - DRF_LW_BITS((o),drf)))
57 #define DRF_HW_VAL(o,drf,v) (((long long)(v) >> DRF_LW_BITS((o),drf)) & DRF_HW_SMASK((o),drf))
104 (DRF_HW_GET((o),drf) << DRF_LW_BITS((o),drf)) : 0) | DRF_LW_GET((o),drf))