Lines Matching refs: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()
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()
575 chip->model.cleanup(chip); in oxygen_card_free()
634 if (chip->model.model_data_size) { in oxygen_pci_probe()
636 chip->model.model_data_size, in oxygen_pci_probe()
647 chip->model.init(chip); in oxygen_pci_probe()
658 strcpy(card->driver, chip->model.chip); in oxygen_pci_probe()
659 strcpy(card->shortname, chip->model.shortname); in oxygen_pci_probe()
661 chip->model.longname, chip->addr, chip->irq); in oxygen_pci_probe()
662 strcpy(card->mixername, chip->model.chip); in oxygen_pci_probe()
663 snd_component_add(card, chip->model.chip); in oxygen_pci_probe()
673 if (chip->model.device_config & (MIDI_OUTPUT | MIDI_INPUT)) { in oxygen_pci_probe()
676 if (chip->model.device_config & MIDI_OUTPUT) in oxygen_pci_probe()
678 if (chip->model.device_config & MIDI_INPUT) in oxygen_pci_probe()
690 if (chip->model.device_config & CAPTURE_1_FROM_SPDIF) in oxygen_pci_probe()
715 if (chip->model.suspend) in oxygen_pci_suspend()
716 chip->model.suspend(chip); in oxygen_pci_suspend()
773 if (chip->model.resume) in oxygen_pci_resume()
774 chip->model.resume(chip); in oxygen_pci_resume()
792 chip->model.cleanup(chip); in oxygen_pci_shutdown()