Searched refs:CGS_REG_FIELD_SHIFT (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/amd/include/ |
D | cgs_common.h | 121 #define CGS_REG_FIELD_SHIFT(reg, field) reg##__##field##__SHIFT macro 126 (CGS_REG_FIELD_MASK(reg, field) & ((field_val) << CGS_REG_FIELD_SHIFT(reg, field)))) 129 (((value) & CGS_REG_FIELD_MASK(reg, field)) >> CGS_REG_FIELD_SHIFT(reg, field)) 132 …ter(device, mm##reg) & ~CGS_REG_FIELD_MASK(reg, field)) | (val) << CGS_REG_FIELD_SHIFT(reg, field)) 135 …ice, space, ix##reg) & ~CGS_REG_FIELD_MASK(reg, field)) | (val) << CGS_REG_FIELD_SHIFT(reg, field))
|