firewire.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) | firewire.h (71c3797779d3cd8378767f5b2d8cfd3b2f88c5c1) |
---|---|
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 --- 51 unchanged lines hidden (view full) --- 60#define SNDRV_FIREWIRE_IOCTL_UNLOCK _IO('H', 0xfa) 61 62#define SNDRV_FIREWIRE_TYPE_DICE 1 63#define SNDRV_FIREWIRE_TYPE_FIREWORKS 2 64#define SNDRV_FIREWIRE_TYPE_BEBOB 3 65#define SNDRV_FIREWIRE_TYPE_OXFW 4 66#define SNDRV_FIREWIRE_TYPE_DIGI00X 5 67#define SNDRV_FIREWIRE_TYPE_TASCAM 6 | 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 --- 51 unchanged lines hidden (view full) --- 60#define SNDRV_FIREWIRE_IOCTL_UNLOCK _IO('H', 0xfa) 61 62#define SNDRV_FIREWIRE_TYPE_DICE 1 63#define SNDRV_FIREWIRE_TYPE_FIREWORKS 2 64#define SNDRV_FIREWIRE_TYPE_BEBOB 3 65#define SNDRV_FIREWIRE_TYPE_OXFW 4 66#define SNDRV_FIREWIRE_TYPE_DIGI00X 5 67#define SNDRV_FIREWIRE_TYPE_TASCAM 6 |
68/* RME, MOTU, ... */ | 68#define SNDRV_FIREWIRE_TYPE_MOTU 7 69/* RME... */ |
69 70struct snd_firewire_get_info { 71 unsigned int type; /* SNDRV_FIREWIRE_TYPE_xxx */ 72 unsigned int card; /* same as fw_cdev_get_info.card */ 73 unsigned char guid[8]; 74 char device_name[16]; /* device node in /dev */ 75}; 76 77/* 78 * SNDRV_FIREWIRE_IOCTL_LOCK prevents the driver from streaming. 79 * Returns -EBUSY if the driver is already streaming. 80 */ 81 82#endif /* _UAPI_SOUND_FIREWIRE_H_INCLUDED */ | 70 71struct snd_firewire_get_info { 72 unsigned int type; /* SNDRV_FIREWIRE_TYPE_xxx */ 73 unsigned int card; /* same as fw_cdev_get_info.card */ 74 unsigned char guid[8]; 75 char device_name[16]; /* device node in /dev */ 76}; 77 78/* 79 * SNDRV_FIREWIRE_IOCTL_LOCK prevents the driver from streaming. 80 * Returns -EBUSY if the driver is already streaming. 81 */ 82 83#endif /* _UAPI_SOUND_FIREWIRE_H_INCLUDED */ |