Lines Matching refs:sx_port
170 static struct specialix_port sx_port[SX_NBOARD * SX_NPORT];
211 return SX_PORT(port - sx_port);
219 return &sx_board[SX_BOARD(port - sx_port)];
538 port = &sx_port[board_No(bp) * SX_NPORT + channel];
1409 port = sx_port + board * SX_NPORT + SX_PORT(tty->index);
1762 dprintk(SX_DEBUG_INIT, "sx_port = %p, port = %p\n", sx_port, port);
1911 tmp.line = port - sx_port;
2214 memset(sx_port, 0, sizeof(sx_port));
2216 sx_port[i].magic = SPECIALIX_MAGIC;
2217 tty_port_init(&sx_port[i].port);
2218 spin_lock_init(&sx_port[i].lock);