Lines Matching refs:origin
1043 #define dsaf_set_field(origin, mask, shift, val) \ argument
1045 (origin) &= (~(mask)); \
1046 (origin) |= (((val) << (shift)) & (mask)); \
1049 #define dsaf_set_bit(origin, shift, val) \ argument
1050 dsaf_set_field((origin), (1ull << (shift)), (shift), (val))
1055 u32 origin = dsaf_read_reg(base, reg); in dsaf_set_reg_field() local
1057 dsaf_set_field(origin, mask, shift, val); in dsaf_set_reg_field()
1058 dsaf_write_reg(base, reg, origin); in dsaf_set_reg_field()
1067 #define dsaf_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) argument
1069 #define dsaf_get_bit(origin, shift) \ argument
1070 dsaf_get_field((origin), (1ull << (shift)), (shift))
1075 u32 origin; in dsaf_get_reg_field() local
1077 origin = dsaf_read_reg(base, reg); in dsaf_get_reg_field()
1078 return dsaf_get_field(origin, mask, shift); in dsaf_get_reg_field()