Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/comedi/drivers/
Dni_stc.h729 static inline unsigned GPCT_DMA_Select_Bits(unsigned gpct_index, in GPCT_DMA_Select_Bits() argument
732 BUG_ON(gpct_index > 1); in GPCT_DMA_Select_Bits()
734 gpct_index); in GPCT_DMA_Select_Bits()
737 static inline unsigned GPCT_DMA_Select_Mask(unsigned gpct_index) in GPCT_DMA_Select_Mask() argument
739 BUG_ON(gpct_index > 1); in GPCT_DMA_Select_Mask()
740 return 0xf << (4 * gpct_index); in GPCT_DMA_Select_Mask()
Dni_mio_common.c713 unsigned gpct_index, in ni_set_gpct_dma_channel() argument
719 bitfield = GPCT_DMA_Select_Bits(gpct_index, mite_channel); in ni_set_gpct_dma_channel()
722 ni_set_bitfield(dev, G0_G1_Select, GPCT_DMA_Select_Mask(gpct_index), in ni_set_gpct_dma_channel()
791 unsigned gpct_index, in ni_request_gpct_mite_channel() argument
798 BUG_ON(gpct_index >= NUM_GPCT); in ni_request_gpct_mite_channel()
800 BUG_ON(devpriv->counter_dev->counters[gpct_index].mite_chan); in ni_request_gpct_mite_channel()
803 devpriv->gpct_mite_ring[gpct_index]); in ni_request_gpct_mite_channel()
811 ni_tio_set_mite_channel(&devpriv->counter_dev->counters[gpct_index], in ni_request_gpct_mite_channel()
813 ni_set_gpct_dma_channel(dev, gpct_index, mite_chan->channel); in ni_request_gpct_mite_channel()
877 unsigned gpct_index) in ni_release_gpct_mite_channel() argument
[all …]