Lines Matching full:model
49 if (chip->model.uart_input) in oxygen_read_uart()
50 chip->model.uart_input(chip); in oxygen_read_uart()
183 if (chip->model.gpio_changed) in oxygen_gpio_changed()
184 chip->model.gpio_changed(chip); in oxygen_gpio_changed()
229 if (chip->model.dump_registers) in oxygen_proc_read()
230 chip->model.dump_registers(chip, buffer); in oxygen_proc_read()
278 * This function gets called only when a known card model has in oxygen_restore_eeprom()
359 chip->dac_volume[i] = chip->model.dac_volume_min; in oxygen_init()
376 chip->model.function_flags, in oxygen_init()
388 chip->model.misc_flags, in oxygen_init()
404 chip->model.dac_i2s_format | in oxygen_init()
405 OXYGEN_I2S_MCLK(chip->model.dac_mclks) | in oxygen_init()
409 if (chip->model.device_config & CAPTURE_0_FROM_I2S_1) in oxygen_init()
412 chip->model.adc_i2s_format | in oxygen_init()
413 OXYGEN_I2S_MCLK(chip->model.adc_mclks) | in oxygen_init()
421 if (chip->model.device_config & (CAPTURE_0_FROM_I2S_2 | in oxygen_init()
425 chip->model.adc_i2s_format | in oxygen_init()
426 OXYGEN_I2S_MCLK(chip->model.adc_mclks) | in oxygen_init()
434 if (chip->model.device_config & CAPTURE_3_FROM_I2S_3) in oxygen_init()
437 chip->model.adc_i2s_format | in oxygen_init()
438 OXYGEN_I2S_MCLK(chip->model.adc_mclks) | in oxygen_init()
449 if (chip->model.device_config & CAPTURE_1_FROM_SPDIF) in oxygen_init()
577 chip->model.cleanup(chip); in oxygen_card_free()
641 if (chip->model.model_data_size) { in oxygen_pci_probe()
642 chip->model_data = kzalloc(chip->model.model_data_size, in oxygen_pci_probe()
655 chip->model.init(chip); in oxygen_pci_probe()
666 strcpy(card->driver, chip->model.chip); in oxygen_pci_probe()
667 strcpy(card->shortname, chip->model.shortname); in oxygen_pci_probe()
669 chip->model.longname, chip->addr, chip->irq); in oxygen_pci_probe()
670 strcpy(card->mixername, chip->model.chip); in oxygen_pci_probe()
671 snd_component_add(card, chip->model.chip); in oxygen_pci_probe()
681 if (chip->model.device_config & (MIDI_OUTPUT | MIDI_INPUT)) { in oxygen_pci_probe()
684 if (chip->model.device_config & MIDI_OUTPUT) in oxygen_pci_probe()
686 if (chip->model.device_config & MIDI_INPUT) in oxygen_pci_probe()
698 if (chip->model.device_config & CAPTURE_1_FROM_SPDIF) in oxygen_pci_probe()
737 if (chip->model.suspend) in oxygen_pci_suspend()
738 chip->model.suspend(chip); in oxygen_pci_suspend()
795 if (chip->model.resume) in oxygen_pci_resume()
796 chip->model.resume(chip); in oxygen_pci_resume()
814 chip->model.cleanup(chip); in oxygen_pci_shutdown()