Lines Matching refs:custom

112 #define custom amiga_custom  macro
199 custom.intena = IF_TBE; in rs_stop()
201 custom.intreq = IF_TBE; in rs_stop()
220 custom.intena = IF_SETCLR | IF_TBE; in rs_start()
223 custom.intreq = IF_SETCLR | IF_TBE; in rs_start()
261 serdatr = custom.serdatr; in receive_chars()
263 custom.intreq = IF_RBF; in receive_chars()
340 custom.intreq = IF_TBE; in transmit_chars()
343 custom.serdat = info->x_char | 0x100; in transmit_chars()
353 custom.intena = IF_TBE; in transmit_chars()
358 custom.serdat = info->xmit.buf[info->xmit.tail++] | 0x100; in transmit_chars()
372 custom.intena = IF_TBE; in transmit_chars()
425 custom.intena = IF_SETCLR | IF_TBE; in check_modem_status()
428 custom.intreq = IF_SETCLR | IF_TBE; in check_modem_status()
441 custom.intena = IF_TBE; in check_modem_status()
443 custom.intreq = IF_TBE; in check_modem_status()
485 if (custom.serdatr & SDR_TBE) { in ser_tx_int()
545 custom.intreq = IF_RBF; in startup()
558 custom.intena = IF_SETCLR | IF_RBF | IF_TBE; in startup()
636 custom.intena = IF_RBF | IF_TBE; in shutdown()
640 custom.adkcon = AC_UARTBRK; in shutdown()
789 custom.serper = serper; in change_speed()
839 custom.intena = IF_SETCLR | IF_TBE; in rs_flush_chars()
842 custom.intreq = IF_SETCLR | IF_TBE; in rs_flush_chars()
884 custom.intena = IF_SETCLR | IF_TBE; in rs_write()
887 custom.intreq = IF_SETCLR | IF_TBE; in rs_write()
943 if(!(custom.intenar & IF_TBE)) { in rs_send_xchar()
944 custom.intena = IF_SETCLR | IF_TBE; in rs_send_xchar()
947 custom.intreq = IF_SETCLR | IF_TBE; in rs_send_xchar()
1135 status = custom.serdatr; in get_lsr_info()
1205 custom.adkcon = AC_SETCLR | AC_UARTBRK; in rs_break()
1207 custom.adkcon = AC_UARTBRK; in rs_break()
1413 custom.intena = IF_RBF; in rs_close()
1416 custom.intreq = IF_RBF; in rs_close()
1481 while(!((lsr = custom.serdatr) & SDR_TSRE)) { in rs_wait_until_sent()
1718 state->port = (int)&custom.serdatr; /* Just to give it a value */ in amiga_serial_probe()
1753 custom.intena = IF_RBF | IF_TBE; in amiga_serial_probe()
1757 custom.intreq = IF_RBF | IF_TBE; in amiga_serial_probe()
1821 custom.serdat = (unsigned char)c | 0x100; in amiga_serial_putc()
1822 while (!(custom.serdatr & 0x2000)) in amiga_serial_putc()
1835 unsigned short intena = custom.intenar; in serial_console_write()
1837 custom.intena = IF_TBE; in serial_console_write()
1845 custom.intena = IF_SETCLR | (intena & IF_TBE); in serial_console_write()