Lines Matching refs:sinp
141 static u8 sinp(int offset) in sinp() function
196 while (!(sinp(UART_LSR) & UART_LSR_THRE)) in send_pulse_irdeo()
204 while (!(sinp(UART_LSR) & UART_LSR_TEMT)) in send_pulse_irdeo()
328 if ((sinp(UART_IIR) & UART_IIR_NO_INT)) { in serial_ir_irq_handler()
336 status = sinp(UART_MSR); in serial_ir_irq_handler()
385 } while (!(sinp(UART_IIR) & UART_IIR_NO_INT)); /* still pending ? */ in serial_ir_irq_handler()
403 scratch = sinp(UART_IER); in hardware_init_port()
408 scratch2 = sinp(UART_IER) & 0x0f; in hardware_init_port()
413 scratch3 = sinp(UART_IER) & 0x0f; in hardware_init_port()
422 soutp(UART_LCR, sinp(UART_LCR) & (~UART_LCR_DLAB)); in hardware_init_port()
425 soutp(UART_IER, sinp(UART_IER) & in hardware_init_port()
429 sinp(UART_LSR); in hardware_init_port()
430 sinp(UART_RX); in hardware_init_port()
431 sinp(UART_IIR); in hardware_init_port()
432 sinp(UART_MSR); in hardware_init_port()
438 sinp(UART_LSR); in hardware_init_port()
439 sinp(UART_RX); in hardware_init_port()
440 sinp(UART_IIR); in hardware_init_port()
441 sinp(UART_MSR); in hardware_init_port()
450 soutp(UART_LCR, sinp(UART_LCR) | UART_LCR_DLAB); in hardware_init_port()
582 if (sinp(UART_MSR) & hardware[type].signal_pin) in serial_ir_probe()
610 soutp(UART_LCR, sinp(UART_LCR) & (~UART_LCR_DLAB)); in serial_ir_open()
612 soutp(UART_IER, sinp(UART_IER) | UART_IER_MSI); in serial_ir_open()
626 soutp(UART_LCR, sinp(UART_LCR) & (~UART_LCR_DLAB)); in serial_ir_close()
629 soutp(UART_IER, sinp(UART_IER) & in serial_ir_close()
689 soutp(UART_LCR, sinp(UART_LCR) & (~UART_LCR_DLAB)); in serial_ir_suspend()
692 soutp(UART_IER, sinp(UART_IER) & in serial_ir_suspend()
696 sinp(UART_LSR); in serial_ir_suspend()
697 sinp(UART_RX); in serial_ir_suspend()
698 sinp(UART_IIR); in serial_ir_suspend()
699 sinp(UART_MSR); in serial_ir_suspend()
716 soutp(UART_IER, sinp(UART_IER) | UART_IER_MSI); in serial_ir_resume()