xtensa: fix high memory/reserved memory collision
[cris-mirror.git] / include / linux / usb / pd_bdo.h
blob90b94d9fea5d8c2d798b4071f1f2f64476f50639
1 /*
2 * Copyright 2015-2017 Google, Inc
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
15 #ifndef __LINUX_USB_PD_BDO_H
16 #define __LINUX_USB_PD_BDO_H
18 /* BDO : BIST Data Object */
19 #define BDO_MODE_RECV (0 << 28)
20 #define BDO_MODE_TRANSMIT (1 << 28)
21 #define BDO_MODE_COUNTERS (2 << 28)
22 #define BDO_MODE_CARRIER0 (3 << 28)
23 #define BDO_MODE_CARRIER1 (4 << 28)
24 #define BDO_MODE_CARRIER2 (5 << 28)
25 #define BDO_MODE_CARRIER3 (6 << 28)
26 #define BDO_MODE_EYE (7 << 28)
27 #define BDO_MODE_TESTDATA (8 << 28)
29 #define BDO_MODE_MASK(mode) ((mode) & 0xf0000000)
31 #endif