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()
680 return 0; in snd_emu1010_load_firmware()
687 return 0; in snd_emu1010_load_firmware()
703 if (err < 0) in snd_emu1010_load_dock_firmware()
705 snd_emu1010_fpga_write(emu, EMU_HANA_FPGA_CONFIG, 0); in snd_emu1010_load_dock_firmware()
708 dev_dbg(emu->card->dev, "emu1010: EMU_HANA+DOCK_ID = 0x%x\n", tmp); in snd_emu1010_load_dock_firmware()
709 if ((tmp & 0x1f) != 0x15) { in snd_emu1010_load_dock_firmware()
712 "emu1010: Loading Audio Dock Firmware failed, reg = 0x%x\n", in snd_emu1010_load_dock_firmware()
754 snd_ctl_build_ioff(&id, emu->ctl_clock_source, 0); in emu1010_clock_event()
791 u16 bit = emu->card_capabilities->ca0108_chip ? 0x2000 : 0x8000; in emu1010_interrupt()
820 err = snd_emu1010_load_firmware(emu, 0, &emu->firmware); in snd_emu10k1_emu1010_init()
821 if (err < 0) { in snd_emu10k1_emu1010_init()
826 /* ID, should read & 0x7f = 0x55 when FPGA programmed. */ in snd_emu10k1_emu1010_init()
828 if ((reg & 0x3f) != 0x15) { in snd_emu10k1_emu1010_init()
831 "emu1010: Loading Hana Firmware file failed, reg = 0x%x\n", in snd_emu10k1_emu1010_init()
845 dev_info(emu->card->dev, "emu1010: Card options = 0x%x\n", reg); in snd_emu10k1_emu1010_init()
849 emu->emu1010.optical_in = 0; /* IN_SPDIF */ in snd_emu10k1_emu1010_init()
850 emu->emu1010.optical_out = 0; /* OUT_SPDIF */ in snd_emu10k1_emu1010_init()
860 emu->emu1010.adc_pads = 0x00; in snd_emu10k1_emu1010_init()
912 snd_emu10k1_fx8010_tram_setup(emu, 0); in snd_emu10k1_free()
918 snd_emu1010_fpga_write_lock(emu, EMU_HANA_DOCK_PWR, 0); in snd_emu10k1_free()
945 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x10241102,
957 * 0: ?
960 * 3: 0 - Digital Out, 1 - Line in
975 * Digital Out/Line in switch using A_IOCFG bit 3 (0x08)
976 * 0 - Digital Out
991 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x10211102,
1011 * 0x400 = Front analog jack plugged in. (Green socket)
1012 * 0x1000 = Rear analog jack plugged in. (Black socket)
1013 * 0x2000 = Center/LFE analog jack plugged in. (Orange socket)
1015 * 0x60 = Sound out of front Left.
1016 * Win sets it to 0xXX61
1018 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x10011102,
1041 * 0: Not Used
1042 * 1: 0 = Mute all the 7.1 channel out. 1 = unmute.
1043 * 2: Analog input 0 = line in, 1 = mic in
1045 * 4: Digital output 0 = off, 1 = on.
1050 * All bits 1 (0x3fxx) means nothing plugged in.
1051 * 8-9: 0 = Line in/Mic, 2 = Optical in, 3 = Nothing.
1052 * A-B: 0 = Headphones, 2 = Optical out, 3 = Nothing.
1054 * E-F: Always 0
1057 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x20011102,
1070 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x42011102,
1083 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x40041102,
1097 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x40071102,
1109 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x40011102,
1119 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x40021102,
1130 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x40021102,
1140 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x40051102,
1148 {.vendor = 0x1102, .device = 0x0008,
1155 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x20071102,
1165 /* The 0x20061102 does have SB0350 written on it
1166 * Just like 0x20021102
1168 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x20061102,
1178 /* 0x20051102 also has SB0350 written on it, treated as Audigy 2 ZS by
1180 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x20051102,
1190 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x20021102,
1200 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x20011102,
1218 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x10071102,
1229 /* Win driver sets A_IOCFG output to 0x1c00 */
1230 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x10051102,
1240 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x10031102,
1251 /* Win driver sets A_IOCFG output to 0xa00 */
1252 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x10021102,
1263 {.vendor = 0x1102, .device = 0x0004, .revision = 0x04,
1271 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x00531102,
1277 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x00521102,
1284 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x00511102,
1290 {.vendor = 0x1102, .device = 0x0004,
1296 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x100a1102,
1302 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x806b1102,
1308 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x806a1102,
1314 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80691102,
1323 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80661102,
1330 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80651102,
1336 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80641102,
1343 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80611102,
1351 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80511102,
1358 /* Win driver sets A_IOCFG output to 0 */
1360 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80401102,
1365 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80321102,
1371 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80311102,
1377 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80281102,
1384 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80271102,
1390 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80261102,
1396 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80231102,
1402 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80221102,
1408 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x40011102,
1413 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x00211102,
1419 {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x00201102,
1425 {.vendor = 0x1102, .device = 0x0002,
1481 if (err < 0) in snd_emu10k1_create()
1507 "vendor = 0x%x, device = 0x%x, subsystem_vendor_id = 0x%x, subsystem_id = 0x%x\n", in snd_emu10k1_create()
1526 if (c->vendor == 0) { in snd_emu10k1_create()
1535 "vendor = 0x%x, device = 0x%x, subsystem = 0x%x. " in snd_emu10k1_create()
1536 "Forced to subsystem = 0x%x\n", c->name, in snd_emu10k1_create()
1540 "vendor = 0x%x, device = 0x%x, subsystem = 0x%x.\n", in snd_emu10k1_create()
1552 emu->address_mode = is_audigy ? 0 : 1; in snd_emu10k1_create()
1555 if (dma_set_mask_and_coherent(&pci->dev, emu->dma_mask) < 0) { in snd_emu10k1_create()
1557 "architecture does not support PCI busmaster DMA with mask 0x%lx\n", in snd_emu10k1_create()
1567 if (err < 0) in snd_emu10k1_create()
1569 emu->port = pci_resource_start(pci, 0); in snd_emu10k1_create()
1576 &emu->ptb_pages) < 0) in snd_emu10k1_create()
1590 &emu->silent_page) < 0) in snd_emu10k1_create()
1607 if (extin_mask == 0) in snd_emu10k1_create()
1608 extin_mask = 0x3fcf; // EXTIN_* in snd_emu10k1_create()
1609 if (extout_mask == 0) in snd_emu10k1_create()
1610 extout_mask = 0x7fff; // EXTOUT_* in snd_emu10k1_create()
1617 if (err < 0) in snd_emu10k1_create()
1622 if (err < 0) in snd_emu10k1_create()
1626 if (err < 0) in snd_emu10k1_create()
1631 snd_emu10k1_ptr_write(emu, AC97SLOT, 0, in snd_emu10k1_create()
1638 emu->fx8010.etram_pages.bytes = 0; in snd_emu10k1_create()
1648 * Init to 0x02109204 : in snd_emu10k1_create()
1649 * Clock accuracy = 0 (1000ppm) in snd_emu10k1_create()
1652 * Source Number = 0 (Unspecified) in snd_emu10k1_create()
1655 * Mode = 0 (Mode 0) in snd_emu10k1_create()
1656 * Emphasis = 0 (None) in snd_emu10k1_create()
1658 * AN = 0 (Audio data) in snd_emu10k1_create()
1659 * P = 0 (Consumer) in snd_emu10k1_create()
1661 emu->spdif_bits[0] = emu->spdif_bits[1] = in snd_emu10k1_create()
1664 SPCS_GENERATIONSTATUS | 0x00001200 | in snd_emu10k1_create()
1665 0x00000000 | SPCS_EMPHASIS_NONE | SPCS_COPYRIGHT; in snd_emu10k1_create()
1668 memset(emu->silent_page.area, 0, emu->silent_page.bytes); in snd_emu10k1_create()
1671 for (idx = 0; idx < (emu->address_mode ? MAXPAGES1 : MAXPAGES0); idx++) in snd_emu10k1_create()
1675 for (idx = 0; idx < NUM_G; idx++) in snd_emu10k1_create()
1679 if (err < 0) in snd_emu10k1_create()
1683 if (err < 0) in snd_emu10k1_create()
1689 if (err < 0) in snd_emu10k1_create()
1696 return 0; in snd_emu10k1_create()
1707 0xff /* end */
1712 0xff /* end */
1725 if (snd_emu10k1_efx_alloc_pm_buffer(emu) < 0) in alloc_pm_buffer()
1728 snd_p16v_alloc_pm_buffer(emu) < 0) in alloc_pm_buffer()
1730 return 0; in alloc_pm_buffer()
1748 for (reg = saved_regs; *reg != 0xff; reg++) in snd_emu10k1_suspend_regs()
1749 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_suspend_regs()
1752 for (reg = saved_regs_audigy; *reg != 0xff; reg++) in snd_emu10k1_suspend_regs()
1753 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_suspend_regs()
1770 snd_emu10k1_ptr_write(emu, AC97SLOT, 0, AC97SLOT_CNTR|AC97SLOT_LFE); in snd_emu10k1_resume_init()
1788 for (reg = saved_regs; *reg != 0xff; reg++) in snd_emu10k1_resume_regs()
1789 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_resume_regs()
1792 for (reg = saved_regs_audigy; *reg != 0xff; reg++) in snd_emu10k1_resume_regs()
1793 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_resume_regs()