1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 3 * Driver for Digigram pcxhr compatible soundcards 4 * 5 * definitions and makros for basic card access 6 * 7 * Copyright (c) 2004 by Digigram <alsa@digigram.com> 8 */ 9 10 #ifndef __SOUND_PCXHR_HWDEP_H 11 #define __SOUND_PCXHR_HWDEP_H 12 13 14 /* firmware status codes */ 15 #define PCXHR_FIRMWARE_XLX_INT_INDEX 0 16 #define PCXHR_FIRMWARE_XLX_COM_INDEX 1 17 #define PCXHR_FIRMWARE_DSP_EPRM_INDEX 2 18 #define PCXHR_FIRMWARE_DSP_BOOT_INDEX 3 19 #define PCXHR_FIRMWARE_DSP_MAIN_INDEX 4 20 #define PCXHR_FIRMWARE_FILES_MAX_INDEX 5 21 22 23 /* exported */ 24 int pcxhr_setup_firmware(struct pcxhr_mgr *mgr); 25 void pcxhr_reset_board(struct pcxhr_mgr *mgr); 26 27 #endif /* __SOUND_PCXHR_HWDEP_H */ 28