Lines Matching refs:_var
988 #define GET_BITS(_var, _index, _width) \ argument
989 (((_var) >> (_index)) & ((0x1 << (_width)) - 1))
991 #define SET_BITS(_var, _index, _width, _val) \ argument
993 (_var) &= ~(((0x1 << (_width)) - 1) << (_index)); \
994 (_var) |= (((_val) & ((0x1 << (_width)) - 1)) << (_index)); \
997 #define GET_BITS_LE(_var, _index, _width) \ argument
998 ((le32_to_cpu((_var)) >> (_index)) & ((0x1 << (_width)) - 1))
1000 #define SET_BITS_LE(_var, _index, _width, _val) \ argument
1002 (_var) &= cpu_to_le32(~(((0x1 << (_width)) - 1) << (_index))); \
1003 (_var) |= cpu_to_le32((((_val) & \
1015 #define XGMAC_GET_BITS(_var, _prefix, _field) \ argument
1016 GET_BITS((_var), \
1020 #define XGMAC_SET_BITS(_var, _prefix, _field, _val) \ argument
1021 SET_BITS((_var), \
1025 #define XGMAC_GET_BITS_LE(_var, _prefix, _field) \ argument
1026 GET_BITS_LE((_var), \
1030 #define XGMAC_SET_BITS_LE(_var, _prefix, _field, _val) \ argument
1031 SET_BITS_LE((_var), \