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) 11struct ath11k_base; 12 13struct ath11k_ahb { 14 struct rproc *tgt_rproc; 15}; 16 17static inline struct ath11k_ahb *ath11k_ahb_priv(struct ath11k_base *ab) 18{ 19 return (struct ath11k_ahb *)ab->drv_priv; 20} 21#endif 22