Lines Matching refs:pcm_index
1229 int i, pcm_index = -1, insert_point, src_index = -1, pass_through = 0; in cs46xx_dsp_create_pcm_channel() local
1269 (pcm_index == -1 || src_scb == NULL); ++i) { in cs46xx_dsp_create_pcm_channel()
1283 } else if (pcm_index == -1) { in cs46xx_dsp_create_pcm_channel()
1284 pcm_index = i; in cs46xx_dsp_create_pcm_channel()
1288 if (pcm_index == -1) { in cs46xx_dsp_create_pcm_channel()
1346 snprintf (scb_name,DSP_MAX_SCB_NAME,"PCMReader_SCB%d",pcm_index); in cs46xx_dsp_create_pcm_channel()
1352 pcm_reader_buffer_addr[pcm_index], 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()
1368 ins->pcm_channels[pcm_index].sample_rate = sample_rate; in cs46xx_dsp_create_pcm_channel()
1369 ins->pcm_channels[pcm_index].pcm_reader_scb = pcm_scb; in cs46xx_dsp_create_pcm_channel()
1370 ins->pcm_channels[pcm_index].src_scb = src_scb; in cs46xx_dsp_create_pcm_channel()
1371 ins->pcm_channels[pcm_index].unlinked = 1; in cs46xx_dsp_create_pcm_channel()
1372 ins->pcm_channels[pcm_index].private_data = private_data; in cs46xx_dsp_create_pcm_channel()
1373 ins->pcm_channels[pcm_index].src_slot = src_index; in cs46xx_dsp_create_pcm_channel()
1374 ins->pcm_channels[pcm_index].active = 1; in cs46xx_dsp_create_pcm_channel()
1375 ins->pcm_channels[pcm_index].pcm_slot = pcm_index; in cs46xx_dsp_create_pcm_channel()
1376 ins->pcm_channels[pcm_index].mixer_scb = mixer_scb; in cs46xx_dsp_create_pcm_channel()
1380 return (ins->pcm_channels + pcm_index); in cs46xx_dsp_create_pcm_channel()