aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-device-cdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire/fw-device-cdev.h')
-rw-r--r--drivers/firewire/fw-device-cdev.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/drivers/firewire/fw-device-cdev.h b/drivers/firewire/fw-device-cdev.h
index 3437a360d7dc..10b83222db69 100644
--- a/drivers/firewire/fw-device-cdev.h
+++ b/drivers/firewire/fw-device-cdev.h
@@ -113,12 +113,13 @@ struct fw_cdev_event_iso_interrupt {
113#define FW_CDEV_IOC_GET_INFO _IO('#', 0x00) 113#define FW_CDEV_IOC_GET_INFO _IO('#', 0x00)
114#define FW_CDEV_IOC_SEND_REQUEST _IO('#', 0x01) 114#define FW_CDEV_IOC_SEND_REQUEST _IO('#', 0x01)
115#define FW_CDEV_IOC_ALLOCATE _IO('#', 0x02) 115#define FW_CDEV_IOC_ALLOCATE _IO('#', 0x02)
116#define FW_CDEV_IOC_SEND_RESPONSE _IO('#', 0x03) 116#define FW_CDEV_IOC_DEALLOCATE _IO('#', 0x03)
117#define FW_CDEV_IOC_INITIATE_BUS_RESET _IO('#', 0x04) 117#define FW_CDEV_IOC_SEND_RESPONSE _IO('#', 0x04)
118#define FW_CDEV_IOC_CREATE_ISO_CONTEXT _IO('#', 0x05) 118#define FW_CDEV_IOC_INITIATE_BUS_RESET _IO('#', 0x05)
119#define FW_CDEV_IOC_QUEUE_ISO _IO('#', 0x06) 119#define FW_CDEV_IOC_CREATE_ISO_CONTEXT _IO('#', 0x06)
120#define FW_CDEV_IOC_START_ISO _IO('#', 0x07) 120#define FW_CDEV_IOC_QUEUE_ISO _IO('#', 0x07)
121#define FW_CDEV_IOC_STOP_ISO _IO('#', 0x08) 121#define FW_CDEV_IOC_START_ISO _IO('#', 0x08)
122#define FW_CDEV_IOC_STOP_ISO _IO('#', 0x09)
122 123
123/* FW_CDEV_VERSION History 124/* FW_CDEV_VERSION History
124 * 125 *
@@ -173,6 +174,10 @@ struct fw_cdev_allocate {
173 __u32 length; 174 __u32 length;
174}; 175};
175 176
177struct fw_cdev_deallocate {
178 __u64 offset;
179};
180
176#define FW_CDEV_LONG_RESET 0 181#define FW_CDEV_LONG_RESET 0
177#define FW_CDEV_SHORT_RESET 1 182#define FW_CDEV_SHORT_RESET 1
178 183