#include <kernel.h>#include <uart.h>#include <device.h>

Go to the source code of this file.
Functions | |
| devcall | uartControl (device *pdev, int func, unsigned char arg1, unsigned char arg2) |
Definition in file uartControl.c.
| devcall uartControl | ( | device * | pdev, | |
| int | func, | |||
| unsigned char | arg1, | |||
| unsigned char | arg2 | |||
| ) |
Control parameters to a UART.
| pdev | pointer to UART device | |
| func | index of function to run (defined in uart.h) | |
| arg1 | first argument to called function | |
| arg2 | second argument to called function |
Definition at line 20 of file uartControl.c.
References dentry::controlblk, uart::iflags, uart::oflags, uart::oidle, SYSERR, UART_IOC_CLRIFLAG, UART_IOC_CLROFLAG, UART_IOC_GETIFLAG, UART_IOC_GETOFLAG, UART_IOC_OUTPUT_IDLE, UART_IOC_SETIFLAG, and UART_IOC_SETOFLAG.
1.5.5