Lines Matching refs:MAX_PORT
121 #define MAX_PORT 4 macro
123 #define NOZOMI_MAX_CARDS (NTTY_TTY_MAXMINORS / MAX_PORT)
360 return tty ? ndevs[tty->index / MAX_PORT] : NULL; in get_dc_by_tty()
366 return ndev ? &ndev->port[tty->index % MAX_PORT] : NULL; in get_port_by_tty()
622 for (i = PORT_MDM; i < MAX_PORT; i++) { in nozomi_read_config_table()
974 for (i = PORT_MDM; i < MAX_PORT; i++) { in send_flow_control()
1244 for (i = 0; i < MAX_PORT; i++) in nozomi_setup_private_data()
1340 for (i = PORT_MDM; i < MAX_PORT; i++) { in nozomi_card_init()
1369 dc->index_start = ndev_idx * MAX_PORT; in nozomi_card_init()
1380 for (i = 0; i < MAX_PORT; i++) { in nozomi_card_init()
1406 i = MAX_PORT; in nozomi_card_init()
1427 for (i = 0; i < MAX_PORT; ++i) in tty_exit()
1434 for (i = 0; i < MAX_PORT; ++i) { in tty_exit()
1469 for (i = 0; i < MAX_PORT; i++) in nozomi_card_exit()
1480 ndevs[dc->index_start / MAX_PORT] = NULL; in nozomi_card_exit()
1601 enable_transmit_ul(tty->index % MAX_PORT, dc); in ntty_write()
1607 enable_transmit_ul(tty->index % MAX_PORT, dc); in ntty_write()
1742 enable_transmit_dl(tty->index % MAX_PORT, dc); in ntty_unthrottle()