Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/include/
Dcgs_common.h120 #define CGS_REG_FIELD_SHIFT(reg, field) reg##__##field##__SHIFT macro
125 (CGS_REG_FIELD_MASK(reg, field) & ((field_val) << CGS_REG_FIELD_SHIFT(reg, field))))
128 (((value) & CGS_REG_FIELD_MASK(reg, field)) >> CGS_REG_FIELD_SHIFT(reg, field))
131 …ter(device, mm##reg) & ~CGS_REG_FIELD_MASK(reg, field)) | (val) << CGS_REG_FIELD_SHIFT(reg, field))
134 …ice, space, ix##reg) & ~CGS_REG_FIELD_MASK(reg, field)) | (val) << CGS_REG_FIELD_SHIFT(reg, field))