linux/sound/soc/bcm/cygnus-ssp.h

/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (C) 2014-2015 Broadcom Corporation */
#ifndef __CYGNUS_SSP_H__
#define __CYGNUS_SSP_H__

#define CYGNUS_TDM_DAI_MAX_SLOTS

#define CYGNUS_MAX_PLAYBACK_PORTS
#define CYGNUS_MAX_CAPTURE_PORTS
#define CYGNUS_MAX_I2S_PORTS
#define CYGNUS_MAX_PORTS
#define CYGNUS_AUIDO_MAX_NUM_CLKS

#define CYGNUS_SSP_FRAMEBITS_DIV

#define CYGNUS_SSPMODE_I2S
#define CYGNUS_SSPMODE_TDM
#define CYGNUS_SSPMODE_UNKNOWN

#define CYGNUS_SSP_CLKSRC_PLL

/* Max string length of our dt property names */
#define PROP_LEN_MAX

struct ringbuf_regs {};

#define RINGBUF_REG_PLAYBACK(num)

#define RINGBUF_REG_CAPTURE(num)

enum cygnus_audio_port_type {};

struct cygnus_ssp_regs {};

struct cygnus_track_clk {};

struct cygnus_aio_port {};


struct cygnus_audio {};

extern int cygnus_ssp_set_custom_fsync_width(struct snd_soc_dai *cpu_dai,
						int len);
extern int cygnus_soc_platform_register(struct device *dev,
					struct cygnus_audio *cygaud);
extern int cygnus_soc_platform_unregister(struct device *dev);
extern int cygnus_ssp_set_custom_fsync_width(struct snd_soc_dai *cpu_dai,
	int len);
#endif