Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/comedi/drivers/
Dmite.h55 struct mite_channel { struct
73 struct mite_channel channels[MAX_MITE_DMA_CHANNELS]; argument
132 struct mite_channel *mite_request_channel_in_range(struct mite_struct *mite,
137 static inline struct mite_channel *mite_request_channel(struct mite_struct in mite_request_channel()
147 void mite_release_channel(struct mite_channel *mite_chan);
149 unsigned mite_dma_tcr(struct mite_channel *mite_chan);
150 void mite_dma_arm(struct mite_channel *mite_chan);
151 void mite_dma_disarm(struct mite_channel *mite_chan);
152 int mite_sync_input_dma(struct mite_channel *mite_chan,
154 int mite_sync_output_dma(struct mite_channel *mite_chan,
[all …]
Dmite.c262 struct mite_channel *mite_request_channel_in_range(struct mite_struct *mite, in mite_request_channel_in_range()
270 struct mite_channel *channel = NULL; in mite_request_channel_in_range()
289 void mite_release_channel(struct mite_channel *mite_chan) in mite_release_channel()
316 void mite_dma_arm(struct mite_channel *mite_chan) in mite_dma_arm()
395 void mite_prep_dma(struct mite_channel *mite_chan, in mite_prep_dma()
488 u32 mite_device_bytes_transferred(struct mite_channel *mite_chan) in mite_device_bytes_transferred()
494 u32 mite_bytes_in_transit(struct mite_channel *mite_chan) in mite_bytes_in_transit()
503 u32 mite_bytes_written_to_memory_lb(struct mite_channel *mite_chan) in mite_bytes_written_to_memory_lb()
513 u32 mite_bytes_written_to_memory_ub(struct mite_channel *mite_chan) in mite_bytes_written_to_memory_ub()
523 u32 mite_bytes_read_from_memory_lb(struct mite_channel *mite_chan) in mite_bytes_read_from_memory_lb()
[all …]
Dni_tio.h117 struct mite_channel *mite_chan;
163 struct mite_channel *mite_chan);
Dni_660x.c834 unsigned mite_channel, in ni_660x_set_dma_channel() argument
840 ~dma_select_mask(mite_channel); in ni_660x_set_dma_channel()
842 dma_select_bits(mite_channel, in ni_660x_set_dma_channel()
848 dma_reset_bit(mite_channel), DMAConfigRegister); in ni_660x_set_dma_channel()
854 unsigned mite_channel, in ni_660x_unset_dma_channel() argument
860 ~dma_select_mask(mite_channel); in ni_660x_unset_dma_channel()
862 dma_select_bits(mite_channel, dma_selection_none); in ni_660x_unset_dma_channel()
876 struct mite_channel *mite_chan; in ni_660x_request_mite_channel()
903 struct mite_channel *mite_chan = counter->mite_chan; in ni_660x_release_mite_channel()
Dni_stc.h735 unsigned mite_channel) in GPCT_DMA_Select_Bits() argument
738 return ni_stc_dma_channel_select_bitfield(mite_channel) << (4 * in GPCT_DMA_Select_Bits()
1508 struct mite_channel *ai_mite_chan; \
1509 struct mite_channel *ao_mite_chan;\
1510 struct mite_channel *cdo_mite_chan;\
Dni_tiocmd.c512 struct mite_channel *mite_chan) in ni_tio_set_mite_channel()
Dni_mio_common.c492 int mite_channel) in ni_set_gpct_dma_channel() argument
496 if (mite_channel >= 0) { in ni_set_gpct_dma_channel()
497 bitfield = GPCT_DMA_Select_Bits(gpct_index, mite_channel); in ni_set_gpct_dma_channel()
507 int mite_channel) in ni_set_cdo_dma_channel() argument
513 if (mite_channel >= 0) { in ni_set_cdo_dma_channel()
518 (ni_stc_dma_channel_select_bitfield(mite_channel) << in ni_set_cdo_dma_channel()
571 struct mite_channel *mite_chan; in ni_request_gpct_mite_channel()
656 struct mite_channel *mite_chan = in ni_release_gpct_mite_channel()
Dni_pcidio.c400 struct mite_channel *di_mite_chan;