#ifndef __SEQ_OSS_DEVICE_H
#define __SEQ_OSS_DEVICE_H
#include <linux/time.h>
#include <linux/wait.h>
#include <linux/slab.h>
#include <linux/sched/signal.h>
#include <sound/core.h>
#include <sound/seq_oss.h>
#include <sound/rawmidi.h>
#include <sound/seq_kernel.h>
#include <sound/info.h>
#include "../seq_clientmgr.h"
#define SNDRV_SEQ_OSS_MAX_CLIENTS …
#define SNDRV_SEQ_OSS_MAX_SYNTH_DEVS …
#define SNDRV_SEQ_OSS_MAX_MIDI_DEVS …
#define SNDRV_SEQ_OSS_MAJOR_VERSION …
#define SNDRV_SEQ_OSS_MINOR_VERSION …
#define SNDRV_SEQ_OSS_TINY_VERSION …
#define SNDRV_SEQ_OSS_VERSION_STR …
#define SNDRV_SEQ_OSS_PROCNAME …
reltime_t;
abstime_t;
struct seq_oss_chinfo { … };
struct seq_oss_synthinfo { … };
struct seq_oss_devinfo { … };
int snd_seq_oss_create_client(void);
int snd_seq_oss_delete_client(void);
int snd_seq_oss_open(struct file *file, int level);
void snd_seq_oss_release(struct seq_oss_devinfo *dp);
int snd_seq_oss_ioctl(struct seq_oss_devinfo *dp, unsigned int cmd, unsigned long arg);
int snd_seq_oss_read(struct seq_oss_devinfo *dev, char __user *buf, int count);
int snd_seq_oss_write(struct seq_oss_devinfo *dp, const char __user *buf, int count, struct file *opt);
__poll_t snd_seq_oss_poll(struct seq_oss_devinfo *dp, struct file *file, poll_table * wait);
void snd_seq_oss_reset(struct seq_oss_devinfo *dp);
void snd_seq_oss_system_info_read(struct snd_info_buffer *buf);
void snd_seq_oss_midi_info_read(struct snd_info_buffer *buf);
void snd_seq_oss_synth_info_read(struct snd_info_buffer *buf);
void snd_seq_oss_readq_info_read(struct seq_oss_readq *q, struct snd_info_buffer *buf);
#define is_read_mode(mode) …
#define is_write_mode(mode) …
#define is_nonblock_mode(mode) …
static inline int
snd_seq_oss_dispatch(struct seq_oss_devinfo *dp, struct snd_seq_event *ev, int atomic, int hop)
{ … }
static inline int
snd_seq_oss_control(struct seq_oss_devinfo *dp, unsigned int type, void *arg)
{ … }
static inline void
snd_seq_oss_fill_addr(struct seq_oss_devinfo *dp, struct snd_seq_event *ev,
int dest_client, int dest_port)
{ … }
char *enabled_str(bool b);
#endif