Lines Matching refs:sx_port
203 static struct specialix_port sx_port[SX_NBOARD * SX_NPORT]; variable
251 return SX_PORT(port - sx_port); in port_No()
258 return &sx_board[SX_BOARD(port - sx_port)]; in port_Board()
627 port = &sx_port[board_No(bp) * SX_NPORT + channel]; in sx_get_port()
1464 port = sx_port + board * SX_NPORT + SX_PORT(MINOR(tty->device)); in sx_open()
1789 printk (KERN_DEBUG "sx_port = %p, port = %p\n", sx_port, port); in sx_get_modem_info()
1964 tmp.line = port - sx_port; in sx_get_serial_info()
2287 memset(sx_port, 0, sizeof(sx_port)); in sx_init_drivers()
2289 sx_port[i].callout_termios = specialix_callout_driver.init_termios; in sx_init_drivers()
2290 sx_port[i].normal_termios = specialix_driver.init_termios; in sx_init_drivers()
2291 sx_port[i].magic = SPECIALIX_MAGIC; in sx_init_drivers()
2292 sx_port[i].tqueue.routine = do_softint; in sx_init_drivers()
2293 sx_port[i].tqueue.data = &sx_port[i]; in sx_init_drivers()
2294 sx_port[i].tqueue_hangup.routine = do_sx_hangup; in sx_init_drivers()
2295 sx_port[i].tqueue_hangup.data = &sx_port[i]; in sx_init_drivers()
2296 sx_port[i].close_delay = 50 * HZ/100; in sx_init_drivers()
2297 sx_port[i].closing_wait = 3000 * HZ/100; in sx_init_drivers()
2298 init_waitqueue_head(&sx_port[i].open_wait); in sx_init_drivers()
2299 init_waitqueue_head(&sx_port[i].close_wait); in sx_init_drivers()