linux/sound/firewire/digi00x/digi00x-hwdep.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * digi00x-hwdep.c - a part of driver for Digidesign Digi 002/003 family
 *
 * Copyright (c) 2014-2015 Takashi Sakamoto
 */

/*
 * This codes give three functionality.
 *
 * 1.get firewire node information
 * 2.get notification about starting/stopping stream
 * 3.lock/unlock stream
 * 4.get asynchronous messaging
 */

#include "digi00x.h"

static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf,  long count,
		       loff_t *offset)
{}

static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
			       poll_table *wait)
{}

static int hwdep_get_info(struct snd_dg00x *dg00x, void __user *arg)
{}

static int hwdep_lock(struct snd_dg00x *dg00x)
{}

static int hwdep_unlock(struct snd_dg00x *dg00x)
{}

static int hwdep_release(struct snd_hwdep *hwdep, struct file *file)
{}

static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file,
	    unsigned int cmd, unsigned long arg)
{}

#ifdef CONFIG_COMPAT
static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file,
			      unsigned int cmd, unsigned long arg)
{}
#else
#define hwdep_compat_ioctl
#endif

int snd_dg00x_create_hwdep_device(struct snd_dg00x *dg00x)
{}