Searched refs:ciab (Results 1 – 7 of 7) sorted by relevance
95 status = status_amiga_to_pc(ciab.pra & 7); in amiga_read_status()137 s->u.amiga.status = ciab.pra & 7; in amiga_save_state()138 s->u.amiga.statusdir = ciab.ddra & 7; in amiga_save_state()147 ciab.pra |= (ciab.pra & 0xf8) | s->u.amiga.status; in amiga_restore_state()148 ciab.ddra |= (ciab.ddra & 0xf8) | s->u.amiga.statusdir; in amiga_restore_state()196 ciab.ddra &= 0xf8; in amiga_parallel_probe()
488 ciab.cra &= 0xC0; /* turn off timer A, continuous mode, from Eclk */ in amiga_sched_init()489 ciab.talo = jiffy_ticks % 256; in amiga_sched_init()490 ciab.tahi = jiffy_ticks / 256; in amiga_sched_init()501 ciab.cra |= 0x11; in amiga_sched_init()515 hi = ciab.tahi; in amiga_read_clk()516 lo = ciab.talo; in amiga_read_clk()517 hi2 = ciab.tahi; in amiga_read_clk()520 lo = ciab.talo; in amiga_read_clk()
40 .cia = &ciab,
240 #define MOTOR_ON (ciab.prb &= ~DSKMOTOR)241 #define MOTOR_OFF (ciab.prb |= DSKMOTOR)242 #define SELECT(mask) (ciab.prb &= ~mask)243 #define DESELECT(mask) (ciab.prb |= mask)410 ciab.prb |= (SELMASK(0)|SELMASK(1)|SELMASK(2)|SELMASK(3)); in fd_select()411 ciab.prb = prb; in fd_select()413 ciab.prb = prb; in fd_select()436 prb = ciab.prb; in fd_deselect()438 ciab.prb = prb; in fd_deselect()524 prb = ciab.prb; in fd_calibrate()[all …]
122 …ciab.pra = ((bits & (SER_RTS | SER_DTR)) ^ (SER_RTS | SER_DTR)) | (ciab.pra & ~(SER_RTS | SER_DTR)… in rtsdtr_ctrl()308 unsigned char status = ciab.pra & (SER_DCD | SER_CTS | SER_DSR); in check_modem_status()490 current_ctl_bits = ciab.pra & (SER_DCD | SER_CTS | SER_DSR); in startup()1023 status = ciab.pra; in rs_tiocmget()1375 status = ciab.pra; in line_info()1459 return !(ciab.pra & SER_DCD); in amiga_carrier_raised()1552 ciab.ddra |= (SER_DTR | SER_RTS); /* outputs */ in amiga_serial_probe()1553 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