Searched refs:schan (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/dma/sh/ |
H A D | shdma-base.c | 131 schan->id); in shdma_tx_submit() 137 ops->setup_xfer(schan, schan->slave_id); in shdma_tx_submit() 186 if (schan->real_slave_id < 0 || schan->real_slave_id >= slave_num) in shdma_setup_slave() 198 schan->slave_id = schan->real_slave_id; in shdma_setup_slave() 300 schan->real_slave_id = schan->slave_id; in shdma_chan_filter() 411 dev_dbg(schan->dev, "Bring down channel %d\n", schan->id); in __ld_cleanup() 425 schan->dma_chan.completed_cookie = schan->dma_chan.cookie; in __ld_cleanup() 856 if (!schan) in shdma_reset() 867 dev_dbg(schan->dev, "Bring down channel %d\n", schan->id); in shdma_reset() 957 schan->id = id; in shdma_chan_probe() [all …]
|
H A D | shdmac.c | 383 if (*len > schan->max_xfer_len) in sh_dmae_desc_setup() 384 *len = schan->max_xfer_len; in sh_dmae_desc_setup() 393 static void sh_dmae_halt(struct shdma_chan *schan) in sh_dmae_halt() argument 523 struct shdma_chan *schan; in sh_dmae_chan_probe() local 531 schan = &sh_chan->shdma_chan; in sh_dmae_chan_probe() 532 schan->max_xfer_len = SH_DMA_TCR_MAX + 1; in sh_dmae_chan_probe() 534 shdma_chan_probe(sdev, schan, id); in sh_dmae_chan_probe() 559 shdma_chan_remove(schan); in sh_dmae_chan_probe() 565 struct shdma_chan *schan; in sh_dmae_chan_remove() local 569 BUG_ON(!schan); in sh_dmae_chan_remove() [all …]
|
/linux/drivers/dma/ |
H A D | sprd-dma.c | 482 schan->chn_mode); in sprd_dma_set_2stage_config() 548 if (schan->chn_mode && sprd_dma_set_2stage_config(schan)) in sprd_dma_start() 555 sprd_dma_set_chn_config(schan, schan->cur_desc); in sprd_dma_start() 646 if (schan->cur_desc) in sprd_dma_free_chan_resources() 649 sprd_dma_stop(schan); in sprd_dma_free_chan_resources() 687 } else if (schan->cur_desc && schan->cur_desc->vd.tx.cookie == cookie) { in sprd_dma_tx_status() 709 if (vchan_issue_pending(&schan->vc) && !schan->cur_desc) in sprd_dma_issue_pending() 983 schan->chn_mode = in sprd_dma_prep_slave_sg() 985 schan->trg_mode = in sprd_dma_prep_slave_sg() 1079 if (schan->cur_desc) in sprd_dma_terminate_all() [all …]
|
/linux/include/linux/ |
H A D | shdma-base.h | 108 struct shdma_chan **schan; member 113 #define shdma_for_each_chan(c, d, i) for (i = 0, c = (d)->schan[0]; \ 114 i < (d)->dma_dev.chancnt; c = (d)->schan[++i]) 120 struct shdma_chan *schan, int id); 121 void shdma_chan_remove(struct shdma_chan *schan);
|
/linux/drivers/iio/afe/ |
H A D | iio-rescale.c | 285 struct iio_chan_spec const *schan = rescale->source->channel; in rescale_configure_channel() local 288 chan->output = schan->output; in rescale_configure_channel() 292 if (iio_channel_has_info(schan, IIO_CHAN_INFO_RAW) && in rescale_configure_channel() 293 (iio_channel_has_info(schan, IIO_CHAN_INFO_SCALE) || in rescale_configure_channel() 294 iio_channel_has_info(schan, IIO_CHAN_INFO_OFFSET))) { in rescale_configure_channel() 296 } else if (iio_channel_has_info(schan, IIO_CHAN_INFO_PROCESSED)) { in rescale_configure_channel() 315 if (iio_channel_has_available(schan, IIO_CHAN_INFO_RAW) && in rescale_configure_channel()
|
/linux/drivers/media/dvb-frontends/ |
H A D | dib3000mc.c | 590 struct dtv_frontend_properties schan; in dib3000mc_autosearch_start() local 592 schan = *chan; in dib3000mc_autosearch_start() 597 schan.transmission_mode = TRANSMISSION_MODE_8K; in dib3000mc_autosearch_start() 598 schan.guard_interval = GUARD_INTERVAL_1_32; in dib3000mc_autosearch_start() 599 schan.modulation = QAM_64; in dib3000mc_autosearch_start() 600 schan.code_rate_HP = FEC_2_3; in dib3000mc_autosearch_start() 601 schan.code_rate_LP = FEC_2_3; in dib3000mc_autosearch_start() 602 schan.hierarchy = 0; in dib3000mc_autosearch_start() 604 dib3000mc_set_channel_cfg(state, &schan, 11); in dib3000mc_autosearch_start()
|
H A D | dib7000m.c | 968 struct dtv_frontend_properties schan; in dib7000m_autosearch_start() local 972 schan = *ch; in dib7000m_autosearch_start() 974 schan.modulation = QAM_64; in dib7000m_autosearch_start() 975 schan.guard_interval = GUARD_INTERVAL_1_32; in dib7000m_autosearch_start() 976 schan.transmission_mode = TRANSMISSION_MODE_8K; in dib7000m_autosearch_start() 977 schan.code_rate_HP = FEC_2_3; in dib7000m_autosearch_start() 978 schan.code_rate_LP = FEC_3_4; in dib7000m_autosearch_start() 979 schan.hierarchy = 0; in dib7000m_autosearch_start() 981 dib7000m_set_channel(state, &schan, 7); in dib7000m_autosearch_start() 983 factor = BANDWIDTH_TO_KHZ(schan.bandwidth_hz); in dib7000m_autosearch_start()
|
H A D | dib7000p.c | 1129 struct dtv_frontend_properties schan; in dib7000p_autosearch_start() local 1133 schan = *ch; in dib7000p_autosearch_start() 1134 schan.modulation = QAM_64; in dib7000p_autosearch_start() 1135 schan.guard_interval = GUARD_INTERVAL_1_32; in dib7000p_autosearch_start() 1136 schan.transmission_mode = TRANSMISSION_MODE_8K; in dib7000p_autosearch_start() 1137 schan.code_rate_HP = FEC_2_3; in dib7000p_autosearch_start() 1138 schan.code_rate_LP = FEC_3_4; in dib7000p_autosearch_start() 1139 schan.hierarchy = 0; in dib7000p_autosearch_start() 1141 dib7000p_set_channel(state, &schan, 7); in dib7000p_autosearch_start()
|