1 /* SPDX-License-Identifier: GPL-2.0-or-later * << 2 /* 1 /* 3 * Driver for Digigram pcxhr compatible soundc 2 * Driver for Digigram pcxhr compatible soundcards 4 * 3 * 5 * definitions and makros for basic card acces 4 * definitions and makros for basic card access 6 * 5 * 7 * Copyright (c) 2004 by Digigram <alsa@digigr 6 * Copyright (c) 2004 by Digigram <alsa@digigram.com> >> 7 * >> 8 * This program is free software; you can redistribute it and/or modify >> 9 * it under the terms of the GNU General Public License as published by >> 10 * the Free Software Foundation; either version 2 of the License, or >> 11 * (at your option) any later version. >> 12 * >> 13 * This program is distributed in the hope that it will be useful, >> 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of >> 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >> 16 * GNU General Public License for more details. >> 17 * >> 18 * You should have received a copy of the GNU General Public License >> 19 * along with this program; if not, write to the Free Software >> 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 8 */ 21 */ 9 22 10 #ifndef __SOUND_PCXHR_HWDEP_H 23 #ifndef __SOUND_PCXHR_HWDEP_H 11 #define __SOUND_PCXHR_HWDEP_H 24 #define __SOUND_PCXHR_HWDEP_H 12 25 13 26 14 /* firmware status codes */ 27 /* firmware status codes */ 15 #define PCXHR_FIRMWARE_XLX_INT_INDEX 0 28 #define PCXHR_FIRMWARE_XLX_INT_INDEX 0 16 #define PCXHR_FIRMWARE_XLX_COM_INDEX 1 29 #define PCXHR_FIRMWARE_XLX_COM_INDEX 1 17 #define PCXHR_FIRMWARE_DSP_EPRM_INDEX 2 30 #define PCXHR_FIRMWARE_DSP_EPRM_INDEX 2 18 #define PCXHR_FIRMWARE_DSP_BOOT_INDEX 3 31 #define PCXHR_FIRMWARE_DSP_BOOT_INDEX 3 19 #define PCXHR_FIRMWARE_DSP_MAIN_INDEX 4 32 #define PCXHR_FIRMWARE_DSP_MAIN_INDEX 4 20 #define PCXHR_FIRMWARE_FILES_MAX_INDEX 5 33 #define PCXHR_FIRMWARE_FILES_MAX_INDEX 5 21 34 22 35 23 /* exported */ 36 /* exported */ 24 int pcxhr_setup_firmware(struct pcxhr_mgr *mg 37 int pcxhr_setup_firmware(struct pcxhr_mgr *mgr); 25 void pcxhr_reset_board(struct pcxhr_mgr *mgr); 38 void pcxhr_reset_board(struct pcxhr_mgr *mgr); 26 39 27 #endif /* __SOUND_PCXHR_HWDEP_H */ 40 #endif /* __SOUND_PCXHR_HWDEP_H */ 28 41
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.