| OLD | NEW |
| 1 // Copyright (c) 2010 Atheros Communications Inc. | 1 // Copyright (c) 2010 Atheros Communications Inc. |
| 2 // All rights reserved. | 2 // All rights reserved. |
| 3 // | 3 // |
| 4 // This program is free software; you can redistribute it and/or modify | |
| 5 // it under the terms of the GNU General Public License version 2 as | |
| 6 // published by the Free Software Foundation; | |
| 7 // | 4 // |
| 8 // Software distributed under the License is distributed on an "AS | 5 // Permission to use, copy, modify, and/or distribute this software for any |
| 9 // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or | 6 // purpose with or without fee is hereby granted, provided that the above |
| 10 // implied. See the License for the specific language governing | 7 // copyright notice and this permission notice appear in all copies. |
| 11 // rights and limitations under the License. | 8 // |
| 9 // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| 10 // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 11 // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
| 12 // ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 13 // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 14 // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 15 // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 12 // | 16 // |
| 13 // | 17 // |
| 14 | 18 |
| 15 #ifndef BTCOEX_GPIO_H_ | 19 #ifndef BTCOEX_GPIO_H_ |
| 16 #define BTCOEX_GPIO_H_ | 20 #define BTCOEX_GPIO_H_ |
| 17 | 21 |
| 18 | 22 |
| 19 | 23 |
| 20 #ifdef FPGA | 24 #ifdef FPGA |
| 21 #define GPIO_A (15) | 25 #define GPIO_A (15) |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 #ifdef CONFIG_BTCOEX_ENABLE_GPIO_DEBUG | 77 #ifdef CONFIG_BTCOEX_ENABLE_GPIO_DEBUG |
| 74 #define BTCOEX_DBG_PULSE_WORD(gpioPinMask) (btcoexDbgPulseWord(gpioPinMask)) | 78 #define BTCOEX_DBG_PULSE_WORD(gpioPinMask) (btcoexDbgPulseWord(gpioPinMask)) |
| 75 #define BTCOEX_DBG_PULSE(pin) (btcoexDbgPulse(pin)) | 79 #define BTCOEX_DBG_PULSE(pin) (btcoexDbgPulse(pin)) |
| 76 #else | 80 #else |
| 77 #define BTCOEX_DBG_PULSE_WORD(gpioPinMask) | 81 #define BTCOEX_DBG_PULSE_WORD(gpioPinMask) |
| 78 #define BTCOEX_DBG_PULSE(pin) | 82 #define BTCOEX_DBG_PULSE(pin) |
| 79 | 83 |
| 80 #endif | 84 #endif |
| 81 #endif | 85 #endif |
| 82 | 86 |
| OLD | NEW |