Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/nouveau/include/nvif/
H A 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), \
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvhw/
H A 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)
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)))
176 NVVAL_X(d##_##r##_##f, (v))), d##_##r##_##f)
179 NVVAL_X(d##_##r##_##f, (v))), d##_##r##_##f)
186 NVVAL_X(d##_##r##_##f, d##_##r##_##f##_##v)), d##_##r##_##f)
[all …]