Home
last modified time | relevance | path

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

/openbmc/linux/drivers/comedi/drivers/
H A Drtd520.c352 long ai_count; /* total transfer size (samples) */ member
586 if (devpriv->ai_count == 0) { /* done */ in ai_read_n()
602 if (devpriv->ai_count > 0) /* < 0, means read forever */ in ai_read_n()
603 devpriv->ai_count--; in ai_read_n()
642 if (devpriv->ai_count == 0) in rtd_interrupt()
650 if (devpriv->ai_count == 0) in rtd_interrupt()
913 devpriv->ai_count = cmd->stop_arg * cmd->chanlist_len; in rtd_ai_cmd()
915 (devpriv->xfer_count > devpriv->ai_count)) { in rtd_ai_cmd()
916 devpriv->xfer_count = devpriv->ai_count; in rtd_ai_cmd()
921 devpriv->ai_count = -1; /* read forever */ in rtd_ai_cmd()
[all …]