Lines Matching defs:sx_port
193 static struct specialix_port sx_port[SX_NBOARD * SX_NPORT];
241 return SX_PORT(port - sx_port);
248 return &sx_board[SX_BOARD(port - sx_port)];
592 port = &sx_port[board_No(bp) * SX_NPORT + channel];
1450 port = sx_port + board * SX_NPORT + SX_PORT(tty->index);
1801 dprintk (SX_DEBUG_INIT, "sx_port = %p, port = %p\n", sx_port, port);
1965 tmp.line = port - sx_port;
2350 memset(sx_port, 0, sizeof(sx_port));
2352 sx_port[i].magic = SPECIALIX_MAGIC;
2353 INIT_WORK(&sx_port[i].tqueue, do_softint);
2354 INIT_WORK(&sx_port[i].tqueue_hangup, do_sx_hangup);
2355 sx_port[i].close_delay = 50 * HZ/100;
2356 sx_port[i].closing_wait = 3000 * HZ/100;
2357 init_waitqueue_head(&sx_port[i].open_wait);
2358 init_waitqueue_head(&sx_port[i].close_wait);
2359 spin_lock_init(&sx_port[i].lock);