linux/include/sound/hwdep.h
<<
>>
Prefs
   1#ifndef __SOUND_HWDEP_H
   2#define __SOUND_HWDEP_H
   3
   4/*
   5 *  Hardware dependent layer 
   6 *  Copyright (c) by Jaroslav Kysela <perex@perex.cz>
   7 *
   8 *
   9 *   This program is free software; you can redistribute it and/or modify
  10 *   it under the terms of the GNU General Public License as published by
  11 *   the Free Software Foundation; either version 2 of the License, or
  12 *   (at your option) any later version.
  13 *
  14 *   This program is distributed in the hope that it will be useful,
  15 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
  16 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  17 *   GNU General Public License for more details.
  18 *
  19 *   You should have received a copy of the GNU General Public License
  20 *   along with this program; if not, write to the Free Software
  21 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  22 *
  23 */
  24
  25#include <sound/asound.h>
  26#include <linux/poll.h>
  27
  28struct snd_hwdep;
  29
  30/* hwdep file ops; all ops can be NULL */
  31struct snd_hwdep_ops {
  32        long long (*llseek)(struct snd_hwdep *hw, struct file *file,
  33                            long long offset, int orig);
  34        long (*read)(struct snd_hwdep *hw, char __user *buf,
  35                     long count, loff_t *offset);
  36        long (*write)(struct snd_hwdep *hw, const char __user *buf,
  37                      long count, loff_t *offset);
  38        int (*open)(struct snd_hwdep *hw, struct file * file);
  39        int (*release)(struct snd_hwdep *hw, struct file * file);
  40        unsigned int (*poll)(struct snd_hwdep *hw, struct file *file,
  41                             poll_table *wait);
  42        int (*ioctl)(struct snd_hwdep *hw, struct file *file,
  43                     unsigned int cmd, unsigned long arg);
  44        int (*ioctl_compat)(struct snd_hwdep *hw, struct file *file,
  45                            unsigned int cmd, unsigned long arg);
  46        int (*mmap)(struct snd_hwdep *hw, struct file *file,
  47                    struct vm_area_struct *vma);
  48        int (*dsp_status)(struct snd_hwdep *hw,
  49                          struct snd_hwdep_dsp_status *status);
  50        int (*dsp_load)(struct snd_hwdep *hw,
 #L49" id="L49" class="line" name="L49"> table" class="sref">poll_tablf">snd_hwdep_dsp_status * *  50        int (*  50        in        5  unsigned int    4;
  32        l5"comment""> *  Hardware dependent href5"+code=cmd" cp;
  50        int (*56+code=cmd" cp;
  50        in        5 struct dsp_load)(ruct   50        int (*dsp_stata href="+code=buf" cidep" class="srefid+cod[32]line" name="L50">  50        in        5       struct dsp_stata href="+code=buf" c hreep" class="sref hre+cod[80]line" name="L50">  50        i6t (*dsp_load)(f="+code=buf" cifac.h#L47" id="L47"ifac."incline" name="L50">  50        i6L49" id=6L49" class="line" name=6L49">61"line" name="L4">   4__ifND_HWDEP_H
   4dsp_stata href="+code=buf" coss_cevep" class="sref"ss_cev+cod[32]line" name="L50">  50        i6t (*ioctl_compf="+code=buf" coss_e=""ep" class="sref"ss_e="""incline" name="L50">  50        i6"comment6"> *  Hardware dependen6 href65sref">ioctl_compf="+code=buf" cossrep.h#L34" id="L34"ssrep"incline" name="L50">  50        i6"comment""> *  Copyright (c) by Jref">6="frefendifine" name="L50">  50        i6        6 struct   28struct ;
  50        i6        6       struct dsp_statinclude/sound/hwdep_queue_hhwdass="sref">offsetwdep_queue_hhwdasass="href="+code=snd_hen_wdep.h#L42" id="L42_hen_wdepass=line" name="L50">  50        i7t (*dsp_load  50        i7L49" id=7L49" class="line" name=7L49">71">dsp_load *hw,
hw,href="inc"line" name="L50">  50        i7t (*  28struct ;
  50        i7t (*ioctl_compf="+code=buf" cusedep" class="srefusedass=l class="sref">poll_table NULL */
  31struct  *  Hardware dependen7 href75sref">ioctl_ unsigned long snedep" class="srefsref">snedass=l class="e NULL */

">sned sred ldic.s" class="line" name="L31">  31struct  *  Copyright (c) by 7ref">76sref">ioctl_ unsigned long   31struct  *
  50        i7t (*  28struct ex*ernd long ep * 8t (*dsp_load *hw,
hw,rhref="inc"line" name="L50">  50        i8L49" id=8L49" class="line" name=8L49">81"line" name="L4">   4
  31struct 
The " clinal LXR>
LXR>an>
unity+codhr>
lxr@7" id.no+cod.
re clas="donnsignedsubfoo*er">
lxr.7" id.no k ldly host11" c2ne" name=http:/ www.redpill-7" pro.no">Redpill L" pro AS+codhrprovilishn>
L" id ulting10"  _her2111-s servic.s"since 1995.
re class=/bodyas=/htmlse