Searched refs:ciab (Results 1 – 7 of 7) sorted by relevance
100 status = status_amiga_to_pc(ciab.pra & 7); in amiga_read_status()142 s->u.amiga.status = ciab.pra & 7; in amiga_save_state()143 s->u.amiga.statusdir = ciab.ddra & 7; in amiga_save_state()152 ciab.pra |= (ciab.pra & 0xf8) | s->u.amiga.status; in amiga_restore_state()153 ciab.ddra |= (ciab.ddra & 0xf8) | s->u.amiga.statusdir; in amiga_restore_state()201 ciab.ddra &= 0xf8; in amiga_parallel_probe()
478 ciab.cra &= 0xC0; /* turn off timer A, continuous mode, from Eclk */ in amiga_sched_init()479 ciab.talo = jiffy_ticks % 256; in amiga_sched_init()480 ciab.tahi = jiffy_ticks / 256; in amiga_sched_init()490 ciab.cra |= 0x11; in amiga_sched_init()502 hi = ciab.tahi; in amiga_gettimeoffset()503 lo = ciab.talo; in amiga_gettimeoffset()504 hi2 = ciab.tahi; in amiga_gettimeoffset()507 lo = ciab.talo; in amiga_gettimeoffset()
40 .cia = &ciab,
121 #define MOTOR_ON (ciab.prb &= ~DSKMOTOR)122 #define MOTOR_OFF (ciab.prb |= DSKMOTOR)123 #define SELECT(mask) (ciab.prb &= ~mask)124 #define DESELECT(mask) (ciab.prb |= mask)292 ciab.prb |= (SELMASK(0)|SELMASK(1)|SELMASK(2)|SELMASK(3)); in fd_select()293 ciab.prb = prb; in fd_select()295 ciab.prb = prb; in fd_select()318 prb = ciab.prb; in fd_deselect()320 ciab.prb = prb; in fd_deselect()406 prb = ciab.prb; in fd_calibrate()[all …]
176 …ciab.pra = ((bits & (SER_RTS | SER_DTR)) ^ (SER_RTS | SER_DTR)) | (ciab.pra & ~(SER_RTS | SER_DTR)… in rtsdtr_ctrl()381 unsigned char status = ciab.pra & (SER_DCD | SER_CTS | SER_DSR); in check_modem_status()563 current_ctl_bits = ciab.pra & (SER_DCD | SER_CTS | SER_DSR); in startup()1128 status = ciab.pra; in rs_tiocmget()1522 status = ciab.pra; in line_info()1615 return !(ciab.pra & SER_DCD); in amiga_carrier_raised()1717 ciab.ddra |= (SER_DTR | SER_RTS); /* outputs */ in amiga_serial_probe()1718 ciab.ddra &= ~(SER_DCD | SER_CTS | SER_DSR); /* inputs */ in amiga_serial_probe()
99 DEFINE(CIABBASE, &ciab); in main()
253 #define ciab ((*(volatile struct CIA *)(zTwoBase + CIAB_PHYSADDR))) macro