Lines Matching refs:_var
1067 #define GET_BITS(_var, _index, _width) \ argument
1068 (((_var) >> (_index)) & ((0x1 << (_width)) - 1))
1070 #define SET_BITS(_var, _index, _width, _val) \ argument
1072 (_var) &= ~(((0x1 << (_width)) - 1) << (_index)); \
1073 (_var) |= (((_val) & ((0x1 << (_width)) - 1)) << (_index)); \
1076 #define GET_BITS_LE(_var, _index, _width) \ argument
1077 ((le32_to_cpu((_var)) >> (_index)) & ((0x1 << (_width)) - 1))
1079 #define SET_BITS_LE(_var, _index, _width, _val) \ argument
1081 (_var) &= cpu_to_le32(~(((0x1 << (_width)) - 1) << (_index))); \
1082 (_var) |= cpu_to_le32((((_val) & \
1094 #define XGMAC_GET_BITS(_var, _prefix, _field) \ argument
1095 GET_BITS((_var), \
1099 #define XGMAC_SET_BITS(_var, _prefix, _field, _val) \ argument
1100 SET_BITS((_var), \
1104 #define XGMAC_GET_BITS_LE(_var, _prefix, _field) \ argument
1105 GET_BITS_LE((_var), \
1109 #define XGMAC_SET_BITS_LE(_var, _prefix, _field, _val) \ argument
1110 SET_BITS_LE((_var), \
1203 #define XSIR_GET_BITS(_var, _prefix, _field) \ argument
1204 GET_BITS((_var), \
1208 #define XSIR_SET_BITS(_var, _prefix, _field, _val) \ argument
1209 SET_BITS((_var), \