Searched refs:gpct_index (Results 1 – 1 of 1) sorted by relevance
629 unsigned int gpct_index, in ni_request_gpct_mite_channel() argument633 struct ni_gpct *counter = &devpriv->counter_dev->counters[gpct_index]; in ni_request_gpct_mite_channel()640 devpriv->gpct_mite_ring[gpct_index]); in ni_request_gpct_mite_channel()652 NI_E_DMA_G0_G1_SEL_MASK(gpct_index), in ni_request_gpct_mite_channel()653 NI_E_DMA_G0_G1_SEL(gpct_index, bits)); in ni_request_gpct_mite_channel()729 unsigned int gpct_index) in ni_release_gpct_mite_channel() argument735 if (devpriv->counter_dev->counters[gpct_index].mite_chan) { in ni_release_gpct_mite_channel()737 devpriv->counter_dev->counters[gpct_index].mite_chan; in ni_release_gpct_mite_channel()740 NI_E_DMA_G0_G1_SEL_MASK(gpct_index), 0); in ni_release_gpct_mite_channel()741 ni_tio_set_mite_channel(&devpriv->counter_dev->counters[gpct_index], in ni_release_gpct_mite_channel()[all …]