1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
623 B

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Rockchip DLP (Digital Loopback) driver
*
* Copyright (C) 2022 Rockchip Electronics Co., Ltd
* Author: Sugar Zhang <sugar.zhang@rock-chips.com>
*
*/
#ifndef _ROCKCHIP_DLP_H
#define _ROCKCHIP_DLP_H
struct snd_dlp_config {
int (*get_fifo_count)(struct device *dev, int stream);
};
#if IS_REACHABLE(CONFIG_SND_SOC_ROCKCHIP_DLP)
int devm_snd_dmaengine_dlp_register(struct device *dev,
const struct snd_dlp_config *config);
#else
static inline int devm_snd_dmaengine_dlp_register(struct device *dev,
const struct snd_dlp_config *config)
{
return -ENOSYS;
}
#endif
#endif