oleavr-rgl-a500-mini-linux-.../sound/soc/sunxi/audiocodec/sunxi_codecdma.h
Ole André Vadla Ravnås 169c65d57e Initial commit
2022-05-07 01:01:45 +02:00

33 lines
788 B
C

/*
* sound\soc\sunxi\audiocodec\sunxi-codecdma.h
* (C) Copyright 2010-2016
* Reuuimlla Technology Co., Ltd. <www.reuuimllatech.com>
* huangxin <huangxin@Reuuimllatech.com>
*
* some simple description for this code
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
*/
#ifndef SUNXI_PCMDMA_H_
#define SUNXI_PCMDMA_H_
#undef AUDIOCODEC_DBG
#if (0)
#define AUDIOCODEC_DBG(format, args...) pr_info("[SWITCH] "format, ##args)
#else
#define AUDIOCODEC_DBG(...)
#endif
extern int sunxi_i2s_set_rate(int);
struct sunxi_dma_params {
char *name;
dma_addr_t dma_addr;
};
#endif