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

dma-direct.h (342B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
      4 */
      5#ifndef _LOONGARCH_DMA_DIRECT_H
      6#define _LOONGARCH_DMA_DIRECT_H
      7
      8dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr);
      9phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr);
     10
     11#endif /* _LOONGARCH_DMA_DIRECT_H */