Lines Matching +full:0 +full:x00d00000
53 DCYSUSV, 0, in snd_emu10k1_voice_init()
56 PTRX, 0, in snd_emu10k1_voice_init()
57 CPF, 0, in snd_emu10k1_voice_init()
58 CCR, 0, in snd_emu10k1_voice_init()
60 PSST, 0, in snd_emu10k1_voice_init()
61 DSL, 0x10, in snd_emu10k1_voice_init()
62 CCCA, 0, in snd_emu10k1_voice_init()
63 Z1, 0, in snd_emu10k1_voice_init()
64 Z2, 0, in snd_emu10k1_voice_init()
65 FXRT, 0x32100000, in snd_emu10k1_voice_init()
68 DCYSUSM, 0, in snd_emu10k1_voice_init()
69 ATKHLDV, 0, in snd_emu10k1_voice_init()
70 ATKHLDM, 0, in snd_emu10k1_voice_init()
71 IP, 0, in snd_emu10k1_voice_init()
73 PEFE, 0, in snd_emu10k1_voice_init()
74 FMMOD, 0, in snd_emu10k1_voice_init()
77 LFOVAL2, 0, in snd_emu10k1_voice_init()
78 LFOVAL1, 0, in snd_emu10k1_voice_init()
79 ENVVOL, 0, in snd_emu10k1_voice_init()
80 ENVVAL, 0, in snd_emu10k1_voice_init()
87 A_CSBA, 0, in snd_emu10k1_voice_init()
88 A_CSDC, 0, in snd_emu10k1_voice_init()
89 A_CSFE, 0, in snd_emu10k1_voice_init()
90 A_CSHG, 0, in snd_emu10k1_voice_init()
91 A_FXRT1, 0x03020100, in snd_emu10k1_voice_init()
92 A_FXRT2, 0x07060504, in snd_emu10k1_voice_init()
93 A_SENDAMOUNTS, 0, in snd_emu10k1_voice_init()
99 0x00ff,
100 0x02ff,
101 0x0400,
102 0x0520,
103 0x0600,
104 0x08ff,
105 0x0aff,
106 0x0cff,
107 0x0eff,
108 0x10ff,
109 0x1200,
110 0x1400,
111 0x1480,
112 0x1800,
113 0x1aff,
114 0x1cff,
115 0x1e00,
116 0x0530,
117 0x0602,
118 0x0622,
119 0x1400,
123 { 0x17, 0x00 }, /* Reset */
124 { 0x07, 0x00 }, /* Timeout */
125 { 0x0b, 0x22 }, /* Interface control */
126 { 0x0c, 0x22 }, /* Master mode control */
127 { 0x0d, 0x08 }, /* Powerdown control */
128 { 0x0e, 0xcf }, /* Attenuation Left 0x01 = -103dB, 0xff = 24dB */
129 { 0x0f, 0xcf }, /* Attenuation Right 0.5dB steps */
130 { 0x10, 0x7b }, /* ALC Control 1 */
131 { 0x11, 0x00 }, /* ALC Control 2 */
132 { 0x12, 0x32 }, /* ALC Control 3 */
133 { 0x13, 0x00 }, /* Noise gate control */
134 { 0x14, 0xa6 }, /* Limiter control */
135 { 0x15, ADC_MUX_2 }, /* ADC Mixer control. Mic for A2ZS Notebook */
148 outl(0, emu->port + INTE); in snd_emu10k1_init()
150 snd_emu10k1_ptr_write_multiple(emu, 0, in snd_emu10k1_init()
153 MICBA, 0, in snd_emu10k1_init()
155 FXBA, 0, in snd_emu10k1_init()
157 ADCBA, 0, in snd_emu10k1_init()
160 CLIEL, 0, in snd_emu10k1_init()
161 CLIEH, 0, in snd_emu10k1_init()
164 SOLEL, 0, in snd_emu10k1_init()
165 SOLEH, 0, in snd_emu10k1_init()
171 snd_emu10k1_ptr_write(emu, SPBYPASS, 0, SPBYPASS_FORMAT); in snd_emu10k1_init()
173 snd_emu10k1_ptr_write(emu, AC97SLOT, 0, AC97SLOT_REAR_RIGHT | in snd_emu10k1_init()
178 for (ch = 0; ch < NUM_G; ch++) in snd_emu10k1_init()
181 snd_emu10k1_ptr_write_multiple(emu, 0, in snd_emu10k1_init()
182 SPCS0, emu->spdif_bits[0], in snd_emu10k1_init()
191 snd_emu10k1_ptr_write(emu, A_I2S_CAPTURE_RATE, 0, A_I2S_CAPTURE_96000); in snd_emu10k1_init()
194 snd_emu10k1_ptr20_write(emu, SRCSel, 0, 0x14); in snd_emu10k1_init()
196 /* Use 0xFFFFFFFF to enable P16V sounds. */ in snd_emu10k1_init()
197 snd_emu10k1_ptr20_write(emu, SRCMULTI_ENABLE, 0, 0xFFFFFFFF); in snd_emu10k1_init()
200 outl(0x0201, emu->port + HCFG2); in snd_emu10k1_init()
202 snd_emu10k1_ptr20_write(emu, CAPTURE_P16V_SOURCE, 0, 0x78e4); in snd_emu10k1_init()
207 snd_emu10k1_ptr_write(emu, A_I2S_CAPTURE_RATE, 0, A_I2S_CAPTURE_96000); in snd_emu10k1_init()
210 snd_emu10k1_ptr20_write(emu, P17V_SRCSel, 0, 0x14); in snd_emu10k1_init()
213 snd_emu10k1_ptr20_write(emu, P17V_MIXER_I2S_ENABLE, 0, 0xFF000000); in snd_emu10k1_init()
219 snd_emu10k1_ptr20_write(emu, P17V_MIXER_SPDIF_ENABLE, 0, 0xFF000000); in snd_emu10k1_init()
221 tmp = inw(emu->port + A_IOCFG) & ~0x8; /* Clear bit 3 */ in snd_emu10k1_init()
228 for (n = 0; n < size; n++) in snd_emu10k1_init()
231 snd_emu10k1_ptr20_write(emu, 0x60, 0, 0x10); in snd_emu10k1_init()
242 outw(0x76, emu->port + A_IOCFG); /* Windows uses 0x3f76 */ in snd_emu10k1_init()
247 snd_emu10k1_ptr20_write(emu, P17V_I2S_SRC_SEL, 0, 0x2020205f); in snd_emu10k1_init()
249 outw(tmp | 0x4, emu->port + A_IOCFG); /* Set bit 2 for mic input */ in snd_emu10k1_init()
252 for (n = 0; n < size; n++) in snd_emu10k1_init()
253 snd_emu10k1_i2c_write(emu, i2c_adc_init[n][0], i2c_adc_init[n][1]); in snd_emu10k1_init()
254 for (n = 0; n < 4; n++) { in snd_emu10k1_init()
255 emu->i2c_capture_volume[n][0] = 0xcf; in snd_emu10k1_init()
256 emu->i2c_capture_volume[n][1] = 0xcf; in snd_emu10k1_init()
261 snd_emu10k1_ptr_write(emu, PTB, 0, emu->ptb_pages.addr); in snd_emu10k1_init()
262 snd_emu10k1_ptr_write(emu, TCB, 0, 0); /* taken from original driver */ in snd_emu10k1_init()
263 snd_emu10k1_ptr_write(emu, TCBS, 0, TCBS_BUFFSIZE_256K); /* taken from original driver */ in snd_emu10k1_init()
266 for (ch = 0; ch < NUM_G; ch++) { in snd_emu10k1_init()
277 * Mute Disable Audio = 0 in snd_emu10k1_init()
279 * Lock Sound Memory = 0 in snd_emu10k1_init()
292 } else if (emu->model == 0x20 || in snd_emu10k1_init()
293 emu->model == 0xc400 || in snd_emu10k1_init()
294 (emu->model == 0x21 && emu->revision < 6)) in snd_emu10k1_init()
331 if (emu->address_mode == 0) { in snd_emu10k1_init()
336 return 0; in snd_emu10k1_init()
352 outw(inw(emu->port + A_IOCFG) & ~0x44, emu->port + A_IOCFG); in snd_emu10k1_audio_enable()
358 outw(inw(emu->port + A_IOCFG) | 0x0040, emu->port + A_IOCFG); in snd_emu10k1_audio_enable()
361 outw(inw(emu->port + A_IOCFG) | 0x0060, emu->port + A_IOCFG); in snd_emu10k1_audio_enable()
364 outw(inw(emu->port + A_IOCFG) | 0x0080, emu->port + A_IOCFG); in snd_emu10k1_audio_enable()
368 #if 0 in snd_emu10k1_audio_enable()
373 emu->tos_link = 0; in snd_emu10k1_audio_enable()
376 outl(tmp|0x800, emu->port + HCFG); in snd_emu10k1_audio_enable()
378 if (tmp != (inl(emu->port + HCFG) & ~0x800)) { in snd_emu10k1_audio_enable()
396 outl(0, emu->port + INTE); in snd_emu10k1_done()
401 for (ch = 0; ch < NUM_G; ch++) { in snd_emu10k1_done()
403 DCYSUSV, 0, in snd_emu10k1_done()
404 VTFT, 0, in snd_emu10k1_done()
405 CVCF, 0, in snd_emu10k1_done()
406 PTRX, 0, in snd_emu10k1_done()
407 CPF, 0, in snd_emu10k1_done()
413 snd_emu10k1_ptr_write(emu, A_DBG, 0, A_DBG_SINGLE_STEP); in snd_emu10k1_done()
415 snd_emu10k1_ptr_write(emu, DBG, 0, EMU10K1_DBG_SINGLE_STEP); in snd_emu10k1_done()
417 snd_emu10k1_ptr_write_multiple(emu, 0, in snd_emu10k1_done()
419 MICBS, 0, in snd_emu10k1_done()
420 MICBA, 0, in snd_emu10k1_done()
421 FXBS, 0, in snd_emu10k1_done()
422 FXBA, 0, in snd_emu10k1_done()
423 FXWC, 0, in snd_emu10k1_done()
425 ADCBA, 0, in snd_emu10k1_done()
427 TCB, 0, in snd_emu10k1_done()
430 CLIEL, 0, in snd_emu10k1_done()
431 CLIEH, 0, in snd_emu10k1_done()
432 SOLEL, 0, in snd_emu10k1_done()
433 SOLEH, 0, in snd_emu10k1_done()
435 PTB, 0, in snd_emu10k1_done()
442 return 0; in snd_emu10k1_done()
459 #define EC_AC3_DATA_SELN 0x0001L
460 #define EC_EE_DATA_SEL 0x0002L
461 #define EC_EE_CNTRL_SELN 0x0004L
462 #define EC_EECLK 0x0008L
463 #define EC_EECS 0x0010L
464 #define EC_EESDO 0x0020L
465 #define EC_TRIM_CSN 0x0040L
466 #define EC_TRIM_SCLK 0x0080L
467 #define EC_TRIM_SDATA 0x0100L
468 #define EC_TRIM_MUTEN 0x0200L
469 #define EC_ADCCAL 0x0400L
470 #define EC_ADCRSTN 0x0800L
471 #define EC_DACCAL 0x1000L
472 #define EC_DACMUTEN 0x2000L
473 #define EC_LEDN 0x4000L
477 #define EC_SPDIF0_SEL_MASK (0x3L << EC_SPDIF0_SEL_SHIFT)
478 #define EC_SPDIF1_SEL_MASK (0x7L << EC_SPDIF1_SEL_SHIFT)
481 #define EC_CURRENT_PROM_VERSION 0x01 /* Self-explanatory. This should
485 #define EC_EEPROM_SIZE 0x40 /* ECARD EEPROM has 64 16-bit words */
488 #define EC_PROM_VERSION_ADDR 0x20 /* Address of the current prom version */
489 #define EC_BOARDREV0_ADDR 0x21 /* LSW of board rev */
490 #define EC_BOARDREV1_ADDR 0x22 /* MSW of board rev */
492 #define EC_LAST_PROMFILE_ADDR 0x2f
494 #define EC_SERIALNUM_ADDR 0x30 /* First word of serial number. The
499 #define EC_CHECKSUM_ADDR 0x3f /* Location at which checksum is stored */
510 #define EC_DEFAULT_ADC_GAIN 0xC4C4
511 #define EC_DEFAULT_SPDIF0_SEL 0x0
512 #define EC_DEFAULT_SPDIF1_SEL 0x4
533 for (count = 0; count < EC_NUM_CONTROL_BITS; count++) { in snd_emu10k1_ecard_write()
536 data = ((value & 0x1) ? PULSEN_BIT : 0); in snd_emu10k1_ecard_write()
597 /* Step 0: Set the codec type in the hardware control register in snd_emu10k1_ecard_init()
625 return 0; in snd_emu10k1_ecard_init()
636 special_port = emu->port + 0x38; in snd_emu10k1_cardbus_init()
638 outl(0x00d00000, special_port); in snd_emu10k1_cardbus_init()
640 outl(0x00d00001, special_port); in snd_emu10k1_cardbus_init()
642 outl(0x00d0005f, special_port); in snd_emu10k1_cardbus_init()
644 outl(0x00d0007f, special_port); in snd_emu10k1_cardbus_init()
646 outl(0x0090007f, special_port); in snd_emu10k1_cardbus_init()
649 snd_emu10k1_ptr20_write(emu, TINA2_VOLUME, 0, 0xfefefefe); /* Defaults to 0x30303030 */ in snd_emu10k1_cardbus_init()
652 return 0; in snd_emu10k1_cardbus_init()
674 outw(0x00, emu->port + A_GPIO); /* Set PGMN low for 100uS. */ in snd_emu1010_load_firmware_entry()
677 outw(0x80, emu->port + A_GPIO); /* Leave bit 7 set during netlist setup. */ in snd_emu1010_load_firmware_entry()
680 for (n = 0; n < fw_entry->size; n++) { in snd_emu1010_load_firmware_entry()
682 for (i = 0; i < 8; i++) { in snd_emu1010_load_firmware_entry()
683 reg = 0x80; in snd_emu1010_load_firmware_entry()
684 if (value & 0x1) in snd_emu1010_load_firmware_entry()
685 reg = reg | 0x20; in snd_emu1010_load_firmware_entry()
689 outw(reg | 0x40, emu->port + A_GPIO); in snd_emu1010_load_firmware_entry()
694 outw(0x10, emu->port + A_GPIO); in snd_emu1010_load_firmware_entry()
698 return 0; in snd_emu1010_load_firmware_entry()
726 return 0; in snd_emu1010_load_firmware()
758 if (err < 0) in emu1010_firmware_work()
760 snd_emu1010_fpga_write(emu, EMU_HANA_FPGA_CONFIG, 0); in emu1010_firmware_work()
763 "emu1010: EMU_HANA+DOCK_ID = 0x%x\n", tmp); in emu1010_firmware_work()
764 if ((tmp & 0x1f) != 0x15) { in emu1010_firmware_work()
767 "emu1010: Loading Audio Dock Firmware file failed, reg = 0x%x\n", in emu1010_firmware_work()
804 snd_ctl_build_ioff(&id, emu->ctl_clock_source, 0); in emu1010_clock_work()
845 snd_emu1010_fpga_write(emu, EMU_HANA_DOCK_PWR, 0); in snd_emu10k1_emu1010_init()
847 /* ID, should read & 0x7f = 0x55. (Bit 7 is the IRQ bit) */ in snd_emu10k1_emu1010_init()
849 dev_dbg(emu->card->dev, "reg1 = 0x%x\n", reg); in snd_emu10k1_emu1010_init()
850 if ((reg & 0x3f) == 0x15) { in snd_emu10k1_emu1010_init()
857 dev_dbg(emu->card->dev, "reg2 = 0x%x\n", reg); in snd_emu10k1_emu1010_init()
858 if ((reg & 0x3f) == 0x15) { in snd_emu10k1_emu1010_init()
864 dev_info(emu->card->dev, "emu1010: EMU_HANA_ID = 0x%x\n", reg); in snd_emu10k1_emu1010_init()
866 err = snd_emu1010_load_firmware(emu, 0, &emu->firmware); in snd_emu10k1_emu1010_init()
867 if (err < 0) { in snd_emu10k1_emu1010_init()
872 /* ID, should read & 0x7f = 0x55 when FPGA programmed. */ in snd_emu10k1_emu1010_init()
874 if ((reg & 0x3f) != 0x15) { in snd_emu10k1_emu1010_init()
877 "emu1010: Loading Hana Firmware file failed, reg = 0x%x\n", in snd_emu10k1_emu1010_init()
890 dev_info(emu->card->dev, "emu1010: Card options = 0x%x\n", reg); in snd_emu10k1_emu1010_init()
894 emu->emu1010.optical_in = 0; /* IN_SPDIF */ in snd_emu10k1_emu1010_init()
895 emu->emu1010.optical_out = 0; /* OUT_SPDIF */ in snd_emu10k1_emu1010_init()
905 emu->emu1010.adc_pads = 0x00; in snd_emu10k1_emu1010_init()
939 return 0; in snd_emu10k1_emu1010_init()
955 snd_emu10k1_fx8010_tram_setup(emu, 0); in snd_emu10k1_free()
961 snd_emu1010_fpga_write(emu, EMU_HANA_DOCK_PWR, 0); in snd_emu10k1_free()
988 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x10241102,
1000 * 0: ?
1003 * 3: 0 - Digital Out, 1 - Line in
1018 * Digital Out/Line in switch using A_IOCFG bit 3 (0x08)
1019 * 0 - Digital Out
1034 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x10211102,
1054 * 0x400 = Front analog jack plugged in. (Green socket)
1055 * 0x1000 = Rear analog jack plugged in. (Black socket)
1056 * 0x2000 = Center/LFE analog jack plugged in. (Orange socket)
1058 * 0x60 = Sound out of front Left.
1059 * Win sets it to 0xXX61
1061 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x10011102,
1084 * 0: Not Used
1085 * 1: 0 = Mute all the 7.1 channel out. 1 = unmute.
1086 * 2: Analog input 0 = line in, 1 = mic in
1088 * 4: Digital output 0 = off, 1 = on.
1093 * All bits 1 (0x3fxx) means nothing plugged in.
1094 * 8-9: 0 = Line in/Mic, 2 = Optical in, 3 = Nothing.
1095 * A-B: 0 = Headphones, 2 = Optical out, 3 = Nothing.
1097 * E-F: Always 0
1100 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x20011102,
1113 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x42011102,
1126 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x40041102,
1140 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x40071102,
1152 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x40011102,
1162 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x40021102,
1173 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x40021102,
1183 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x40051102,
1191 {.vendor = 0x1102, .device = 0x0008,
1198 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x20071102,
1208 /* The 0x20061102 does have SB0350 written on it
1209 * Just like 0x20021102
1211 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x20061102,
1221 /* 0x20051102 also has SB0350 written on it, treated as Audigy 2 ZS by
1223 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x20051102,
1233 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x20021102,
1243 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x20011102,
1261 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x10071102,
1272 /* Win driver sets A_IOCFG output to 0x1c00 */
1273 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x10051102,
1283 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x10031102,
1294 /* Win driver sets A_IOCFG output to 0xa00 */
1295 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x10021102,
1306 {.vendor = 0x1102, .device = 0x0004, .revision = 0x04,
1314 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x00531102,
1320 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x00521102,
1327 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x00511102,
1333 {.vendor = 0x1102, .device = 0x0004,
1339 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x100a1102,
1345 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x806b1102,
1351 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x806a1102,
1357 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80691102,
1366 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80661102,
1373 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80651102,
1379 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80641102,
1386 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80611102,
1394 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80511102,
1401 /* Win driver sets A_IOCFG output to 0 */
1403 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80401102,
1408 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80321102,
1414 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80311102,
1420 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80281102,
1427 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80271102,
1433 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80261102,
1439 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80231102,
1445 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80221102,
1451 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x40011102,
1456 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x00211102,
1462 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x00201102,
1468 {.vendor = 0x1102, .device = 0x0002,
1524 if (err < 0) in snd_emu10k1_create()
1550 "vendor = 0x%x, device = 0x%x, subsystem_vendor_id = 0x%x, subsystem_id = 0x%x\n", in snd_emu10k1_create()
1569 if (c->vendor == 0) { in snd_emu10k1_create()
1578 "vendor = 0x%x, device = 0x%x, subsystem = 0x%x. " in snd_emu10k1_create()
1579 "Forced to subsystem = 0x%x\n", c->name, in snd_emu10k1_create()
1583 "vendor = 0x%x, device = 0x%x, subsystem = 0x%x.\n", in snd_emu10k1_create()
1595 emu->address_mode = is_audigy ? 0 : 1; in snd_emu10k1_create()
1598 if (dma_set_mask_and_coherent(&pci->dev, emu->dma_mask) < 0) { in snd_emu10k1_create()
1600 "architecture does not support PCI busmaster DMA with mask 0x%lx\n", in snd_emu10k1_create()
1610 if (err < 0) in snd_emu10k1_create()
1612 emu->port = pci_resource_start(pci, 0); in snd_emu10k1_create()
1619 &emu->ptb_pages) < 0) in snd_emu10k1_create()
1633 &emu->silent_page) < 0) in snd_emu10k1_create()
1650 if (extin_mask == 0) in snd_emu10k1_create()
1651 extin_mask = 0x3fcf; // EXTIN_* in snd_emu10k1_create()
1652 if (extout_mask == 0) in snd_emu10k1_create()
1653 extout_mask = 0x7fff; // EXTOUT_* in snd_emu10k1_create()
1660 if (err < 0) in snd_emu10k1_create()
1665 if (err < 0) in snd_emu10k1_create()
1669 if (err < 0) in snd_emu10k1_create()
1674 snd_emu10k1_ptr_write(emu, AC97SLOT, 0, in snd_emu10k1_create()
1681 emu->fx8010.etram_pages.bytes = 0; in snd_emu10k1_create()
1691 * Init to 0x02109204 : in snd_emu10k1_create()
1692 * Clock accuracy = 0 (1000ppm) in snd_emu10k1_create()
1695 * Source Number = 0 (Unspecified) in snd_emu10k1_create()
1698 * Mode = 0 (Mode 0) in snd_emu10k1_create()
1699 * Emphasis = 0 (None) in snd_emu10k1_create()
1701 * AN = 0 (Audio data) in snd_emu10k1_create()
1702 * P = 0 (Consumer) in snd_emu10k1_create()
1704 emu->spdif_bits[0] = emu->spdif_bits[1] = in snd_emu10k1_create()
1707 SPCS_GENERATIONSTATUS | 0x00001200 | in snd_emu10k1_create()
1708 0x00000000 | SPCS_EMPHASIS_NONE | SPCS_COPYRIGHT; in snd_emu10k1_create()
1711 memset(emu->silent_page.area, 0, emu->silent_page.bytes); in snd_emu10k1_create()
1714 for (idx = 0; idx < (emu->address_mode ? MAXPAGES1 : MAXPAGES0); idx++) in snd_emu10k1_create()
1718 for (idx = 0; idx < NUM_G; idx++) in snd_emu10k1_create()
1722 if (err < 0) in snd_emu10k1_create()
1726 if (err < 0) in snd_emu10k1_create()
1732 if (err < 0) in snd_emu10k1_create()
1739 return 0; in snd_emu10k1_create()
1750 0xff /* end */
1755 0xff /* end */
1768 if (snd_emu10k1_efx_alloc_pm_buffer(emu) < 0) in alloc_pm_buffer()
1771 snd_p16v_alloc_pm_buffer(emu) < 0) in alloc_pm_buffer()
1773 return 0; in alloc_pm_buffer()
1791 for (reg = saved_regs; *reg != 0xff; reg++) in snd_emu10k1_suspend_regs()
1792 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_suspend_regs()
1795 for (reg = saved_regs_audigy; *reg != 0xff; reg++) in snd_emu10k1_suspend_regs()
1796 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_suspend_regs()
1813 snd_emu10k1_ptr_write(emu, AC97SLOT, 0, AC97SLOT_CNTR|AC97SLOT_LFE); in snd_emu10k1_resume_init()
1831 for (reg = saved_regs; *reg != 0xff; reg++) in snd_emu10k1_resume_regs()
1832 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_resume_regs()
1835 for (reg = saved_regs_audigy; *reg != 0xff; reg++) in snd_emu10k1_resume_regs()
1836 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_resume_regs()