1 // SPDX-License-Identifier: BSD-3-Clause 2 // 3 // Copyright(c) 2021 Intel Corporation. All rights reserved. 4 // 5 // Author: Jaska Uimonen <jaska.uimonen@linux.intel.com> 6 7 #ifndef __SSP_NHLT_H 8 #define __SSP_NHLT_H 9 10 #include "intel-nhlt.h" 11 #include "../nhlt.h" 12 13 int nhlt_ssp_init_params(struct intel_nhlt_params *nhlt); 14 int nhlt_ssp_set_params(struct intel_nhlt_params *nhlt, snd_config_t *cfg, snd_config_t *top); 15 int nhlt_ssp_get_ep(struct intel_nhlt_params *nhlt, struct endpoint_descriptor **eps, 16 int dai_index, uint8_t dir); 17 int nhlt_ssp_get_ep_count(struct intel_nhlt_params *nhlt); 18 int nhlt_ssp_get_dir(struct intel_nhlt_params *nhlt, int dai_index, uint8_t *dir); 19 #endif 20