/sound/core/ |
D | sgbuf.c | 48 if (!(sgbuf->table[i].addr & ~PAGE_MASK)) in snd_free_sgbuf_pages() 50 tmpb.area = sgbuf->table[i].buf; in snd_free_sgbuf_pages() 51 tmpb.addr = sgbuf->table[i].addr & PAGE_MASK; in snd_free_sgbuf_pages() 52 tmpb.bytes = (sgbuf->table[i].addr & ~PAGE_MASK) << PAGE_SHIFT; in snd_free_sgbuf_pages() 56 kfree(sgbuf->table); in snd_free_sgbuf_pages() 73 struct snd_sg_page *table; in snd_malloc_sgbuf_pages() local 84 table = kcalloc(sgbuf->tblsize, sizeof(*table), GFP_KERNEL); in snd_malloc_sgbuf_pages() 85 if (!table) in snd_malloc_sgbuf_pages() 87 sgbuf->table = table; in snd_malloc_sgbuf_pages() 112 table->buf = tmpb.area; in snd_malloc_sgbuf_pages() [all …]
|
/sound/synth/emux/ |
D | emux_nrpn.c | 51 static int send_converted_effect(const struct nrpn_conv_table *table, in send_converted_effect() argument 59 if (table[i].control == type) { in send_converted_effect() 60 cval = table[i].convert(val); in send_converted_effect() 61 snd_emux_send_effect(port, chan, table[i].effect, in send_converted_effect()
|
D | emux_synth.c | 42 struct snd_sf_zone **table); 65 struct snd_sf_zone *table[SNDRV_EMUX_MAX_MULTI_VOICES]; in snd_emux_note_on() local 78 nvoices = get_zone(emu, port, ¬e, vel, chan, table); in snd_emux_note_on() 84 struct snd_sf_zone *zp = table[i]; in snd_emux_note_on() 100 if (table[i] == NULL) in snd_emux_note_on() 115 vp->zone = table[i]; in snd_emux_note_on() 905 struct snd_sf_zone **table) in get_zone() argument 922 table, SNDRV_EMUX_MAX_MULTI_VOICES); in get_zone()
|
D | soundfont.c | 69 int preset, int bank, struct snd_sf_zone **table, 905 calc_parm_search(int msec, short *table) in calc_parm_search() argument 910 if (msec < (int)table[mid]) in calc_parm_search() 1235 struct snd_sf_zone **table, int max_layers) in snd_soundfont_search_zone() argument 1250 table, max_layers, 0); in snd_soundfont_search_zone() 1255 table, max_layers, 0); in snd_soundfont_search_zone() 1286 int preset, int bank, struct snd_sf_zone **table, in search_zones() argument 1308 preset, bank, table, in search_zones() 1314 table[nvoices++] = zp; in search_zones()
|
/sound/pci/ |
D | via82xx_modem.c | 226 struct snd_dma_buffer table; member 285 if (dev->table.area == NULL) { in build_via_table() 291 &dev->table) < 0) in build_via_table() 319 ((u32 *)dev->table.area)[idx << 1] = cpu_to_le32(addr); in build_via_table() 336 ((u32 *)dev->table.area)[(idx<<1) + 1] = cpu_to_le32(r | flag); in build_via_table() 353 if (dev->table.area) { in clean_via_table() 354 snd_dma_free_pages(&dev->table); in clean_via_table() 355 dev->table.area = NULL; in clean_via_table() 635 if (ptr <= (unsigned int)viadev->table.addr) in snd_via686_pcm_pointer() 638 idx = ((ptr - (unsigned int)viadev->table.addr) / 8 - 1) % in snd_via686_pcm_pointer() [all …]
|
D | via82xx.c | 331 struct snd_dma_buffer table; member 432 if (dev->table.area == NULL) { in build_via_table() 438 &dev->table) < 0) in build_via_table() 466 ((u32 *)dev->table.area)[idx << 1] = cpu_to_le32(addr); in build_via_table() 481 ((u32 *)dev->table.area)[(idx<<1) + 1] = cpu_to_le32(r | flag); in build_via_table() 499 if (dev->table.area) { in clean_via_table() 500 snd_dma_free_pages(&dev->table); in clean_via_table() 501 dev->table.area = NULL; in clean_via_table() 854 if (ptr <= (unsigned int)viadev->table.addr) in snd_via686_pcm_pointer() 857 idx = ((ptr - (unsigned int)viadev->table.addr) / 8 - 1) % viadev->tbl_entries; in snd_via686_pcm_pointer() [all …]
|
/sound/oss/dmasound/ |
D | dmasound_q40.c | 65 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8; in q40_ct_law() local 73 *p = table[*p]+128; in q40_ct_law() 121 unsigned char *table = (unsigned char *) in q40_ctx_law() local 138 data = table[c]; in q40_ctx_law() 231 unsigned char *table = (unsigned char *) in q40_ctc_law() local 249 data = 0x80 + table[c]; in q40_ctc_law()
|
D | dmasound_atari.c | 158 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8 in ata_ct_law() local 171 *p++ = table[data]; in ata_ct_law() 388 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8 in ata_ctx_law() local 407 data = table[c]; in ata_ctx_law() 426 data = table[c] << 8; in ata_ctx_law() 429 data |= table[c]; in ata_ctx_law()
|
/sound/ppc/ |
D | tumbler.c | 495 unsigned int *table; member 511 vol = info->table[vol]; in tumbler_set_mono_volume() 575 .table = mixer_volume_table, 583 .table = bass_volume_table, 591 .table = treble_volume_table, 600 .table = snapper_bass_volume_table, 608 .table = snapper_treble_volume_table,
|
/sound/core/oss/ |
D | mixer_oss.c | 1273 static struct snd_mixer_oss_assign_table table[] = { in snd_mixer_oss_build() local 1315 for (idx = 0; idx < ARRAY_SIZE(table); idx++) in snd_mixer_oss_build() 1316 snd_mixer_oss_build_input(mixer, &table[idx], 0, 0); in snd_mixer_oss_build()
|
/sound/oss/ |
D | audio.c | 211 static void translate_bytes(const unsigned char *table, unsigned char *buff, int n) in translate_bytes() argument 219 buff[i] = table[buff[i]]; in translate_bytes()
|
/sound/pci/ac97/ |
D | ac97_codec.c | 1792 static const struct ac97_codec_id *look_for_codec_id(const struct ac97_codec_id *table, in look_for_codec_id() argument 1797 for (pid = table; pid->id; pid++) in look_for_codec_id()
|