Lines Matching refs:pcm_channel

1384 				       struct dsp_pcm_channel_descriptor * pcm_channel,  in cs46xx_dsp_pcm_channel_set_period()  argument
1387 u32 temp = snd_cs46xx_peek (chip,pcm_channel->pcm_reader_scb->address << 2); in cs46xx_dsp_pcm_channel_set_period()
1418 snd_cs46xx_poke (chip,pcm_channel->pcm_reader_scb->address << 2,temp); in cs46xx_dsp_pcm_channel_set_period()
1463 struct dsp_pcm_channel_descriptor * pcm_channel) in cs46xx_dsp_destroy_pcm_channel() argument
1468 if (snd_BUG_ON(!pcm_channel->active || in cs46xx_dsp_destroy_pcm_channel()
1470 pcm_channel->src_scb->ref_count <= 0)) in cs46xx_dsp_destroy_pcm_channel()
1474 pcm_channel->unlinked = 1; in cs46xx_dsp_destroy_pcm_channel()
1475 pcm_channel->active = 0; in cs46xx_dsp_destroy_pcm_channel()
1476 pcm_channel->private_data = NULL; in cs46xx_dsp_destroy_pcm_channel()
1477 pcm_channel->src_scb->ref_count --; in cs46xx_dsp_destroy_pcm_channel()
1481 cs46xx_dsp_remove_scb(chip,pcm_channel->pcm_reader_scb); in cs46xx_dsp_destroy_pcm_channel()
1483 if (!pcm_channel->src_scb->ref_count) { in cs46xx_dsp_destroy_pcm_channel()
1484 cs46xx_dsp_remove_scb(chip,pcm_channel->src_scb); in cs46xx_dsp_destroy_pcm_channel()
1486 if (snd_BUG_ON(pcm_channel->src_slot < 0 || in cs46xx_dsp_destroy_pcm_channel()
1487 pcm_channel->src_slot >= DSP_MAX_SRC_NR)) in cs46xx_dsp_destroy_pcm_channel()
1490 ins->src_scb_slots[pcm_channel->src_slot] = 0; in cs46xx_dsp_destroy_pcm_channel()
1496 struct dsp_pcm_channel_descriptor * pcm_channel) in cs46xx_dsp_pcm_unlink() argument
1500 if (snd_BUG_ON(!pcm_channel->active || in cs46xx_dsp_pcm_unlink()
1505 if (pcm_channel->unlinked) { in cs46xx_dsp_pcm_unlink()
1510 pcm_channel->unlinked = 1; in cs46xx_dsp_pcm_unlink()
1512 _dsp_unlink_scb (chip,pcm_channel->pcm_reader_scb); in cs46xx_dsp_pcm_unlink()
1519 struct dsp_pcm_channel_descriptor * pcm_channel) in cs46xx_dsp_pcm_link() argument
1523 struct dsp_scb_descriptor * src_scb = pcm_channel->src_scb; in cs46xx_dsp_pcm_link()
1528 if (pcm_channel->unlinked == 0) { in cs46xx_dsp_pcm_link()
1536 src_scb->sub_list_ptr->parent_scb_ptr = pcm_channel->pcm_reader_scb; in cs46xx_dsp_pcm_link()
1537 pcm_channel->pcm_reader_scb->next_scb_ptr = src_scb->sub_list_ptr; in cs46xx_dsp_pcm_link()
1540 src_scb->sub_list_ptr = pcm_channel->pcm_reader_scb; in cs46xx_dsp_pcm_link()
1542 snd_BUG_ON(pcm_channel->pcm_reader_scb->parent_scb_ptr); in cs46xx_dsp_pcm_link()
1543 pcm_channel->pcm_reader_scb->parent_scb_ptr = parent_scb; in cs46xx_dsp_pcm_link()
1546 cs46xx_dsp_spos_update_scb(chip,pcm_channel->pcm_reader_scb); in cs46xx_dsp_pcm_link()
1551 pcm_channel->unlinked = 0; in cs46xx_dsp_pcm_link()