Xenomai API
2.6.5
|
Functions | |
int | a4l_sys_attach (int fd, a4l_lnkdesc_t *arg) |
Attach an Analogy device to a driver. More... | |
int | a4l_sys_detach (int fd) |
Detach an Analogy device from a driver. More... | |
int | a4l_sys_bufcfg (int fd, unsigned int idx_subd, unsigned long size) |
Configure the buffer size. More... | |
int a4l_sys_attach | ( | int | fd, |
a4l_lnkdesc_t * | arg | ||
) |
Attach an Analogy device to a driver.
[in] | fd | File descriptor as returned by a4l_sys_open() |
[in] | arg | Link descriptor argument |
int a4l_sys_bufcfg | ( | int | fd, |
unsigned int | idx_subd, | ||
unsigned long | size | ||
) |
Configure the buffer size.
This function can configure the buffer size of the file descriptor currently in use. If the subdevice index is set to A4L_BUF_DEFMAGIC, it can also define the default buffser size at open time.
[in] | fd | File descriptor as returned by a4l_sys_open() |
[in] | idx_subd | Index of the concerned subdevice |
Referenced by a4l_set_bufsize().
int a4l_sys_detach | ( | int | fd | ) |
Detach an Analogy device from a driver.
[in] | fd | File descriptor as returned by a4l_sys_open() |