| Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | 
| Solomon Peachy | a910e4a | 2013-05-24 20:04:38 -0400 | [diff] [blame] | 2 | /* | 
 | 3 |  * Device handling thread interface for mac80211 ST-Ericsson CW1200 drivers | 
 | 4 |  * | 
 | 5 |  * Copyright (c) 2010, ST-Ericsson | 
 | 6 |  * Author: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no> | 
| Solomon Peachy | a910e4a | 2013-05-24 20:04:38 -0400 | [diff] [blame] | 7 |  */ | 
 | 8 |  | 
 | 9 | #ifndef CW1200_BH_H | 
 | 10 | #define CW1200_BH_H | 
 | 11 |  | 
 | 12 | /* extern */ struct cw1200_common; | 
 | 13 |  | 
 | 14 | int cw1200_register_bh(struct cw1200_common *priv); | 
 | 15 | void cw1200_unregister_bh(struct cw1200_common *priv); | 
 | 16 | void cw1200_irq_handler(struct cw1200_common *priv); | 
 | 17 | void cw1200_bh_wakeup(struct cw1200_common *priv); | 
 | 18 | int cw1200_bh_suspend(struct cw1200_common *priv); | 
 | 19 | int cw1200_bh_resume(struct cw1200_common *priv); | 
 | 20 | /* Must be called from BH thread. */ | 
 | 21 | void cw1200_enable_powersave(struct cw1200_common *priv, | 
 | 22 | 			     bool enable); | 
 | 23 | int wsm_release_tx_buffer(struct cw1200_common *priv, int count); | 
 | 24 |  | 
 | 25 | #endif /* CW1200_BH_H */ |