ASoC: Remove duplicate ADC/DAC widgets from wm_hubs.c
[linux/fpc-iii.git] / drivers / staging / meilhaus / mefirmware.h
bloba2685080c97be743353aa6294598e8df3c0d9562
1 /**
2 * @file mefirmware.h
4 * @brief Definitions of the firmware handling functions.
5 * @note Copyright (C) 2007 Meilhaus Electronic GmbH (support@meilhaus.de)
6 * @author Krzysztof Gantzke (k.gantzke@meilhaus.de)
7 */
9 /***************************************************************************
10 * Copyright (C) 2007 Meilhaus Electronic GmbH (support@meilhaus.de) *
11 * Copyright (C) 2007 by Krzysztof Gantzke k.gantzke@meilhaus.de *
12 * *
13 * This program is free software; you can redistribute it and/or modify *
14 * it under the terms of the GNU General Public License as published by *
15 * the Free Software Foundation; either version 2 of the License, or *
16 * (at your option) any later version. *
17 * *
18 * This program is distributed in the hope that it will be useful, *
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
21 * GNU General Public License for more details. *
22 * *
23 * You should have received a copy of the GNU General Public License *
24 * along with this program; if not, write to the *
25 * Free Software Foundation, Inc., *
26 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
27 ***************************************************************************/
29 #ifndef _MEFIRMWARE_H
30 # define _MEFIRMWARE_H
32 # ifdef __KERNEL__
34 #define ME_ERRNO_FIRMWARE -1
36 /**
37 * Registry
39 #define ME_XILINX_CS1_REG 0x00C8
41 /**
42 * Flags (bits)
45 #define ME_FIRMWARE_BUSY_FLAG 0x00000020
46 #define ME_FIRMWARE_DONE_FLAG 0x00000004
47 #define ME_FIRMWARE_CS_WRITE 0x00000100
49 #define ME_PLX_PCI_ACTIVATE 0x43
51 int me_xilinx_download(unsigned long register_base_control,
52 unsigned long register_base_data,
53 struct device *dev, const char *firmware_name);
55 # endif //__KERNEL__
57 #endif //_MEFIRMWARE_H