Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/nouveau/include/nvif/
Dpush006c.h54 PUSH_DATA__((p), NVVAL_X(NV06C_METHOD_ADDRESS, (m) >> 2) | \
55 NVVAL_X(NV06C_METHOD_SUBCHANNEL, (s)) | \
56 NVVAL_X(NV06C_METHOD_COUNT, (c)) | \
57 NVVAL_X(NV06C_OPCODE, NV06C_OPCODE_##o), \
69 PUSH_DATA__((p), NVVAL_X(NV06C_OPCODE, NV06C_OPCODE_JUMP) | \
70 NVVAL_X(NV06C_JUMP_OFFSET, (o) >> 2), \
/linux-5.19.10/drivers/gpu/drm/nouveau/include/nvhw/
Ddrf.h62 #define NVVAL_X(drf,v) (((v) & DRF_MASK(drf)) << DRF_LO(drf)) macro
63 #define NVVAL_N(X,d,r,f, v) NVVAL_X(d##_##r##_##f, (v))
64 #define NVVAL_I(X,d,r,f,i,v) NVVAL_X(d##_##r##_##f(i), (v))
68 #define NVDEF_N(X,d,r,f, v) NVVAL_X(d##_##r##_##f, d##_##r##_##f##_##v)
69 #define NVDEF_I(X,d,r,f,i,v) NVVAL_X(d##_##r##_##f(i), d##_##r##_##f##_##v)
90 #define NVVAL_SET_X(o,drf,v) (((o) & ~DRF_SMASK(drf)) | NVVAL_X(drf, (v)))
159 DRF_WR_X(e, (p), (o), d##_##r , NVVAL_X(d##_##r##_##f, (v)))
161 DRF_WR_X(e, (p), (o), d##_##r(i), NVVAL_X(d##_##r##_##f, (v)))
167 DRF_WR_X(e, (p), (o), d##_##r , NVVAL_X(d##_##r##_##f, d##_##r##_##f##_##v))
169 DRF_WR_X(e, (p), (o), d##_##r(i), NVVAL_X(d##_##r##_##f, d##_##r##_##f##_##v))
[all …]