Lines Matching refs:MAX_PORT
137 #define MAX_PORT 4 macro
139 #define NOZOMI_MAX_CARDS (NTTY_TTY_MAXMINORS / MAX_PORT)
376 return tty ? ndevs[tty->index / MAX_PORT] : NULL; in get_dc_by_tty()
382 return ndev ? &ndev->port[tty->index % MAX_PORT] : NULL; in get_port_by_tty()
638 for (i = PORT_MDM; i < MAX_PORT; i++) { in nozomi_read_config_table()
993 for (i = PORT_MDM; i < MAX_PORT; i++) { in send_flow_control()
1263 for (i = 0; i < MAX_PORT; i++) in nozomi_setup_private_data()
1359 for (i = PORT_MDM; i < MAX_PORT; i++) { in nozomi_card_init()
1388 dc->index_start = ndev_idx * MAX_PORT; in nozomi_card_init()
1399 for (i = 0; i < MAX_PORT; i++) { in nozomi_card_init()
1425 i = MAX_PORT; in nozomi_card_init()
1446 for (i = 0; i < MAX_PORT; ++i) in tty_exit()
1453 for (i = 0; i < MAX_PORT; ++i) { in tty_exit()
1488 for (i = 0; i < MAX_PORT; i++) in nozomi_card_exit()
1499 ndevs[dc->index_start / MAX_PORT] = NULL; in nozomi_card_exit()
1620 enable_transmit_ul(tty->index % MAX_PORT, dc); in ntty_write()
1626 enable_transmit_ul(tty->index % MAX_PORT, dc); in ntty_write()
1761 enable_transmit_dl(tty->index % MAX_PORT, dc); in ntty_unthrottle()