Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu_helper.h127 #define PHM_SET_FIELD(origval, reg, field, fieldval) \ argument
129 (PHM_FIELD_MASK(reg, field) & ((fieldval) << PHM_FIELD_SHIFT(reg, field))))
149 #define PHM_WRITE_FIELD(device, reg, field, fieldval) \ argument
151 cgs_read_register(device, mm##reg), reg, field, fieldval))
153 #define PHM_WRITE_INDIRECT_FIELD(device, port, reg, field, fieldval) \ argument
156 reg, field, fieldval))
158 #define PHM_WRITE_VFPF_INDIRECT_FIELD(device, port, reg, field, fieldval) \ argument
161 reg, field, fieldval))
170 #define PHM_WAIT_INDIRECT_FIELD(hwmgr, port, reg, field, fieldval) \ argument
171 PHM_WAIT_INDIRECT_REGISTER(hwmgr, port, reg, (fieldval) \
[all …]
/Linux-v5.10/drivers/gpu/drm/v3d/
Dv3d_regs.h13 u32 fieldval = (value) << field##_SHIFT; \
14 WARN_ON((fieldval & ~field##_MASK) != 0); \
15 fieldval & field##_MASK; \