Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/comedi/drivers/
Dni_mio_common.c614 unsigned int gpct_index, in ni_request_gpct_mite_channel() argument
618 struct ni_gpct *counter = &devpriv->counter_dev->counters[gpct_index]; in ni_request_gpct_mite_channel()
625 devpriv->gpct_mite_ring[gpct_index]); in ni_request_gpct_mite_channel()
637 NI_E_DMA_G0_G1_SEL_MASK(gpct_index), in ni_request_gpct_mite_channel()
638 NI_E_DMA_G0_G1_SEL(gpct_index, bits)); in ni_request_gpct_mite_channel()
714 unsigned int gpct_index) in ni_release_gpct_mite_channel() argument
720 if (devpriv->counter_dev->counters[gpct_index].mite_chan) { in ni_release_gpct_mite_channel()
722 devpriv->counter_dev->counters[gpct_index].mite_chan; in ni_release_gpct_mite_channel()
725 NI_E_DMA_G0_G1_SEL_MASK(gpct_index), 0); in ni_release_gpct_mite_channel()
727 counter_dev->counters[gpct_index], in ni_release_gpct_mite_channel()
[all …]