Searched refs:pra (Results 1 – 12 of 12) sorted by relevance
25 volatile u_char pra; member40 #define ppra ua.pra
134 status = status_amiga_to_pc(ciab.pra & 7); in amiga_read_status()182 s->u.amiga.status = ciab.pra & 7; in amiga_save_state()192 ciab.pra |= (ciab.pra & 0xf8) | s->u.amiga.status; in amiga_restore_state()
61 case 0: data = ~custom.joy0dat; button = (~ciaa.pra >> 6) & 1; break; in amijoy_interrupt()62 case 1: data = ~custom.joy1dat; button = (~ciaa.pra >> 7) & 1; break; in amijoy_interrupt()
235 tmp = ciaa.pra; in apus_calibrate_decr()277 if (!(ciaa.pra & 0x40)){ in apus_calibrate_decr()608 ciab.pra &= ~SER_RTS; /* active low */ in ser_RTSon()
132 …buttons = (ciaa.pra & 0x40 ? 4 : 0) | /* left button; note that the bits are low-active, as are th… in mouse_interrupt()
197 …ciab.pra = ((bits & (SER_RTS | SER_DTR)) ^ (SER_RTS | SER_DTR)) | (ciab.pra & ~(SER_RTS | SER_DTR)… in rtsdtr_ctrl()421 unsigned char status = ciab.pra & (SER_DCD | SER_CTS | SER_DSR); in check_modem_status()639 current_ctl_bits = ciab.pra & (SER_DCD | SER_CTS | SER_DSR); in startup()1272 status = ciab.pra; in get_modem_info()1821 (do_clocal || (!(ciab.pra & SER_DCD)) )) in block_til_ready()2006 status = ciab.pra; in line_info()
351 if (!(ciaa.pra & DSKRDY) || --on_attempts == 0) { in motor_on_callback()448 if (ciaa.pra & DSKTRACK0) in fd_calibrate()467 if ((ciaa.pra & DSKTRACK0) == 0) in fd_calibrate()570 id |= (ciaa.pra & DSKRDY) ? 0 : 1; /* cia regs are low-active! */ in fd_get_drive_id()643 if ((ciaa.pra & DSKPROT) == 0) { in raw_write()1637 wrprot = !(ciaa.pra & DSKPROT); in floppy_open()1713 changed = !(ciaa.pra & DSKCHANGE); in amiga_floppy_change()
99 DEFINE(C_PRA, offsetof(struct CIA, pra)); in main()
255 unsigned char pra; char pad0[0xff]; member
463 ciaa.pra &= ~0x02; in AmiSetTreble()465 ciaa.pra |= 0x02; in AmiSetTreble()
875 ciaa.pra &= ~2; in amiga_heartbeat()877 ciaa.pra |= 2; in amiga_heartbeat()
971 ciaa.pra &= ~2; in amiga_heartbeat()973 ciaa.pra |= 2; in amiga_heartbeat()