sranger_ioctl.h

Go to the documentation of this file.
00001 /*
00002  * Driver for Signal Ranger DSP boards (linux-2.4.18)
00003  *
00004  * Copyright (C) 2002 Percy Zahl
00005  *
00006  * Percy Zahl <zahl@users.sourceforge.net>
00007  *
00008  * This program is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU General Public License as
00010  * published by the Free Software Foundation; either version 2 of the
00011  * License, or (at your option) any later version.
00012  *
00013  * This program is distributed in the hope that it will be useful, but
00014  * WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016  * General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program; if not, write to the Free Software
00020  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00021  *
00022  */ 
00023 
00024 /* read vendor and product IDs from the sranger */
00025 #define SRANGER_IOCTL_VENDOR _IOR('U', 0x20, int)
00026 #define SRANGER_IOCTL_PRODUCT _IOR('U', 0x21, int)
00027 /* send/recv a control message to the sranger */
00028 /* #define SRANGER_IOCTL_CTRLMSG _IOWR('U', 0x22, struct usb_ctrlrequest ) */
00029 
00030 /* FIXME: These are NOT registered ioctls()'s */
00031 #define SRANGER_IOCTL_ASSERT_DSP_RESET           73
00032 #define SRANGER_IOCTL_RELEASE_DSP_RESET          74
00033 #define SRANGER_IOCTL_INTERRUPT_DSP_FROM_HPI     75
00034 #define SRANGER_IOCTL_W_LEDS                     76
00035 #define SRANGER_IOCTL_HPI_MOVE_OUTREQUEST        77
00036 #define SRANGER_IOCTL_HPI_MOVE_INREQUEST         78
00037 #define SRANGER_IOCTL_HPI_CONTROL_OUTREQUEST     79
00038 #define SRANGER_IOCTL_HPI_CONTROL_INREQUEST      80
00039 #define SRANGER_IOCTL_KERNEL_EXEC                81
00040 #define SRANGER_IOCTL_KERNEL_TIMEOUT             82
00041 
00042 #define SRANGER_IOCTL_MBOX_EMPTY                 90
00043 #define SRANGER_IOCTL_MBOX_FULL                  91
00044 #define SRANGER_IOCTL_MBOX_WRITE                 92
00045 #define SRANGER_IOCTL_MBOX_READ                  93
00046 
00047 
00048 #define SRANGER_SEEK_DATA_SPACE  1
00049 #define SRANGER_SEEK_PROG_SPACE  2
00050 #define SRANGER_SEEK_IO_SPACE    3
00051 
00052 

Generated on Sat Apr 1 09:04:17 2006 for GXSM by  doxygen 1.4.6