Home
last modified time | relevance | path

Searched refs:model (Results 1 – 25 of 70) sorted by relevance

123

/sound/pci/oxygen/
Doxygen.c218 data->dacs = chip->model.dac_channels_pcm / 2; in ak4396_init()
772 chip->model = model_generic; in get_oxygen_model()
776 chip->model.init = meridian_init; in get_oxygen_model()
777 chip->model.mixer_init = meridian_mixer_init; in get_oxygen_model()
778 chip->model.resume = meridian_resume; in get_oxygen_model()
779 chip->model.set_adc_params = set_ak5385_params; in get_oxygen_model()
780 chip->model.dump_registers = dump_ak4396_registers; in get_oxygen_model()
781 chip->model.device_config = PLAYBACK_0_TO_I2S | in get_oxygen_model()
786 chip->model.device_config |= AC97_CD_INPUT; in get_oxygen_model()
789 chip->model.init = claro_init; in get_oxygen_model()
[all …]
Doxygen_lib.c61 if (chip->model.uart_input) in oxygen_read_uart()
62 chip->model.uart_input(chip); in oxygen_read_uart()
195 if (chip->model.gpio_changed) in oxygen_gpio_changed()
196 chip->model.gpio_changed(chip); in oxygen_gpio_changed()
241 if (chip->model.dump_registers) in oxygen_proc_read()
242 chip->model.dump_registers(chip, buffer); in oxygen_proc_read()
374 chip->dac_volume[i] = chip->model.dac_volume_min; in oxygen_init()
391 chip->model.function_flags, in oxygen_init()
403 chip->model.misc_flags, in oxygen_init()
419 chip->model.dac_i2s_format | in oxygen_init()
[all …]
Dxonar_pcm179x.c269 if ((chip->model.function_flags & OXYGEN_FUNCTION_2WIRE_SPI_MASK) == in pcm1796_write()
393 data->pcm179x.dacs = chip->model.dac_channels_mixer / 2; in xonar_hdav_init()
394 data->pcm179x.h6 = chip->model.dac_channels_mixer > 2; in xonar_hdav_init()
424 data->dacs = chip->model.dac_channels_mixer / 2; in xonar_st_init_common()
425 data->h6 = chip->model.dac_channels_mixer > 2; in xonar_st_init_common()
473 data->h6 = chip->model.dac_channels_mixer > 2; in xonar_st_init()
1224 chip->model = model_xonar_d2; in get_xonar_pcm179x_model()
1225 chip->model.shortname = "Xonar D2"; in get_xonar_pcm179x_model()
1228 chip->model = model_xonar_d2; in get_xonar_pcm179x_model()
1229 chip->model.shortname = "Xonar D2X"; in get_xonar_pcm179x_model()
[all …]
Doxygen_pcm.c141 (chip->model.device_config & CAPTURE_2_FROM_AC97_1)) in oxygen_open()
147 if (chip->model.device_config & CAPTURE_1_FROM_SPDIF) { in oxygen_open()
158 runtime->hw.channels_max = chip->model.dac_channels_pcm; in oxygen_open()
161 if (chip->model.pcm_hardware_filter) in oxygen_open()
162 chip->model.pcm_hardware_filter(channel, &runtime->hw); in oxygen_open()
348 mclks = chip->model.dac_mclks; in get_mclk()
350 mclks = chip->model.adc_mclks; in get_mclk()
378 chip->model.adc_i2s_format | in oxygen_rec_a_hw_params()
388 chip->model.set_adc_params(chip, hw_params); in oxygen_rec_a_hw_params()
405 (chip->model.device_config & CAPTURE_2_FROM_AC97_1); in oxygen_rec_b_hw_params()
[all …]
Doxygen_mixer.c34 info->count = chip->model.dac_channels_mixer; in dac_volume_info()
35 info->value.integer.min = chip->model.dac_volume_min; in dac_volume_info()
36 info->value.integer.max = chip->model.dac_volume_max; in dac_volume_info()
47 for (i = 0; i < chip->model.dac_channels_mixer; ++i) in dac_volume_get()
62 for (i = 0; i < chip->model.dac_channels_mixer; ++i) in dac_volume_put()
68 chip->model.update_dac_volume(chip); in dac_volume_put()
94 chip->model.update_dac_mute(chip); in dac_mute_put()
102 if (chip->model.dac_channels_pcm < 8) in upmix_item_count()
104 else if (chip->model.update_center_lfe_mix) in upmix_item_count()
183 if (chip->model.adjust_dac_routing) in oxygen_update_dac_routing()
[all …]
Dxonar_cs43xx.c439 chip->model = model_xonar_d1; in get_xonar_cs43xx_model()
440 chip->model.shortname = "Xonar D1"; in get_xonar_cs43xx_model()
444 chip->model = model_xonar_d1; in get_xonar_cs43xx_model()
445 chip->model.shortname = "Xonar DX"; in get_xonar_cs43xx_model()
446 chip->model.init = xonar_dx_init; in get_xonar_cs43xx_model()
/sound/firewire/dice/
Ddice.c37 char model[32]; in force_two_pcm_support() local
41 err = fw_csr_string(unit->directory, CSR_MODEL, model, sizeof(model)); in force_two_pcm_support()
46 if (strcmp(models[i], model) == 0) in force_two_pcm_support()
57 int key, val, vendor = -1, model = -1; in check_dice_category() local
73 model = val; in check_dice_category()
90 device->config_rom[4] >> 22 != model) in check_dice_category()
124 char vendor[32], model[32]; in dice_card_strings() local
145 strcpy(model, "?"); in dice_card_strings()
146 fw_csr_string(dice->unit->directory, CSR_MODEL, model, sizeof(model)); in dice_card_strings()
149 vendor, model, dev->config_rom[4] & 0x3fffff, in dice_card_strings()
/sound/oss/
Dad1848.c78 int model; member
282 if ((devc->model != MD_1845) && (devc->model != MD_1845_SSCAPE)) in wait_for_calibration()
596 switch (devc->model) in ad1848_mixer_reset()
741 if (devc->model != MD_C930) in ad1848_mixer_ioctl()
810 …if (devc->model == MD_1845 || devc->model == MD_1845_SSCAPE) /* AD1845 has different timer than ot… in ad1848_set_speed()
921 if (!(arg & ad_format_mask[devc->model])) in ad1848_set_bits()
1104 if (devc->model == MD_1848) in ad1848_start_input()
1141 …if (devc->model == MD_1845 || devc->model == MD_1845_SSCAPE) /* Use alternate speed select registe… in ad1848_prepare_for_output()
1150 if (devc->model == MD_4232 || devc->model >= MD_4236) in ad1848_prepare_for_output()
1155 if (devc->model == MD_IWAVE) in ad1848_prepare_for_output()
[all …]
Dsb_common.c130 if (devc->model == MDL_SB16) in sb_intr()
192 if (devc->model == MDL_SB16 && src & 0x02) in sb_intr()
210 switch (devc->model) { in sbintr()
229 if (devc->model == MDL_ESS) return ess_dsp_reset (devc); in sb_dsp_reset()
432 devc->model = MDL_JAZZ; in init_Jazz16()
532 devc->model = MDL_ESSPCI; in sb_dsp_detect()
540 devc->model = MDL_YMPCI; in sb_dsp_detect()
606 devc->model = MDL_AZTECH; in sb_dsp_detect()
612 devc->model = MDL_ESSPCI; in sb_dsp_detect()
617 devc->model = MDL_YMPCI; in sb_dsp_detect()
[all …]
Dsb_mixer.c375 switch (devc->model) { in sb_mixer_set()
405 switch (devc->model) in set_recmask()
411 if (devc->model == MDL_ESS && ess_set_recmask (devc, &devmask)) { in set_recmask()
507 switch (devc->model) in set_outmask()
544 if (devc->model == MDL_SB16) { in sb_mixer_ioctl()
609 if (devc->model == MDL_ESS) in sb_mixer_ioctl()
611 else if (devc->model != MDL_JAZZ && devc->model != MDL_SMW) in sb_mixer_ioctl()
667 if (devc->model != MDL_ESS || !ess_mixer_reset (devc)) { in sb_mixer_reset()
685 switch (devc->model) in sb_mixer_init()
731 printk(KERN_WARNING "sb_mixer: Unsupported mixer type %d\n", devc->model); in sb_mixer_init()
Dopl3.c72 int model; member
137 if (devc->model == 2) in opl3_ioctl()
304 if (instr->key != FM_PATCH && (instr->key != OPL3_PATCH || devc->model != 2)) in store_instr()
729 if (devc->model != 2) in opl3_command()
737 if (devc->model != 2) in opl3_command()
771 if (devc->model == 2) in opl3_reset()
789 devc->v_alloc->max_voice = devc->nr_voice = (devc->model == 2) ? 18 : 9; in opl3_open()
801 if (devc->model == 2) in opl3_open()
809 devc->v_alloc->max_voice = devc->nr_voice = (devc->model == 2) ? 18 : 9; in opl3_close()
1141 devc->model = 1; in opl3_init()
[all …]
/sound/firewire/oxfw/
Doxfw.c50 char model[32]; in detect_loud_models() local
55 model, sizeof(model)); in detect_loud_models()
60 if (strcmp(models[i], model) == 0) in detect_loud_models()
72 char model[32]; in name_card() local
85 model, sizeof(model)); in name_card()
105 m = model; in name_card()
156 int vendor, model; in detect_quirks() local
193 vendor = model = 0; in detect_quirks()
199 model = val; in detect_quirks()
206 if (vendor == VENDOR_LOUD && model == MODEL_SATELLITE) in detect_quirks()
/sound/firewire/tascam/
Dtascam.c49 char model[9]; in identify_model() local
64 model[i] = c; in identify_model()
66 model[i] = '\0'; in identify_model()
69 if (strcmp(model, model_specs[i].name) == 0) { in identify_model()
78 strcpy(tscm->card->shortname, model); in identify_model()
79 strcpy(tscm->card->mixername, model); in identify_model()
81 "TASCAM %s, GUID %08x%08x at %s, S%d", model, in identify_model()
/sound/pci/ymfpci/
Dymfpci.c183 const char *str, *model; in snd_card_ymfpci_probe() local
200 case 0x0004: str = "YMF724"; model = "DS-1"; break; in snd_card_ymfpci_probe()
201 case 0x000d: str = "YMF724F"; model = "DS-1"; break; in snd_card_ymfpci_probe()
202 case 0x000a: str = "YMF740"; model = "DS-1L"; break; in snd_card_ymfpci_probe()
203 case 0x000c: str = "YMF740C"; model = "DS-1L"; break; in snd_card_ymfpci_probe()
204 case 0x0010: str = "YMF744"; model = "DS-1S"; break; in snd_card_ymfpci_probe()
205 case 0x0012: str = "YMF754"; model = "DS-1E"; break; in snd_card_ymfpci_probe()
206 default: model = str = "???"; break; in snd_card_ymfpci_probe()
281 sprintf(card->shortname, "Yamaha %s (%s)", model, str); in snd_card_ymfpci_probe()
/sound/firewire/digi00x/
Ddigi00x.c23 char *model; in name_card() local
31 model = skip_spaces(name); in name_card()
34 strcpy(dg00x->card->shortname, model); in name_card()
35 strcpy(dg00x->card->mixername, model); in name_card()
37 "Digidesign %s, GUID %08x%08x at %s, S%d", model, in name_card()
/sound/pci/ctxfi/
Dcthardware.c24 enum CTCARDS model, struct hw **rhw) in create_hw_obj() argument
44 (*rhw)->model = model; in create_hw_obj()
/sound/ppc/
Dpowermac.c69 switch (chip->model) { in snd_pmac_probe()
88 name_ext = chip->model == PMAC_TUMBLER ? "Tumbler" : "Snapper"; in snd_pmac_probe()
98 name_ext = chip->model == PMAC_SCREAMER ? "Screamer" : "AWACS"; in snd_pmac_probe()
113 snd_printk(KERN_ERR "unsupported hardware %d\n", chip->model); in snd_pmac_probe()
Dawacs.c68 if (chip->model == PMAC_SCREAMER) in snd_pmac_awacs_write()
96 if (chip->model != PMAC_SCREAMER) in screamer_recalibrate()
738 if (chip->model == PMAC_SCREAMER) { in awacs_restore_all_regs()
763 if (chip->model == PMAC_SCREAMER) { in snd_pmac_awacs_resume()
908 if (chip->model == PMAC_SCREAMER) { in snd_pmac_awacs_init()
938 switch (chip->model) { in snd_pmac_awacs_init()
979 else if (chip->model == PMAC_SCREAMER || pm5500) in snd_pmac_awacs_init()
1111 else if (chip->model == PMAC_SCREAMER) in snd_pmac_awacs_init()
1141 if (chip->model == PMAC_SCREAMER) { in snd_pmac_awacs_init()
/sound/firewire/bebob/
Dbebob.c74 char model[32] = {0}; in name_device() local
89 model, sizeof(model)); in name_device()
118 strcpy(bebob->card->shortname, model); in name_device()
119 strcpy(bebob->card->mixername, model); in name_device()
122 vendor, model, hw_id, revision, in name_device()
/sound/pci/ice1712/
Damp.c84 .model = "av710",
91 .model = "amp2000",
Ddelta.c862 .model = "delta1010",
869 .model = "dio2496",
877 .model = "delta66",
885 .model = "delta44",
893 .model = "audiophile",
900 .model = "delta410",
907 .model = "delta1010lt",
914 .model = "vx442",
922 .model = "mediastation",
929 .model = "da2496",
Dvt1720_mobo.c94 .model = "k8x800",
130 .model = "sn25p",
Dhoontech.c331 .model = "dsp24",
339 .model = "dsp24_value",
345 .model = "dsp24_71",
351 .model = "ez8",
/sound/drivers/
Ddummy.c64 static char *model[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = NULL}; variable
79 module_param_array(model, charp, NULL, 0444);
80 MODULE_PARM_DESC(model, "Soundcard model.");
134 struct dummy_model *model; member
564 struct dummy_model *model = dummy->model; in dummy_pcm_open() local
589 if (model == NULL) in dummy_pcm_open()
593 if (model->playback_constraints) in dummy_pcm_open()
594 err = model->playback_constraints(substream->runtime); in dummy_pcm_open()
596 if (model->capture_constraints) in dummy_pcm_open()
597 err = model->capture_constraints(substream->runtime); in dummy_pcm_open()
[all …]
/sound/soc/codecs/
Duda134x.c460 switch (pd->model) { in uda134x_soc_probe()
469 pd->model); in uda134x_soc_probe()
478 if (pd->model == UDA134X_UDA1341) { in uda134x_soc_probe()
493 switch (pd->model) { in uda134x_soc_probe()
509 __func__, pd->model); in uda134x_soc_probe()

123