csareg.h (230602) | csareg.h (230897) |
---|---|
1/*- 2 * Copyright (c) 1999 Seigo Tanimura 3 * All rights reserved. 4 * 5 * Portions of this source are based on hwdefs.h in cwcealdr1.zip, the 6 * sample source by Crystal Semiconductor. 7 * Copyright (c) 1996-1998 Crystal Semiconductor Corp. 8 * --- 13 unchanged lines hidden (view full) --- 22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * | 1/*- 2 * Copyright (c) 1999 Seigo Tanimura 3 * All rights reserved. 4 * 5 * Portions of this source are based on hwdefs.h in cwcealdr1.zip, the 6 * sample source by Crystal Semiconductor. 7 * Copyright (c) 1996-1998 Crystal Semiconductor Corp. 8 * --- 13 unchanged lines hidden (view full) --- 22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * |
30 * $FreeBSD: head/sys/dev/sound/pci/csareg.h 230602 2012-01-26 21:43:11Z pfg $ | 30 * $FreeBSD: head/sys/dev/sound/pci/csareg.h 230897 2012-02-01 21:38:01Z pfg $ |
31 */ 32 33#ifndef _CSA_REG_H 34#define _CSA_REG_H 35 36/* 37 * The following constats are orginally in the sample by Crystal Semiconductor. 38 * Copyright (c) 1996-1998 Crystal Semiconductor Corp. --- 1905 unchanged lines hidden (view full) --- 1944#define CS_AC97_POWER_CONTROL_DAC 0x0200 1945#define CS_AC97_POWER_CONTROL_MIXVON 0x0400 1946#define CS_AC97_POWER_CONTROL_MIXVOFF 0x0800 1947#define CS_AC97_POWER_CONTROL_ADC_ON 0x0001 1948#define CS_AC97_POWER_CONTROL_DAC_ON 0x0002 1949#define CS_AC97_POWER_CONTROL_MIXVON_ON 0x0004 1950#define CS_AC97_POWER_CONTROL_MIXVOFF_ON 0x0008 1951 | 31 */ 32 33#ifndef _CSA_REG_H 34#define _CSA_REG_H 35 36/* 37 * The following constats are orginally in the sample by Crystal Semiconductor. 38 * Copyright (c) 1996-1998 Crystal Semiconductor Corp. --- 1905 unchanged lines hidden (view full) --- 1944#define CS_AC97_POWER_CONTROL_DAC 0x0200 1945#define CS_AC97_POWER_CONTROL_MIXVON 0x0400 1946#define CS_AC97_POWER_CONTROL_MIXVOFF 0x0800 1947#define CS_AC97_POWER_CONTROL_ADC_ON 0x0001 1948#define CS_AC97_POWER_CONTROL_DAC_ON 0x0002 1949#define CS_AC97_POWER_CONTROL_MIXVON_ON 0x0004 1950#define CS_AC97_POWER_CONTROL_MIXVOFF_ON 0x0008 1951 |
1952/* 1953 * this is 3*1024 for parameter, 3.5*1024 for sample and 2*3.5*1024 1954 * for code since each instruction is 40 bits and takes two dwords 1955 */ 1956 1957/* The following struct holds the initialization array. */ 1958#define INKY_BA1_DWORD_SIZE (13*1024+512) 1959/* this is parameter, sample, and code */ 1960#define INKY_MEMORY_COUNT 3 1961 1962struct cs461x_firmware_struct 1963{ 1964 struct 1965 { 1966 u_int32_t ulDestAddr, ulSourceSize; 1967 } MemoryStat[INKY_MEMORY_COUNT]; 1968 1969 u_int32_t BA1Array[INKY_BA1_DWORD_SIZE]; 1970}; 1971 1972 |
|
1952#endif /* _CSA_REG_H */ | 1973#endif /* _CSA_REG_H */ |