~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/sound/pci/asihpi/hpi6000.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /sound/pci/asihpi/hpi6000.h (Version linux-6.12-rc7) and /sound/pci/asihpi/hpi6000.h (Version linux-5.1.21)


  1 /* SPDX-License-Identifier: GPL-2.0-only */    << 
  2 /*********************************************      1 /*****************************************************************************
  3                                                     2 
  4     AudioScience HPI driver                         3     AudioScience HPI driver
  5     Copyright (C) 1997-2011  AudioScience Inc.      4     Copyright (C) 1997-2011  AudioScience Inc. <support@audioscience.com>
  6                                                     5 
                                                   >>   6     This program is free software; you can redistribute it and/or modify
                                                   >>   7     it under the terms of version 2 of the GNU General Public License as
                                                   >>   8     published by the Free Software Foundation;
                                                   >>   9 
                                                   >>  10     This program is distributed in the hope that it will be useful,
                                                   >>  11     but WITHOUT ANY WARRANTY; without even the implied warranty of
                                                   >>  12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                                                   >>  13     GNU General Public License for more details.
                                                   >>  14 
                                                   >>  15     You should have received a copy of the GNU General Public License
                                                   >>  16     along with this program; if not, write to the Free Software
                                                   >>  17     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  7                                                    18 
  8 Public declarations for DSP Proramming Interfa     19 Public declarations for DSP Proramming Interface to TI C6701
  9                                                    20 
 10 Shared between hpi6000.c and DSP code              21 Shared between hpi6000.c and DSP code
 11                                                    22 
 12 (C) Copyright AudioScience Inc. 1998-2003          23 (C) Copyright AudioScience Inc. 1998-2003
 13 **********************************************     24 ******************************************************************************/
 14                                                    25 
 15 #ifndef _HPI6000_H_                                26 #ifndef _HPI6000_H_
 16 #define _HPI6000_H_                                27 #define _HPI6000_H_
 17                                                    28 
 18 #define HPI_NMIXER_CONTROLS 200                    29 #define HPI_NMIXER_CONTROLS 200
 19                                                    30 
 20 /*                                                 31 /*
 21  * Control caching is always supported in the      32  * Control caching is always supported in the HPI code.
 22  * The DSP should make sure that dwControlCach     33  * The DSP should make sure that dwControlCacheSizeInBytes is initialized to 0
 23  * during boot to make it in-active.               34  * during boot to make it in-active.
 24  */                                                35  */
 25 struct hpi_hif_6000 {                              36 struct hpi_hif_6000 {
 26         u32 host_cmd;                              37         u32 host_cmd;
 27         u32 dsp_ack;                               38         u32 dsp_ack;
 28         u32 address;                               39         u32 address;
 29         u32 length;                                40         u32 length;
 30         u32 message_buffer_address;                41         u32 message_buffer_address;
 31         u32 response_buffer_address;               42         u32 response_buffer_address;
 32         u32 dsp_number;                            43         u32 dsp_number;
 33         u32 adapter_info;                          44         u32 adapter_info;
 34         u32 control_cache_is_dirty;                45         u32 control_cache_is_dirty;
 35         u32 control_cache_address;                 46         u32 control_cache_address;
 36         u32 control_cache_size_in_bytes;           47         u32 control_cache_size_in_bytes;
 37         u32 control_cache_count;                   48         u32 control_cache_count;
 38 };                                                 49 };
 39                                                    50 
 40 #define HPI_HIF_PACK_ADAPTER_INFO(adapter, ver     51 #define HPI_HIF_PACK_ADAPTER_INFO(adapter, version_major, version_minor) \
 41                 ((adapter << 16) | (version_ma     52                 ((adapter << 16) | (version_major << 8) | version_minor)
 42 #define HPI_HIF_ADAPTER_INFO_EXTRACT_ADAPTER(a     53 #define HPI_HIF_ADAPTER_INFO_EXTRACT_ADAPTER(adapterinfo) \
 43                 ((adapterinfo >> 16) & 0xffff)     54                 ((adapterinfo >> 16) & 0xffff)
 44 #define HPI_HIF_ADAPTER_INFO_EXTRACT_HWVERSION     55 #define HPI_HIF_ADAPTER_INFO_EXTRACT_HWVERSION_MAJOR(adapterinfo) \
 45                 ((adapterinfo >> 8) & 0xff)        56                 ((adapterinfo >> 8) & 0xff)
 46 #define HPI_HIF_ADAPTER_INFO_EXTRACT_HWVERSION     57 #define HPI_HIF_ADAPTER_INFO_EXTRACT_HWVERSION_MINOR(adapterinfo) \
 47                 (adapterinfo & 0xff)               58                 (adapterinfo & 0xff)
 48                                                    59 
 49 /* Command/status exchanged between host and D     60 /* Command/status exchanged between host and DSP */
 50 #define HPI_HIF_IDLE            0                  61 #define HPI_HIF_IDLE            0
 51 #define HPI_HIF_SEND_MSG        1                  62 #define HPI_HIF_SEND_MSG        1
 52 #define HPI_HIF_GET_RESP        2                  63 #define HPI_HIF_GET_RESP        2
 53 #define HPI_HIF_DATA_MASK       0x10               64 #define HPI_HIF_DATA_MASK       0x10
 54 #define HPI_HIF_SEND_DATA       0x13               65 #define HPI_HIF_SEND_DATA       0x13
 55 #define HPI_HIF_GET_DATA        0x14               66 #define HPI_HIF_GET_DATA        0x14
 56 #define HPI_HIF_SEND_DONE       5                  67 #define HPI_HIF_SEND_DONE       5
 57 #define HPI_HIF_RESET           9                  68 #define HPI_HIF_RESET           9
 58                                                    69 
 59 #endif                          /* _HPI6000_H_     70 #endif                          /* _HPI6000_H_ */
 60                                                    71 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php