/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved. * * @File ctdaio.h * * @Brief * This file contains the definition of Digital Audio Input Output * resource management object. * * @Author Liu Chun * @Date May 23 2008 */ #ifndef CTDAIO_H #define CTDAIO_H #include "ctresource.h" #include "ctimap.h" #include <linux/spinlock.h> #include <linux/list.h> #include <sound/core.h> /* Define the descriptor of a daio resource */ enum DAIOTYP { … }; struct dao_rsc_ops; struct dai_rsc_ops; struct daio_mgr; struct daio { … }; struct dao { … }; struct dai { … }; struct dao_desc { … }; struct dao_rsc_ops { … }; struct dai_rsc_ops { … }; /* Define daio resource request description info */ struct daio_desc { … }; struct daio_mgr { … }; /* Constructor and destructor of daio resource manager */ int daio_mgr_create(struct hw *hw, void **ptr); int daio_mgr_destroy(void *ptr); #endif /* CTDAIO_H */