Searched refs:orig_val (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/intel/i40e/ |
D | i40e_diag.c | 19 u32 pat, val, orig_val; in i40e_diag_reg_pattern_test() local 22 orig_val = rd32(hw, reg); in i40e_diag_reg_pattern_test() 35 wr32(hw, reg, orig_val); in i40e_diag_reg_pattern_test() 37 if (val != orig_val) { in i40e_diag_reg_pattern_test() 40 __func__, reg, orig_val, val); in i40e_diag_reg_pattern_test()
|
/drivers/hwmon/ |
D | abituguru.c | 849 u8 orig_val = data->bank1_settings[attr->index][attr->nr]; in store_bank1_setting() local 854 data->bank1_settings[attr->index][attr->nr] = orig_val; in store_bank1_setting() 884 u8 orig_val = data->bank2_settings[attr->index][attr->nr]; in store_bank2_setting() local 889 data->bank2_settings[attr->index][attr->nr] = orig_val; in store_bank2_setting() 959 u8 orig_val; in store_bank1_mask() local 968 orig_val = data->bank1_settings[attr->index][0]; in store_bank1_mask() 975 if ((data->bank1_settings[attr->index][0] != orig_val) && in store_bank1_mask() 979 data->bank1_settings[attr->index][0] = orig_val; in store_bank1_mask() 992 u8 orig_val; in store_bank2_mask() local 1001 orig_val = data->bank2_settings[attr->index][0]; in store_bank2_mask() [all …]
|
/drivers/gpu/drm/amd/include/ |
D | cgs_common.h | 123 #define CGS_REG_SET_FIELD(orig_val, reg, field, field_val) \ argument 124 (((orig_val) & ~CGS_REG_FIELD_MASK(reg, field)) | \
|
/drivers/media/radio/ |
D | tea575x.c | 309 u32 orig_val = tea->val; in vidioc_s_tuner() local 317 if (tea->band != BAND_AM && tea->val != orig_val) in vidioc_s_tuner()
|
/drivers/input/misc/ |
D | iqs626a.c | 993 unsigned int orig_val = val--; in iqs626_parse_channel() local 1016 fwnode_get_name(ch_node), orig_val); in iqs626_parse_channel() 1147 unsigned int orig_val = val--; in iqs626_parse_channel() local 1152 fwnode_get_name(ch_node), orig_val); in iqs626_parse_channel()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu.h | 1227 #define REG_SET_FIELD(orig_val, reg, field, field_val) \ argument 1228 (((orig_val) & ~REG_FIELD_MASK(reg, field)) | \
|
/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool.c | 383 u32 val, orig_val; in ice_reg_pattern_test() local 386 orig_val = rd32(hw, reg); in ice_reg_pattern_test() 399 wr32(hw, reg, orig_val); in ice_reg_pattern_test() 401 if (val != orig_val) { in ice_reg_pattern_test() 403 , __func__, reg, orig_val, val); in ice_reg_pattern_test()
|