Home
last modified time | relevance | path

Searched refs:GET_UNIT (Results 1 – 17 of 17) sorted by relevance

/dports/emulators/simh/simh-3.9.0_5/PDP8/
H A Dpdp8_mt.c86 #define GET_UNIT(x) (((x) >> CU_V_UNIT) & CU_M_UNIT) macro
230 uptr = mt_dev.units + GET_UNIT (mt_cu); /* get unit */ in mt70()
253 mt_updcsta (mt_dev.units + GET_UNIT (mt_cu)); in mt70()
305 uptr = mt_dev.units + GET_UNIT (mt_cu); in mt71()
339 uptr = mt_dev.units + GET_UNIT (mt_cu); /* get unit */ in mt72()
392 if (u == GET_UNIT (mt_cu)) { /* selected? */ in mt_svc()
630 if (u == GET_UNIT (mt_cu)) in mt_attach()
645 if (u == GET_UNIT (mt_cu)) in mt_detach()
659 if (u == GET_UNIT (mt_cu)) in mt_vlock()
H A Dpdp8_ct.c111 #define GET_UNIT(x) (((x) >> SRA_V_UNIT) & SRA_M_UNIT) macro
290 UNIT *uptr = ct_dev.units + GET_UNIT (ct_sra); in ct_go_start()
499 uptr = ct_dev.units + GET_UNIT (ct_sra); /* use sel unit */ in ct_updsta()
/dports/emulators/simh/simh-3.9.0_5/PDP18B/
H A Dpdp18b_mt.c103 #define GET_UNIT(x) (((x) >> CU_V_UNIT) & CU_M_UNIT) macro
212 uptr = mt_dev.units + GET_UNIT (mt_cu); /* get unit */ in mt()
226 GET_UNIT (mt_cu), 0707300 + pulse, dat, mt_sta); in mt()
257 mt_updcsta (mt_dev.units + GET_UNIT (mt_cu), 0); /* update status */ in mt()
284 if (u == GET_UNIT (mt_cu)) in mt_svc()
517 mt_updcsta (mt_dev.units + GET_UNIT (mt_cu), 0); /* update status */ in mt_attach()
529 mt_updcsta (mt_dev.units + GET_UNIT (mt_cu), 0); /* update status */ in mt_detach()
H A Dpdp18b_rp.c95 #define GET_UNIT(x) (((x) >> STA_V_UNIT) & STA_M_UNIT) macro
275 dat = dat | rp_unit[GET_UNIT (rp_sta)].CYL; in rp64()
297 u = GET_UNIT (rp_sta); /* get unit num */ in rp64()
449 uptr = rp_dev.units + GET_UNIT (rp_sta); in rp_updsta()
/dports/emulators/simh/simh-3.9.0_5/PDP11/
H A Dpdp11_tm.c122 #define GET_UNIT(x) (((x) >> MTC_V_UNIT) & MTC_M_UNIT) macro
265 uptr = tm_dev.units + GET_UNIT (tm_cmd); /* get unit */ in tm_rd()
312 uptr = tm_dev.units + GET_UNIT (tm_cmd); /* select unit */ in tm_wr()
328 uptr = tm_dev.units + GET_UNIT (tm_cmd); /* new unit */ in tm_wr()
410 if (u == GET_UNIT (tm_cmd)) { /* selected? */ in tm_svc()
613 if (u == GET_UNIT (tm_cmd)) in tm_attach()
628 if (u == GET_UNIT (tm_cmd)) in tm_detach()
643 if (u == GET_UNIT (tm_cmd)) in tm_vlock()
H A Dpdp11_hk.c177 #define GET_UNIT(x) (((x) >> CS2_V_UNIT) & CS2_M_UNIT) macro
485 drv = GET_UNIT (hkcs2); /* get current unit */ in hk_rd()
576 drv = GET_UNIT (hkcs2); /* get current unit */ in hk_wr()
636 drv = GET_UNIT (hkcs2); in hk_wr()
1071 int32 drv = GET_UNIT (hkcs2); in hk_rdmr2()
1124 int32 drv = GET_UNIT (hkcs2); in hk_rdmr3()
H A Dpdp11_ta.c94 #define GET_UNIT(x) (((x) >> TACS_V_UNIT) & TACS_M_UNIT) macro
258 UNIT *uptr = ta_dev.units + GET_UNIT (ta_cs); in ta_go()
458 uptr = ta_dev.units + GET_UNIT (ta_cs); /* use sel unit */ in ta_updsta()
H A Dpdp11_rh.c114 #define GET_UNIT(x) (((x) >> CS2_V_UNIT) & CS2_M_UNIT) macro
302 drv = GET_UNIT (massbus[mb].cs2); /* get drive */ in mba_rd()
368 drv = GET_UNIT (massbus[mb].cs2); /* get drive */ in mba_wr()
/dports/emulators/simh/simh-3.9.0_5/NOVA/
H A Dnova_mta.c104 #define GET_UNIT(x) (((x) >> CU_V_UNIT) & CU_M_UNIT) macro
250 uptr = mta_dev.units + GET_UNIT(mta_cu); /* get unit */ in mta()
260 uptr = mta_dev.units + GET_UNIT(mta_cu); /* get unit */ in mta()
355 if (u == GET_UNIT (mta_cu)) in mta_svc()
H A Dnova_dkp.c108 #define GET_UNIT(x) (((x) >> USSC_V_UNIT) & USSC_M_UNIT) macro
513 uptr = dkp_dev.units + GET_UNIT (dkp_ussc); /* select unit */ in dkp()
582 u = GET_UNIT(dkp_ussc); /* update current unit */ in dkp()
668 u = GET_UNIT (dkp_ussc); /* get unit number */ in dkp_go()
/dports/emulators/simh/simh-3.9.0_5/Interdata/
H A Did_fd.c61 #define GET_UNIT(x) (((x) >> CMD_V_UNIT) & CMD_M_UNIT) macro
212 u = GET_UNIT (fd_cmd); /* get unit */ in fd()
265 u = GET_UNIT (dat); /* get unit */ in fd()
/dports/emulators/simh/simh-3.9.0_5/PDP10/
H A Dpdp10_rp.c176 #define GET_UNIT(x) (((x) >> CS2_V_UNIT) & CS2_M_UNIT) macro
500 drv = GET_UNIT (rpcs2); /* get current unit */ in rp_rd()
616 drv = GET_UNIT (rpcs2); /* get current unit */ in rp_wr()
697 drv = GET_UNIT (rpcs2); in rp_wr()
/dports/emulators/vice/vice-3.5/src/
H A Dattach.c93 #define GET_UNIT(du) ((du >> 8) & 0xFF) macro
357 unsigned int unit = GET_UNIT(vice_ptr_to_uint(param)); in set_attach_device_readonly()
/dports/emulators/simh/simh-3.9.0_5/HP2100/
H A Dhp_disclib.c285 #define GET_UNIT(c) (((c) >> DL_V_UNIT) & DL_M_UNIT) macro
603 unit = GET_UNIT (cvptr->buffer [0]); /* get the unit from the command */ in dl_prepare_command()
747 unit = GET_UNIT (cvptr->buffer [0]); /* get the unit number from the command */ in dl_start_command()
/dports/emulators/simh-hp2100/simh-hp2100-3.11.0.31/SCP/HP2100/
H A Dhp2100_disclib.c300 #define GET_UNIT(c) (((c) >> DL_V_UNIT) & DL_M_UNIT) macro
618 unit = GET_UNIT (cvptr->buffer [0]); /* get the unit from the command */ in dl_prepare_command()
762 unit = GET_UNIT (cvptr->buffer [0]); /* get the unit number from the command */ in dl_start_command()
/dports/emulators/simh-hpdoc/simh-hpdoc-3.11.0/SCP/HP2100/
H A Dhp2100_disclib.c298 #define GET_UNIT(c) (((c) >> DL_V_UNIT) & DL_M_UNIT) macro
616 unit = GET_UNIT (cvptr->buffer [0]); /* get the unit from the command */ in dl_prepare_command()
760 unit = GET_UNIT (cvptr->buffer [0]); /* get the unit number from the command */ in dl_start_command()
/dports/comms/mgetty+sendfax/mgetty-1.1.37/patches/
H A Dfas212.p144 fip = fas_internals_ptr [GET_UNIT (dev)];