comedilib/lib
Ian Abbott 66070c6af6 Add comedi_set_read_subdevice() and comedi_set_write_subdevice()
These functions allow the current read or write subdevice to be changed
to another subdevice that supports streaming input (for read), or
streaming output (for write) asynchronous commands.

They return 0 on success, in which case the comedi_get_read_subdevice()
or comedi_get_write_subdevice() functions will get the updated read or
write subdevice.

Changes are local to the "open file description" that was created by
comedi_open() (actually, by open()), and have no effect on other open
file descriptions created by other calls to comedi_open() (or open())
for the same underlying Comedi device node.

Changes to the read or write subdevice is not currently supported by the
comedi.org version of the Comedi drivers, but is supported by the Linux
"in-tree" Comedi drivers since kernel version 3.19.
2016-05-12 18:10:59 +01:00
..
buffer.c Added some device and subdevice validity checks. 2008-11-05 12:52:25 +00:00
calib.c #include <sys/stat.h> needed for fstat(). 2011-01-05 15:02:44 +00:00
calib_lex.l lib/calib_lex.l: Add #define YY_NO_INPUT to C pre-amble 2013-03-21 15:49:18 +00:00
calib_yacc.y lib/calib_yacc.y: fix segfault in comedi_parse_calibration_file() 2015-08-20 13:02:53 +01:00
cmd.c lib: remove cached cmd_timed and cmd_timed_errno from subdevice 2013-05-07 12:58:30 +01:00
comedi.c Add comedi_set_read_subdevice() and comedi_set_write_subdevice() 2016-05-12 18:10:59 +01:00
data.c lib/data.c: remove unused variables 2013-05-07 13:01:08 +01:00
dio.c Updated comedi_dio_config implementation to reflect logical split 2008-02-12 18:27:00 +00:00
error.c Put __comedi_errno variable into thread-local storage if the compiler 2009-02-18 14:10:54 +00:00
filler.c Fixed do_test_for_insn_bits(), broken by validity checks added to 2008-12-18 17:23:14 +00:00
get.c Added some device and subdevice validity checks. 2008-11-05 12:52:25 +00:00
insn_config_wrappers.c Add digital trigger configuration functions 2016-03-21 11:28:29 +00:00
ioctl.c Made comedi_ioctl take its third argument as a void* instead of 2008-02-12 01:12:46 +00:00
libinternal.h lib: replace YYPARSE_PARAM and YYLEX_PARAM 2014-01-07 14:24:36 +00:00
Makefile.am lib/Makefile.am: Add 'comedi_la_LIBADD = -lm' 2014-02-13 11:39:35 +00:00
range.c lib/range.c: deal with samples > maxdata when converting to phys 2015-08-24 17:33:11 +01:00
sv.c lib: check some malloc/calloc/realloc failures 2013-05-07 12:32:26 +01:00
timed.c trying to fix undefined symbol problems people are having 2003-05-18 00:26:59 +00:00
timer.c Added some device and subdevice validity checks. 2008-11-05 12:52:25 +00:00
version_script Add comedi_set_read_subdevice() and comedi_set_write_subdevice() 2016-05-12 18:10:59 +01:00