Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/comedi/drivers/
Dmite.h36 struct mite_channel { struct
47 struct mite_channel channels[MAX_MITE_DMA_CHANNELS]; argument
54 u32 mite_bytes_in_transit(struct mite_channel *mite_chan);
56 void mite_sync_dma(struct mite_channel *mite_chan, struct comedi_subdevice *s);
57 void mite_ack_linkc(struct mite_channel *mite_chan, struct comedi_subdevice *s,
59 int mite_done(struct mite_channel *mite_chan);
61 void mite_dma_arm(struct mite_channel *mite_chan);
62 void mite_dma_disarm(struct mite_channel *mite_chan);
64 void mite_prep_dma(struct mite_channel *mite_chan,
67 struct mite_channel *mite_request_channel_in_range(struct mite *mite,
[all …]
Dmite.c215 static u32 mite_device_bytes_transferred(struct mite_channel *mite_chan) in mite_device_bytes_transferred()
226 u32 mite_bytes_in_transit(struct mite_channel *mite_chan) in mite_bytes_in_transit()
235 static u32 mite_bytes_written_to_memory_lb(struct mite_channel *mite_chan) in mite_bytes_written_to_memory_lb()
244 static u32 mite_bytes_written_to_memory_ub(struct mite_channel *mite_chan) in mite_bytes_written_to_memory_ub()
253 static u32 mite_bytes_read_from_memory_lb(struct mite_channel *mite_chan) in mite_bytes_read_from_memory_lb()
262 static u32 mite_bytes_read_from_memory_ub(struct mite_channel *mite_chan) in mite_bytes_read_from_memory_ub()
270 static void mite_sync_input_dma(struct mite_channel *mite_chan, in mite_sync_input_dma()
302 static void mite_sync_output_dma(struct mite_channel *mite_chan, in mite_sync_output_dma()
351 void mite_sync_dma(struct mite_channel *mite_chan, struct comedi_subdevice *s) in mite_sync_dma()
360 static unsigned int mite_get_status(struct mite_channel *mite_chan) in mite_get_status()
[all …]
Dni_660x.c310 unsigned int mite_channel, in ni_660x_set_dma_channel() argument
316 devpriv->dma_cfg[chip] &= ~NI660X_DMA_CFG_SEL_MASK(mite_channel); in ni_660x_set_dma_channel()
317 devpriv->dma_cfg[chip] |= NI660X_DMA_CFG_SEL(mite_channel, in ni_660x_set_dma_channel()
320 NI660X_DMA_CFG_RESET(mite_channel), in ni_660x_set_dma_channel()
325 unsigned int mite_channel, in ni_660x_unset_dma_channel() argument
331 devpriv->dma_cfg[chip] &= ~NI660X_DMA_CFG_SEL_MASK(mite_channel); in ni_660x_unset_dma_channel()
332 devpriv->dma_cfg[chip] |= NI660X_DMA_CFG_SEL_NONE(mite_channel); in ni_660x_unset_dma_channel()
342 struct mite_channel *mite_chan; in ni_660x_request_mite_channel()
369 struct mite_channel *mite_chan = counter->mite_chan; in ni_660x_release_mite_channel()
Dni_tio.h98 struct mite_channel *mite_chan;
142 struct mite_channel *mite_chan);
Dni_stc.h1038 struct mite_channel *ai_mite_chan;
1039 struct mite_channel *ao_mite_chan;
1040 struct mite_channel *cdo_mite_chan;
Dni_tiocmd.c487 struct mite_channel *mite_chan) in ni_tio_set_mite_channel()
Dni_pcidio.c288 struct mite_channel *di_mite_chan;
Dni_mio_common.c564 struct mite_channel *mite_chan; in ni_request_ai_mite_channel()
590 struct mite_channel *mite_chan; in ni_request_ao_mite_channel()
619 struct mite_channel *mite_chan; in ni_request_gpct_mite_channel()
647 struct mite_channel *mite_chan; in ni_request_cdo_mite_channel()
721 struct mite_channel *mite_chan = in ni_release_gpct_mite_channel()