xref: /freebsd/sys/contrib/dev/athk/ath11k/ahb.h (revision ba3c1f5972d7b90feb6e6da47905ff2757e0fe57)
1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
2 /*
3  * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4  */
5 #ifndef ATH11K_AHB_H
6 #define ATH11K_AHB_H
7 
8 #include "core.h"
9 
10 #define ATH11K_AHB_RECOVERY_TIMEOUT (3 * HZ)
11 struct ath11k_base;
12 
13 struct ath11k_ahb {
14 	struct rproc *tgt_rproc;
15 };
16 
17 static inline struct ath11k_ahb *ath11k_ahb_priv(struct ath11k_base *ab)
18 {
19 	return (struct ath11k_ahb *)ab->drv_priv;
20 }
21 #endif
22