Searched refs:field_value_mask (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/amd/display/dmub/src/ |
D | dmub_reg.c | 35 set_reg_field_value_masks(struct dmub_reg_value_masks *field_value_mask, in set_reg_field_value_masks() argument 38 field_value_mask->value = in set_reg_field_value_masks() 39 (field_value_mask->value & ~mask) | (mask & (value << shift)); in set_reg_field_value_masks() 40 field_value_mask->mask = field_value_mask->mask | mask; in set_reg_field_value_masks() 43 static void set_reg_field_values(struct dmub_reg_value_masks *field_value_mask, in set_reg_field_values() argument 52 set_reg_field_value_masks(field_value_mask, field_value1, mask1, in set_reg_field_values() 60 set_reg_field_value_masks(field_value_mask, field_value, mask, in set_reg_field_values() 75 struct dmub_reg_value_masks field_value_mask = { 0 }; in dmub_reg_update() local 80 set_reg_field_values(&field_value_mask, addr, n, shift1, mask1, in dmub_reg_update() 85 reg_val = (reg_val & ~field_value_mask.mask) | field_value_mask.value; in dmub_reg_update() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/ |
D | dc_helper.c | 115 struct dc_reg_value_masks *field_value_mask, in set_reg_field_value_masks() argument 122 field_value_mask->value = (field_value_mask->value & ~mask) | (mask & (value << shift)); in set_reg_field_value_masks() 123 field_value_mask->mask = field_value_mask->mask | mask; in set_reg_field_value_masks() 126 static void set_reg_field_values(struct dc_reg_value_masks *field_value_mask, in set_reg_field_values() argument 135 set_reg_field_value_masks(field_value_mask, in set_reg_field_values() 143 set_reg_field_value_masks(field_value_mask, in set_reg_field_values() 191 struct dc_reg_value_masks *field_value_mask) in dmub_reg_value_pack() argument 203 if (dmub_reg_value_burst_set_pack(ctx, addr, field_value_mask->value)) in dmub_reg_value_pack() 204 return field_value_mask->value; in dmub_reg_value_pack() 222 seq->modify_mask = field_value_mask->mask; in dmub_reg_value_pack() [all …]
|