| /sound/synth/emux/ |
| A D | emux_effect.c | 19 #define xoffsetof(type,tag) ((long)(&((type)NULL)->tag) - (long)(NULL)) argument 91 effect = fx->val[type]; in effect_set_byte() 93 if (parm_defs[type].type & PARM_IS_SIGNED) in effect_set_byte() 147 if (type & 0x40) in snd_emux_send_effect_oss() 149 else if (type & 0x80) in snd_emux_send_effect_oss() 153 type &= 0x3f; in snd_emux_send_effect_oss() 177 if (type < 0 || type >= EMUX_NUM_EFFECTS) in snd_emux_send_effect() 180 fx->val[type] = val; in snd_emux_send_effect() 181 fx->flag[type] = mode; in snd_emux_send_effect() 191 if (parm_defs[type].type & PARM_IS_ALIGN_HI) in snd_emux_send_effect() [all …]
|
| /sound/core/seq/ |
| A D | seq_midi_event.c | 119 dev->type = ST_INVALID; in snd_midi_event_new() 142 dev->type = ST_INVALID; in reset_encode() 198 if (dev->type != ST_SYSEX) in snd_midi_event_encode_byte() 208 ev->type = status_event[dev->type].event; in snd_midi_event_encode_byte() 214 dev->type = ST_INVALID; in snd_midi_event_encode_byte() 285 unsigned int cmd, type; in snd_midi_event_decode() local 290 for (type = 0; type < ARRAY_SIZE(status_event); type++) { in snd_midi_event_decode() 291 if (ev->type == status_event[type].event) in snd_midi_event_decode() 294 for (type = 0; type < ARRAY_SIZE(extra_event); type++) { in snd_midi_event_decode() 295 if (ev->type == extra_event[type].event) in snd_midi_event_decode() [all …]
|
| /sound/hda/codecs/realtek/ |
| A D | alc662.c | 320 .type = HDA_FIXUP_PINS, 327 .type = HDA_FIXUP_FUNC, 331 .type = HDA_FIXUP_PINS, 340 .type = HDA_FIXUP_FUNC, 344 .type = HDA_FIXUP_PINS, 370 .type = HDA_FIXUP_FUNC, 374 .type = HDA_FIXUP_PINS, 383 .type = HDA_FIXUP_PINS, 395 .type = HDA_FIXUP_PINS, 407 .type = HDA_FIXUP_PINS, [all …]
|
| A D | alc880.c | 66 .type = HDA_FIXUP_FUNC, 70 .type = HDA_FIXUP_FUNC, 74 .type = HDA_FIXUP_VERBS, 84 .type = HDA_FIXUP_PINS, 94 .type = HDA_FIXUP_PINS, 102 .type = HDA_FIXUP_PINS, 112 .type = HDA_FIXUP_VERBS, 132 .type = HDA_FIXUP_FUNC, 137 .type = HDA_FIXUP_PINS, 157 .type = HDA_FIXUP_PINS, [all …]
|
| A D | alc882.c | 266 .type = HDA_FIXUP_PINS, 275 .type = HDA_FIXUP_PINS, 290 .type = HDA_FIXUP_FUNC, 294 .type = HDA_FIXUP_PINS, 301 .type = HDA_FIXUP_PINS, 308 .type = HDA_FIXUP_PINS, 317 .type = HDA_FIXUP_PINS, 368 .type = HDA_FIXUP_FUNC, 372 .type = HDA_FIXUP_FUNC, 376 .type = HDA_FIXUP_FUNC, [all …]
|
| A D | alc269.c | 3758 .type = HDA_FIXUP_FUNC, 3769 .type = HDA_FIXUP_FUNC, 3784 .type = HDA_FIXUP_FUNC, 3788 .type = HDA_FIXUP_PINS, 3795 .type = HDA_FIXUP_PINS, 3825 .type = HDA_FIXUP_FUNC, 3831 .type = HDA_FIXUP_FUNC, 3837 .type = HDA_FIXUP_FUNC, 3841 .type = HDA_FIXUP_FUNC, 3847 .type = HDA_FIXUP_FUNC, [all …]
|
| A D | alc260.c | 107 .type = HDA_FIXUP_PINS, 114 .type = HDA_FIXUP_PINS, 121 .type = HDA_FIXUP_VERBS, 129 .type = HDA_FIXUP_FUNC, 133 .type = HDA_FIXUP_FUNC, 139 .type = HDA_FIXUP_VERBS, 149 .type = HDA_FIXUP_FUNC, 155 .type = HDA_FIXUP_FUNC, 159 .type = HDA_FIXUP_FUNC, 163 .type = HDA_FIXUP_FUNC, [all …]
|
| A D | alc262.c | 34 .type = HDA_FIXUP_PINS, 43 .type = HDA_FIXUP_PINS, 52 .type = HDA_FIXUP_PINS, 59 .type = HDA_FIXUP_PINS, 66 .type = HDA_FIXUP_PINCTLS, 75 .type = HDA_FIXUP_VERBS, 83 .type = HDA_FIXUP_VERBS, 91 .type = HDA_FIXUP_FUNC, 95 .type = HDA_FIXUP_FUNC,
|
| /sound/soc/intel/avs/ |
| A D | topology.c | 125 u32 type; member 300 switch (le32_to_cpu(tuples->type)) { in avs_parse_tokens() 320 count, tuples->type, ret); in avs_parse_tokens() 336 type **val = (type **)(object + offset); \ 528 .type = SND_SOC_TPLG_TUPLE_TYPE_WORD, 534 .type = SND_SOC_TPLG_TUPLE_TYPE_WORD, 540 .type = SND_SOC_TPLG_TUPLE_TYPE_WORD, 546 .type = SND_SOC_TPLG_TUPLE_TYPE_WORD, 552 .type = SND_SOC_TPLG_TUPLE_TYPE_WORD, 558 .type = SND_SOC_TPLG_TUPLE_TYPE_WORD, [all …]
|
| /sound/usb/ |
| A D | mixer_scarlett.c | 165 unsigned char type; member 237 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in scarlett_ctl_switch_info() 305 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in scarlett_ctl_info() 384 uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; in scarlett_ctl_enum_dynamic_info() 663 { .num = 1, .type = SCARLETT_SWITCH_PAD, .name = NULL}, 665 { .num = 2, .type = SCARLETT_SWITCH_PAD, .name = NULL}, 706 { .num = 3, .type = SCARLETT_SWITCH_PAD, .name = NULL}, 707 { .num = 4, .type = SCARLETT_SWITCH_PAD, .name = NULL}, 782 { .num = 1, .type = SCARLETT_SWITCH_PAD, .name = NULL}, 784 { .num = 2, .type = SCARLETT_SWITCH_PAD, .name = NULL}, [all …]
|
| /sound/pci/ctxfi/ |
| A D | ctmixer.c | 351 amixers[type*CHN_NUM+i]; in ct_alsa_mix_volume_get() 386 if (AMIXER_MASTER_F == type || AMIXER_PCM_F == type) { in ct_alsa_mix_volume_put() 485 if (MIXER_LINEIN_C_S == type) { in do_line_mic_switch() 529 if ((SWH_CAPTURE_START <= type) && (SWH_CAPTURE_END >= type)) { in do_switch() 540 (MIXER_LINEIN_C_S == type || MIXER_MIC_C_S == type)) { in do_switch() 602 do_switch(atc, type, state); in ct_alsa_mix_switch_put() 736 enum CTALSA_MIXER_CTL type; in ct_mixer_kcontrols_create() local 742 for (type = VOL_MIXER_START; type <= VOL_MIXER_END; type++) { in ct_mixer_kcontrols_create() 754 for (type = SWH_MIXER_START; type <= SWH_MIXER_END; type++) { in ct_mixer_kcontrols_create() 1058 switch (type) { in port_to_amixer() [all …]
|
| A D | ctresource.c | 139 rsc->type = type; in rsc_init() 148 switch (type) { in rsc_init() 177 switch (rsc->type) { in rsc_uninit() 190 rsc->type); in rsc_uninit() 198 rsc->type = NUM_RSCTYP; in rsc_uninit() 209 mgr->type = NUM_RSCTYP; in rsc_mgr_init() 215 switch (type) { in rsc_mgr_init() 243 mgr->type = type; in rsc_mgr_init() 260 switch (mgr->type) { in rsc_mgr_uninit() 278 mgr->type); in rsc_mgr_uninit() [all …]
|
| A D | ctdaio.c | 107 switch (type) { in daio_device_index() 119 switch (type) { in daio_device_index() 313 idx_l = idx_20k1[desc->type].left; in daio_rsc_init() 317 idx_l = idx_20k2[desc->type].left; in daio_rsc_init() 332 if (desc->type <= DAIO_OUT_MAX) { in daio_rsc_init() 346 daio->type = desc->type; in daio_rsc_init() 433 dsc.type = dao->daio.type; in dao_rsc_reinit() 522 if (desc->type <= DAIO_OUT_MAX) { in get_daio_rsc() 571 if (daio->type <= DAIO_OUT_MAX) { in put_daio_rsc() 586 if (DAIO_OUT_MAX >= daio->type) { in daio_mgr_enb_daio() [all …]
|
| /sound/core/ |
| A D | sound.c | 108 if (mreg && mreg->type == type) { in snd_lookup_minor_data() 183 if (type == SNDRV_DEVICE_TYPE_SEQUENCER) in snd_find_free_minor() 185 if (type == SNDRV_DEVICE_TYPE_TIMER) in snd_find_free_minor() 205 switch (type) { in snd_find_free_minor() 208 minor = type; in snd_find_free_minor() 213 minor = SNDRV_MINOR(card->number, type); in snd_find_free_minor() 263 preg->type = type; in snd_register_device() 326 switch (type) { in snd_device_type_name() 362 snd_device_type_name(mptr->type)); in snd_minor_info_read() 366 snd_device_type_name(mptr->type)); in snd_minor_info_read() [all …]
|
| A D | control_compat.c | 52 s32 type; member 109 copy_to_user(&data32->type, &data->type, 3 * sizeof(u32))) in snd_ctl_elem_info_compat() 113 switch (data->type) { in snd_ctl_elem_info_compat() 185 err = info->type; in get_ctl_type() 193 switch (type) { in get_elem_size() 214 int i, type, size; in copy_ctl_value_from_user() local 225 if (type < 0) in copy_ctl_value_from_user() 226 return type; in copy_ctl_value_from_user() 247 *typep = type; in copy_ctl_value_from_user() 284 int err, type, count; in __ctl_elem_read_user() local [all …]
|
| A D | sound_oss.c | 25 void *snd_lookup_oss_minor_data(unsigned int minor, int type) in snd_lookup_oss_minor_data() argument 34 if (mreg && mreg->type == type) { in snd_lookup_oss_minor_data() 48 switch (type) { in snd_oss_kernel_minor() 84 int snd_register_oss_device(int type, struct snd_card *card, int dev, in snd_register_oss_device() argument 87 int minor = snd_oss_kernel_minor(type, card, dev); in snd_register_oss_device() 102 preg->type = type; in snd_register_oss_device() 147 int minor = snd_oss_kernel_minor(type, card, dev); in snd_unregister_oss_device() 192 static const char *snd_oss_device_type_name(int type) in snd_oss_device_type_name() argument 194 switch (type) { in snd_oss_device_type_name() 225 snd_oss_device_type_name(mptr->type)); in snd_minor_info_oss_read() [all …]
|
| A D | pcm_memory.c | 69 err = snd_dma_alloc_dir_pages(type, dev, dir, size, dmab); in do_alloc_pages() 107 err = do_alloc_pages(card, dmab->dev.type, dmab->dev.dev, in preallocate_pcm_pages() 210 substream->dma_buffer.dev.type, in snd_pcm_lib_preallocate_proc_write() 262 int type, struct device *data, in preallocate_pages() argument 267 if (snd_BUG_ON(substream->dma_buffer.dev.type)) in preallocate_pages() 270 substream->dma_buffer.dev.type = type; in preallocate_pages() 323 int type, struct device *data, in snd_pcm_lib_preallocate_pages() argument 326 preallocate_pages(substream, type, data, size, max, false); in snd_pcm_lib_preallocate_pages() 342 int type, void *data, in snd_pcm_lib_preallocate_pages_for_all() argument 428 if (snd_BUG_ON(substream->dma_buffer.dev.type == in snd_pcm_lib_malloc_pages() [all …]
|
| A D | pcm_param_trace.h | 29 …TP_PROTO(struct snd_pcm_substream *substream, snd_pcm_hw_param_t type, int index, const struct snd… 30 TP_ARGS(substream, type, index, prev, curr), 36 __field(snd_pcm_hw_param_t, type) 47 __entry->type = type; 60 __print_symbolic(__entry->type, hw_param_labels), 69 …TP_PROTO(struct snd_pcm_substream *substream, snd_pcm_hw_param_t type, int index, const struct snd… 70 TP_ARGS(substream, type, index, prev, curr), 76 __field(snd_pcm_hw_param_t, type) 97 __entry->type = type; 120 __print_symbolic(__entry->type, hw_param_labels),
|
| /sound/pci/ice1712/ |
| A D | wm8776.c | 131 .type = SNDRV_CTL_ELEM_TYPE_INTEGER, 142 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, 151 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, 157 .type = SNDRV_CTL_ELEM_TYPE_INTEGER, 169 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, 176 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, 185 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, 191 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, 197 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, 203 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, [all …]
|
| A D | wm8766.c | 32 .type = SNDRV_CTL_ELEM_TYPE_INTEGER, 43 .type = SNDRV_CTL_ELEM_TYPE_INTEGER, 54 .type = SNDRV_CTL_ELEM_TYPE_INTEGER, 65 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, 72 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, 79 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, 86 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, 92 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, 98 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, 104 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, [all …]
|
| /sound/soc/uniphier/ |
| A D | aio-ld11.c | 17 .type = PORT_TYPE_I2S, 30 .type = PORT_TYPE_I2S, 44 .type = PORT_TYPE_EVE, 58 .type = PORT_TYPE_SPDIF, 71 .type = PORT_TYPE_I2S, 85 .type = PORT_TYPE_I2S, 99 .type = PORT_TYPE_EVE, 112 .type = PORT_TYPE_EVE, 125 .type = PORT_TYPE_CONV, 140 .type = PORT_TYPE_CONV, [all …]
|
| A D | aio-pxs2.c | 17 .type = PORT_TYPE_I2S, 31 .type = PORT_TYPE_I2S, 45 .type = PORT_TYPE_I2S, 59 .type = PORT_TYPE_I2S, 73 .type = PORT_TYPE_I2S, 86 .type = PORT_TYPE_SPDIF, 99 .type = PORT_TYPE_SPDIF, 112 .type = PORT_TYPE_SPDIF, 125 .type = PORT_TYPE_SPDIF,
|
| /sound/hda/codecs/ |
| A D | sigmatel.c | 1372 .type = HDA_FIXUP_PINS, 1376 .type = HDA_FIXUP_PINS, 1382 .type = HDA_FIXUP_PINS, 1386 .type = HDA_FIXUP_PINS, 1390 .type = HDA_FIXUP_PINS, 1394 .type = HDA_FIXUP_PINS, 1398 .type = HDA_FIXUP_PINS, 1402 .type = HDA_FIXUP_PINS, 1406 .type = HDA_FIXUP_PINS, 1410 .type = HDA_FIXUP_PINS, [all …]
|
| A D | conexant.c | 849 .type = HDA_FIXUP_PINS, 853 .type = HDA_FIXUP_PINS, 859 .type = HDA_FIXUP_PINS, 865 .type = HDA_FIXUP_PINS, 869 .type = HDA_FIXUP_PINS, 878 .type = HDA_FIXUP_FUNC, 882 .type = HDA_FIXUP_PINS, 890 .type = HDA_FIXUP_FUNC, 894 .type = HDA_FIXUP_PINS, 903 .type = HDA_FIXUP_FUNC, [all …]
|
| /sound/usb/line6/ |
| A D | pcm.c | 23 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_line6_impulse_volume_info() 66 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_line6_impulse_period_info() 171 struct line6_pcm_stream *pstr, int type) in line6_buffer_release() argument 173 clear_bit(type, &pstr->opened); in line6_buffer_release() 183 int type) in line6_stream_start() argument 201 clear_bit(type, &pstr->running); in line6_stream_start() 208 int type) in line6_stream_stop() argument 214 clear_bit(type, &pstr->running); in line6_stream_stop() 326 line6_pcm_release(line6pcm, type); in line6_pcm_acquire() 339 line6_stream_stop(line6pcm, dir, type); in line6_pcm_release() [all …]
|