Searched refs:NUMBER_OF_PORTS (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/cris/arch-v10/drivers/
H A Dsync_serial.c245 #define NUMBER_OF_PORTS 2 macro
453 if (dev < 0 || dev >= NUMBER_OF_PORTS || !ports[dev].enabled) { sync_serial_open()
640 if (dev < 0 || dev >= NUMBER_OF_PORTS || !ports[dev].enabled) { sync_serial_release()
692 if (dev < 0 || dev >= NUMBER_OF_PORTS || !ports[dev].enabled) { sync_serial_ioctl_unlocked()
986 if (dev < 0 || dev >= NUMBER_OF_PORTS || !ports[dev].enabled) { sync_serial_write()
1107 if (dev < 0 || dev >= NUMBER_OF_PORTS || !ports[dev].enabled) { sync_serial_read()
1273 for (i = 0; i < NUMBER_OF_PORTS; i++) { tr_interrupt()
1324 for (i = 0; i < NUMBER_OF_PORTS; i++) { rx_interrupt()
1387 for (i = 0; i < NUMBER_OF_PORTS; i++) { manual_interrupt()

Completed in 80 milliseconds