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

sdma-pcm.h (564B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 *  Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com
      4 *  Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
      5 */
      6
      7#ifndef __SDMA_PCM_H__
      8#define __SDMA_PCM_H__
      9
     10#if IS_ENABLED(CONFIG_SND_SOC_TI_SDMA_PCM)
     11int sdma_pcm_platform_register(struct device *dev,
     12			       char *txdmachan, char *rxdmachan);
     13#else
     14static inline int sdma_pcm_platform_register(struct device *dev,
     15					     char *txdmachan, char *rxdmachan)
     16{
     17	return -ENODEV;
     18}
     19#endif /* CONFIG_SND_SOC_TI_SDMA_PCM */
     20
     21#endif /* __SDMA_PCM_H__ */