Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpu/drm/amd/display/dmub/src/
A Ddmub_reg.c38 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()
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()
92 struct dmub_reg_value_masks field_value_mask = { 0 }; in dmub_reg_set() local
96 set_reg_field_values(&field_value_mask, addr, n, shift1, mask1, in dmub_reg_set()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/
A Ddc_helper.c115 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()
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()
204 return field_value_mask->value; in dmub_reg_value_pack()
222 seq->modify_mask = field_value_mask->mask; in dmub_reg_value_pack()
223 seq->modify_value = field_value_mask->value; in dmub_reg_value_pack()
226 return field_value_mask->value; in dmub_reg_value_pack()
266 reg_val = (reg_val & ~field_value_mask.mask) | field_value_mask.value; in generic_reg_update_ex()
[all …]

Completed in 5 milliseconds