firewire.h (5e2aa2ed08e2e280121dc7cf5609c87d464f12ef) | firewire.h (8985f4ac1c42bd25799f294f4e87fa73064673c7) |
---|---|
1#ifndef _UAPI_SOUND_FIREWIRE_H_INCLUDED 2#define _UAPI_SOUND_FIREWIRE_H_INCLUDED 3 4#include <linux/ioctl.h> 5#include <linux/types.h> 6 7/* events can be read() from the hwdep device */ 8 --- 41 unchanged lines hidden (view full) --- 50 51#define SNDRV_FIREWIRE_IOCTL_GET_INFO _IOR('H', 0xf8, struct snd_firewire_get_info) 52#define SNDRV_FIREWIRE_IOCTL_LOCK _IO('H', 0xf9) 53#define SNDRV_FIREWIRE_IOCTL_UNLOCK _IO('H', 0xfa) 54 55#define SNDRV_FIREWIRE_TYPE_DICE 1 56#define SNDRV_FIREWIRE_TYPE_FIREWORKS 2 57#define SNDRV_FIREWIRE_TYPE_BEBOB 3 | 1#ifndef _UAPI_SOUND_FIREWIRE_H_INCLUDED 2#define _UAPI_SOUND_FIREWIRE_H_INCLUDED 3 4#include <linux/ioctl.h> 5#include <linux/types.h> 6 7/* events can be read() from the hwdep device */ 8 --- 41 unchanged lines hidden (view full) --- 50 51#define SNDRV_FIREWIRE_IOCTL_GET_INFO _IOR('H', 0xf8, struct snd_firewire_get_info) 52#define SNDRV_FIREWIRE_IOCTL_LOCK _IO('H', 0xf9) 53#define SNDRV_FIREWIRE_IOCTL_UNLOCK _IO('H', 0xfa) 54 55#define SNDRV_FIREWIRE_TYPE_DICE 1 56#define SNDRV_FIREWIRE_TYPE_FIREWORKS 2 57#define SNDRV_FIREWIRE_TYPE_BEBOB 3 |
58/* AV/C, RME, MOTU, ... */ | 58#define SNDRV_FIREWIRE_TYPE_OXFW 4 59/* RME, MOTU, ... */ |
59 60struct snd_firewire_get_info { 61 unsigned int type; /* SNDRV_FIREWIRE_TYPE_xxx */ 62 unsigned int card; /* same as fw_cdev_get_info.card */ 63 unsigned char guid[8]; 64 char device_name[16]; /* device node in /dev */ 65}; 66 67/* 68 * SNDRV_FIREWIRE_IOCTL_LOCK prevents the driver from streaming. 69 * Returns -EBUSY if the driver is already streaming. 70 */ 71 72#endif /* _UAPI_SOUND_FIREWIRE_H_INCLUDED */ | 60 61struct snd_firewire_get_info { 62 unsigned int type; /* SNDRV_FIREWIRE_TYPE_xxx */ 63 unsigned int card; /* same as fw_cdev_get_info.card */ 64 unsigned char guid[8]; 65 char device_name[16]; /* device node in /dev */ 66}; 67 68/* 69 * SNDRV_FIREWIRE_IOCTL_LOCK prevents the driver from streaming. 70 * Returns -EBUSY if the driver is already streaming. 71 */ 72 73#endif /* _UAPI_SOUND_FIREWIRE_H_INCLUDED */ |