Shimrit Malichi | 7cc54ba | 2013-03-12 15:31:18 +0200 | [diff] [blame] | 1 | /* Copyright (c) 2013, 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 | */ |
| 13 | #ifndef __HBM_H |
| 14 | #define __HBM_H |
| 15 | |
| 16 | #include <linux/kernel.h> |
| 17 | |
| 18 | /** |
| 19 | * usb_host_bam_type |
| 20 | * @pipe_num: usb bam pipe number |
| 21 | * @dir: direction (to/from usb bam) |
| 22 | */ |
| 23 | struct usb_host_bam_type { |
| 24 | u32 pipe_num; |
| 25 | u32 dir; |
| 26 | }; |
| 27 | |
| 28 | int set_disable_park_mode(u8 pipe_num, bool disable_park_mode); |
| 29 | int set_disable_zlt(u8 pipe_num, bool disable_zlt); |
| 30 | int hbm_pipe_init(u32 QH_addr, u32 pipe_num, bool is_consumer); |
| 31 | |
| 32 | #endif |