2024-09-09 08:57:42 +00:00
|
|
|
/* Copyright (c) 2014, The Linux Foundation. All rights reserved.
|
2024-09-09 08:52:07 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
|
|
* only version 2 as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*/
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
#ifndef __MSM_BUS_RULE_OPS_H
|
|
|
|
#define __MSM_BUS_RULE_OPS_H
|
2024-09-09 08:52:07 +00:00
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
#define FLD_IB 0
|
|
|
|
#define FLD_AB 1
|
|
|
|
#define FLD_CLK 2
|
2024-09-09 08:52:07 +00:00
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
#define OP_LE 0
|
|
|
|
#define OP_LT 1
|
|
|
|
#define OP_GE 2
|
|
|
|
#define OP_GT 3
|
|
|
|
#define OP_NOOP 4
|
2024-09-09 08:52:07 +00:00
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
#define RULE_STATE_NOT_APPLIED 0
|
|
|
|
#define RULE_STATE_APPLIED 1
|
|
|
|
|
|
|
|
#define THROTTLE_ON 0
|
|
|
|
#define THROTTLE_OFF 1
|
|
|
|
#define THROTTLE_REG 2
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|