Lines Matching defs:index
386 return tty ? ndevs[tty->index / MAX_PORT] : NULL;
392 return ndev ? &ndev->port[tty->index % MAX_PORT] : NULL;
753 static int send_data(enum port_type index, struct nozomi *dc)
756 struct port *port = &dc->port[index];
782 static int receive_data(enum port_type index, struct nozomi *dc)
787 struct port *port = &dc->port[index];
793 /* DBG1( "%d bytes port: %d", size, index); */
800 disable_transmit_dl(index, dc);
828 set_bit(index, &dc->flip);
1535 DBG1("SETTING DTR index: %d, dtr: %d", tty->index, dtr);
1578 printk("noz: activated %d: %p\n", tty->index, tport);
1628 /* DBG1( "WRITEx: %d, index = %d", count, index); */
1640 enable_transmit_ul(tty->index % MAX_PORT, dc);
1646 enable_transmit_ul(tty->index % MAX_PORT, dc);
1784 enable_transmit_dl(tty->index % MAX_PORT, dc);