Home
last modified time | relevance | path

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

/drivers/dma/sh/
Dshdma-base.c55 static void shdma_chan_xfer_ld_queue(struct shdma_chan *schan) in shdma_chan_xfer_ld_queue() argument
57 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_chan_xfer_ld_queue()
62 if (ops->channel_busy(schan)) in shdma_chan_xfer_ld_queue()
66 list_for_each_entry(sdesc, &schan->ld_queue, node) in shdma_chan_xfer_ld_queue()
68 ops->start_xfer(schan, sdesc); in shdma_chan_xfer_ld_queue()
77 struct shdma_chan *schan = to_shdma_chan(tx->chan); in shdma_tx_submit() local
82 spin_lock_irq(&schan->chan_lock); in shdma_tx_submit()
84 power_up = list_empty(&schan->ld_queue); in shdma_tx_submit()
97 &chunk->node == &schan->ld_free)) in shdma_tx_submit()
108 list_move_tail(&chunk->node, &schan->ld_queue); in shdma_tx_submit()
[all …]
Dsudmac.c52 #define to_chan(schan) container_of(schan, struct sudmac_chan, shdma_chan) argument
118 static void sudmac_start_xfer(struct shdma_chan *schan, in sudmac_start_xfer() argument
121 struct sudmac_chan *sc = to_chan(schan); in sudmac_start_xfer()
128 static bool sudmac_channel_busy(struct shdma_chan *schan) in sudmac_channel_busy() argument
130 struct sudmac_chan *sc = to_chan(schan); in sudmac_channel_busy()
135 static void sudmac_setup_xfer(struct shdma_chan *schan, int slave_id) in sudmac_setup_xfer() argument
154 static int sudmac_set_slave(struct shdma_chan *schan, int slave_id, in sudmac_set_slave() argument
157 struct sudmac_chan *sc = to_chan(schan); in sudmac_set_slave()
175 static int sudmac_desc_setup(struct shdma_chan *schan, in sudmac_desc_setup() argument
179 struct sudmac_chan *sc = to_chan(schan); in sudmac_desc_setup()
[all …]
Drcar-hpbdma.c123 #define to_chan(schan) container_of(schan, struct hpb_dmae_chan, shdma_chan) argument
285 static void hpb_dmae_halt(struct shdma_chan *schan) in hpb_dmae_halt() argument
287 struct hpb_dmae_chan *chan = to_chan(schan); in hpb_dmae_halt()
313 static void hpb_dmae_start_xfer(struct shdma_chan *schan, in hpb_dmae_start_xfer() argument
316 struct hpb_dmae_chan *chan = to_chan(schan); in hpb_dmae_start_xfer()
333 static bool hpb_dmae_desc_completed(struct shdma_chan *schan, in hpb_dmae_desc_completed() argument
346 static bool hpb_dmae_chan_irq(struct shdma_chan *schan, int irq) in hpb_dmae_chan_irq() argument
348 struct hpb_dmae_chan *chan = to_chan(schan); in hpb_dmae_chan_irq()
361 static int hpb_dmae_desc_setup(struct shdma_chan *schan, in hpb_dmae_desc_setup() argument
377 static size_t hpb_dmae_get_partial(struct shdma_chan *schan, in hpb_dmae_get_partial() argument
[all …]
Dshdmac.c286 static void sh_dmae_start_xfer(struct shdma_chan *schan, in sh_dmae_start_xfer() argument
289 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_start_xfer()
301 static bool sh_dmae_channel_busy(struct shdma_chan *schan) in sh_dmae_channel_busy() argument
303 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_channel_busy()
308 static void sh_dmae_setup_xfer(struct shdma_chan *schan, in sh_dmae_setup_xfer() argument
311 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_setup_xfer()
355 static int sh_dmae_set_slave(struct shdma_chan *schan, in sh_dmae_set_slave() argument
358 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_set_slave()
381 static int sh_dmae_desc_setup(struct shdma_chan *schan, in sh_dmae_desc_setup() argument
388 if (*len > schan->max_xfer_len) in sh_dmae_desc_setup()
[all …]
/drivers/dma/
Dsirf-dma.c159 struct sirfsoc_dma_chan *schan = dma_chan_to_sirfsoc_dma_chan(c); in dma_chan_to_sirfsoc_dma() local
160 return container_of(schan, struct sirfsoc_dma, channels[c->chan_id]); in dma_chan_to_sirfsoc_dma()
237 static void sirfsoc_dma_execute(struct sirfsoc_dma_chan *schan) in sirfsoc_dma_execute() argument
239 struct sirfsoc_dma *sdma = dma_chan_to_sirfsoc_dma(&schan->chan); in sirfsoc_dma_execute()
240 int cid = schan->chan.chan_id; in sirfsoc_dma_execute()
249 sdesc = list_first_entry(&schan->queued, struct sirfsoc_dma_desc, in sirfsoc_dma_execute()
252 list_move_tail(&sdesc->node, &schan->active); in sirfsoc_dma_execute()
258 sdma->exec_desc(sdesc, cid, schan->mode, base); in sirfsoc_dma_execute()
261 schan->happened_cyclic = schan->completed_cyclic = 0; in sirfsoc_dma_execute()
268 struct sirfsoc_dma_chan *schan; in sirfsoc_dma_irq() local
[all …]
/drivers/media/dvb-frontends/
Ddib3000mc.c559 struct dtv_frontend_properties schan; in dib3000mc_autosearch_start() local
561 schan = *chan; in dib3000mc_autosearch_start()
566 schan.transmission_mode = TRANSMISSION_MODE_8K; in dib3000mc_autosearch_start()
567 schan.guard_interval = GUARD_INTERVAL_1_32; in dib3000mc_autosearch_start()
568 schan.modulation = QAM_64; in dib3000mc_autosearch_start()
569 schan.code_rate_HP = FEC_2_3; in dib3000mc_autosearch_start()
570 schan.code_rate_LP = FEC_2_3; in dib3000mc_autosearch_start()
571 schan.hierarchy = 0; in dib3000mc_autosearch_start()
573 dib3000mc_set_channel_cfg(state, &schan, 11); in dib3000mc_autosearch_start()
Ddib7000m.c964 struct dtv_frontend_properties schan; in dib7000m_autosearch_start() local
968 schan = *ch; in dib7000m_autosearch_start()
970 schan.modulation = QAM_64; in dib7000m_autosearch_start()
971 schan.guard_interval = GUARD_INTERVAL_1_32; in dib7000m_autosearch_start()
972 schan.transmission_mode = TRANSMISSION_MODE_8K; in dib7000m_autosearch_start()
973 schan.code_rate_HP = FEC_2_3; in dib7000m_autosearch_start()
974 schan.code_rate_LP = FEC_3_4; in dib7000m_autosearch_start()
975 schan.hierarchy = 0; in dib7000m_autosearch_start()
977 dib7000m_set_channel(state, &schan, 7); in dib7000m_autosearch_start()
979 factor = BANDWIDTH_TO_KHZ(schan.bandwidth_hz); in dib7000m_autosearch_start()
Ddib7000p.c1121 struct dtv_frontend_properties schan; in dib7000p_autosearch_start() local
1125 schan = *ch; in dib7000p_autosearch_start()
1126 schan.modulation = QAM_64; in dib7000p_autosearch_start()
1127 schan.guard_interval = GUARD_INTERVAL_1_32; in dib7000p_autosearch_start()
1128 schan.transmission_mode = TRANSMISSION_MODE_8K; in dib7000p_autosearch_start()
1129 schan.code_rate_HP = FEC_2_3; in dib7000p_autosearch_start()
1130 schan.code_rate_LP = FEC_3_4; in dib7000p_autosearch_start()
1131 schan.hierarchy = 0; in dib7000p_autosearch_start()
1133 dib7000p_set_channel(state, &schan, 7); in dib7000p_autosearch_start()