Lines Matching refs:custom
102 #define custom amiga_custom macro
164 custom.intena = IF_TBE; in rs_stop()
166 custom.intreq = IF_TBE; in rs_stop()
182 custom.intena = IF_SETCLR | IF_TBE; in rs_start()
185 custom.intreq = IF_SETCLR | IF_TBE; in rs_start()
223 serdatr = custom.serdatr; in receive_chars()
225 custom.intreq = IF_RBF; in receive_chars()
302 custom.intreq = IF_TBE; in transmit_chars()
305 custom.serdat = info->x_char | 0x100; in transmit_chars()
315 custom.intena = IF_TBE; in transmit_chars()
320 custom.serdat = info->xmit.buf[info->xmit.tail++] | 0x100; in transmit_chars()
334 custom.intena = IF_TBE; in transmit_chars()
387 custom.intena = IF_SETCLR | IF_TBE; in check_modem_status()
390 custom.intreq = IF_SETCLR | IF_TBE; in check_modem_status()
403 custom.intena = IF_TBE; in check_modem_status()
405 custom.intreq = IF_TBE; in check_modem_status()
447 if (custom.serdatr & SDR_TBE) { in ser_tx_int()
507 custom.intreq = IF_RBF; in startup()
520 custom.intena = IF_SETCLR | IF_RBF | IF_TBE; in startup()
586 custom.intena = IF_RBF | IF_TBE; in shutdown()
590 custom.adkcon = AC_UARTBRK; in shutdown()
734 custom.serper = serper; in change_speed()
778 custom.intena = IF_SETCLR | IF_TBE; in rs_flush_chars()
781 custom.intreq = IF_SETCLR | IF_TBE; in rs_flush_chars()
820 custom.intena = IF_SETCLR | IF_TBE; in rs_write()
823 custom.intreq = IF_SETCLR | IF_TBE; in rs_write()
870 if(!(custom.intenar & IF_TBE)) { in rs_send_xchar()
871 custom.intena = IF_SETCLR | IF_TBE; in rs_send_xchar()
874 custom.intreq = IF_SETCLR | IF_TBE; in rs_send_xchar()
1035 status = custom.serdatr; in get_lsr_info()
1097 custom.adkcon = AC_SETCLR | AC_UARTBRK; in rs_break()
1099 custom.adkcon = AC_UARTBRK; in rs_break()
1276 custom.intena = IF_RBF; in rs_close()
1279 custom.intreq = IF_RBF; in rs_close()
1341 while(!((lsr = custom.serdatr) & SDR_TSRE)) { in rs_wait_until_sent()
1562 state->port = (int)&custom.serdatr; /* Just to give it a value */ in amiga_serial_probe()
1597 custom.intena = IF_RBF | IF_TBE; in amiga_serial_probe()
1601 custom.intreq = IF_RBF | IF_TBE; in amiga_serial_probe()
1666 custom.serdat = (unsigned char)c | 0x100; in amiga_serial_putc()
1667 while (!(custom.serdatr & 0x2000)) in amiga_serial_putc()
1680 unsigned short intena = custom.intenar; in serial_console_write()
1682 custom.intena = IF_TBE; in serial_console_write()
1690 custom.intena = IF_SETCLR | (intena & IF_TBE); in serial_console_write()