Lines Matching +full:0 +full:x2e00
35 if (snd_BUG_ON(ins->symbol_table.nsymbols <= 0)) in remove_symbol()
37 if (snd_BUG_ON(symbol_index < 0 || in remove_symbol()
69 for (col = 0,j = 0;j < 0x10; j++,col++) { in cs46xx_dsp_proc_scb_info_read()
72 col = 0; in cs46xx_dsp_proc_scb_info_read()
154 for (i = 0; i < dword_count ; ++i ) { in _dsp_clear_sample_buffer()
155 writel(0, dst); in _dsp_clear_sample_buffer()
166 if (snd_BUG_ON(scb->index < 0 || in cs46xx_dsp_remove_scb()
171 #if 0 in cs46xx_dsp_remove_scb()
205 #if 0 in cs46xx_dsp_remove_scb()
280 (ins->the_null_scb->address << 0x10) | ins->the_null_scb->address; in _dsp_create_generic_scb()
282 scb_data[SCBfuncEntryPtr] &= 0xFFFF0000; in _dsp_create_generic_scb()
299 #if 0 in _dsp_create_generic_scb()
369 { 0, in cs46xx_dsp_create_timing_master_scb()
370 0, in cs46xx_dsp_create_timing_master_scb()
371 0, in cs46xx_dsp_create_timing_master_scb()
372 0 in cs46xx_dsp_create_timing_master_scb()
374 { 0, in cs46xx_dsp_create_timing_master_scb()
375 0, in cs46xx_dsp_create_timing_master_scb()
376 0, in cs46xx_dsp_create_timing_master_scb()
377 0, in cs46xx_dsp_create_timing_master_scb()
378 0 in cs46xx_dsp_create_timing_master_scb()
380 0,0, in cs46xx_dsp_create_timing_master_scb()
381 0,NULL_SCB_ADDR, in cs46xx_dsp_create_timing_master_scb()
382 0,0, /* extraSampleAccum:TMreserved */ in cs46xx_dsp_create_timing_master_scb()
383 0,0, /* codecFIFOptr:codecFIFOsyncd */ in cs46xx_dsp_create_timing_master_scb()
384 0x0001,0x8000, /* fracSampAccumQm1:TMfrmsLeftInGroup */ in cs46xx_dsp_create_timing_master_scb()
385 0x0001,0x0000, /* fracSampCorrectionQm1:TMfrmGroupLength */ in cs46xx_dsp_create_timing_master_scb()
386 0x00060000 /* nSampPerFrmQ15 */ in cs46xx_dsp_create_timing_master_scb()
406 { 0, in cs46xx_dsp_create_codec_out_scb()
407 0, in cs46xx_dsp_create_codec_out_scb()
408 0, in cs46xx_dsp_create_codec_out_scb()
409 0 in cs46xx_dsp_create_codec_out_scb()
412 0, in cs46xx_dsp_create_codec_out_scb()
413 0, in cs46xx_dsp_create_codec_out_scb()
414 0, in cs46xx_dsp_create_codec_out_scb()
415 0, in cs46xx_dsp_create_codec_out_scb()
416 0 in cs46xx_dsp_create_codec_out_scb()
418 0,0, in cs46xx_dsp_create_codec_out_scb()
419 0,NULL_SCB_ADDR, in cs46xx_dsp_create_codec_out_scb()
420 0, /* COstrmRsConfig */ in cs46xx_dsp_create_codec_out_scb()
421 0, /* COstrmBufPtr */ in cs46xx_dsp_create_codec_out_scb()
423 0x0000,0x0080, /* (!AC97!) COexpVolChangeRate:COscaleShiftCount */ in cs46xx_dsp_create_codec_out_scb()
424 0,child_scb_addr /* COreserved - need child scb to work with rom code */ in cs46xx_dsp_create_codec_out_scb()
444 { 0, in cs46xx_dsp_create_codec_in_scb()
445 0, in cs46xx_dsp_create_codec_in_scb()
446 0, in cs46xx_dsp_create_codec_in_scb()
447 0 in cs46xx_dsp_create_codec_in_scb()
450 0, in cs46xx_dsp_create_codec_in_scb()
451 0, in cs46xx_dsp_create_codec_in_scb()
452 0, in cs46xx_dsp_create_codec_in_scb()
453 0, in cs46xx_dsp_create_codec_in_scb()
454 0 in cs46xx_dsp_create_codec_in_scb()
457 #if 0 /* cs4620 */ in cs46xx_dsp_create_codec_in_scb()
460 0 , 0, in cs46xx_dsp_create_codec_in_scb()
462 0,0, in cs46xx_dsp_create_codec_in_scb()
465 sample_buffer_addr << 0x10, /* strmBufPtr; defined as a dword ptr, used as a byte ptr */ in cs46xx_dsp_create_codec_in_scb()
468 0x0000,0x0000, /* (!AC97!) ????:scaleShiftCount; no shift needed in cs46xx_dsp_create_codec_in_scb()
470 0x80008000 /* ??clw cwcgame.scb has 0 */ in cs46xx_dsp_create_codec_in_scb()
495 PlayAC: Play Audio Data Conversion - SCB loc: 2nd dword, mask: 0x0000F000L in cs46xx_dsp_create_pcm_reader_scb()
496 DATA_FMT_16BIT_ST_LTLEND(0x00000000L) from 16-bit stereo, little-endian in cs46xx_dsp_create_pcm_reader_scb()
497 DATA_FMT_8_BIT_ST_SIGNED(0x00001000L) from 8-bit stereo, signed in cs46xx_dsp_create_pcm_reader_scb()
498 DATA_FMT_16BIT_MN_LTLEND(0x00002000L) from 16-bit mono, little-endian in cs46xx_dsp_create_pcm_reader_scb()
499 DATA_FMT_8_BIT_MN_SIGNED(0x00003000L) from 8-bit mono, signed in cs46xx_dsp_create_pcm_reader_scb()
500 DATA_FMT_16BIT_ST_BIGEND(0x00004000L) from 16-bit stereo, big-endian in cs46xx_dsp_create_pcm_reader_scb()
501 DATA_FMT_16BIT_MN_BIGEND(0x00006000L) from 16-bit mono, big-endian in cs46xx_dsp_create_pcm_reader_scb()
502 DATA_FMT_8_BIT_ST_UNSIGNED(0x00009000L) from 8-bit stereo, unsigned in cs46xx_dsp_create_pcm_reader_scb()
503 DATA_FMT_8_BIT_MN_UNSIGNED(0x0000b000L) from 8-bit mono, unsigned in cs46xx_dsp_create_pcm_reader_scb()
505 DMA_RQ_C2_AUDIO_CONVERT_MASK 0x0000F000L in cs46xx_dsp_create_pcm_reader_scb()
506 DMA_RQ_C2_AC_NONE 0x00000000L in cs46xx_dsp_create_pcm_reader_scb()
507 DMA_RQ_C2_AC_8_TO_16_BIT 0x00001000L in cs46xx_dsp_create_pcm_reader_scb()
508 DMA_RQ_C2_AC_MONO_TO_STEREO 0x00002000L in cs46xx_dsp_create_pcm_reader_scb()
509 DMA_RQ_C2_AC_ENDIAN_CONVERT 0x00004000L in cs46xx_dsp_create_pcm_reader_scb()
510 DMA_RQ_C2_AC_SIGNED_CONVERT 0x00008000L in cs46xx_dsp_create_pcm_reader_scb()
512 HostBuffAddr: Host Buffer Physical Byte Address - SCB loc:3rd dword, Mask: 0xFFFFFFFFL in cs46xx_dsp_create_pcm_reader_scb()
527 virtual_channel, /* Play DMA channel arbitrarily set to 0 */ in cs46xx_dsp_create_pcm_reader_scb()
534 0, in cs46xx_dsp_create_pcm_reader_scb()
535 0, in cs46xx_dsp_create_pcm_reader_scb()
536 0, in cs46xx_dsp_create_pcm_reader_scb()
537 0, in cs46xx_dsp_create_pcm_reader_scb()
538 0 in cs46xx_dsp_create_pcm_reader_scb()
543 0,NULL_SCB_ADDR, in cs46xx_dsp_create_pcm_reader_scb()
553 (sample_buffer_addr << 0x10), in cs46xx_dsp_create_pcm_reader_scb()
555 0, in cs46xx_dsp_create_pcm_reader_scb()
559 0xffff,0xffff, in cs46xx_dsp_create_pcm_reader_scb()
560 0xffff,0xffff in cs46xx_dsp_create_pcm_reader_scb()
634 0x0028,0x00c8, in cs46xx_dsp_create_src_task_scb()
635 0x5555,0x0000, in cs46xx_dsp_create_src_task_scb()
636 0x0000,0x0000, in cs46xx_dsp_create_src_task_scb()
640 0x0000,src_delay_buffer_addr, in cs46xx_dsp_create_src_task_scb()
641 0x0, in cs46xx_dsp_create_src_task_scb()
642 0x080,(src_delay_buffer_addr + (24 * 4)), in cs46xx_dsp_create_src_task_scb()
643 0,0, /* next_scb, sub_list_ptr */ in cs46xx_dsp_create_src_task_scb()
644 0,0, /* entry, this_spb */ in cs46xx_dsp_create_src_task_scb()
646 src_buffer_addr << 0x10, in cs46xx_dsp_create_src_task_scb()
649 0xffff - ins->dac_volume_right,0xffff - ins->dac_volume_left, in cs46xx_dsp_create_src_task_scb()
650 0xffff - ins->dac_volume_right,0xffff - ins->dac_volume_left in cs46xx_dsp_create_src_task_scb()
689 #if 0 /* not used */
698 .a0_right = 0x41a9,
699 .a0_left = 0x41a9,
700 .a1_right = 0xb8e4,
701 .a1_left = 0xb8e4,
702 .a2_right = 0x3e55,
703 .a2_left = 0x3e55,
705 .filter_unused3 = 0x0000,
706 .filter_unused2 = 0x0000,
709 .init = 0x000,
711 .prev_sample_output1 = 0x00000000,
712 .prev_sample_output2 = 0x00000000,
714 .prev_sample_input1 = 0x00000000,
715 .prev_sample_input2 = 0x00000000,
717 .next_scb_ptr = 0x0000,
718 .sub_list_ptr = 0x0000,
720 .entry_point = 0x0000,
721 .spb_ptr = 0x0000,
723 .b0_right = 0x0e38,
724 .b0_left = 0x0e38,
725 .b1_right = 0x1c71,
726 .b1_left = 0x1c71,
727 .b2_right = 0x0e38,
728 .b2_left = 0x0e38,
749 /* 0 */ { 0, in cs46xx_dsp_create_mix_only_scb()
750 /* 1 */ 0, in cs46xx_dsp_create_mix_only_scb()
752 /* 3 */ 0 in cs46xx_dsp_create_mix_only_scb()
755 /* 4 */ 0, in cs46xx_dsp_create_mix_only_scb()
756 /* 5 */ 0, in cs46xx_dsp_create_mix_only_scb()
757 /* 6 */ 0, in cs46xx_dsp_create_mix_only_scb()
758 /* 7 */ 0, in cs46xx_dsp_create_mix_only_scb()
759 /* 8 */ 0x00000080 in cs46xx_dsp_create_mix_only_scb()
761 /* 9 */ 0,0, in cs46xx_dsp_create_mix_only_scb()
762 /* A */ 0,0, in cs46xx_dsp_create_mix_only_scb()
764 /* C */ (mix_buffer_addr + (16 * 4)) << 0x10, in cs46xx_dsp_create_mix_only_scb()
765 /* D */ 0, in cs46xx_dsp_create_mix_only_scb()
767 /* E */ 0x8000,0x8000, in cs46xx_dsp_create_mix_only_scb()
768 /* F */ 0x8000,0x8000 in cs46xx_dsp_create_mix_only_scb()
804 0x0 in cs46xx_dsp_create_mix_to_ostream_scb()
807 { 0, 0, 0, 0, 0, }, in cs46xx_dsp_create_mix_to_ostream_scb()
808 0,0, in cs46xx_dsp_create_mix_to_ostream_scb()
809 0,writeback_spb, in cs46xx_dsp_create_mix_to_ostream_scb()
818 (mix_buffer_addr + (32 * 4)) << 0x10, in cs46xx_dsp_create_mix_to_ostream_scb()
819 1,0, in cs46xx_dsp_create_mix_to_ostream_scb()
820 0x0001,0x0080, in cs46xx_dsp_create_mix_to_ostream_scb()
821 0xFFFF,0 in cs46xx_dsp_create_mix_to_ostream_scb()
846 0x0028,0x00c8, in cs46xx_dsp_create_vari_decimate_scb()
847 0x5555,0x0000, in cs46xx_dsp_create_vari_decimate_scb()
848 0x0000,0x0000, in cs46xx_dsp_create_vari_decimate_scb()
851 0x0028,0x00c8, in cs46xx_dsp_create_vari_decimate_scb()
854 0xFF800000, in cs46xx_dsp_create_vari_decimate_scb()
855 0, in cs46xx_dsp_create_vari_decimate_scb()
856 0x0080,vari_buffer_addr1 + (25 * 4), in cs46xx_dsp_create_vari_decimate_scb()
858 0,0, in cs46xx_dsp_create_vari_decimate_scb()
859 0,0, in cs46xx_dsp_create_vari_decimate_scb()
862 vari_buffer_addr0 << 0x10, in cs46xx_dsp_create_vari_decimate_scb()
863 0x04000000, in cs46xx_dsp_create_vari_decimate_scb()
865 0x8000,0x8000, in cs46xx_dsp_create_vari_decimate_scb()
866 0xFFFF,0xFFFF in cs46xx_dsp_create_vari_decimate_scb()
889 { 0, in cs46xx_dsp_create_pcm_serial_input_scb()
890 0, in cs46xx_dsp_create_pcm_serial_input_scb()
891 0, in cs46xx_dsp_create_pcm_serial_input_scb()
892 0 in cs46xx_dsp_create_pcm_serial_input_scb()
895 0, in cs46xx_dsp_create_pcm_serial_input_scb()
896 0, in cs46xx_dsp_create_pcm_serial_input_scb()
897 0, in cs46xx_dsp_create_pcm_serial_input_scb()
898 0, in cs46xx_dsp_create_pcm_serial_input_scb()
899 0 in cs46xx_dsp_create_pcm_serial_input_scb()
902 0,0, in cs46xx_dsp_create_pcm_serial_input_scb()
903 0,0, in cs46xx_dsp_create_pcm_serial_input_scb()
906 0, in cs46xx_dsp_create_pcm_serial_input_scb()
907 /* 0xD */ 0,input_scb->address, in cs46xx_dsp_create_pcm_serial_input_scb()
909 /* 0xE */ 0x8000,0x8000, in cs46xx_dsp_create_pcm_serial_input_scb()
910 /* 0xF */ 0x8000,0x8000 in cs46xx_dsp_create_pcm_serial_input_scb()
932 0xfc00,0x03ff, /* Prototype sample buffer size of 256 dwords */ in cs46xx_dsp_create_asynch_fg_tx_scb()
933 0x0058,0x0028, /* Min Delta 7 dwords == 28 bytes */ in cs46xx_dsp_create_asynch_fg_tx_scb()
935 0,hfg_scb_address, /* Point to HFG task SCB */ in cs46xx_dsp_create_asynch_fg_tx_scb()
936 0,0, /* Initialize current Delta and Consumer ptr adjustment count */ in cs46xx_dsp_create_asynch_fg_tx_scb()
937 0, /* Initialize accumulated Phi to 0 */ in cs46xx_dsp_create_asynch_fg_tx_scb()
938 0,0x2aab, /* Const 1/3 */ in cs46xx_dsp_create_asynch_fg_tx_scb()
941 0, /* Define the unused elements */ in cs46xx_dsp_create_asynch_fg_tx_scb()
942 0, in cs46xx_dsp_create_asynch_fg_tx_scb()
943 0 in cs46xx_dsp_create_asynch_fg_tx_scb()
946 0,0, in cs46xx_dsp_create_asynch_fg_tx_scb()
947 0,dest + AFGTxAccumPhi, in cs46xx_dsp_create_asynch_fg_tx_scb()
950 (asynch_buffer_address) << 0x10, /* This should be automagically synchronized in cs46xx_dsp_create_asynch_fg_tx_scb()
955 0x18000000, /* Phi increment for approx 32k operation */ in cs46xx_dsp_create_asynch_fg_tx_scb()
956 0x8000,0x8000, /* Volume controls are unused at this time */ in cs46xx_dsp_create_asynch_fg_tx_scb()
957 0x8000,0x8000 in cs46xx_dsp_create_asynch_fg_tx_scb()
979 0xfe00,0x01ff, /* Prototype sample buffer size of 128 dwords */ in cs46xx_dsp_create_asynch_fg_rx_scb()
980 0x0064,0x001c, /* Min Delta 7 dwords == 28 bytes */ in cs46xx_dsp_create_asynch_fg_rx_scb()
982 0,hfg_scb_address, /* Point to HFG task SCB */ in cs46xx_dsp_create_asynch_fg_rx_scb()
983 0,0, /* Initialize current Delta and Consumer ptr adjustment count */ in cs46xx_dsp_create_asynch_fg_rx_scb()
985 0, /* Define the unused elements */ in cs46xx_dsp_create_asynch_fg_rx_scb()
986 0, in cs46xx_dsp_create_asynch_fg_rx_scb()
987 0, in cs46xx_dsp_create_asynch_fg_rx_scb()
988 0, in cs46xx_dsp_create_asynch_fg_rx_scb()
989 0 in cs46xx_dsp_create_asynch_fg_rx_scb()
992 0,0, in cs46xx_dsp_create_asynch_fg_rx_scb()
993 0,dest, in cs46xx_dsp_create_asynch_fg_rx_scb()
997 ( (asynch_buffer_address + (16 * 4)) << 0x10), /* This should be automagically in cs46xx_dsp_create_asynch_fg_rx_scb()
1002 0x18000000, in cs46xx_dsp_create_asynch_fg_rx_scb()
1005 0xffff - ins->spdif_input_volume_right,0xffff - ins->spdif_input_volume_left, in cs46xx_dsp_create_asynch_fg_rx_scb()
1006 0xffff - ins->spdif_input_volume_right,0xffff - ins->spdif_input_volume_left, in cs46xx_dsp_create_asynch_fg_rx_scb()
1017 #if 0 /* not used */
1029 { 0, /* not used. Zero */
1030 0,
1031 0,
1032 0,
1035 0, /* not used. Zero */
1036 0,
1037 0,
1038 0,
1039 0
1042 0,0,
1043 0,0,
1046 snoop_buffer_address << 0x10,
1047 0,0,
1048 0,
1049 0,snoop_scb->address
1068 0,0, /* SPIOWAddress2:SPIOWAddress1; */ in cs46xx_dsp_create_spio_write_scb()
1069 0, /* SPIOWData1; */ in cs46xx_dsp_create_spio_write_scb()
1070 0, /* SPIOWData2; */ in cs46xx_dsp_create_spio_write_scb()
1071 0,0, /* SPIOWAddress4:SPIOWAddress3; */ in cs46xx_dsp_create_spio_write_scb()
1072 0, /* SPIOWData3; */ in cs46xx_dsp_create_spio_write_scb()
1073 0, /* SPIOWData4; */ in cs46xx_dsp_create_spio_write_scb()
1074 0,0, /* SPIOWDataPtr:Unused1; */ in cs46xx_dsp_create_spio_write_scb()
1075 { 0,0 }, /* Unused2[2]; */ in cs46xx_dsp_create_spio_write_scb()
1077 0,0, /* SPIOWChildPtr:SPIOWSiblingPtr; */ in cs46xx_dsp_create_spio_write_scb()
1078 0,0, /* SPIOWThisPtr:SPIOWEntryPoint; */ in cs46xx_dsp_create_spio_write_scb()
1081 0, in cs46xx_dsp_create_spio_write_scb()
1082 0, in cs46xx_dsp_create_spio_write_scb()
1083 0, in cs46xx_dsp_create_spio_write_scb()
1084 0, in cs46xx_dsp_create_spio_write_scb()
1085 0 /* Unused3[5]; */ in cs46xx_dsp_create_spio_write_scb()
1106 /* 0 */ 0, /* i0 */ in cs46xx_dsp_create_magic_snoop_scb()
1107 /* 1 */ 0, /* i1 */ in cs46xx_dsp_create_magic_snoop_scb()
1108 /* 2 */ snoop_buffer_address << 0x10, in cs46xx_dsp_create_magic_snoop_scb()
1109 /* 3 */ 0,snoop_scb->address, in cs46xx_dsp_create_magic_snoop_scb()
1110 /* 4 */ 0, /* i3 */ in cs46xx_dsp_create_magic_snoop_scb()
1111 /* 5 */ 0, /* i4 */ in cs46xx_dsp_create_magic_snoop_scb()
1112 /* 6 */ 0, /* i5 */ in cs46xx_dsp_create_magic_snoop_scb()
1113 /* 7 */ 0, /* i6 */ in cs46xx_dsp_create_magic_snoop_scb()
1114 /* 8 */ 0, /* i7 */ in cs46xx_dsp_create_magic_snoop_scb()
1115 /* 9 */ 0,0, /* next_scb, sub_list_ptr */ in cs46xx_dsp_create_magic_snoop_scb()
1116 /* A */ 0,0, /* entry_point, this_ptr */ in cs46xx_dsp_create_magic_snoop_scb()
1118 /* C */ snoop_buffer_address << 0x10, in cs46xx_dsp_create_magic_snoop_scb()
1119 /* D */ 0, in cs46xx_dsp_create_magic_snoop_scb()
1120 /* E */ { 0x8000,0x8000, in cs46xx_dsp_create_magic_snoop_scb()
1121 /* F */ 0xffff,0xffff in cs46xx_dsp_create_magic_snoop_scb()
1149 0x0600, /* 1 */
1150 0x1500, /* 2 */
1151 0x1580, /* 3 */
1152 0x1600, /* 4 */
1153 0x1680, /* 5 */
1154 0x1700, /* 6 */
1155 0x1780, /* 7 */
1156 0x1800, /* 8 */
1157 0x1880, /* 9 */
1158 0x1900, /* 10 */
1159 0x1980, /* 11 */
1160 0x1A00, /* 12 */
1161 0x1A80, /* 13 */
1162 0x1B00, /* 14 */
1163 0x1B80, /* 15 */
1164 0x1C00, /* 16 */
1165 0x1C80, /* 17 */
1166 0x1D00, /* 18 */
1167 0x1D80, /* 19 */
1168 0x1E00, /* 20 */
1169 0x1E80, /* 21 */
1170 0x1F00, /* 22 */
1171 0x1F80, /* 23 */
1172 0x2000, /* 24 */
1173 0x2080, /* 25 */
1174 0x2100, /* 26 */
1175 0x2180, /* 27 */
1176 0x2200, /* 28 */
1177 0x2280, /* 29 */
1178 0x2300, /* 30 */
1179 0x2380, /* 31 */
1180 0x2400, /* 32 */
1184 0x2B80,
1185 0x2BA0,
1186 0x2BC0,
1187 0x2BE0,
1188 0x2D00,
1189 0x2D20,
1190 0x2D40,
1191 0x2D60,
1192 0x2D80,
1193 0x2DA0,
1194 0x2DC0,
1195 0x2DE0,
1196 0x2E00,
1197 0x2E20
1201 0x2480,
1202 0x2500,
1203 0x2580,
1204 0x2600,
1205 0x2680,
1206 0x2700,
1207 0x2780,
1208 0x2800,
1209 0x2880,
1210 0x2900,
1211 0x2980,
1212 0x2A00,
1213 0x2A80,
1214 0x2B00
1229 int i, pcm_index = -1, insert_point, src_index = -1, pass_through = 0; in cs46xx_dsp_create_pcm_channel()
1268 for (i = 0; i < DSP_MAX_PCM_CHANNELS && in cs46xx_dsp_create_pcm_channel()
1301 for (i = 0; i < DSP_MAX_SRC_NR; ++i) { in cs46xx_dsp_create_pcm_channel()
1302 if (ins->src_scb_slots[i] == 0) { in cs46xx_dsp_create_pcm_channel()
1328 /* 0x400 - 0x600 source SCBs */ in cs46xx_dsp_create_pcm_channel()
1329 0x400 + (src_index * 0x10) , in cs46xx_dsp_create_pcm_channel()
1353 /* 0x200 - 400 PCMreader SCBs */ in cs46xx_dsp_create_pcm_channel()
1354 (pcm_index * 0x10) + 0x200, in cs46xx_dsp_create_pcm_channel()
1355 pcm_index, /* virtual channel 0-31 */ in cs46xx_dsp_create_pcm_channel()
1358 0 /* insert point */ in cs46xx_dsp_create_pcm_channel()
1420 return 0; in cs46xx_dsp_pcm_channel_set_period()
1459 return 0; in cs46xx_dsp_pcm_ostream_set_period()
1469 ins->npcm_channels <= 0 || in cs46xx_dsp_destroy_pcm_channel()
1470 pcm_channel->src_scb->ref_count <= 0)) in cs46xx_dsp_destroy_pcm_channel()
1475 pcm_channel->active = 0; in cs46xx_dsp_destroy_pcm_channel()
1486 if (snd_BUG_ON(pcm_channel->src_slot < 0 || in cs46xx_dsp_destroy_pcm_channel()
1490 ins->src_scb_slots[pcm_channel->src_slot] = 0; in cs46xx_dsp_destroy_pcm_channel()
1501 chip->dsp_spos_instance->npcm_channels <= 0)) in cs46xx_dsp_pcm_unlink()
1515 return 0; in cs46xx_dsp_pcm_unlink()
1528 if (pcm_channel->unlinked == 0) { in cs46xx_dsp_pcm_link()
1551 pcm_channel->unlinked = 0; in cs46xx_dsp_pcm_link()
1553 return 0; in cs46xx_dsp_pcm_link()
1591 cs46xx_dsp_scb_set_volume (chip,src,0,0); in cs46xx_src_unlink()
1597 return 0; in cs46xx_src_unlink()
1623 return 0; in cs46xx_src_link()
1652 (OUTPUT_SNOOP_BUFFER + 0x10) << 0x10 ); in cs46xx_dsp_enable_spdif_out()
1674 return 0; in cs46xx_dsp_enable_spdif_out()
1711 return 0; in cs46xx_dsp_disable_spdif_out()
1744 return 0; in cs46xx_iec958_pre_open()
1776 return 0; in cs46xx_iec958_post_close()