| * Copyright (c) 2018 MediaTek Inc. |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License 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 http://www.gnu.org/licenses/gpl-2.0.html for more details. |
| #ifndef __BTMTK_CHIP_RESET_H__ |
| #define __BTMTK_CHIP_RESET_H__ |
| #include <linux/version.h> |
| #include "btmtk_define.h" |
| #define CHIP_RESET_TIMEOUT 20 |
| void btmtk_reset_timer_add(struct btmtk_dev *bdev); |
| void btmtk_reset_timer_update(struct btmtk_dev *bdev); |
| void btmtk_reset_timer_del(struct btmtk_dev *bdev); |
| void btmtk_reset_trigger(struct btmtk_dev *bdev); |
| void btmtk_reset_waker(struct work_struct *work); |
| #endif /* __BTMTK_WOBLE_H__ */ |