hdspm 423 sound/pci/rme9652/hdspm.c struct hdspm *hdspm; hdspm 558 sound/pci/rme9652/hdspm.c writel(val, hdspm->iobase + reg); hdspm 563 sound/pci/rme9652/hdspm.c return readl(hdspm->iobase + reg); hdspm 576 sound/pci/rme9652/hdspm.c return hdspm->mixer->ch[chan].in[in]; hdspm 584 sound/pci/rme9652/hdspm.c return hdspm->mixer->ch[chan].pb[pb]; hdspm 593 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, hdspm 596 sound/pci/rme9652/hdspm.c (hdspm->mixer->ch[chan].in[in] = data & 0xFFFF)); hdspm 606 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, hdspm 609 sound/pci/rme9652/hdspm.c (hdspm->mixer->ch[chan].pb[pb] = data & 0xFFFF)); hdspm 617 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_inputEnableBase + (4 * i), v); hdspm 622 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_outputEnableBase + (4 * i), v); hdspm 631 sound/pci/rme9652/hdspm.c spin_lock_irqsave(&hdspm->lock, flags); hdspm 632 sound/pci/rme9652/hdspm.c if ((hdspm->playback_pid != hdspm->capture_pid) && hdspm 633 sound/pci/rme9652/hdspm.c (hdspm->playback_pid >= 0) && (hdspm->capture_pid >= 0)) { hdspm 636 sound/pci/rme9652/hdspm.c spin_unlock_irqrestore(&hdspm->lock, flags); hdspm 643 sound/pci/rme9652/hdspm.c if (hdspm->is_aes32) { hdspm 644 sound/pci/rme9652/hdspm.c unsigned int status2 = hdspm_read(hdspm, HDSPM_statusRegister2); hdspm 645 sound/pci/rme9652/hdspm.c unsigned int status = hdspm_read(hdspm, HDSPM_statusRegister); hdspm 647 sound/pci/rme9652/hdspm.c hdspm_read(hdspm, HDSPM_timecodeRegister); hdspm 649 sound/pci/rme9652/hdspm.c int syncref = hdspm_autosync_ref(hdspm); hdspm 663 sound/pci/rme9652/hdspm.c unsigned int status2 = hdspm_read(hdspm, HDSPM_statusRegister2); hdspm 664 sound/pci/rme9652/hdspm.c unsigned int status = hdspm_read(hdspm, HDSPM_statusRegister); hdspm 751 sound/pci/rme9652/hdspm.c hdspm->period_bytes = hdspm 752 sound/pci/rme9652/hdspm.c 1 << ((hdspm_decode_latency(hdspm->control_register) + 8)); hdspm 759 sound/pci/rme9652/hdspm.c position = hdspm_read(hdspm, HDSPM_statusRegister); hdspm 761 sound/pci/rme9652/hdspm.c if (!hdspm->precise_ptr) hdspm 763 sound/pci/rme9652/hdspm.c (hdspm->period_bytes / 4) : 0; hdspm 773 sound/pci/rme9652/hdspm.c position = ((position - 64) % (2 * hdspm->period_bytes)) / 4; hdspm 795 sound/pci/rme9652/hdspm.c int n = hdspm->period_bytes; hdspm 796 sound/pci/rme9652/hdspm.c void *buf = hdspm->playback_buffer; hdspm 850 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_freqReg, (u32)n); hdspm 865 sound/pci/rme9652/hdspm.c if (!(hdspm->control_register & HDSPM_ClockModeMaster)) { hdspm 882 sound/pci/rme9652/hdspm.c hdspm_external_sample_rate(hdspm); hdspm 884 sound/pci/rme9652/hdspm.c if (hdspm_autosync_ref(hdspm) == hdspm 901 sound/pci/rme9652/hdspm.c current_rate = hdspm->system_sample_rate; hdspm 960 sound/pci/rme9652/hdspm.c && (hdspm->capture_pid >= 0 || hdspm->playback_pid >= 0)) { hdspm 967 sound/pci/rme9652/hdspm.c hdspm->capture_pid, hdspm->playback_pid); hdspm 971 sound/pci/rme9652/hdspm.c hdspm->control_register &= ~HDSPM_FrequencyMask; hdspm 972 sound/pci/rme9652/hdspm.c hdspm->control_register |= rate_bits; hdspm 973 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_controlRegister, hdspm->control_register); hdspm 977 sound/pci/rme9652/hdspm.c hdspm_set_dds_value(hdspm, rate); hdspm 979 sound/pci/rme9652/hdspm.c if (hdspm->is_aes32 && rate != current_rate) hdspm 980 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_eeprom_wr, 0); hdspm 984 sound/pci/rme9652/hdspm.c hdspm->channel_map = channel_map_madi_ss; hdspm 986 sound/pci/rme9652/hdspm.c hdspm->system_sample_rate = rate; hdspm 1009 sound/pci/rme9652/hdspm.c hdspm_write_in_gain(hdspm, i, j, gain); hdspm 1010 sound/pci/rme9652/hdspm.c hdspm_write_pb_gain(hdspm, i, j, gain); hdspm 1023 sound/pci/rme9652/hdspm.c return hdspm_read(hdspm, HDSPM_midiDataIn1); hdspm 1025 sound/pci/rme9652/hdspm.c return hdspm_read(hdspm, HDSPM_midiDataIn0); hdspm 1033 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_midiDataOut1, val); hdspm 1035 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_midiDataOut0, val); hdspm 1041 sound/pci/rme9652/hdspm.c return (hdspm_read(hdspm, HDSPM_midiStatusIn1) & 0xff); hdspm 1043 sound/pci/rme9652/hdspm.c return (hdspm_read(hdspm, HDSPM_midiStatusIn0) & 0xff); hdspm 1051 sound/pci/rme9652/hdspm.c fifo_bytes_used = hdspm_read(hdspm, HDSPM_midiStatusOut1); hdspm 1053 sound/pci/rme9652/hdspm.c fifo_bytes_used = hdspm_read(hdspm, HDSPM_midiStatusOut0); hdspm 1064 sound/pci/rme9652/hdspm.c while (snd_hdspm_midi_input_available (hdspm, id)) hdspm 1065 sound/pci/rme9652/hdspm.c snd_hdspm_midi_read_byte (hdspm, id); hdspm 1081 sound/pci/rme9652/hdspm.c n_pending = snd_hdspm_midi_output_possible (hmidi->hdspm, hdspm 1091 sound/pci/rme9652/hdspm.c snd_hdspm_midi_write_byte (hmidi->hdspm, hdspm 1111 sound/pci/rme9652/hdspm.c n_pending = snd_hdspm_midi_input_available (hmidi->hdspm, hmidi->id); hdspm 1117 sound/pci/rme9652/hdspm.c buf[i] = snd_hdspm_midi_read_byte (hmidi->hdspm, hdspm 1125 sound/pci/rme9652/hdspm.c snd_hdspm_midi_read_byte (hmidi->hdspm, hdspm 1131 sound/pci/rme9652/hdspm.c hmidi->hdspm->control_register |= HDSPM_Midi1InterruptEnable; hdspm 1133 sound/pci/rme9652/hdspm.c hmidi->hdspm->control_register |= HDSPM_Midi0InterruptEnable; hdspm 1134 sound/pci/rme9652/hdspm.c hdspm_write(hmidi->hdspm, HDSPM_controlRegister, hdspm 1135 sound/pci/rme9652/hdspm.c hmidi->hdspm->control_register); hdspm 1143 sound/pci/rme9652/hdspm.c struct hdspm *hdspm; hdspm 1149 sound/pci/rme9652/hdspm.c hdspm = hmidi->hdspm; hdspm 1152 sound/pci/rme9652/hdspm.c spin_lock_irqsave (&hdspm->lock, flags); hdspm 1154 sound/pci/rme9652/hdspm.c if (!(hdspm->control_register & ie)) { hdspm 1155 sound/pci/rme9652/hdspm.c snd_hdspm_flush_midi_input (hdspm, hmidi->id); hdspm 1156 sound/pci/rme9652/hdspm.c hdspm->control_register |= ie; hdspm 1159 sound/pci/rme9652/hdspm.c hdspm->control_register &= ~ie; hdspm 1162 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_controlRegister, hdspm->control_register); hdspm 1163 sound/pci/rme9652/hdspm.c spin_unlock_irqrestore (&hdspm->lock, flags); hdspm 1220 sound/pci/rme9652/hdspm.c snd_hdspm_flush_midi_input (hmidi->hdspm, hmidi->id); hdspm 1287 sound/pci/rme9652/hdspm.c hdspm->midi[id].id = id; hdspm 1288 sound/pci/rme9652/hdspm.c hdspm->midi[id].hdspm = hdspm; hdspm 1289 sound/pci/rme9652/hdspm.c spin_lock_init (&hdspm->midi[id].lock); hdspm 1292 sound/pci/rme9652/hdspm.c err = snd_rawmidi_new (card, buf, id, 1, 1, &hdspm->midi[id].rmidi); hdspm 1296 sound/pci/rme9652/hdspm.c sprintf (hdspm->midi[id].rmidi->name, "%s MIDI %d", card->id, id+1); hdspm 1297 sound/pci/rme9652/hdspm.c hdspm->midi[id].rmidi->private_data = &hdspm->midi[id]; hdspm 1299 sound/pci/rme9652/hdspm.c snd_rawmidi_set_ops(hdspm->midi[id].rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, hdspm 1301 sound/pci/rme9652/hdspm.c snd_rawmidi_set_ops(hdspm->midi[id].rmidi, SNDRV_RAWMIDI_STREAM_INPUT, hdspm 1304 sound/pci/rme9652/hdspm.c hdspm->midi[id].rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT | hdspm 1314 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = (struct hdspm *)arg; hdspm 1316 sound/pci/rme9652/hdspm.c if (hdspm->midi[0].pending) hdspm 1317 sound/pci/rme9652/hdspm.c snd_hdspm_midi_input_read (&hdspm->midi[0]); hdspm 1318 sound/pci/rme9652/hdspm.c if (hdspm->midi[1].pending) hdspm 1319 sound/pci/rme9652/hdspm.c snd_hdspm_midi_input_read (&hdspm->midi[1]); hdspm 1350 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 1352 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm->system_sample_rate; hdspm 1388 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 1390 sound/pci/rme9652/hdspm.c switch (hdspm_external_sample_rate(hdspm)) { hdspm 1440 sound/pci/rme9652/hdspm.c if (hdspm->control_register & HDSPM_ClockModeMaster) hdspm 1464 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 1467 sound/pci/rme9652/hdspm.c hdspm_system_clock_mode(hdspm); hdspm 1482 sound/pci/rme9652/hdspm.c if (hdspm->control_register & HDSPM_ClockModeMaster) { hdspm 1483 sound/pci/rme9652/hdspm.c switch (hdspm->system_sample_rate) { hdspm 1516 sound/pci/rme9652/hdspm.c if (hdspm_external_sample_rate(hdspm) != 0) { hdspm 1517 sound/pci/rme9652/hdspm.c hdspm->control_register &= ~HDSPM_ClockModeMaster; hdspm 1518 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_controlRegister, hdspm 1519 sound/pci/rme9652/hdspm.c hdspm->control_register); hdspm 1554 sound/pci/rme9652/hdspm.c hdspm->control_register |= HDSPM_ClockModeMaster; hdspm 1555 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_controlRegister, hdspm->control_register); hdspm 1556 sound/pci/rme9652/hdspm.c hdspm_set_rate(hdspm, rate, 1); hdspm 1589 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 1591 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_clock_source(hdspm); hdspm 1598 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 1602 sound/pci/rme9652/hdspm.c if (!snd_hdspm_use_is_exclusive(hdspm)) hdspm 1609 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 1610 sound/pci/rme9652/hdspm.c if (val != hdspm_clock_source(hdspm)) hdspm 1611 sound/pci/rme9652/hdspm.c change = (hdspm_set_clock_source(hdspm, val) == 0) ? 1 : 0; hdspm 1614 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 1632 sound/pci/rme9652/hdspm.c if (hdspm->is_aes32) { hdspm 1633 sound/pci/rme9652/hdspm.c switch (hdspm->control_register & HDSPM_SyncRefMask) { hdspm 1647 sound/pci/rme9652/hdspm.c switch (hdspm->control_register & HDSPM_SyncRefMask) { hdspm 1660 sound/pci/rme9652/hdspm.c hdspm->control_register &= ~HDSPM_SyncRefMask; hdspm 1662 sound/pci/rme9652/hdspm.c if (hdspm->is_aes32) { hdspm 1665 sound/pci/rme9652/hdspm.c hdspm->control_register |= 0; hdspm 1668 sound/pci/rme9652/hdspm.c hdspm->control_register |= HDSPM_SyncRef0; hdspm 1671 sound/pci/rme9652/hdspm.c hdspm->control_register |= HDSPM_SyncRef1; hdspm 1674 sound/pci/rme9652/hdspm.c hdspm->control_register |= HDSPM_SyncRef1+HDSPM_SyncRef0; hdspm 1677 sound/pci/rme9652/hdspm.c hdspm->control_register |= HDSPM_SyncRef2; hdspm 1680 sound/pci/rme9652/hdspm.c hdspm->control_register |= HDSPM_SyncRef2+HDSPM_SyncRef0; hdspm 1683 sound/pci/rme9652/hdspm.c hdspm->control_register |= HDSPM_SyncRef2+HDSPM_SyncRef1; hdspm 1686 sound/pci/rme9652/hdspm.c hdspm->control_register |= hdspm 1690 sound/pci/rme9652/hdspm.c hdspm->control_register |= HDSPM_SyncRef3; hdspm 1698 sound/pci/rme9652/hdspm.c hdspm->control_register |= HDSPM_SyncRef_MADI; hdspm 1701 sound/pci/rme9652/hdspm.c hdspm->control_register |= HDSPM_SyncRef_Word; hdspm 1707 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_controlRegister, hdspm->control_register); hdspm 1714 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 1716 sound/pci/rme9652/hdspm.c if (hdspm->is_aes32) { hdspm 1752 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 1754 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_pref_sync_ref(hdspm); hdspm 1761 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 1765 sound/pci/rme9652/hdspm.c max = hdspm->is_aes32 ? 9 : 2; hdspm 1767 sound/pci/rme9652/hdspm.c if (!snd_hdspm_use_is_exclusive(hdspm)) hdspm 1772 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 1773 sound/pci/rme9652/hdspm.c change = (int) val != hdspm_pref_sync_ref(hdspm); hdspm 1774 sound/pci/rme9652/hdspm.c hdspm_set_pref_sync_ref(hdspm, val); hdspm 1775 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 1790 sound/pci/rme9652/hdspm.c if (hdspm->is_aes32) { hdspm 1791 sound/pci/rme9652/hdspm.c unsigned int status = hdspm_read(hdspm, HDSPM_statusRegister); hdspm 1801 sound/pci/rme9652/hdspm.c unsigned int status2 = hdspm_read(hdspm, HDSPM_statusRegister2); hdspm 1821 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 1823 sound/pci/rme9652/hdspm.c if (hdspm->is_aes32) { hdspm 1855 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 1857 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_autosync_ref(hdspm); hdspm 1872 sound/pci/rme9652/hdspm.c return (hdspm->control_register & HDSPM_LineOut) ? 1 : 0; hdspm 1879 sound/pci/rme9652/hdspm.c hdspm->control_register |= HDSPM_LineOut; hdspm 1881 sound/pci/rme9652/hdspm.c hdspm->control_register &= ~HDSPM_LineOut; hdspm 1882 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_controlRegister, hdspm->control_register); hdspm 1892 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 1894 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 1895 sound/pci/rme9652/hdspm.c ucontrol->value.integer.value[0] = hdspm_line_out(hdspm); hdspm 1896 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 1903 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 1907 sound/pci/rme9652/hdspm.c if (!snd_hdspm_use_is_exclusive(hdspm)) hdspm 1910 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 1911 sound/pci/rme9652/hdspm.c change = (int) val != hdspm_line_out(hdspm); hdspm 1912 sound/pci/rme9652/hdspm.c hdspm_set_line_output(hdspm, val); hdspm 1913 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 1928 sound/pci/rme9652/hdspm.c return (hdspm->control_register & HDSPM_TX_64ch) ? 1 : 0; hdspm 1934 sound/pci/rme9652/hdspm.c hdspm->control_register |= HDSPM_TX_64ch; hdspm 1936 sound/pci/rme9652/hdspm.c hdspm->control_register &= ~HDSPM_TX_64ch; hdspm 1937 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_controlRegister, hdspm->control_register); hdspm 1947 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 1949 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 1950 sound/pci/rme9652/hdspm.c ucontrol->value.integer.value[0] = hdspm_tx_64(hdspm); hdspm 1951 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 1958 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 1962 sound/pci/rme9652/hdspm.c if (!snd_hdspm_use_is_exclusive(hdspm)) hdspm 1965 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 1966 sound/pci/rme9652/hdspm.c change = (int) val != hdspm_tx_64(hdspm); hdspm 1967 sound/pci/rme9652/hdspm.c hdspm_set_tx_64(hdspm, val); hdspm 1968 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 1983 sound/pci/rme9652/hdspm.c return (hdspm->control_register & HDSPM_clr_tms) ? 1 : 0; hdspm 1989 sound/pci/rme9652/hdspm.c hdspm->control_register |= HDSPM_clr_tms; hdspm 1991 sound/pci/rme9652/hdspm.c hdspm->control_register &= ~HDSPM_clr_tms; hdspm 1992 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_controlRegister, hdspm->control_register); hdspm 2002 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2004 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 2005 sound/pci/rme9652/hdspm.c ucontrol->value.integer.value[0] = hdspm_c_tms(hdspm); hdspm 2006 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 2013 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2017 sound/pci/rme9652/hdspm.c if (!snd_hdspm_use_is_exclusive(hdspm)) hdspm 2020 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 2021 sound/pci/rme9652/hdspm.c change = (int) val != hdspm_c_tms(hdspm); hdspm 2022 sound/pci/rme9652/hdspm.c hdspm_set_c_tms(hdspm, val); hdspm 2023 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 2038 sound/pci/rme9652/hdspm.c return (hdspm->control_register & HDSPM_AutoInp) ? 1 : 0; hdspm 2044 sound/pci/rme9652/hdspm.c hdspm->control_register |= HDSPM_AutoInp; hdspm 2046 sound/pci/rme9652/hdspm.c hdspm->control_register &= ~HDSPM_AutoInp; hdspm 2047 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_controlRegister, hdspm->control_register); hdspm 2057 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2059 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 2060 sound/pci/rme9652/hdspm.c ucontrol->value.integer.value[0] = hdspm_safe_mode(hdspm); hdspm 2061 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 2068 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2072 sound/pci/rme9652/hdspm.c if (!snd_hdspm_use_is_exclusive(hdspm)) hdspm 2075 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 2076 sound/pci/rme9652/hdspm.c change = (int) val != hdspm_safe_mode(hdspm); hdspm 2077 sound/pci/rme9652/hdspm.c hdspm_set_safe_mode(hdspm, val); hdspm 2078 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 2093 sound/pci/rme9652/hdspm.c return (hdspm->control_register & HDSPM_Emphasis) ? 1 : 0; hdspm 2099 sound/pci/rme9652/hdspm.c hdspm->control_register |= HDSPM_Emphasis; hdspm 2101 sound/pci/rme9652/hdspm.c hdspm->control_register &= ~HDSPM_Emphasis; hdspm 2102 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_controlRegister, hdspm->control_register); hdspm 2112 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2114 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 2115 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_emphasis(hdspm); hdspm 2116 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 2123 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2127 sound/pci/rme9652/hdspm.c if (!snd_hdspm_use_is_exclusive(hdspm)) hdspm 2130 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 2131 sound/pci/rme9652/hdspm.c change = (int) val != hdspm_emphasis(hdspm); hdspm 2132 sound/pci/rme9652/hdspm.c hdspm_set_emphasis(hdspm, val); hdspm 2133 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 2148 sound/pci/rme9652/hdspm.c return (hdspm->control_register & HDSPM_Dolby) ? 1 : 0; hdspm 2154 sound/pci/rme9652/hdspm.c hdspm->control_register |= HDSPM_Dolby; hdspm 2156 sound/pci/rme9652/hdspm.c hdspm->control_register &= ~HDSPM_Dolby; hdspm 2157 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_controlRegister, hdspm->control_register); hdspm 2167 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2169 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 2170 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_dolby(hdspm); hdspm 2171 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 2178 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2182 sound/pci/rme9652/hdspm.c if (!snd_hdspm_use_is_exclusive(hdspm)) hdspm 2185 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 2186 sound/pci/rme9652/hdspm.c change = (int) val != hdspm_dolby(hdspm); hdspm 2187 sound/pci/rme9652/hdspm.c hdspm_set_dolby(hdspm, val); hdspm 2188 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 2203 sound/pci/rme9652/hdspm.c return (hdspm->control_register & HDSPM_Professional) ? 1 : 0; hdspm 2209 sound/pci/rme9652/hdspm.c hdspm->control_register |= HDSPM_Professional; hdspm 2211 sound/pci/rme9652/hdspm.c hdspm->control_register &= ~HDSPM_Professional; hdspm 2212 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_controlRegister, hdspm->control_register); hdspm 2222 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2224 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 2225 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_professional(hdspm); hdspm 2226 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 2233 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2237 sound/pci/rme9652/hdspm.c if (!snd_hdspm_use_is_exclusive(hdspm)) hdspm 2240 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 2241 sound/pci/rme9652/hdspm.c change = (int) val != hdspm_professional(hdspm); hdspm 2242 sound/pci/rme9652/hdspm.c hdspm_set_professional(hdspm, val); hdspm 2243 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 2258 sound/pci/rme9652/hdspm.c return (hdspm->control_register & HDSPM_InputSelect0) ? 1 : 0; hdspm 2264 sound/pci/rme9652/hdspm.c hdspm->control_register |= HDSPM_InputSelect0; hdspm 2266 sound/pci/rme9652/hdspm.c hdspm->control_register &= ~HDSPM_InputSelect0; hdspm 2267 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_controlRegister, hdspm->control_register); hdspm 2293 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2295 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 2296 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_input_select(hdspm); hdspm 2297 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 2304 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2308 sound/pci/rme9652/hdspm.c if (!snd_hdspm_use_is_exclusive(hdspm)) hdspm 2311 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 2312 sound/pci/rme9652/hdspm.c change = (int) val != hdspm_input_select(hdspm); hdspm 2313 sound/pci/rme9652/hdspm.c hdspm_set_input_select(hdspm, val); hdspm 2314 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 2329 sound/pci/rme9652/hdspm.c return (hdspm->control_register & HDSPM_DS_DoubleWire) ? 1 : 0; hdspm 2335 sound/pci/rme9652/hdspm.c hdspm->control_register |= HDSPM_DS_DoubleWire; hdspm 2337 sound/pci/rme9652/hdspm.c hdspm->control_register &= ~HDSPM_DS_DoubleWire; hdspm 2338 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_controlRegister, hdspm->control_register); hdspm 2364 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2366 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 2367 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_ds_wire(hdspm); hdspm 2368 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 2375 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2379 sound/pci/rme9652/hdspm.c if (!snd_hdspm_use_is_exclusive(hdspm)) hdspm 2382 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 2383 sound/pci/rme9652/hdspm.c change = (int) val != hdspm_ds_wire(hdspm); hdspm 2384 sound/pci/rme9652/hdspm.c hdspm_set_ds_wire(hdspm, val); hdspm 2385 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 2400 sound/pci/rme9652/hdspm.c if (hdspm->control_register & HDSPM_QS_DoubleWire) hdspm 2402 sound/pci/rme9652/hdspm.c if (hdspm->control_register & HDSPM_QS_QuadWire) hdspm 2409 sound/pci/rme9652/hdspm.c hdspm->control_register &= ~(HDSPM_QS_DoubleWire | HDSPM_QS_QuadWire); hdspm 2414 sound/pci/rme9652/hdspm.c hdspm->control_register |= HDSPM_QS_DoubleWire; hdspm 2417 sound/pci/rme9652/hdspm.c hdspm->control_register |= HDSPM_QS_QuadWire; hdspm 2420 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_controlRegister, hdspm->control_register); hdspm 2446 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2448 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 2449 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_qs_wire(hdspm); hdspm 2450 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 2457 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2461 sound/pci/rme9652/hdspm.c if (!snd_hdspm_use_is_exclusive(hdspm)) hdspm 2468 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 2469 sound/pci/rme9652/hdspm.c change = val != hdspm_qs_wire(hdspm); hdspm 2470 sound/pci/rme9652/hdspm.c hdspm_set_qs_wire(hdspm, val); hdspm 2471 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 2511 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2527 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 2530 sound/pci/rme9652/hdspm.c hdspm_read_pb_gain(hdspm, destination, hdspm 2534 sound/pci/rme9652/hdspm.c hdspm_read_in_gain(hdspm, destination, source); hdspm 2536 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 2544 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2550 sound/pci/rme9652/hdspm.c if (!snd_hdspm_use_is_exclusive(hdspm)) hdspm 2563 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 2566 sound/pci/rme9652/hdspm.c change = gain != hdspm_read_pb_gain(hdspm, destination, hdspm 2570 sound/pci/rme9652/hdspm.c change = gain != hdspm_read_in_gain(hdspm, destination, hdspm 2575 sound/pci/rme9652/hdspm.c hdspm_write_pb_gain(hdspm, destination, hdspm 2579 sound/pci/rme9652/hdspm.c hdspm_write_in_gain(hdspm, destination, source, hdspm 2582 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 2615 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2624 sound/pci/rme9652/hdspm.c mapped_channel = hdspm->channel_map[channel]; hdspm 2628 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 2630 sound/pci/rme9652/hdspm.c hdspm_read_pb_gain(hdspm, mapped_channel, mapped_channel); hdspm 2631 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 2645 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2651 sound/pci/rme9652/hdspm.c if (!snd_hdspm_use_is_exclusive(hdspm)) hdspm 2659 sound/pci/rme9652/hdspm.c mapped_channel = hdspm->channel_map[channel]; hdspm 2665 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 2667 sound/pci/rme9652/hdspm.c gain != hdspm_read_pb_gain(hdspm, mapped_channel, hdspm 2670 sound/pci/rme9652/hdspm.c hdspm_write_pb_gain(hdspm, mapped_channel, mapped_channel, hdspm 2672 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 2702 sound/pci/rme9652/hdspm.c if (hdspm->is_aes32) { hdspm 2703 sound/pci/rme9652/hdspm.c int status = hdspm_read(hdspm, HDSPM_statusRegister); hdspm 2711 sound/pci/rme9652/hdspm.c int status2 = hdspm_read(hdspm, HDSPM_statusRegister2); hdspm 2725 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2727 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_wc_sync_check(hdspm); hdspm 2743 sound/pci/rme9652/hdspm.c int status = hdspm_read(hdspm, HDSPM_statusRegister); hdspm 2757 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2760 sound/pci/rme9652/hdspm.c hdspm_madisync_sync_check(hdspm); hdspm 2776 sound/pci/rme9652/hdspm.c int status2 = hdspm_read(hdspm, HDSPM_statusRegister2); hdspm 2789 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); hdspm 2796 sound/pci/rme9652/hdspm.c hdspm_aes_sync_check(hdspm, offset); hdspm 2852 sound/pci/rme9652/hdspm.c for (i = hdspm->ds_channels; i < hdspm->ss_channels; ++i) { hdspm 2853 sound/pci/rme9652/hdspm.c if (hdspm->system_sample_rate > 48000) { hdspm 2854 sound/pci/rme9652/hdspm.c hdspm->playback_mixer_ctls[i]->vd[0].access = hdspm 2859 sound/pci/rme9652/hdspm.c hdspm->playback_mixer_ctls[i]->vd[0].access = hdspm 2863 sound/pci/rme9652/hdspm.c snd_ctl_notify(hdspm->card, SNDRV_CTL_EVENT_MASK_VALUE | hdspm 2865 sound/pci/rme9652/hdspm.c &hdspm->playback_mixer_ctls[i]->id); hdspm 2879 sound/pci/rme9652/hdspm.c if (hdspm->is_aes32) { hdspm 2887 sound/pci/rme9652/hdspm.c hdspm)); hdspm 2894 sound/pci/rme9652/hdspm.c snd_ctl_new1(&aes_sync_ctl, hdspm)); hdspm 2903 sound/pci/rme9652/hdspm.c hdspm)); hdspm 2926 sound/pci/rme9652/hdspm.c kctl = snd_ctl_new1(&snd_hdspm_playback_mixer, hdspm); hdspm 2930 sound/pci/rme9652/hdspm.c hdspm->playback_mixer_ctls[idx] = kctl; hdspm 2944 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = entry->private_data; hdspm 2955 sound/pci/rme9652/hdspm.c status = hdspm_read(hdspm, HDSPM_statusRegister); hdspm 2956 sound/pci/rme9652/hdspm.c status2 = hdspm_read(hdspm, HDSPM_statusRegister2); hdspm 2959 sound/pci/rme9652/hdspm.c hdspm->card_name, hdspm->card->number + 1, hdspm 2960 sound/pci/rme9652/hdspm.c hdspm->firmware_rev, hdspm 2966 sound/pci/rme9652/hdspm.c hdspm->irq, hdspm->port, (unsigned long)hdspm->iobase); hdspm 2975 sound/pci/rme9652/hdspm.c hdspm->irq_count); hdspm 2982 sound/pci/rme9652/hdspm.c (2 * (int)hdspm->period_bytes), hdspm 2984 sound/pci/rme9652/hdspm.c (2 * (int)hdspm->period_bytes), hdspm 2985 sound/pci/rme9652/hdspm.c (long) hdspm_hw_pointer(hdspm) * 4); hdspm 2989 sound/pci/rme9652/hdspm.c hdspm_read(hdspm, HDSPM_midiStatusOut0) & 0xFF, hdspm 2990 sound/pci/rme9652/hdspm.c hdspm_read(hdspm, HDSPM_midiStatusOut1) & 0xFF, hdspm 2991 sound/pci/rme9652/hdspm.c hdspm_read(hdspm, HDSPM_midiStatusIn0) & 0xFF, hdspm 2992 sound/pci/rme9652/hdspm.c hdspm_read(hdspm, HDSPM_midiStatusIn1) & 0xFF); hdspm 2996 sound/pci/rme9652/hdspm.c hdspm->control_register, hdspm->control2_register, hdspm 3001 sound/pci/rme9652/hdspm.c x = 1 << (6 + hdspm_decode_latency(hdspm->control_register & hdspm 3006 sound/pci/rme9652/hdspm.c x, (unsigned long) hdspm->period_bytes); hdspm 3009 sound/pci/rme9652/hdspm.c (hdspm->control_register & HDSPM_LineOut) ? "on " : "off", hdspm 3010 sound/pci/rme9652/hdspm.c (hdspm->precise_ptr) ? "on" : "off"); hdspm 3012 sound/pci/rme9652/hdspm.c switch (hdspm->control_register & HDSPM_InputMask) { hdspm 3023 sound/pci/rme9652/hdspm.c switch (hdspm->control_register & HDSPM_SyncRefMask) { hdspm 3039 sound/pci/rme9652/hdspm.c (hdspm-> hdspm 3041 sound/pci/rme9652/hdspm.c (hdspm-> hdspm 3043 sound/pci/rme9652/hdspm.c (hdspm-> hdspm 3046 sound/pci/rme9652/hdspm.c switch (hdspm_clock_source(hdspm)) { hdspm 3072 sound/pci/rme9652/hdspm.c if (!(hdspm->control_register & HDSPM_ClockModeMaster)) hdspm 3078 sound/pci/rme9652/hdspm.c switch (hdspm_pref_sync_ref(hdspm)) { hdspm 3093 sound/pci/rme9652/hdspm.c hdspm->system_sample_rate); hdspm 3107 sound/pci/rme9652/hdspm.c switch (hdspm_autosync_ref(hdspm)) { hdspm 3123 sound/pci/rme9652/hdspm.c autosync_ref, hdspm_external_sample_rate(hdspm), hdspm 3139 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = entry->private_data; hdspm 3149 sound/pci/rme9652/hdspm.c status = hdspm_read(hdspm, HDSPM_statusRegister); hdspm 3150 sound/pci/rme9652/hdspm.c status2 = hdspm_read(hdspm, HDSPM_statusRegister2); hdspm 3151 sound/pci/rme9652/hdspm.c timecode = hdspm_read(hdspm, HDSPM_timecodeRegister); hdspm 3154 sound/pci/rme9652/hdspm.c hdspm->card_name, hdspm->card->number + 1, hdspm 3155 sound/pci/rme9652/hdspm.c hdspm->firmware_rev); hdspm 3158 sound/pci/rme9652/hdspm.c hdspm->irq, hdspm->port, (unsigned long)hdspm->iobase); hdspm 3167 sound/pci/rme9652/hdspm.c hdspm->irq_count); hdspm 3174 sound/pci/rme9652/hdspm.c (2 * (int)hdspm->period_bytes), hdspm 3176 sound/pci/rme9652/hdspm.c (2 * (int)hdspm->period_bytes), hdspm 3177 sound/pci/rme9652/hdspm.c (long) hdspm_hw_pointer(hdspm) * 4); hdspm 3181 sound/pci/rme9652/hdspm.c hdspm_read(hdspm, HDSPM_midiStatusOut0) & 0xFF, hdspm 3182 sound/pci/rme9652/hdspm.c hdspm_read(hdspm, HDSPM_midiStatusOut1) & 0xFF, hdspm 3183 sound/pci/rme9652/hdspm.c hdspm_read(hdspm, HDSPM_midiStatusIn0) & 0xFF, hdspm 3184 sound/pci/rme9652/hdspm.c hdspm_read(hdspm, HDSPM_midiStatusIn1) & 0xFF); hdspm 3188 sound/pci/rme9652/hdspm.c hdspm->control_register, hdspm 3193 sound/pci/rme9652/hdspm.c x = 1 << (6 + hdspm_decode_latency(hdspm->control_register & hdspm 3198 sound/pci/rme9652/hdspm.c x, (unsigned long) hdspm->period_bytes); hdspm 3201 sound/pci/rme9652/hdspm.c (hdspm-> hdspm 3203 sound/pci/rme9652/hdspm.c (hdspm->precise_ptr) ? "on" : "off"); hdspm 3207 sound/pci/rme9652/hdspm.c (hdspm-> hdspm 3209 sound/pci/rme9652/hdspm.c (hdspm-> hdspm 3211 sound/pci/rme9652/hdspm.c (hdspm-> hdspm 3214 sound/pci/rme9652/hdspm.c switch (hdspm_clock_source(hdspm)) { hdspm 3249 sound/pci/rme9652/hdspm.c if (!(hdspm->control_register & HDSPM_ClockModeMaster)) hdspm 3255 sound/pci/rme9652/hdspm.c pref_syncref = hdspm_pref_sync_ref(hdspm); hdspm 3263 sound/pci/rme9652/hdspm.c hdspm->system_sample_rate); hdspm 3266 sound/pci/rme9652/hdspm.c hdspm->control_register & HDSPM_DS_DoubleWire? hdspm 3269 sound/pci/rme9652/hdspm.c hdspm->control_register & HDSPM_QS_DoubleWire? hdspm 3271 sound/pci/rme9652/hdspm.c hdspm->control_register & HDSPM_QS_QuadWire? hdspm 3288 sound/pci/rme9652/hdspm.c switch (hdspm_autosync_ref(hdspm)) { hdspm 3311 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = entry->private_data; hdspm 3318 sound/pci/rme9652/hdspm.c snd_iprintf(buffer, "%08X ", hdspm_read(hdspm, i + j)); hdspm 3330 sound/pci/rme9652/hdspm.c if (!snd_card_proc_new(hdspm->card, "hdspm", &entry)) hdspm 3331 sound/pci/rme9652/hdspm.c snd_info_set_text_ops(entry, hdspm, hdspm 3332 sound/pci/rme9652/hdspm.c hdspm->is_aes32 ? hdspm 3337 sound/pci/rme9652/hdspm.c if (!snd_card_proc_new(hdspm->card, "debug", &entry)) hdspm 3338 sound/pci/rme9652/hdspm.c snd_info_set_text_ops(entry, hdspm, hdspm 3357 sound/pci/rme9652/hdspm.c if (hdspm->is_aes32) hdspm 3358 sound/pci/rme9652/hdspm.c hdspm->control_register = hdspm 3367 sound/pci/rme9652/hdspm.c hdspm->control_register = hdspm 3382 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_controlRegister, hdspm->control_register); hdspm 3384 sound/pci/rme9652/hdspm.c if (!hdspm->is_aes32) { hdspm 3387 sound/pci/rme9652/hdspm.c hdspm->control2_register = HDSPM_BIGENDIAN_MODE; hdspm 3389 sound/pci/rme9652/hdspm.c hdspm->control2_register = 0; hdspm 3392 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_control2Reg, hdspm->control2_register); hdspm 3394 sound/pci/rme9652/hdspm.c hdspm_compute_period_size(hdspm); hdspm 3398 sound/pci/rme9652/hdspm.c all_in_all_mixer(hdspm, 0 * UNITY_GAIN); hdspm 3400 sound/pci/rme9652/hdspm.c if (line_outs_monitor[hdspm->dev]) { hdspm 3406 sound/pci/rme9652/hdspm.c if (hdspm_write_pb_gain(hdspm, i, i, UNITY_GAIN)) hdspm 3412 sound/pci/rme9652/hdspm.c hdspm->channel_map = channel_map_madi_ss; hdspm 3413 sound/pci/rme9652/hdspm.c hdspm_set_rate(hdspm, 44100, 1); hdspm 3425 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = (struct hdspm *) dev_id; hdspm 3434 sound/pci/rme9652/hdspm.c status = hdspm_read(hdspm, HDSPM_statusRegister); hdspm 3443 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_interruptConfirmation, 0); hdspm 3444 sound/pci/rme9652/hdspm.c hdspm->irq_count++; hdspm 3446 sound/pci/rme9652/hdspm.c midi0status = hdspm_read(hdspm, HDSPM_midiStatusIn0) & 0xff; hdspm 3447 sound/pci/rme9652/hdspm.c midi1status = hdspm_read(hdspm, HDSPM_midiStatusIn1) & 0xff; hdspm 3451 sound/pci/rme9652/hdspm.c if (hdspm->capture_substream) hdspm 3452 sound/pci/rme9652/hdspm.c snd_pcm_period_elapsed(hdspm->capture_substream); hdspm 3454 sound/pci/rme9652/hdspm.c if (hdspm->playback_substream) hdspm 3455 sound/pci/rme9652/hdspm.c snd_pcm_period_elapsed(hdspm->playback_substream); hdspm 3462 sound/pci/rme9652/hdspm.c hdspm->control_register &= ~HDSPM_Midi0InterruptEnable; hdspm 3463 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_controlRegister, hdspm 3464 sound/pci/rme9652/hdspm.c hdspm->control_register); hdspm 3465 sound/pci/rme9652/hdspm.c hdspm->midi[0].pending = 1; hdspm 3472 sound/pci/rme9652/hdspm.c hdspm->control_register &= ~HDSPM_Midi1InterruptEnable; hdspm 3473 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_controlRegister, hdspm 3474 sound/pci/rme9652/hdspm.c hdspm->control_register); hdspm 3475 sound/pci/rme9652/hdspm.c hdspm->midi[1].pending = 1; hdspm 3479 sound/pci/rme9652/hdspm.c tasklet_hi_schedule(&hdspm->midi_tasklet); hdspm 3491 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_pcm_substream_chip(substream); hdspm 3492 sound/pci/rme9652/hdspm.c return hdspm_hw_pointer(hdspm); hdspm 3503 sound/pci/rme9652/hdspm.c mapped_channel = hdspm->channel_map[channel]; hdspm 3508 sound/pci/rme9652/hdspm.c return hdspm->capture_buffer + hdspm 3511 sound/pci/rme9652/hdspm.c return hdspm->playback_buffer + hdspm 3521 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_pcm_substream_chip(substream); hdspm 3528 sound/pci/rme9652/hdspm.c hdspm_channel_buffer_location(hdspm, substream->pstr->stream, hdspm 3541 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_pcm_substream_chip(substream); hdspm 3548 sound/pci/rme9652/hdspm.c hdspm_channel_buffer_location(hdspm, substream->pstr->stream, hdspm 3559 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_pcm_substream_chip(substream); hdspm 3563 sound/pci/rme9652/hdspm.c hdspm_channel_buffer_location(hdspm, substream->pstr->stream, hdspm 3574 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_pcm_substream_chip(substream); hdspm 3578 sound/pci/rme9652/hdspm.c other = hdspm->capture_substream; hdspm 3580 sound/pci/rme9652/hdspm.c other = hdspm->playback_substream; hdspm 3582 sound/pci/rme9652/hdspm.c if (hdspm->running) hdspm 3583 sound/pci/rme9652/hdspm.c runtime->status->hw_ptr = hdspm_hw_pointer(hdspm); hdspm 3603 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_pcm_substream_chip(substream); hdspm 3609 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 3612 sound/pci/rme9652/hdspm.c this_pid = hdspm->playback_pid; hdspm 3613 sound/pci/rme9652/hdspm.c other_pid = hdspm->capture_pid; hdspm 3615 sound/pci/rme9652/hdspm.c this_pid = hdspm->capture_pid; hdspm 3616 sound/pci/rme9652/hdspm.c other_pid = hdspm->playback_pid; hdspm 3626 sound/pci/rme9652/hdspm.c if (params_rate(params) != hdspm->system_sample_rate) { hdspm 3627 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 3633 sound/pci/rme9652/hdspm.c if (params_period_size(params) != hdspm->period_bytes / 4) { hdspm 3634 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 3642 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 3646 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 3647 sound/pci/rme9652/hdspm.c err = hdspm_set_rate(hdspm, params_rate(params), 0); hdspm 3649 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 3654 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 3656 sound/pci/rme9652/hdspm.c err = hdspm_set_interrupt_interval(hdspm, hdspm 3677 sound/pci/rme9652/hdspm.c hdspm_set_sgbuf(hdspm, substream, HDSPM_pageAddressBufferOut, hdspm 3681 sound/pci/rme9652/hdspm.c snd_hdspm_enable_out(hdspm, i, 1); hdspm 3683 sound/pci/rme9652/hdspm.c hdspm->playback_buffer = hdspm 3686 sound/pci/rme9652/hdspm.c hdspm->playback_buffer); hdspm 3688 sound/pci/rme9652/hdspm.c hdspm_set_sgbuf(hdspm, substream, HDSPM_pageAddressBufferIn, hdspm 3692 sound/pci/rme9652/hdspm.c snd_hdspm_enable_in(hdspm, i, 1); hdspm 3694 sound/pci/rme9652/hdspm.c hdspm->capture_buffer = hdspm 3697 sound/pci/rme9652/hdspm.c hdspm->capture_buffer); hdspm 3718 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_pcm_substream_chip(substream); hdspm 3725 sound/pci/rme9652/hdspm.c snd_hdspm_enable_out(hdspm, i, 0); hdspm 3727 sound/pci/rme9652/hdspm.c hdspm->playback_buffer = NULL; hdspm 3730 sound/pci/rme9652/hdspm.c snd_hdspm_enable_in(hdspm, i, 0); hdspm 3732 sound/pci/rme9652/hdspm.c hdspm->capture_buffer = NULL; hdspm 3744 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_pcm_substream_chip(substream); hdspm 3750 sound/pci/rme9652/hdspm.c mapped_channel = hdspm->channel_map[info->channel]; hdspm 3781 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_pcm_substream_chip(substream); hdspm 3785 sound/pci/rme9652/hdspm.c spin_lock(&hdspm->lock); hdspm 3786 sound/pci/rme9652/hdspm.c running = hdspm->running; hdspm 3796 sound/pci/rme9652/hdspm.c spin_unlock(&hdspm->lock); hdspm 3800 sound/pci/rme9652/hdspm.c other = hdspm->capture_substream; hdspm 3802 sound/pci/rme9652/hdspm.c other = hdspm->playback_substream; hdspm 3820 sound/pci/rme9652/hdspm.c hdspm_silence_playback(hdspm); hdspm 3824 sound/pci/rme9652/hdspm.c hdspm_silence_playback(hdspm); hdspm 3828 sound/pci/rme9652/hdspm.c hdspm_silence_playback(hdspm); hdspm 3832 sound/pci/rme9652/hdspm.c if (!hdspm->running && running) hdspm 3833 sound/pci/rme9652/hdspm.c hdspm_start_audio(hdspm); hdspm 3834 sound/pci/rme9652/hdspm.c else if (hdspm->running && !running) hdspm 3835 sound/pci/rme9652/hdspm.c hdspm_stop_audio(hdspm); hdspm 3836 sound/pci/rme9652/hdspm.c hdspm->running = running; hdspm 3837 sound/pci/rme9652/hdspm.c spin_unlock(&hdspm->lock); hdspm 3910 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = rule->private; hdspm 3918 sound/pci/rme9652/hdspm.c .min = hdspm->ds_channels, hdspm 3919 sound/pci/rme9652/hdspm.c .max = hdspm->ds_channels, hdspm 3925 sound/pci/rme9652/hdspm.c .min = hdspm->ss_channels, hdspm 3926 sound/pci/rme9652/hdspm.c .max = hdspm->ss_channels, hdspm 3937 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = rule->private; hdspm 3943 sound/pci/rme9652/hdspm.c if (c->min >= hdspm->ss_channels) { hdspm 3950 sound/pci/rme9652/hdspm.c } else if (c->max <= hdspm->ds_channels) { hdspm 3966 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = rule->private; hdspm 3969 sound/pci/rme9652/hdspm.c if (hdspm->is_aes32) { hdspm 3970 sound/pci/rme9652/hdspm.c list[0] = hdspm->qs_channels; hdspm 3971 sound/pci/rme9652/hdspm.c list[1] = hdspm->ds_channels; hdspm 3972 sound/pci/rme9652/hdspm.c list[2] = hdspm->ss_channels; hdspm 3975 sound/pci/rme9652/hdspm.c list[0] = hdspm->ds_channels; hdspm 3976 sound/pci/rme9652/hdspm.c list[1] = hdspm->ss_channels; hdspm 3995 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_pcm_substream_chip(substream); hdspm 3998 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 4004 sound/pci/rme9652/hdspm.c if (hdspm->capture_substream == NULL) hdspm 4005 sound/pci/rme9652/hdspm.c hdspm_stop_audio(hdspm); hdspm 4007 sound/pci/rme9652/hdspm.c hdspm->playback_pid = current->pid; hdspm 4008 sound/pci/rme9652/hdspm.c hdspm->playback_substream = substream; hdspm 4010 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 4018 sound/pci/rme9652/hdspm.c if (hdspm->is_aes32) { hdspm 4023 sound/pci/rme9652/hdspm.c snd_hdspm_hw_rule_channels, hdspm, hdspm 4026 sound/pci/rme9652/hdspm.c snd_hdspm_hw_rule_channels_rate, hdspm, hdspm 4030 sound/pci/rme9652/hdspm.c snd_hdspm_hw_rule_rate_channels, hdspm, hdspm 4038 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_pcm_substream_chip(substream); hdspm 4040 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 4042 sound/pci/rme9652/hdspm.c hdspm->playback_pid = -1; hdspm 4043 sound/pci/rme9652/hdspm.c hdspm->playback_substream = NULL; hdspm 4045 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 4053 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_pcm_substream_chip(substream); hdspm 4056 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 4060 sound/pci/rme9652/hdspm.c if (hdspm->playback_substream == NULL) hdspm 4061 sound/pci/rme9652/hdspm.c hdspm_stop_audio(hdspm); hdspm 4063 sound/pci/rme9652/hdspm.c hdspm->capture_pid = current->pid; hdspm 4064 sound/pci/rme9652/hdspm.c hdspm->capture_substream = substream; hdspm 4066 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 4072 sound/pci/rme9652/hdspm.c if (hdspm->is_aes32) { hdspm 4077 sound/pci/rme9652/hdspm.c snd_hdspm_hw_rule_channels, hdspm, hdspm 4080 sound/pci/rme9652/hdspm.c snd_hdspm_hw_rule_channels_rate, hdspm, hdspm 4084 sound/pci/rme9652/hdspm.c snd_hdspm_hw_rule_rate_channels, hdspm, hdspm 4092 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = snd_pcm_substream_chip(substream); hdspm 4094 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 4096 sound/pci/rme9652/hdspm.c hdspm->capture_pid = -1; hdspm 4097 sound/pci/rme9652/hdspm.c hdspm->capture_substream = NULL; hdspm 4099 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 4113 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = hw->private_data; hdspm 4128 sound/pci/rme9652/hdspm.c hdspm->iobase+HDSPM_MADI_peakrmsbase, hdspm 4137 sound/pci/rme9652/hdspm.c spin_lock_irq(&hdspm->lock); hdspm 4138 sound/pci/rme9652/hdspm.c info.pref_sync_ref = hdspm_pref_sync_ref(hdspm); hdspm 4139 sound/pci/rme9652/hdspm.c info.wordclock_sync_check = hdspm_wc_sync_check(hdspm); hdspm 4141 sound/pci/rme9652/hdspm.c info.system_sample_rate = hdspm->system_sample_rate; hdspm 4143 sound/pci/rme9652/hdspm.c hdspm_external_sample_rate(hdspm); hdspm 4144 sound/pci/rme9652/hdspm.c info.system_clock_mode = hdspm_system_clock_mode(hdspm); hdspm 4145 sound/pci/rme9652/hdspm.c info.clock_source = hdspm_clock_source(hdspm); hdspm 4146 sound/pci/rme9652/hdspm.c info.autosync_ref = hdspm_autosync_ref(hdspm); hdspm 4147 sound/pci/rme9652/hdspm.c info.line_out = hdspm_line_out(hdspm); hdspm 4149 sound/pci/rme9652/hdspm.c spin_unlock_irq(&hdspm->lock); hdspm 4155 sound/pci/rme9652/hdspm.c hdspm_version.firmware_rev = hdspm->firmware_rev; hdspm 4164 sound/pci/rme9652/hdspm.c if (copy_to_user((void __user *)mixer.mixer, hdspm->mixer, hdspm 4212 sound/pci/rme9652/hdspm.c hdspm->hwdep = hw; hdspm 4213 sound/pci/rme9652/hdspm.c hw->private_data = hdspm; hdspm 4233 sound/pci/rme9652/hdspm.c pcm = hdspm->pcm; hdspm 4240 sound/pci/rme9652/hdspm.c snd_dma_pci_data(hdspm->pci), hdspm 4259 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, reg + 4 * i, hdspm 4270 sound/pci/rme9652/hdspm.c err = snd_pcm_new(card, hdspm->card_name, 0, 1, 1, &pcm); hdspm 4274 sound/pci/rme9652/hdspm.c hdspm->pcm = pcm; hdspm 4275 sound/pci/rme9652/hdspm.c pcm->private_data = hdspm; hdspm 4276 sound/pci/rme9652/hdspm.c strcpy(pcm->name, hdspm->card_name); hdspm 4285 sound/pci/rme9652/hdspm.c err = snd_hdspm_preallocate_memory(hdspm); hdspm 4294 sound/pci/rme9652/hdspm.c snd_hdspm_flush_midi_input(hdspm, 0); hdspm 4295 sound/pci/rme9652/hdspm.c snd_hdspm_flush_midi_input(hdspm, 1); hdspm 4304 sound/pci/rme9652/hdspm.c err = snd_hdspm_create_pcm(card, hdspm); hdspm 4308 sound/pci/rme9652/hdspm.c err = snd_hdspm_create_midi(card, hdspm, 0); hdspm 4312 sound/pci/rme9652/hdspm.c err = snd_hdspm_create_midi(card, hdspm, 1); hdspm 4316 sound/pci/rme9652/hdspm.c err = snd_hdspm_create_controls(card, hdspm); hdspm 4320 sound/pci/rme9652/hdspm.c err = snd_hdspm_create_hwdep(card, hdspm); hdspm 4325 sound/pci/rme9652/hdspm.c snd_hdspm_proc_init(hdspm); hdspm 4327 sound/pci/rme9652/hdspm.c hdspm->system_sample_rate = -1; hdspm 4328 sound/pci/rme9652/hdspm.c hdspm->last_external_sample_rate = -1; hdspm 4329 sound/pci/rme9652/hdspm.c hdspm->last_internal_sample_rate = -1; hdspm 4330 sound/pci/rme9652/hdspm.c hdspm->playback_pid = -1; hdspm 4331 sound/pci/rme9652/hdspm.c hdspm->capture_pid = -1; hdspm 4332 sound/pci/rme9652/hdspm.c hdspm->capture_substream = NULL; hdspm 4333 sound/pci/rme9652/hdspm.c hdspm->playback_substream = NULL; hdspm 4336 sound/pci/rme9652/hdspm.c err = snd_hdspm_set_defaults(hdspm); hdspm 4341 sound/pci/rme9652/hdspm.c hdspm_update_simple_mixer_controls(hdspm); hdspm 4360 sound/pci/rme9652/hdspm.c struct pci_dev *pci = hdspm->pci; hdspm 4364 sound/pci/rme9652/hdspm.c hdspm->irq = -1; hdspm 4366 sound/pci/rme9652/hdspm.c spin_lock_init(&hdspm->midi[0].lock); hdspm 4367 sound/pci/rme9652/hdspm.c spin_lock_init(&hdspm->midi[1].lock); hdspm 4369 sound/pci/rme9652/hdspm.c hdspm->card = card; hdspm 4371 sound/pci/rme9652/hdspm.c spin_lock_init(&hdspm->lock); hdspm 4373 sound/pci/rme9652/hdspm.c tasklet_init(&hdspm->midi_tasklet, hdspm 4374 sound/pci/rme9652/hdspm.c hdspm_midi_tasklet, (unsigned long) hdspm); hdspm 4376 sound/pci/rme9652/hdspm.c pci_read_config_word(hdspm->pci, hdspm 4377 sound/pci/rme9652/hdspm.c PCI_CLASS_REVISION, &hdspm->firmware_rev); hdspm 4379 sound/pci/rme9652/hdspm.c hdspm->is_aes32 = (hdspm->firmware_rev >= HDSPM_AESREVISION); hdspm 4382 sound/pci/rme9652/hdspm.c if (hdspm->is_aes32) { hdspm 4384 sound/pci/rme9652/hdspm.c hdspm->card_name = "RME HDSPM AES32"; hdspm 4387 sound/pci/rme9652/hdspm.c hdspm->card_name = "RME HDSPM MADI"; hdspm 4394 sound/pci/rme9652/hdspm.c pci_set_master(hdspm->pci); hdspm 4400 sound/pci/rme9652/hdspm.c hdspm->port = pci_resource_start(pci, 0); hdspm 4404 sound/pci/rme9652/hdspm.c hdspm->port, hdspm->port + io_extent - 1); hdspm 4407 sound/pci/rme9652/hdspm.c hdspm->iobase = ioremap_nocache(hdspm->port, io_extent); hdspm 4408 sound/pci/rme9652/hdspm.c if (!hdspm->iobase) { hdspm 4411 sound/pci/rme9652/hdspm.c hdspm->port, hdspm->port + io_extent - 1); hdspm 4415 sound/pci/rme9652/hdspm.c (unsigned long)hdspm->iobase, hdspm->port, hdspm 4416 sound/pci/rme9652/hdspm.c hdspm->port + io_extent - 1); hdspm 4419 sound/pci/rme9652/hdspm.c IRQF_SHARED, "hdspm", hdspm)) { hdspm 4426 sound/pci/rme9652/hdspm.c hdspm->irq = pci->irq; hdspm 4427 sound/pci/rme9652/hdspm.c hdspm->precise_ptr = precise_ptr; hdspm 4429 sound/pci/rme9652/hdspm.c hdspm->monitor_outs = enable_monitor; hdspm 4433 sound/pci/rme9652/hdspm.c hdspm->mixer = kzalloc(sizeof(struct hdspm_mixer), GFP_KERNEL); hdspm 4434 sound/pci/rme9652/hdspm.c if (!hdspm->mixer) { hdspm 4441 sound/pci/rme9652/hdspm.c hdspm->ss_channels = MADI_SS_CHANNELS; hdspm 4442 sound/pci/rme9652/hdspm.c hdspm->ds_channels = MADI_DS_CHANNELS; hdspm 4443 sound/pci/rme9652/hdspm.c hdspm->qs_channels = MADI_QS_CHANNELS; hdspm 4446 sound/pci/rme9652/hdspm.c err = snd_hdspm_create_alsa_devices(card, hdspm); hdspm 4450 sound/pci/rme9652/hdspm.c snd_hdspm_initialize_midi_flush(hdspm); hdspm 4458 sound/pci/rme9652/hdspm.c if (hdspm->port) { hdspm 4461 sound/pci/rme9652/hdspm.c hdspm->control_register &= hdspm 4464 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_controlRegister, hdspm 4465 sound/pci/rme9652/hdspm.c hdspm->control_register); hdspm 4468 sound/pci/rme9652/hdspm.c if (hdspm->irq >= 0) hdspm 4469 sound/pci/rme9652/hdspm.c free_irq(hdspm->irq, (void *) hdspm); hdspm 4471 sound/pci/rme9652/hdspm.c kfree(hdspm->mixer); hdspm 4473 sound/pci/rme9652/hdspm.c if (hdspm->iobase) hdspm 4474 sound/pci/rme9652/hdspm.c iounmap(hdspm->iobase); hdspm 4476 sound/pci/rme9652/hdspm.c if (hdspm->port) hdspm 4477 sound/pci/rme9652/hdspm.c pci_release_regions(hdspm->pci); hdspm 4479 sound/pci/rme9652/hdspm.c pci_disable_device(hdspm->pci); hdspm 4485 sound/pci/rme9652/hdspm.c struct hdspm *hdspm = card->private_data; hdspm 4487 sound/pci/rme9652/hdspm.c if (hdspm) hdspm 4488 sound/pci/rme9652/hdspm.c snd_hdspm_free(hdspm); hdspm 4495 sound/pci/rme9652/hdspm.c struct hdspm *hdspm; hdspm 4507 sound/pci/rme9652/hdspm.c THIS_MODULE, sizeof(struct hdspm)); hdspm 4511 sound/pci/rme9652/hdspm.c hdspm = card->private_data; hdspm 4513 sound/pci/rme9652/hdspm.c hdspm->dev = dev; hdspm 4514 sound/pci/rme9652/hdspm.c hdspm->pci = pci; hdspm 4518 sound/pci/rme9652/hdspm.c err = snd_hdspm_create(card, hdspm, precise_ptr[dev], hdspm 4526 sound/pci/rme9652/hdspm.c sprintf(card->longname, "%s at 0x%lx, irq %d", hdspm->card_name, hdspm 4527 sound/pci/rme9652/hdspm.c hdspm->port, hdspm->irq);