linux/sound/pci/mixart/mixart.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * Driver for Digigram miXart soundcards
 *
 * main header file
 *
 * Copyright (c) 2003 by Digigram <[email protected]>
 */

#ifndef __SOUND_MIXART_H
#define __SOUND_MIXART_H

#include <linux/interrupt.h>
#include <linux/mutex.h>
#include <sound/pcm.h>

#define MIXART_DRIVER_VERSION


/*
 */

struct mixart_uid {};

struct mem_area {};


struct mixart_route {};


/* firmware status codes  */
#define MIXART_MOTHERBOARD_XLX_INDEX
#define MIXART_MOTHERBOARD_ELF_INDEX
#define MIXART_AESEBUBOARD_XLX_INDEX
#define MIXART_HARDW_FILES_MAX_INDEX

#define MIXART_MAX_CARDS
#define MSG_FIFO_SIZE

#define MIXART_MAX_PHYS_CONNECTORS

struct mixart_mgr {};


#define MIXART_STREAM_STATUS_FREE
#define MIXART_STREAM_STATUS_OPEN
#define MIXART_STREAM_STATUS_RUNNING
#define MIXART_STREAM_STATUS_DRAINING
#define MIXART_STREAM_STATUS_PAUSE

#define MIXART_PLAYBACK_STREAMS
#define MIXART_CAPTURE_STREAMS

#define MIXART_PCM_ANALOG
#define MIXART_PCM_DIGITAL
#define MIXART_PCM_TOTAL

#define MIXART_MAX_STREAM_PER_CARD


#define MIXART_NOTIFY_CARD_MASK
#define MIXART_NOTIFY_CARD_OFFSET
#define MIXART_NOTIFY_PCM_MASK
#define MIXART_NOTIFY_PCM_OFFSET
#define MIXART_NOTIFY_CAPT_MASK
#define MIXART_NOTIFY_SUBS_MASK


struct mixart_stream {};


enum mixart_pipe_status {};

struct mixart_pipe {};


struct snd_mixart {};

struct mixart_bufferinfo
{};

struct mixart_flowinfo
{};

/* exported */
int snd_mixart_create_pcm(struct snd_mixart * chip);
struct mixart_pipe *snd_mixart_add_ref_pipe(struct snd_mixart *chip, int pcm_number, int capture, int monitoring);
int snd_mixart_kill_ref_pipe(struct mixart_mgr *mgr, struct mixart_pipe *pipe, int monitoring);

#endif /* __SOUND_MIXART_H */