linux/sound/soc/tegra/tegra_cif.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * tegra_cif.h - TEGRA Audio CIF Programming
 *
 * Copyright (c) 2020 NVIDIA CORPORATION.  All rights reserved.
 *
 */

#ifndef __TEGRA_CIF_H__
#define __TEGRA_CIF_H__

#include <linux/regmap.h>

#define TEGRA_ACIF_CTRL_FIFO_TH_SHIFT
#define TEGRA_ACIF_CTRL_AUDIO_CH_SHIFT
#define TEGRA_ACIF_CTRL_CLIENT_CH_SHIFT
#define TEGRA_ACIF_CTRL_AUDIO_BITS_SHIFT
#define TEGRA_ACIF_CTRL_CLIENT_BITS_SHIFT
#define TEGRA_ACIF_CTRL_EXPAND_SHIFT
#define TEGRA_ACIF_CTRL_STEREO_CONV_SHIFT
#define TEGRA_ACIF_CTRL_REPLICATE_SHIFT
#define TEGRA_ACIF_CTRL_TRUNCATE_SHIFT
#define TEGRA_ACIF_CTRL_MONO_CONV_SHIFT

/* AUDIO/CLIENT_BITS values */
#define TEGRA_ACIF_BITS_8
#define TEGRA_ACIF_BITS_16
#define TEGRA_ACIF_BITS_24
#define TEGRA_ACIF_BITS_32

#define TEGRA_ACIF_UPDATE_MASK

struct tegra_cif_conf {};

static inline void tegra_set_cif(struct regmap *regmap, unsigned int reg,
				 struct tegra_cif_conf *conf)
{}

#endif