Home
last modified time | relevance | path

Searched refs:schan (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/drivers/dma/sh/
Dshdma-base.c52 static void shdma_chan_xfer_ld_queue(struct shdma_chan *schan) in shdma_chan_xfer_ld_queue() argument
54 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_chan_xfer_ld_queue()
59 if (ops->channel_busy(schan)) in shdma_chan_xfer_ld_queue()
63 list_for_each_entry(sdesc, &schan->ld_queue, node) in shdma_chan_xfer_ld_queue()
65 ops->start_xfer(schan, sdesc); in shdma_chan_xfer_ld_queue()
74 struct shdma_chan *schan = to_shdma_chan(tx->chan); in shdma_tx_submit() local
79 spin_lock_irq(&schan->chan_lock); in shdma_tx_submit()
81 power_up = list_empty(&schan->ld_queue); in shdma_tx_submit()
94 &chunk->node == &schan->ld_free)) in shdma_tx_submit()
105 list_move_tail(&chunk->node, &schan->ld_queue); in shdma_tx_submit()
[all …]
Dshdmac.c282 static void sh_dmae_start_xfer(struct shdma_chan *schan, in sh_dmae_start_xfer() argument
285 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_start_xfer()
297 static bool sh_dmae_channel_busy(struct shdma_chan *schan) in sh_dmae_channel_busy() argument
299 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_channel_busy()
304 static void sh_dmae_setup_xfer(struct shdma_chan *schan, in sh_dmae_setup_xfer() argument
307 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_setup_xfer()
351 static int sh_dmae_set_slave(struct shdma_chan *schan, in sh_dmae_set_slave() argument
354 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_set_slave()
377 static int sh_dmae_desc_setup(struct shdma_chan *schan, in sh_dmae_desc_setup() argument
384 if (*len > schan->max_xfer_len) in sh_dmae_desc_setup()
[all …]
/Linux-v6.1/drivers/dma/
Dsprd-dma.c231 struct sprd_dma_chn *schan = to_sprd_dma_chan(c); in to_sprd_dma_dev() local
233 return container_of(schan, struct sprd_dma_dev, channels[c->chan_id]); in to_sprd_dma_dev()
251 static void sprd_dma_chn_update(struct sprd_dma_chn *schan, u32 reg, in sprd_dma_chn_update() argument
254 u32 orig = readl(schan->chn_base + reg); in sprd_dma_chn_update()
258 writel(tmp, schan->chn_base + reg); in sprd_dma_chn_update()
290 static void sprd_dma_set_uid(struct sprd_dma_chn *schan) in sprd_dma_set_uid() argument
292 struct sprd_dma_dev *sdev = to_sprd_dma_dev(&schan->vc.chan); in sprd_dma_set_uid()
293 u32 dev_id = schan->dev_id; in sprd_dma_set_uid()
299 writel(schan->chn_num + 1, sdev->glb_base + uid_offset); in sprd_dma_set_uid()
303 static void sprd_dma_unset_uid(struct sprd_dma_chn *schan) in sprd_dma_unset_uid() argument
[all …]
/Linux-v6.1/include/linux/
Dshdma-base.h108 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-v6.1/drivers/iio/afe/
Diio-rescale.c275 struct iio_chan_spec const *schan = rescale->source->channel; in rescale_configure_channel() local
278 chan->output = schan->output; in rescale_configure_channel()
282 if (iio_channel_has_info(schan, IIO_CHAN_INFO_RAW) && in rescale_configure_channel()
283 iio_channel_has_info(schan, IIO_CHAN_INFO_SCALE)) { in rescale_configure_channel()
285 } else if (iio_channel_has_info(schan, IIO_CHAN_INFO_PROCESSED)) { in rescale_configure_channel()
304 if (iio_channel_has_available(schan, IIO_CHAN_INFO_RAW) && in rescale_configure_channel()
/Linux-v6.1/drivers/media/dvb-frontends/
Ddib3000mc.c590 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()
Ddib7000m.c968 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()
Ddib7000p.c1134 struct dtv_frontend_properties schan; in dib7000p_autosearch_start() local
1138 schan = *ch; in dib7000p_autosearch_start()
1139 schan.modulation = QAM_64; in dib7000p_autosearch_start()
1140 schan.guard_interval = GUARD_INTERVAL_1_32; in dib7000p_autosearch_start()
1141 schan.transmission_mode = TRANSMISSION_MODE_8K; in dib7000p_autosearch_start()
1142 schan.code_rate_HP = FEC_2_3; in dib7000p_autosearch_start()
1143 schan.code_rate_LP = FEC_3_4; in dib7000p_autosearch_start()
1144 schan.hierarchy = 0; in dib7000p_autosearch_start()
1146 dib7000p_set_channel(state, &schan, 7); in dib7000p_autosearch_start()