summaryrefslogtreecommitdiff
path: root/include/dt-bindings/msm/msm-bus-rule-ops.h
blob: 3dcbebd4418b2fa50d42f3daf5627713ecc4a454 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* Copyright (c) 2014, The Linux Foundation. All rights reserved.
 *
 * 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.
 */

#ifndef __MSM_BUS_RULE_OPS_H
#define __MSM_BUS_RULE_OPS_H

#define FLD_IB	0
#define FLD_AB	1
#define FLD_CLK	2

#define OP_LE	0
#define OP_LT	1
#define OP_GE	2
#define OP_GT	3
#define OP_NOOP	4

#define RULE_STATE_NOT_APPLIED	0
#define RULE_STATE_APPLIED	1

#define THROTTLE_ON	0
#define THROTTLE_OFF	1
#define THROTTLE_REG	2


#endif