Lines Matching refs:MAX_PORT
175 #define MAX_PORT 4
177 #define NOZOMI_MAX_CARDS (NTTY_TTY_MAXMINORS / MAX_PORT)
420 return tty ? ndevs[tty->index / MAX_PORT] : NULL;
426 return ndev ? &ndev->port[tty->index % MAX_PORT] : NULL;
685 for (i = PORT_MDM; i < MAX_PORT; i++) {
1050 for (i = PORT_MDM; i < MAX_PORT; i++) {
1324 for (i = 0; i < MAX_PORT; i++)
1430 for (i = PORT_MDM; i < MAX_PORT; i++) {
1459 dc->index_start = ndev_idx * MAX_PORT;
1470 for (i = 0; i < MAX_PORT; i++) {
1489 for (i = dc->index_start; i < dc->index_start + MAX_PORT; ++i)
1492 for (i = 0; i < MAX_PORT; i++)
1513 for (i = 0; i < MAX_PORT; ++i) {
1523 for (i = dc->index_start; i < dc->index_start + MAX_PORT; ++i)
1556 for (i = 0; i < MAX_PORT; i++)
1567 ndevs[dc->index_start / MAX_PORT] = NULL;
1696 enable_transmit_ul(tty->index % MAX_PORT, dc);
1702 enable_transmit_ul(tty->index % MAX_PORT, dc);
1841 enable_transmit_dl(tty->index % MAX_PORT, dc);