2017-03-31 16:05:59 +03:00
|
|
|
/*
|
|
|
|
* ff.h - a part of driver for RME Fireface series
|
|
|
|
*
|
|
|
|
* Copyright (c) 2015-2017 Takashi Sakamoto
|
|
|
|
*
|
|
|
|
* Licensed under the terms of the GNU General Public License, version 2.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SOUND_FIREFACE_H_INCLUDED
|
|
|
|
#define SOUND_FIREFACE_H_INCLUDED
|
|
|
|
|
|
|
|
#include <linux/device.h>
|
|
|
|
#include <linux/firewire.h>
|
|
|
|
#include <linux/firewire-constants.h>
|
|
|
|
#include <linux/module.h>
|
|
|
|
#include <linux/mod_devicetable.h>
|
|
|
|
#include <linux/mutex.h>
|
|
|
|
#include <linux/slab.h>
|
|
|
|
#include <linux/compat.h>
|
|
|
|
|
|
|
|
#include <sound/core.h>
|
|
|
|
|
2017-03-31 16:06:00 +03:00
|
|
|
#include "../lib.h"
|
|
|
|
|
2017-03-31 16:05:59 +03:00
|
|
|
struct snd_ff {
|
|
|
|
struct snd_card *card;
|
|
|
|
struct fw_unit *unit;
|
|
|
|
struct mutex mutex;
|
2017-03-31 16:06:00 +03:00
|
|
|
|
|
|
|
bool registered;
|
|
|
|
struct delayed_work dwork;
|
2017-03-31 16:05:59 +03:00
|
|
|
};
|
|
|
|
#endif
|