Lines Matching refs:p_port

2564 void sab8253x_setup_ttyport(struct sab_port *p_port)   in sab8253x_setup_ttyport()  argument
2566 p_port->magic = SAB_MAGIC; in sab8253x_setup_ttyport()
2567 p_port->custom_divisor = 16; in sab8253x_setup_ttyport()
2568 p_port->close_delay = 5*HZ/10; in sab8253x_setup_ttyport()
2569 p_port->closing_wait = 30*HZ; in sab8253x_setup_ttyport()
2570 p_port->tec_timeout = SAB8253X_MAX_TEC_DELAY; in sab8253x_setup_ttyport()
2571 p_port->cec_timeout = SAB8253X_MAX_CEC_DELAY; in sab8253x_setup_ttyport()
2572 p_port->x_char = 0; in sab8253x_setup_ttyport()
2573 p_port->event = 0; in sab8253x_setup_ttyport()
2574 p_port->flags= FLAG8253X_BOOT_AUTOCONF | FLAG8253X_SKIP_TEST; in sab8253x_setup_ttyport()
2575 p_port->blocked_open = 0; in sab8253x_setup_ttyport()
2577 p_port->all_sent = 1; /* probably not needed */ in sab8253x_setup_ttyport()
2579 p_port->tqueue.sync = 0; /* for later */ in sab8253x_setup_ttyport()
2580 p_port->tqueue.routine = sab8253x_do_softint; in sab8253x_setup_ttyport()
2581 p_port->tqueue.data = p_port; in sab8253x_setup_ttyport()
2582 p_port->tqueue_hangup.sync = 0; /* for later */ in sab8253x_setup_ttyport()
2583 p_port->tqueue_hangup.routine = sab8253x_do_serial_hangup; in sab8253x_setup_ttyport()
2584 p_port->tqueue_hangup.data = p_port; in sab8253x_setup_ttyport()
2585 p_port->callout_termios = sab8253x_callout_driver.init_termios; in sab8253x_setup_ttyport()
2586 p_port->normal_termios = sab8253x_serial_driver.init_termios; /* these are being shared */ in sab8253x_setup_ttyport()
2589 init_waitqueue_head(&p_port->open_wait); in sab8253x_setup_ttyport()
2590 init_waitqueue_head(&p_port->close_wait); in sab8253x_setup_ttyport()
2591 init_waitqueue_head(&p_port->delta_msr_wait); in sab8253x_setup_ttyport()
2592 init_waitqueue_head(&p_port->write_wait); in sab8253x_setup_ttyport()
2593 init_waitqueue_head(&p_port->read_wait); in sab8253x_setup_ttyport()
2595 p_port->count = 0; /* maybe not needed */ in sab8253x_setup_ttyport()
2596 p_port->icount.cts = p_port->icount.dsr = in sab8253x_setup_ttyport()
2597 p_port->icount.rng = p_port->icount.dcd = 0; in sab8253x_setup_ttyport()
2598 p_port->cts.val = p_port->dsr.val = in sab8253x_setup_ttyport()
2599 p_port->dcd.val = 0; in sab8253x_setup_ttyport()
2600 p_port->icount.rx = p_port->icount.tx = 0; in sab8253x_setup_ttyport()
2601 p_port->icount.frame = p_port->icount.parity = 0; in sab8253x_setup_ttyport()
2602 p_port->icount.overrun = p_port->icount.brk = 0; in sab8253x_setup_ttyport()
2604 p_port->xmit_fifo_size = 32; in sab8253x_setup_ttyport()
2605 p_port->recv_fifo_size = 32; in sab8253x_setup_ttyport()
2606 p_port->xmit_buf = NULL; in sab8253x_setup_ttyport()
2607 p_port->receive_chars = sab8253x_receive_chars; in sab8253x_setup_ttyport()
2608 p_port->transmit_chars = sab8253x_transmit_chars; in sab8253x_setup_ttyport()
2609 p_port->check_status = sab8253x_check_status; in sab8253x_setup_ttyport()
2610 p_port->receive_test = (SAB82532_ISR0_TCD | SAB82532_ISR0_TIME | in sab8253x_setup_ttyport()
2612 p_port->transmit_test = (SAB82532_ISR1_ALLS | SAB82532_ISR1_XPR); in sab8253x_setup_ttyport()
2613 p_port->check_status_test = SAB82532_ISR1_BRK; in sab8253x_setup_ttyport()
2618 p_port->ccontrol.ccr0 = DEFAULT_CCR0; in sab8253x_setup_ttyport()
2619 p_port->ccontrol.ccr1 = DEFAULT_CCR1; in sab8253x_setup_ttyport()
2620 p_port->ccontrol.ccr2 = DEFAULT_CCR2; in sab8253x_setup_ttyport()
2621 p_port->ccontrol.ccr3 = DEFAULT_CCR3; in sab8253x_setup_ttyport()
2622 p_port->ccontrol.ccr4 = DEFAULT_CCR4; in sab8253x_setup_ttyport()
2623 p_port->ccontrol.mode = DEFAULT_MODE; in sab8253x_setup_ttyport()
2624 p_port->ccontrol.rlcr = DEFAULT_RLCR; in sab8253x_setup_ttyport()