firewire.h (4ba24fef3eb3b142197135223b90ced2f319cd53) | firewire.h (660dd3d52ead45b8e60dcf966daf304de2121a28) |
---|---|
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 --- 42 unchanged lines hidden (view full) --- 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#define SNDRV_FIREWIRE_TYPE_OXFW 4 | 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 --- 42 unchanged lines hidden (view full) --- 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#define SNDRV_FIREWIRE_TYPE_OXFW 4 |
59#define SNDRV_FIREWIRE_TYPE_DIGI00X 5 |
|
59/* RME, MOTU, ... */ 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 */ | 60/* RME, MOTU, ... */ 61 62struct snd_firewire_get_info { 63 unsigned int type; /* SNDRV_FIREWIRE_TYPE_xxx */ 64 unsigned int card; /* same as fw_cdev_get_info.card */ 65 unsigned char guid[8]; 66 char device_name[16]; /* device node in /dev */ 67}; 68 69/* 70 * SNDRV_FIREWIRE_IOCTL_LOCK prevents the driver from streaming. 71 * Returns -EBUSY if the driver is already streaming. 72 */ 73 74#endif /* _UAPI_SOUND_FIREWIRE_H_INCLUDED */ |