Searched refs:CGS_REG_FIELD_SHIFT (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/amd/include/ |
D | cgs_common.h | 120 #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))
|