Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/include/
Dcgs_common.h121 #define CGS_REG_FIELD_MASK(reg, field) reg##__##field##_MASK macro
124 (((orig_val) & ~CGS_REG_FIELD_MASK(reg, field)) | \
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 …cgs_write_register(device, mm##reg, (cgs_read_register(device, mm##reg) & ~CGS_REG_FIELD_MASK(reg,…
134 … space, ix##reg, (cgs_read_ind_register(device, space, ix##reg) & ~CGS_REG_FIELD_MASK(reg, field))…