Searched refs:sram_ch (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/media/pci/cx25821/
H A Dcx25821-audio-upstream.c109 const struct sram_channel *sram_ch = cx25821_risc_field_upstream_audio() local
125 *(rp++) = sram_ch->dma_ctl; cx25821_risc_field_upstream_audio()
126 *(rp++) = sram_ch->fld_aud_fifo_en; cx25821_risc_field_upstream_audio()
218 const struct sram_channel *sram_ch = cx25821_stop_upstream_audio() local
228 cx_write(sram_ch->int_msk, 0); cx25821_stop_upstream_audio()
231 tmp = cx_read(sram_ch->dma_ctl); cx25821_stop_upstream_audio()
232 cx_write(sram_ch->dma_ctl, cx25821_stop_upstream_audio()
233 tmp & ~(sram_ch->fld_aud_fifo_en | sram_ch->fld_aud_risc_en)); cx25821_stop_upstream_audio()
260 const struct sram_channel *sram_ch) cx25821_get_audio_data()
322 const struct sram_channel *sram_ch) cx25821_openfile_audio()
363 const struct sram_channel *sram_ch, cx25821_audio_upstream_buffer_prepare()
401 ret = cx25821_openfile_audio(dev, sram_ch); cx25821_audio_upstream_buffer_prepare()
517 const struct sram_channel *sram_ch; cx25821_upstream_irq_audio() local
522 sram_ch = dev->channels[dev->_audio_upstream_channel].sram_channels; cx25821_upstream_irq_audio()
524 audio_status = cx_read(sram_ch->int_stat); cx25821_upstream_irq_audio()
541 const struct sram_channel *sram_ch) cx25821_wait_fifo_enable()
551 tmp = cx_read(sram_ch->dma_ctl); cx25821_wait_fifo_enable()
560 } while (!(tmp & sram_ch->fld_aud_fifo_en)); cx25821_wait_fifo_enable()
565 const struct sram_channel *sram_ch) cx25821_start_audio_dma_upstream()
572 cx_write(sram_ch->cmds_start + 0, dev->_risc_phys_addr); cx25821_start_audio_dma_upstream()
574 cx_write(sram_ch->cmds_start + 4, 0); cx25821_start_audio_dma_upstream()
577 cx_write(sram_ch->gpcnt_ctl, 3); cx25821_start_audio_dma_upstream()
581 cx_write(sram_ch->aud_length, AUDIO_LINE_SIZE & FLD_AUD_DST_LN_LNGTH); cx25821_start_audio_dma_upstream()
584 tmp = cx_read(sram_ch->aud_cfg); cx25821_start_audio_dma_upstream()
588 cx_write(sram_ch->aud_cfg, tmp); cx25821_start_audio_dma_upstream()
591 tmp = cx_read(sram_ch->int_stat); cx25821_start_audio_dma_upstream()
592 cx_write(sram_ch->int_stat, tmp); cx25821_start_audio_dma_upstream()
595 cx_write(sram_ch->int_stat, _intr_msk); cx25821_start_audio_dma_upstream()
598 cx_set(PCI_INT_MSK, cx_read(PCI_INT_MSK) | (1 << sram_ch->irq_bit)); cx25821_start_audio_dma_upstream()
599 tmp = cx_read(sram_ch->int_msk); cx25821_start_audio_dma_upstream()
600 cx_write(sram_ch->int_msk, tmp |= _intr_msk); cx25821_start_audio_dma_upstream()
611 tmp = cx_read(sram_ch->dma_ctl); cx25821_start_audio_dma_upstream()
612 cx_set(sram_ch->dma_ctl, tmp | sram_ch->fld_aud_risc_en); cx25821_start_audio_dma_upstream()
618 cx25821_wait_fifo_enable(dev, sram_ch); cx25821_start_audio_dma_upstream()
629 const struct sram_channel *sram_ch; cx25821_audio_upstream_init() local
638 sram_ch = dev->channels[channel_select].sram_channels; cx25821_audio_upstream_init()
671 cx25821_sram_channel_setup_upstream_audio(dev, sram_ch, cx25821_audio_upstream_init()
680 err = cx25821_audio_upstream_buffer_prepare(dev, sram_ch, cx25821_audio_upstream_init()
688 cx25821_start_audio_dma_upstream(dev, sram_ch); cx25821_audio_upstream_init()
259 cx25821_get_audio_data(struct cx25821_dev *dev, const struct sram_channel *sram_ch) cx25821_get_audio_data() argument
321 cx25821_openfile_audio(struct cx25821_dev *dev, const struct sram_channel *sram_ch) cx25821_openfile_audio() argument
362 cx25821_audio_upstream_buffer_prepare(struct cx25821_dev *dev, const struct sram_channel *sram_ch, int bpl) cx25821_audio_upstream_buffer_prepare() argument
540 cx25821_wait_fifo_enable(struct cx25821_dev *dev, const struct sram_channel *sram_ch) cx25821_wait_fifo_enable() argument
564 cx25821_start_audio_dma_upstream(struct cx25821_dev *dev, const struct sram_channel *sram_ch) cx25821_start_audio_dma_upstream() argument
H A Dcx25821-video-upstream.c135 const struct sram_channel *sram_ch = chan->sram_channels; cx25821_risc_field_upstream() local
163 *(rp++) = cpu_to_le32(sram_ch->dma_ctl); cx25821_risc_field_upstream()
249 const struct sram_channel *sram_ch = chan->sram_channels; cx25821_stop_upstream_video() local
258 cx_set(PCI_INT_MSK, cx_read(PCI_INT_MSK) & ~(1 << sram_ch->irq_bit)); cx25821_stop_upstream_video()
261 tmp = cx_read(sram_ch->int_msk); cx25821_stop_upstream_video()
262 cx_write(sram_ch->int_msk, tmp & ~_intr_msk); cx25821_stop_upstream_video()
265 tmp = cx_read(sram_ch->dma_ctl); cx25821_stop_upstream_video()
266 cx_write(sram_ch->dma_ctl, tmp & ~(FLD_VID_FIFO_EN | FLD_VID_RISC_EN)); cx25821_stop_upstream_video()
347 const struct sram_channel *sram_ch, cx25821_upstream_buffer_prepare()
500 const struct sram_channel *sram_ch; cx25821_upstream_irq() local
505 sram_ch = chan->sram_channels; cx25821_upstream_irq()
507 vid_status = cx_read(sram_ch->int_stat); cx25821_upstream_irq()
552 const struct sram_channel *sram_ch) cx25821_start_video_dma_upstream()
568 cx_write(sram_ch->cmds_start + 0, out->_dma_phys_addr); cx25821_start_video_dma_upstream()
570 cx_write(sram_ch->cmds_start + 4, 0); cx25821_start_video_dma_upstream()
573 cx_write(sram_ch->gpcnt_ctl, 3); cx25821_start_video_dma_upstream()
576 cx_write(sram_ch->int_stat, _intr_msk); cx25821_start_video_dma_upstream()
579 cx_set(PCI_INT_MSK, cx_read(PCI_INT_MSK) | (1 << sram_ch->irq_bit)); cx25821_start_video_dma_upstream()
580 tmp = cx_read(sram_ch->int_msk); cx25821_start_video_dma_upstream()
581 cx_write(sram_ch->int_msk, tmp |= _intr_msk); cx25821_start_video_dma_upstream()
592 tmp = cx_read(sram_ch->dma_ctl); cx25821_start_video_dma_upstream()
593 cx_set(sram_ch->dma_ctl, tmp | FLD_VID_RISC_EN); cx25821_start_video_dma_upstream()
610 const struct sram_channel *sram_ch; cx25821_vidupstream_init() local
621 sram_ch = chan->sram_channels; cx25821_vidupstream_init()
652 err = cx25821_sram_channel_setup_upstream(dev, sram_ch, cx25821_vidupstream_init()
656 cx25821_set_pixelengine(chan, sram_ch, out->_pixel_format); cx25821_vidupstream_init()
662 err = cx25821_upstream_buffer_prepare(chan, sram_ch, out->_line_size); cx25821_vidupstream_init()
669 cx25821_start_video_dma_upstream(chan, sram_ch); cx25821_vidupstream_init()
346 cx25821_upstream_buffer_prepare(struct cx25821_channel *chan, const struct sram_channel *sram_ch, int bpl) cx25821_upstream_buffer_prepare() argument
551 cx25821_start_video_dma_upstream(struct cx25821_channel *chan, const struct sram_channel *sram_ch) cx25821_start_video_dma_upstream() argument
H A Dcx25821-video.c427 const struct sram_channel *sram_ch = chan->sram_channels; vidioc_log_status() local
430 tmp = cx_read(sram_ch->dma_ctl); vidioc_log_status()

Completed in 99 milliseconds