cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

ahb.h (601B)


      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	struct {
     16		struct device *dev;
     17		struct iommu_domain *iommu_domain;
     18		dma_addr_t msa_paddr;
     19		u32 msa_size;
     20		dma_addr_t ce_paddr;
     21		u32 ce_size;
     22		bool use_tz;
     23	} fw;
     24};
     25
     26static inline struct ath11k_ahb *ath11k_ahb_priv(struct ath11k_base *ab)
     27{
     28	return (struct ath11k_ahb *)ab->drv_priv;
     29}
     30#endif