Home
last modified time | relevance | path

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

/openbmc/linux/drivers/comedi/drivers/
H A 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);
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,
71 struct mite_channel *mite_request_channel(struct mite *mite,
[all …]
H A Dmite.c226 u32 mite_bytes_in_transit(struct mite_channel *mite_chan) in mite_bytes_in_transit()
270 static void mite_sync_input_dma(struct mite_channel *mite_chan, in mite_sync_input_dma()
385 void mite_ack_linkc(struct mite_channel *mite_chan, in mite_ack_linkc()
414 int mite_done(struct mite_channel *mite_chan) in mite_done()
428 static void mite_dma_reset(struct mite_channel *mite_chan) in mite_dma_reset()
438 void mite_dma_arm(struct mite_channel *mite_chan) in mite_dma_arm()
460 void mite_dma_disarm(struct mite_channel *mite_chan) in mite_dma_disarm()
475 void mite_prep_dma(struct mite_channel *mite_chan, in mite_prep_dma()
572 struct mite_channel *mite_chan = NULL; in mite_request_channel_in_range()
599 struct mite_channel *mite_request_channel(struct mite *mite, in mite_request_channel()
[all …]
H A 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()
H A Dni_tio.h98 struct mite_channel *mite_chan;
142 struct mite_channel *mite_chan);
H A Dni_stc.h1038 struct mite_channel *ai_mite_chan;
1039 struct mite_channel *ao_mite_chan;
1040 struct mite_channel *cdo_mite_chan;
H A Dni_tiocmd.c487 struct mite_channel *mite_chan) in ni_tio_set_mite_channel()
H A Dni_pcidio.c288 struct mite_channel *di_mite_chan;
H A 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()