Loading Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl +1 −2 Original line number Diff line number Diff line Loading @@ -3693,8 +3693,7 @@ struct _snd_pcm_runtime { <para> Here, the chip instance is retrieved via <function>snd_kcontrol_chip()</function> macro. This macro converts from kcontrol->private_data to the type defined by <type>chip_t</type>. The just accesses to kcontrol->private_data. The kcontrol->private_data field is given as the argument of <function>snd_ctl_new()</function> (see the later subsection Loading sound/mips/au1x00.c +0 −2 Original line number Diff line number Diff line Loading @@ -57,8 +57,6 @@ MODULE_CLASSES("{sound}"); MODULE_DEVICES("{{AMD,Au1000 AC'97}}"); #endif #define chip_t au1000_t #define PLAYBACK 0 #define CAPTURE 1 #define AC97_SLOT_3 0x01 Loading sound/ppc/beep.c +0 −2 Original line number Diff line number Diff line Loading @@ -171,8 +171,6 @@ static int snd_pmac_beep_event(struct input_dev *dev, unsigned int type, unsigne * beep volume mixer */ #define chip_t pmac_t static int snd_pmac_info_beep(snd_kcontrol_t *kcontrol, snd_ctl_elem_info_t *uinfo) { uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; Loading sound/sparc/dbri.c +1 −4 Original line number Diff line number Diff line Loading @@ -343,9 +343,6 @@ typedef struct snd_dbri { struct snd_dbri *next; } snd_dbri_t; /* Needed for the ALSA macros to work */ #define chip_t snd_dbri_t #define DBRI_MAX_VOLUME 63 /* Output volume */ #define DBRI_MAX_GAIN 15 /* Input gain */ #define DBRI_RIGHT_BALANCE 255 Loading Loading @@ -1767,7 +1764,7 @@ static void xmit_descs(unsigned long data) spin_unlock_irqrestore(&dbri->lock, flags); } DECLARE_TASKLET(xmit_descs_task, xmit_descs, 0); static DECLARE_TASKLET(xmit_descs_task, xmit_descs, 0); /* transmission_complete_intr() * Loading Loading
Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl +1 −2 Original line number Diff line number Diff line Loading @@ -3693,8 +3693,7 @@ struct _snd_pcm_runtime { <para> Here, the chip instance is retrieved via <function>snd_kcontrol_chip()</function> macro. This macro converts from kcontrol->private_data to the type defined by <type>chip_t</type>. The just accesses to kcontrol->private_data. The kcontrol->private_data field is given as the argument of <function>snd_ctl_new()</function> (see the later subsection Loading
sound/mips/au1x00.c +0 −2 Original line number Diff line number Diff line Loading @@ -57,8 +57,6 @@ MODULE_CLASSES("{sound}"); MODULE_DEVICES("{{AMD,Au1000 AC'97}}"); #endif #define chip_t au1000_t #define PLAYBACK 0 #define CAPTURE 1 #define AC97_SLOT_3 0x01 Loading
sound/ppc/beep.c +0 −2 Original line number Diff line number Diff line Loading @@ -171,8 +171,6 @@ static int snd_pmac_beep_event(struct input_dev *dev, unsigned int type, unsigne * beep volume mixer */ #define chip_t pmac_t static int snd_pmac_info_beep(snd_kcontrol_t *kcontrol, snd_ctl_elem_info_t *uinfo) { uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; Loading
sound/sparc/dbri.c +1 −4 Original line number Diff line number Diff line Loading @@ -343,9 +343,6 @@ typedef struct snd_dbri { struct snd_dbri *next; } snd_dbri_t; /* Needed for the ALSA macros to work */ #define chip_t snd_dbri_t #define DBRI_MAX_VOLUME 63 /* Output volume */ #define DBRI_MAX_GAIN 15 /* Input gain */ #define DBRI_RIGHT_BALANCE 255 Loading Loading @@ -1767,7 +1764,7 @@ static void xmit_descs(unsigned long data) spin_unlock_irqrestore(&dbri->lock, flags); } DECLARE_TASKLET(xmit_descs_task, xmit_descs, 0); static DECLARE_TASKLET(xmit_descs_task, xmit_descs, 0); /* transmission_complete_intr() * Loading