linux/sound/soc/intel/avs/utils.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright(c) 2023 Intel Corporation
 *
 * Authors: Cezary Rojewski <[email protected]>
 *          Amadeusz Slawinski <[email protected]>
 */

#ifndef __SOUND_SOC_INTEL_AVS_UTILS_H
#define __SOUND_SOC_INTEL_AVS_UTILS_H

#include <sound/soc-acpi.h>

static inline bool avs_mach_singular_ssp(struct snd_soc_acpi_mach *mach)
{}

static inline u32 avs_mach_ssp_port(struct snd_soc_acpi_mach *mach)
{}

static inline bool avs_mach_singular_tdm(struct snd_soc_acpi_mach *mach, u32 port)
{}

static inline u32 avs_mach_ssp_tdm(struct snd_soc_acpi_mach *mach, u32 port)
{}

static inline int avs_mach_get_ssp_tdm(struct device *dev, struct snd_soc_acpi_mach *mach,
				       int *ssp_port, int *tdm_slot)
{}

/*
 * Macro to easily generate format strings
 */
#define AVS_STRING_FMT(prefix, suffix, ssp, tdm)

#endif