Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/nouveau/include/nvif/
Dpush906f.h23 PUSH_ASSERT(!((s) & ~DRF_MASK(NV906F_DMA_METHOD_SUBCHANNEL)), "subc"); \
24 PUSH_ASSERT(!((m) & ~(DRF_MASK(NV906F_DMA_METHOD_ADDRESS) << 2)), "mthd"); \
25 PUSH_ASSERT(!((c) & ~DRF_MASK(NV906F_DMA_METHOD_COUNT)), "count/immd"); \
Dpush006c.h51 PUSH_ASSERT(!((s) & ~DRF_MASK(NV06C_METHOD_SUBCHANNEL)), "subc"); \
53 PUSH_ASSERT(!((c) & ~DRF_MASK(NV06C_METHOD_COUNT)), "count"); \
Dpushc37b.h9 PUSH_ASSERT(!((c) & ~DRF_MASK(NVC37B_DMA_METHOD_COUNT)), "size"); \
Dpush507c.h9 PUSH_ASSERT(!((c) & ~DRF_MASK(NV507C_DMA_METHOD_COUNT)), "size"); \
/linux-5.19.10/drivers/gpu/drm/nouveau/include/nvhw/
Ddrf.h29 #define DRF_MASK(drf) (~0ULL >> (64 - DRF_BITS(drf))) macro
30 #define DRF_SMASK(drf) (DRF_MASK(drf) << DRF_LO(drf))
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))