Home
last modified time | relevance | path

Searched refs:tbl (Results 1 – 11 of 11) sorted by relevance

/sound/soc/
Dsoc-jack.c296 struct jack_gpio_tbl *tbl = res; in jack_devres_free_gpios() local
298 jack_free_gpios(tbl->jack, tbl->count, tbl->gpios); in jack_devres_free_gpios()
315 struct jack_gpio_tbl *tbl; in snd_soc_jack_add_gpios() local
317 tbl = devres_alloc(jack_devres_free_gpios, sizeof(*tbl), GFP_KERNEL); in snd_soc_jack_add_gpios()
318 if (!tbl) in snd_soc_jack_add_gpios()
320 tbl->jack = jack; in snd_soc_jack_add_gpios()
321 tbl->count = count; in snd_soc_jack_add_gpios()
322 tbl->gpios = gpios; in snd_soc_jack_add_gpios()
400 devres_add(jack->card->dev, tbl); in snd_soc_jack_add_gpios()
407 devres_free(tbl); in snd_soc_jack_add_gpios()
/sound/pci/
Dintel8x0m.c726 const struct ich_pcm_table *tbl, *rec; in snd_intel8x0m_pcm() local
729 tbl = intel_pcms; in snd_intel8x0m_pcm()
734 tbl = nforce_pcms; in snd_intel8x0m_pcm()
738 tbl = ali_pcms; in snd_intel8x0m_pcm()
742 tbl = intel_pcms; in snd_intel8x0m_pcm()
749 rec = tbl + i; in snd_intel8x0m_pcm()
1059 const struct ich_reg_info *tbl; in snd_intel8x0m_init() local
1091 tbl = intel_regs; in snd_intel8x0m_init()
1096 ichdev->reg_offset = tbl[i].offset; in snd_intel8x0m_init()
1097 ichdev->int_sta_mask = tbl[i].int_sta_mask; in snd_intel8x0m_init()
Dintel8x0.c1583 const struct ich_pcm_table *tbl, *rec; in snd_intel8x0_pcm() local
1587 tbl = intel_pcms; in snd_intel8x0_pcm()
1593 tbl = nforce_pcms; in snd_intel8x0_pcm()
1599 tbl = ali_pcms; in snd_intel8x0_pcm()
1603 tbl = intel_pcms; in snd_intel8x0_pcm()
1610 rec = tbl + i; in snd_intel8x0_pcm()
2907 const struct ich_reg_info *tbl; in snd_intel8x0_init() local
2960 tbl = nforce_regs; in snd_intel8x0_init()
2963 tbl = ali_regs; in snd_intel8x0_init()
2966 tbl = intel_regs; in snd_intel8x0_init()
[all …]
/sound/core/oss/
Dmixer_oss.c1212 struct snd_mixer_oss_assign_table *tbl; in snd_mixer_oss_proc_write() local
1245 tbl = kmalloc(sizeof(*tbl), GFP_KERNEL); in snd_mixer_oss_proc_write()
1246 if (!tbl) in snd_mixer_oss_proc_write()
1248 tbl->oss_id = ch; in snd_mixer_oss_proc_write()
1249 tbl->name = kstrdup(str, GFP_KERNEL); in snd_mixer_oss_proc_write()
1250 if (! tbl->name) { in snd_mixer_oss_proc_write()
1251 kfree(tbl); in snd_mixer_oss_proc_write()
1254 tbl->index = idx; in snd_mixer_oss_proc_write()
1255 if (snd_mixer_oss_build_input(mixer, tbl, 1, 1) <= 0) { in snd_mixer_oss_proc_write()
1256 kfree(tbl->name); in snd_mixer_oss_proc_write()
[all …]
/sound/core/
Dsgbuf.c31 #define sgbuf_align_table(tbl) ALIGN((tbl), SGBUF_TBL_ALIGN) argument
/sound/pci/ice1712/
Dice1712.c2239 const struct snd_ice1712_card_info * const *tbl, *c; in snd_ice1712_read_eeprom() local
2262 for (tbl = card_tables; *tbl; tbl++) { in snd_ice1712_read_eeprom()
2263 for (c = *tbl; c->subvendor; c++) { in snd_ice1712_read_eeprom()
2543 const struct snd_ice1712_card_info * const *tbl, *c; in snd_ice1712_probe() local
2566 for (tbl = card_tables; *tbl; tbl++) { in snd_ice1712_probe()
2567 for (c = *tbl; c->subvendor; c++) { in snd_ice1712_probe()
Dice1724.c2256 const struct snd_ice1712_card_info * const *tbl, *c; in snd_vt1724_read_eeprom() local
2285 for (tbl = card_tables; *tbl; tbl++) { in snd_vt1724_read_eeprom()
2286 for (c = *tbl; c->name; c++) { in snd_vt1724_read_eeprom()
/sound/pci/ac97/
Dac97_codec.c1083 const struct snd_ac97_res_table *tbl; in check_volume_resolution() local
1084 for (tbl = ac97->res_table; tbl->reg; tbl++) { in check_volume_resolution()
1085 if (tbl->reg == reg) { in check_volume_resolution()
1086 *lo_max = tbl->bits & 0xff; in check_volume_resolution()
1087 *hi_max = (tbl->bits >> 8) & 0xff; in check_volume_resolution()
/sound/pci/hda/
Dpatch_cirrus.c1024 struct hda_jack_callback *tbl) in cs4210_spdif_automute() argument
Dpatch_hdmi.c2616 struct hda_jack_tbl *tbl; in reprogram_jack_detect() local
2618 tbl = snd_hda_jack_tbl_get_mst(codec, nid, dev_id); in reprogram_jack_detect()
2619 if (tbl) { in reprogram_jack_detect()
2623 unsigned int val = use_acomp ? 0 : (AC_USRSP_EN | tbl->tag); in reprogram_jack_detect()
Dpatch_ca0132.c8669 struct hda_jack_tbl *tbl; in hp_callback() local
8674 tbl = snd_hda_jack_tbl_get(codec, cb->nid); in hp_callback()
8675 if (tbl) in hp_callback()
8676 tbl->block_report = 1; in hp_callback()