Searched refs:CGS_REG_FIELD_MASK (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/amd/include/ |
D | cgs_common.h | 122 #define CGS_REG_FIELD_MASK(reg, field) reg##__##field##_MASK macro 125 (((orig_val) & ~CGS_REG_FIELD_MASK(reg, field)) | \ 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 …cgs_write_register(device, mm##reg, (cgs_read_register(device, mm##reg) & ~CGS_REG_FIELD_MASK(reg,… 135 … space, ix##reg, (cgs_read_ind_register(device, space, ix##reg) & ~CGS_REG_FIELD_MASK(reg, field))…
|