Home
last modified time | relevance | path

Searched refs:table (Results 1 – 19 of 19) sorted by relevance

/sound/hda/core/
A Dintel-dsp-config.c569 for (; len > 0; len--, table++) { in snd_intel_dsp_find_config()
570 if (table->device != device) in snd_intel_dsp_find_config()
572 if (table->dmi_table && !dmi_check_system(table->dmi_table)) in snd_intel_dsp_find_config()
574 if (table->codec_hid) { in snd_intel_dsp_find_config()
601 __func__, table->codec_hid->codecs[i]); in snd_intel_dsp_find_config()
603 if (i == table->codec_hid->num_codecs) in snd_intel_dsp_find_config()
606 return table; in snd_intel_dsp_find_config()
778 const struct config_entry *table, in snd_intel_acpi_dsp_find_config() argument
781 for (; len > 0; len--, table++) { in snd_intel_acpi_dsp_find_config()
784 if (table->dmi_table && !dmi_check_system(table->dmi_table)) in snd_intel_acpi_dsp_find_config()
[all …]
/sound/soc/amd/
A Dacp-config.c178 const struct config_entry *table = config_table; in snd_amd_acp_find_config() local
192 for (i = 0; i < ARRAY_SIZE(config_table); i++, table++) { in snd_amd_acp_find_config()
193 if (table->device != device) in snd_amd_acp_find_config()
195 if (table->dmi_table && !dmi_check_system(table->dmi_table)) in snd_amd_acp_find_config()
197 acp_quirk_data = table->flags; in snd_amd_acp_find_config()
198 return table->flags; in snd_amd_acp_find_config()
/sound/synth/emux/
A Demux_nrpn.c37 static int send_converted_effect(const struct nrpn_conv_table *table, in send_converted_effect() argument
45 if (table[i].control == type) { in send_converted_effect()
46 cval = table[i].convert(val); in send_converted_effect()
47 snd_emux_send_effect(port, chan, table[i].effect, in send_converted_effect()
A Demux_synth.c28 struct snd_sf_zone **table);
51 struct snd_sf_zone *table[SNDRV_EMUX_MAX_MULTI_VOICES]; in snd_emux_note_on() local
64 nvoices = get_zone(emu, port, &note, vel, chan, table); in snd_emux_note_on()
70 struct snd_sf_zone *zp = table[i]; in snd_emux_note_on()
86 if (table[i] == NULL) in snd_emux_note_on()
101 vp->zone = table[i]; in snd_emux_note_on()
892 struct snd_sf_zone **table) in get_zone() argument
909 table, SNDRV_EMUX_MAX_MULTI_VOICES); in get_zone()
A Dsoundfont.c57 int preset, int bank, struct snd_sf_zone **table,
936 calc_parm_search(int msec, const short *table) in calc_parm_search() argument
941 if (msec < (int)table[mid]) in calc_parm_search()
1278 struct snd_sf_zone **table, int max_layers) in snd_soundfont_search_zone() argument
1293 table, max_layers, 0); in snd_soundfont_search_zone()
1298 table, max_layers, 0); in snd_soundfont_search_zone()
1330 int preset, int bank, struct snd_sf_zone **table, in search_zones() argument
1352 preset, bank, table, in search_zones()
1358 table[nvoices++] = zp; in search_zones()
/sound/soc/codecs/
A Dpeb2466.c25 u8 (*table)[4]; member
1191 u8 (*table)[4]; in peb2466_fw_parse_axtable() local
1237 BUILD_BUG_ON(sizeof(*table) != 4); in peb2466_fw_parse_axtable()
1239 if (!table) in peb2466_fw_parse_axtable()
1250 lookup->table = table; in peb2466_fw_parse_axtable()
1259 lookup->table[init_index], 4); in peb2466_fw_parse_axtable()
1295 u8 (*table)[4]; in peb2466_fw_parse_artable() local
1341 BUILD_BUG_ON(sizeof(*table) != 4); in peb2466_fw_parse_artable()
1343 if (!table) in peb2466_fw_parse_artable()
1354 lookup->table = table; in peb2466_fw_parse_artable()
[all …]
A Drtq9128.c390 const struct rtq9128_init_reg *table, *curr; in rtq9128_component_probe() local
405 table = rtq9128_tka470b_tables; in rtq9128_component_probe()
409 table = rtq9128_dh_tables; in rtq9128_component_probe()
413 table = rtq9128_dl_tables; in rtq9128_component_probe()
418 for (i = 0, curr = table; i < table_size; i++, curr++) { in rtq9128_component_probe()
/sound/usb/
A Dformat.c480 unsigned int *table; in validate_sample_rate_table_v2v3() local
510 table = kcalloc(fp->nr_rates, sizeof(*table), GFP_KERNEL); in validate_sample_rate_table_v2v3()
511 if (!table) in validate_sample_rate_table_v2v3()
525 table[nr_rates++] = fp->rate_table[i]; in validate_sample_rate_table_v2v3()
536 kfree(table); in validate_sample_rate_table_v2v3()
541 fp->rate_table = table; in validate_sample_rate_table_v2v3()
A Dmixer_scarlett2.c3075 int table; in scarlett2_usb_set_mux() local
3086 for (table = 0; table < SCARLETT2_MUX_TABLES; table++) { in scarlett2_usb_set_mux()
3092 req.num = cpu_to_le16(table); in scarlett2_usb_set_mux()
3095 for (entry = info->mux_assignment[table]; in scarlett2_usb_set_mux()
/sound/pci/
A Dvia82xx_modem.c211 struct snd_dma_buffer table; member
271 if (dev->table.area == NULL) { in build_via_table()
277 &dev->table) < 0) in build_via_table()
291 pgtbl = (__le32 *)dev->table.area; in build_via_table()
342 if (dev->table.area) { in clean_via_table()
343 snd_dma_free_pages(&dev->table); in clean_via_table()
344 dev->table.area = NULL; in clean_via_table()
625 if (ptr <= (unsigned int)viadev->table.addr) in snd_via686_pcm_pointer()
628 idx = ((ptr - (unsigned int)viadev->table.addr) / 8 - 1) % in snd_via686_pcm_pointer()
679 outl((u32)viadev->table.addr, VIADEV_REG(viadev, OFFSET_TABLE_PTR)); in snd_via82xx_set_table_ptr()
A Dvia82xx.c316 struct snd_dma_buffer table; member
416 if (dev->table.area == NULL) { in build_via_table()
422 &dev->table) < 0) in build_via_table()
436 pgtbl = (__le32 *)dev->table.area; in build_via_table()
486 if (dev->table.area) { in clean_via_table()
487 snd_dma_free_pages(&dev->table); in clean_via_table()
488 dev->table.area = NULL; in clean_via_table()
842 if (ptr <= (unsigned int)viadev->table.addr) in snd_via686_pcm_pointer()
845 idx = ((ptr - (unsigned int)viadev->table.addr) / 8 - 1) % viadev->tbl_entries; in snd_via686_pcm_pointer()
948 outl((u32)viadev->table.addr, VIADEV_REG(viadev, OFFSET_TABLE_PTR)); in snd_via82xx_set_table_ptr()
/sound/oss/dmasound/
A Ddmasound_q40.c66 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8; in q40_ct_law() local
74 *p = table[*p]+128; in q40_ct_law()
122 unsigned char *table = (unsigned char *) in q40_ctx_law() local
139 data = table[c]; in q40_ctx_law()
232 unsigned char *table = (unsigned char *) in q40_ctc_law() local
250 data = 0x80 + table[c]; in q40_ctc_law()
A Ddmasound_atari.c159 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8 in ata_ct_law() local
172 *p++ = table[data]; in ata_ct_law()
389 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8 in ata_ctx_law() local
408 data = table[c]; in ata_ctx_law()
427 data = table[c] << 8; in ata_ctx_law()
430 data |= table[c]; in ata_ctx_law()
/sound/ppc/
A Dtumbler.c485 const unsigned int *table; member
501 vol = info->table[vol]; in tumbler_set_mono_volume()
567 .table = mixer_volume_table,
575 .table = bass_volume_table,
583 .table = treble_volume_table,
592 .table = snapper_bass_volume_table,
600 .table = snapper_treble_volume_table,
/sound/soc/intel/boards/
A Dsof_wm8804.c198 .table = {
/sound/soc/samsung/
A Dspeyside.c336 .table = {
/sound/soc/fsl/
A Dfsl_asrc_m2m.c436 struct sg_table *table, in fsl_asrc_m2m_unmap_dma_buf() argument
439 dma_unmap_sgtable(attachment->dev, table, direction, 0); in fsl_asrc_m2m_unmap_dma_buf()
/sound/core/oss/
A Dmixer_oss.c1216 static const struct snd_mixer_oss_assign_table table[] = { in snd_mixer_oss_build() local
1258 for (idx = 0; idx < ARRAY_SIZE(table); idx++) in snd_mixer_oss_build()
1259 snd_mixer_oss_build_input(mixer, &table[idx], 0, 0); in snd_mixer_oss_build()
/sound/pci/ac97/
A Dac97_codec.c1832 static const struct ac97_codec_id *look_for_codec_id(const struct ac97_codec_id *table, in look_for_codec_id() argument
1837 for (pid = table; pid->id; pid++) in look_for_codec_id()

Completed in 93 milliseconds