Searched refs:serinfo (Results 1 – 1 of 1) sorted by relevance
/busybox-1.35.0/miscutils/ |
D | setserial.c | 501 static int serial_ctl(int fd, int ops, struct serial_struct *serinfo) in serial_ctl() argument 507 ret = ioctl(fd, TIOCSSERIAL, serinfo); in serial_ctl() 523 ret = ioctl(fd, TIOCGSERIAL, serinfo); in serial_ctl() 588 struct serial_struct serinfo; in serial_get() local 594 ret = serial_ctl(fd, CTL_GET | CTL_CLOSE | CTL_NODIE, &serinfo); in serial_get() 598 uart = uart_type(serinfo.type); in serial_get() 605 device, uart, serinfo.port, serinfo.irq); in serial_get() 608 if (!serinfo.type) in serial_get() 611 device, serinfo.port, serinfo.irq, uart); in serial_get() 617 uart, serinfo.port, serinfo.irq, serinfo.baud_base); in serial_get() [all …]
|