Home
last modified time | relevance | path

Searched refs:gpct_index (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/staging/comedi/drivers/
Dni_stc.h734 static inline unsigned GPCT_DMA_Select_Bits(unsigned gpct_index, in GPCT_DMA_Select_Bits() argument
737 BUG_ON(gpct_index > 1); in GPCT_DMA_Select_Bits()
739 gpct_index); in GPCT_DMA_Select_Bits()
742 static inline unsigned GPCT_DMA_Select_Mask(unsigned gpct_index) in GPCT_DMA_Select_Mask() argument
744 BUG_ON(gpct_index > 1); in GPCT_DMA_Select_Mask()
745 return 0xf << (4 * gpct_index); in GPCT_DMA_Select_Mask()
Dni_mio_common.c491 unsigned gpct_index, in ni_set_gpct_dma_channel() argument
497 bitfield = GPCT_DMA_Select_Bits(gpct_index, mite_channel); in ni_set_gpct_dma_channel()
501 ni_set_bitfield(dev, G0_G1_Select, GPCT_DMA_Select_Mask(gpct_index), in ni_set_gpct_dma_channel()
567 unsigned gpct_index, in ni_request_gpct_mite_channel() argument
573 BUG_ON(gpct_index >= NUM_GPCT); in ni_request_gpct_mite_channel()
575 BUG_ON(devpriv->counter_dev->counters[gpct_index].mite_chan); in ni_request_gpct_mite_channel()
578 devpriv->gpct_mite_ring[gpct_index]); in ni_request_gpct_mite_channel()
586 ni_tio_set_mite_channel(&devpriv->counter_dev->counters[gpct_index], in ni_request_gpct_mite_channel()
588 ni_set_gpct_dma_channel(dev, gpct_index, mite_chan->channel); in ni_request_gpct_mite_channel()
648 unsigned gpct_index) in ni_release_gpct_mite_channel() argument
[all …]