|
Functions | |
| int | a4l_sys_attach (int fd, a4l_lnkdesc_t *arg) |
| Attach an Analogy device to a driver. | |
| int | a4l_sys_detach (int fd) |
| Detach an Analogy device from a driver. | |
| int | a4l_sys_bufcfg (int fd, unsigned int idx_subd, unsigned long size) |
| Configure the buffer size. | |
| 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 |
| int] | size Buffer size to be set |
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() |
1.5.6