msm-bus-rule-ops.h 869 B

12345678910111213141516171819202122232425262728293031323334
  1. /* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. */
  12. #ifndef __MSM_BUS_RULE_OPS_H
  13. #define __MSM_BUS_RULE_OPS_H
  14. #define FLD_IB 0
  15. #define FLD_AB 1
  16. #define FLD_CLK 2
  17. #define OP_LE 0
  18. #define OP_LT 1
  19. #define OP_GE 2
  20. #define OP_GT 3
  21. #define OP_NOOP 4
  22. #define RULE_STATE_NOT_APPLIED 0
  23. #define RULE_STATE_APPLIED 1
  24. #define THROTTLE_ON 0
  25. #define THROTTLE_OFF 1
  26. #define THROTTLE_REG 2
  27. #endif