scu_unit_idx      242 src/dps8/dps8_cable.c static t_stat back_cable_iom_to_scu (int uncable, uint iom_unit_idx, uint iom_port_num, uint scu_unit_idx, uint scu_port_num)
scu_unit_idx      257 src/dps8/dps8_cable.c         p->scu_unit_idx = scu_unit_idx;
scu_unit_idx      265 src/dps8/dps8_cable.c static t_stat cable_scu_to_iom (int uncable, uint scu_unit_idx, uint scu_port_num, uint iom_unit_idx, uint iom_port_num)
scu_unit_idx      267 src/dps8/dps8_cable.c     struct scu_to_iom_s * p = & cables->scu_to_iom[scu_unit_idx][scu_port_num];
scu_unit_idx      272 src/dps8/dps8_cable.c             sim_printf ("uncable SCU%u port %d: not cabled\n", scu_unit_idx, scu_port_num);
scu_unit_idx      278 src/dps8/dps8_cable.c                                   scu_unit_idx, scu_port_num);
scu_unit_idx      285 src/dps8/dps8_cable.c         scu[scu_unit_idx].ports[scu_port_num].type    = ADEV_NONE;
scu_unit_idx      286 src/dps8/dps8_cable.c         scu[scu_unit_idx].ports[scu_port_num].dev_idx = 0;
scu_unit_idx      288 src/dps8/dps8_cable.c         scu[scu_unit_idx].ports[scu_port_num].is_exp  = false;
scu_unit_idx      295 src/dps8/dps8_cable.c             sim_printf ("cable_scu: SCU %d port %d in use.\n", scu_unit_idx, scu_port_num);
scu_unit_idx      301 src/dps8/dps8_cable.c                                   scu_unit_idx, scu_port_num);
scu_unit_idx      311 src/dps8/dps8_cable.c         scu[scu_unit_idx].ports[scu_port_num].type        = ADEV_IOM;
scu_unit_idx      312 src/dps8/dps8_cable.c         scu[scu_unit_idx].ports[scu_port_num].dev_idx     = (int) iom_unit_idx;
scu_unit_idx      313 src/dps8/dps8_cable.c         scu[scu_unit_idx].ports[scu_port_num].dev_port[0] = (int) iom_port_num;
scu_unit_idx      315 src/dps8/dps8_cable.c         scu[scu_unit_idx].ports[scu_port_num].is_exp      = 0;
scu_unit_idx      324 src/dps8/dps8_cable.c         uint scu_unit_idx, uint scu_port_num, uint scu_subport_num)
scu_unit_idx      339 src/dps8/dps8_cable.c         p->scu_unit_idx    = scu_unit_idx;
scu_unit_idx      348 src/dps8/dps8_cable.c static t_stat cable_scu_to_cpu (int uncable, uint scu_unit_idx, uint scu_port_num,
scu_unit_idx      351 src/dps8/dps8_cable.c     struct scu_to_cpu_s * p = & cables->scu_to_cpu[scu_unit_idx][scu_port_num][scu_subport_num];
scu_unit_idx      357 src/dps8/dps8_cable.c                     scu_unit_idx, scu_port_num, scu_subport_num);
scu_unit_idx      363 src/dps8/dps8_cable.c                                   scu_unit_idx, scu_port_num, scu_subport_num);
scu_unit_idx      370 src/dps8/dps8_cable.c         scu[scu_unit_idx].ports[scu_port_num].type                      = ADEV_NONE;
scu_unit_idx      371 src/dps8/dps8_cable.c         scu[scu_unit_idx].ports[scu_port_num].dev_idx                   = 0;
scu_unit_idx      373 src/dps8/dps8_cable.c         scu[scu_unit_idx].ports[scu_port_num].is_exp                    = false;
scu_unit_idx      374 src/dps8/dps8_cable.c         scu[scu_unit_idx].ports[scu_port_num].dev_port[scu_subport_num] = 0;
scu_unit_idx      381 src/dps8/dps8_cable.c                     scu_unit_idx, scu_port_num, scu_subport_num);
scu_unit_idx      387 src/dps8/dps8_cable.c                                   scu_unit_idx, scu_port_num, scu_subport_num);
scu_unit_idx      397 src/dps8/dps8_cable.c         scu[scu_unit_idx].ports[scu_port_num].type                      = ADEV_CPU;
scu_unit_idx      398 src/dps8/dps8_cable.c         scu[scu_unit_idx].ports[scu_port_num].dev_idx                   = (int) cpu_unit_idx;
scu_unit_idx      399 src/dps8/dps8_cable.c         scu[scu_unit_idx].ports[scu_port_num].dev_port[0]               = (int) cpu_port_num;
scu_unit_idx      401 src/dps8/dps8_cable.c         scu[scu_unit_idx].ports[scu_port_num].is_exp                    = is_exp;
scu_unit_idx      402 src/dps8/dps8_cable.c         scu[scu_unit_idx].ports[scu_port_num].dev_port[scu_subport_num] = (int) cpu_port_num;
scu_unit_idx      404 src/dps8/dps8_cable.c         cpus[cpu_unit_idx].scu_port[scu_unit_idx]                       = scu_port_num;
scu_unit_idx      414 src/dps8/dps8_cable.c static t_stat cable_scu (int uncable, uint scu_unit_idx, char * * name_save)
scu_unit_idx      416 src/dps8/dps8_cable.c     if (scu_unit_idx >= scu_dev.numunits)
scu_unit_idx      419 src/dps8/dps8_cable.c                     scu_unit_idx);
scu_unit_idx      475 src/dps8/dps8_cable.c         return cable_scu_to_iom (uncable, scu_unit_idx, (uint) scu_port_num,
scu_unit_idx      532 src/dps8/dps8_cable.c         return cable_scu_to_cpu (uncable, scu_unit_idx, (uint) scu_port_num,
scu_unit_idx     1368 src/dps8/dps8_cable.c                         scus_used[p->scu_unit_idx] = true;
scu_unit_idx     1470 src/dps8/dps8_cable.c                                     p->scu_unit_idx + 'A');
scu_unit_idx     1534 src/dps8/dps8_cable.c                 sim_printf (" %4u %4u    %4u %4u\n", u, prt, p->scu_unit_idx, p->scu_port_num);
scu_unit_idx     1559 src/dps8/dps8_cable.c                         u, prt, p->scu_unit_idx, p->scu_port_num, p->scu_subport_num);
scu_unit_idx      110 src/dps8/dps8_cable.h     uint scu_unit_idx;
scu_unit_idx      125 src/dps8/dps8_cable.h     uint scu_unit_idx;
scu_unit_idx      280 src/dps8/dps8_cable.h    (cables->cpu_to_scu[cpu_unit_idx][cpu_port_num].scu_unit_idx)
scu_unit_idx     1747 src/dps8/dps8_cpu.c     for (uint scu_unit_idx = 0; scu_unit_idx < N_SCU_UNITS_MAX; scu_unit_idx ++)
scu_unit_idx     1749 src/dps8/dps8_cpu.c         if (cpu.events.XIP [scu_unit_idx])
scu_unit_idx     1751 src/dps8/dps8_cpu.c             fp = scu_get_highest_intr (scu_unit_idx); // CALLED WITH SCU LOCK
scu_unit_idx     1762 src/dps8/dps8_cpu.c     for (uint scu_unit_idx = 0; scu_unit_idx < N_SCU_UNITS_MAX; scu_unit_idx ++)
scu_unit_idx     1764 src/dps8/dps8_cpu.c         if (cpu.events.XIP [scu_unit_idx])
scu_unit_idx      902 src/dps8/dps8_iom.c     uint scu_unit_idx = (uint) (up -> u3);
scu_unit_idx      904 src/dps8/dps8_iom.c     iom_interrupt (scu_unit_idx, iom_unit_idx);
scu_unit_idx     1557 src/dps8/dps8_iom.c         uint scu_unit_idx = cables->iom_to_scu[iom_unit_idx][port_num].scu_unit_idx;
scu_unit_idx     1558 src/dps8/dps8_iom.c         scu_unit_reset ((int) scu_unit_idx);
scu_unit_idx     1577 src/dps8/dps8_iom.c     uint scu_unit_idx = cables->iom_to_scu[iom_unit_idx][0].scu_unit_idx;
scu_unit_idx     1578 src/dps8/dps8_iom.c     iom_interrupt (scu_unit_idx, iom_unit_idx);
scu_unit_idx     3501 src/dps8/dps8_iom.c void iom_interrupt (uint scu_unit_idx, uint iom_unit_idx)
scu_unit_idx     3508 src/dps8/dps8_iom.c     iom_unit_data[iom_unit_idx].invokingScuUnitIdx = scu_unit_idx;
scu_unit_idx      630 src/dps8/dps8_scu.c     long scu_unit_idx = UNIT_NUM (uptr);
scu_unit_idx      631 src/dps8/dps8_scu.c     if (scu_unit_idx < 0 || scu_unit_idx >= (int) scu_dev.numunits)
scu_unit_idx      635 src/dps8/dps8_scu.c                    (long) scu_unit_idx);
scu_unit_idx      636 src/dps8/dps8_scu.c         sim_printf ("error: Invalid unit number %ld\n", (long) scu_unit_idx);
scu_unit_idx      640 src/dps8/dps8_scu.c     sim_printf ("SCU unit number %ld\n", (long) scu_unit_idx);
scu_unit_idx      641 src/dps8/dps8_scu.c     scu_t * scup = scu + scu_unit_idx;
scu_unit_idx      643 src/dps8/dps8_scu.c                 config_switches[scu_unit_idx].mode ? "PROGRAM" : "MANUAL");
scu_unit_idx      698 src/dps8/dps8_scu.c     long scu_unit_idx = UNIT_NUM (uptr);
scu_unit_idx      699 src/dps8/dps8_scu.c     if (scu_unit_idx < 0 || scu_unit_idx >= (int) scu_dev.numunits)
scu_unit_idx      703 src/dps8/dps8_scu.c                    (long) scu_unit_idx);
scu_unit_idx      704 src/dps8/dps8_scu.c         sim_printf ("error: Invalid unit number %ld\n", (long) scu_unit_idx);
scu_unit_idx      708 src/dps8/dps8_scu.c     sim_printf ("SCU unit number %ld\n", (long) scu_unit_idx);
scu_unit_idx      710 src/dps8/dps8_scu.c     struct config_switches * sw = config_switches + scu_unit_idx;
scu_unit_idx      853 src/dps8/dps8_scu.c     long scu_unit_idx = UNIT_NUM (uptr);
scu_unit_idx      854 src/dps8/dps8_scu.c     if (scu_unit_idx < 0 || scu_unit_idx >= (int) scu_dev.numunits)
scu_unit_idx      857 src/dps8/dps8_scu.c                    "scu_set_config: Invalid unit number %ld\n", (long) scu_unit_idx);
scu_unit_idx      859 src/dps8/dps8_scu.c                     (long) scu_unit_idx);
scu_unit_idx      863 src/dps8/dps8_scu.c     struct config_switches * sw = config_switches + scu_unit_idx;
scu_unit_idx      933 src/dps8/dps8_scu.c           scu [scu_unit_idx].elapsed_days = (uint) v;
scu_unit_idx      935 src/dps8/dps8_scu.c           scu [scu_unit_idx].steady_clock = (uint) v;
scu_unit_idx      937 src/dps8/dps8_scu.c           scu [scu_unit_idx].bullet_time = (uint) v;
scu_unit_idx      939 src/dps8/dps8_scu.c           scu [scu_unit_idx].y2k = (uint) v;
scu_unit_idx     1049 src/dps8/dps8_scu.c static void dump_intr_regs (char * ctx, uint scu_unit_idx)
scu_unit_idx     1052 src/dps8/dps8_scu.c     scu_t * up = scu + scu_unit_idx;
scu_unit_idx     1082 src/dps8/dps8_scu.c 
scu_unit_idx     1113 src/dps8/dps8_scu.c void scu_unit_reset (int scu_unit_idx)
scu_unit_idx     1115 src/dps8/dps8_scu.c     scu_t * up = scu + scu_unit_idx;
scu_unit_idx     1116 src/dps8/dps8_scu.c     struct config_switches * sw = config_switches + scu_unit_idx;
scu_unit_idx     1140 src/dps8/dps8_scu.c         struct ports * portp = & scu [scu_unit_idx].ports [port_num];
scu_unit_idx     1163 src/dps8/dps8_scu.c     for (int scu_unit_idx = 0; scu_unit_idx < N_SCU_UNITS_MAX; scu_unit_idx ++)
scu_unit_idx     1164 src/dps8/dps8_scu.c       scu_unit_reset (scu_unit_idx);
scu_unit_idx     1175 src/dps8/dps8_scu.c static uint64 set_SCU_clock (cpu_state_t * cpup, uint scu_unit_idx)
scu_unit_idx     1238 src/dps8/dps8_scu.c         Multics_usecs += (uint64) scu [scu_unit_idx].user_correction;
scu_unit_idx     1243 src/dps8/dps8_scu.c         if (scu [scu_unit_idx].last_time >= Multics_usecs)
scu_unit_idx     1246 src/dps8/dps8_scu.c             Multics_usecs = scu [scu_unit_idx].last_time + 1;
scu_unit_idx     1248 src/dps8/dps8_scu.c         scu [scu_unit_idx].last_time = Multics_usecs;
scu_unit_idx     1302 src/dps8/dps8_scu.c     Multics_usecs += (uint64) scu [scu_unit_idx].user_correction;
scu_unit_idx     1304 src/dps8/dps8_scu.c     if (scu [scu_unit_idx].last_time >= Multics_usecs)
scu_unit_idx     1305 src/dps8/dps8_scu.c         Multics_usecs = scu [scu_unit_idx].last_time + 1;
scu_unit_idx     1306 src/dps8/dps8_scu.c     scu [scu_unit_idx].last_time = Multics_usecs;
scu_unit_idx     1313 src/dps8/dps8_scu.c     return scu [scu_unit_idx].last_time;
scu_unit_idx     1317 src/dps8/dps8_scu.c static char * pcells (uint scu_unit_idx, char * buf)
scu_unit_idx     1321 src/dps8/dps8_scu.c         if (scu [scu_unit_idx].cells [i])
scu_unit_idx     1344 src/dps8/dps8_scu.c static void deliver_interrupts (uint scu_unit_idx)
scu_unit_idx     1348 src/dps8/dps8_scu.c     sim_debug (DBG_DEBUG, & scu_dev, "deliver_interrupts %o\n", scu_unit_idx);
scu_unit_idx     1352 src/dps8/dps8_scu.c         cpus[cpun].events.XIP[scu_unit_idx] = false;
scu_unit_idx     1368 src/dps8/dps8_scu.c         if (! scu [scu_unit_idx].cells [inum])
scu_unit_idx     1372 src/dps8/dps8_scu.c                    "scu %u trying to deliver %d\n", scu_unit_idx, inum);
scu_unit_idx     1379 src/dps8/dps8_scu.c             if (scu [scu_unit_idx].mask_enable [pima] == 0)
scu_unit_idx     1381 src/dps8/dps8_scu.c             uint mask = scu [scu_unit_idx].exec_intr_mask [pima];
scu_unit_idx     1382 src/dps8/dps8_scu.c             uint port = scu [scu_unit_idx].mask_assignment [pima];
scu_unit_idx     1387 src/dps8/dps8_scu.c             if (scu [scu_unit_idx].ports [port].type != ADEV_CPU)
scu_unit_idx     1392 src/dps8/dps8_scu.c                 if (scu[scu_unit_idx].ports[port].is_exp)
scu_unit_idx     1394 src/dps8/dps8_scu.c                     sn = (uint) scu[scu_unit_idx].ports[port].xipmaskval;
scu_unit_idx     1401 src/dps8/dps8_scu.c                 if (! cables->scu_to_cpu[scu_unit_idx][port][sn].in_use)
scu_unit_idx     1403 src/dps8/dps8_scu.c                     sim_warn ("bad scu_unit_idx %u\n", scu_unit_idx);
scu_unit_idx     1406 src/dps8/dps8_scu.c                 uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx;
scu_unit_idx     1408 src/dps8/dps8_scu.c                 cpus[cpu_unit_udx].events.XIP[scu_unit_idx] = true;
scu_unit_idx     1410 src/dps8/dps8_scu.c                 HDBGIntrSet (inum, cpu_unit_udx, scu_unit_idx, __func__);
scu_unit_idx     1418 src/dps8/dps8_scu.c                            cpu_unit_udx, scu_unit_idx);
scu_unit_idx     1424 src/dps8/dps8_scu.c                 cpus[cpu_unit_udx].events.XIP[scu_unit_idx] = true;
scu_unit_idx     1425 src/dps8/dps8_scu.c sim_debug (DBG_DEBUG, & scu_dev, "interrupt set for CPU %d SCU %d\n", cpu_unit_udx, scu_unit_idx);
scu_unit_idx     1427 src/dps8/dps8_scu.c                            "XIP set for SCU %d\n", scu_unit_idx);
scu_unit_idx     1435 src/dps8/dps8_scu.c         if (! scu [scu_unit_idx].cells [inum])
scu_unit_idx     1439 src/dps8/dps8_scu.c                    "scu %u trying to deliver %d\n", scu_unit_idx, inum);
scu_unit_idx     1446 src/dps8/dps8_scu.c             if (scu [scu_unit_idx].mask_enable [pima] == 0)
scu_unit_idx     1448 src/dps8/dps8_scu.c             uint mask = scu [scu_unit_idx].exec_intr_mask [pima];
scu_unit_idx     1449 src/dps8/dps8_scu.c             uint port = scu [scu_unit_idx].mask_assignment [pima];
scu_unit_idx     1454 src/dps8/dps8_scu.c             if (scu [scu_unit_idx].ports [port].type != ADEV_CPU)
scu_unit_idx     1459 src/dps8/dps8_scu.c                 if (scu[scu_unit_idx].ports[port].is_exp)
scu_unit_idx     1461 src/dps8/dps8_scu.c                     sn = (uint) scu[scu_unit_idx].ports[port].xipmaskval;
scu_unit_idx     1468 src/dps8/dps8_scu.c                 if (! cables->scu_to_cpu[scu_unit_idx][port][sn].in_use)
scu_unit_idx     1470 src/dps8/dps8_scu.c                     sim_warn ("bad scu_unit_idx %u\n", scu_unit_idx);
scu_unit_idx     1473 src/dps8/dps8_scu.c                 uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx;
scu_unit_idx     1475 src/dps8/dps8_scu.c                 cpus[cpu_unit_udx].events.XIP[scu_unit_idx] = true;
scu_unit_idx     1477 src/dps8/dps8_scu.c                 HDBGIntrSet (inum, cpu_unit_udx, scu_unit_idx, __func__);
scu_unit_idx     1488 src/dps8/dps8_scu.c                            cpu_unit_udx, scu_unit_idx);
scu_unit_idx     1494 src/dps8/dps8_scu.c                 cpus[cpu_unit_udx].events.XIP[scu_unit_idx] = true;
scu_unit_idx     1495 src/dps8/dps8_scu.c sim_debug (DBG_DEBUG, & scu_dev, "interrupt set for CPU %d SCU %d\n", cpu_unit_udx, scu_unit_idx);
scu_unit_idx     1497 src/dps8/dps8_scu.c                            "XIP set for SCU %d\n", scu_unit_idx);
scu_unit_idx     1505 src/dps8/dps8_scu.c t_stat scu_smic (uint scu_unit_idx, uint UNUSED cpu_unit_udx,
scu_unit_idx     1521 src/dps8/dps8_scu.c               scu [scu_unit_idx].cells [i + 16] = 1;
scu_unit_idx     1526 src/dps8/dps8_scu.c                    scu_unit_idx, pcells (scu_unit_idx, pcellb));
scu_unit_idx     1533 src/dps8/dps8_scu.c               scu [scu_unit_idx].cells [i] = 1;
scu_unit_idx     1538 src/dps8/dps8_scu.c                    scu_unit_idx, pcells (scu_unit_idx, pcellb));
scu_unit_idx     1545 src/dps8/dps8_scu.c 
scu_unit_idx     1550 src/dps8/dps8_scu.c 
scu_unit_idx     1556 src/dps8/dps8_scu.c 
scu_unit_idx     1562 src/dps8/dps8_scu.c 
scu_unit_idx     1565 src/dps8/dps8_scu.c     dump_intr_regs ("smic", scu_unit_idx);
scu_unit_idx     1566 src/dps8/dps8_scu.c     deliver_interrupts (scu_unit_idx);
scu_unit_idx     1602 src/dps8/dps8_scu.c t_stat scu_sscr (cpu_state_t * cpup, uint scu_unit_idx, UNUSED uint cpu_unit_udx,
scu_unit_idx     1606 src/dps8/dps8_scu.c     sim_debug (DBG_DEBUG, & scu_dev, "sscr SCU unit %o\n", scu_unit_idx);
scu_unit_idx     1610 src/dps8/dps8_scu.c     if (scu_unit_idx >= scu_dev.numunits)
scu_unit_idx     1614 src/dps8/dps8_scu.c                    __func__, scu_unit_idx);
scu_unit_idx     1625 src/dps8/dps8_scu.c     if (config_switches [scu_unit_idx].mode != MODE_PROGRAM)
scu_unit_idx     1644 src/dps8/dps8_scu.c             scu [scu_unit_idx].id = (word4) getbits36_4 (regq, 50 - 36);
scu_unit_idx     1645 src/dps8/dps8_scu.c             scu [scu_unit_idx].mode_reg = getbits36_18 (regq, 54 - 36);
scu_unit_idx     1657 src/dps8/dps8_scu.c                        scu_unit_idx, rega, regq);
scu_unit_idx     1661 src/dps8/dps8_scu.c             scu_t * up = scu + scu_unit_idx;
scu_unit_idx     1670 src/dps8/dps8_scu.c                                scu_unit_idx, maskab);
scu_unit_idx     1677 src/dps8/dps8_scu.c                                scu_unit_idx, maskab);
scu_unit_idx     1691 src/dps8/dps8_scu.c                            scu_unit_idx, 'a' + maskab, up->mask_enable[maskab],
scu_unit_idx     1745 src/dps8/dps8_scu.c                 if (scu [scu_unit_idx].mask_enable [p] == 0)
scu_unit_idx     1748 src/dps8/dps8_scu.c                 if (scu [scu_unit_idx ].mask_assignment [p] == port_num)
scu_unit_idx     1778 src/dps8/dps8_scu.c             scu [scu_unit_idx].exec_intr_mask [mask_num] = 0;
scu_unit_idx     1779 src/dps8/dps8_scu.c             scu [scu_unit_idx].exec_intr_mask [mask_num] |=
scu_unit_idx     1781 src/dps8/dps8_scu.c             scu [scu_unit_idx].exec_intr_mask [mask_num] |=
scu_unit_idx     1787 src/dps8/dps8_scu.c 
scu_unit_idx     1795 src/dps8/dps8_scu.c                        scu_unit_idx, port_num, mask_num,
scu_unit_idx     1796 src/dps8/dps8_scu.c                        scu [scu_unit_idx].exec_intr_mask [mask_num]);
scu_unit_idx     1797 src/dps8/dps8_scu.c             dump_intr_regs ("sscr set mask", scu_unit_idx);
scu_unit_idx     1798 src/dps8/dps8_scu.c             scu [scu_unit_idx].mask_enable [mask_num] = 1;
scu_unit_idx     1802 src/dps8/dps8_scu.c                        scu_unit_idx, 'a' + mask_num,
scu_unit_idx     1803 src/dps8/dps8_scu.c                        scu[scu_unit_idx].exec_intr_mask[mask_num]);
scu_unit_idx     1805 src/dps8/dps8_scu.c             deliver_interrupts (scu_unit_idx);
scu_unit_idx     1819 src/dps8/dps8_scu.c                 scu [scu_unit_idx].cells [i] =
scu_unit_idx     1821 src/dps8/dps8_scu.c                 scu [scu_unit_idx].cells [i + 16] =
scu_unit_idx     1827 src/dps8/dps8_scu.c                        scu_unit_idx, pcells (scu_unit_idx, pcellb));
scu_unit_idx     1830 src/dps8/dps8_scu.c                        scu_unit_idx, pcells (scu_unit_idx, pcellb));
scu_unit_idx     1831 src/dps8/dps8_scu.c             dump_intr_regs ("sscr set interrupt cells", scu_unit_idx);
scu_unit_idx     1832 src/dps8/dps8_scu.c             deliver_interrupts (scu_unit_idx);
scu_unit_idx     1849 src/dps8/dps8_scu.c             scu [scu_unit_idx].user_correction =
scu_unit_idx     1850 src/dps8/dps8_scu.c               (int64) (new_clk - set_SCU_clock (cpup, scu_unit_idx));
scu_unit_idx     1875 src/dps8/dps8_scu.c t_stat scu_rscr (cpu_state_t * cpup, uint scu_unit_idx, uint cpu_unit_udx, word18 addr,
scu_unit_idx     1880 src/dps8/dps8_scu.c     if (scu_unit_idx >= scu_dev.numunits)
scu_unit_idx     1883 src/dps8/dps8_scu.c                    __func__, scu_unit_idx);
scu_unit_idx     1917 src/dps8/dps8_scu.c             putbits36_4 (regq, 50 - 36, scu [scu_unit_idx].id);
scu_unit_idx     1918 src/dps8/dps8_scu.c             putbits36_18 (regq, 54 - 36, scu [scu_unit_idx].mode_reg);
scu_unit_idx     1957 src/dps8/dps8_scu.c             sim_debug (DBG_DEBUG, & scu_dev, "rscr 1 %d\n", scu_unit_idx);
scu_unit_idx     1961 src/dps8/dps8_scu.c             scu_t * up = scu + scu_unit_idx;
scu_unit_idx     1981 src/dps8/dps8_scu.c                     if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use &&
scu_unit_idx     1982 src/dps8/dps8_scu.c                         cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx ==
scu_unit_idx     1998 src/dps8/dps8_scu.c                            __func__, scu_unit_idx, cpu_unit_udx);
scu_unit_idx     2011 src/dps8/dps8_scu.c             putbits36_1 (& a, 21,  (word1) config_switches[scu_unit_idx].mode);
scu_unit_idx     2043 src/dps8/dps8_scu.c                        scu_unit_idx, * rega, * regq);
scu_unit_idx     2053 src/dps8/dps8_scu.c             scu_t * up = scu + scu_unit_idx;
scu_unit_idx     2084 src/dps8/dps8_scu.c                        scu_unit_idx, port_num, up -> mask_assignment [0],
scu_unit_idx     2095 src/dps8/dps8_scu.c             scu_t * up = scu + scu_unit_idx;
scu_unit_idx     2115 src/dps8/dps8_scu.c             uint64 clk = set_SCU_clock (cpup, scu_unit_idx);
scu_unit_idx     2191 src/dps8/dps8_scu.c int scu_cioc (uint cpu_unit_udx, uint scu_unit_idx, uint scu_port_num,
scu_unit_idx     2202 src/dps8/dps8_scu.c                cpu_unit_udx, scu_unit_idx, scu_port_num,
scu_unit_idx     2208 src/dps8/dps8_scu.c     struct ports * portp = & scu [scu_unit_idx].ports [scu_port_num];
scu_unit_idx     2211 src/dps8/dps8_scu.c     if (! scu [scu_unit_idx].port_enable [scu_port_num])
scu_unit_idx     2217 src/dps8/dps8_scu.c                    scu_unit_idx, scu_port_num);
scu_unit_idx     2262 src/dps8/dps8_scu.c         iom_interrupt (scu_unit_idx, (uint) iom_unit_idx);
scu_unit_idx     2271 src/dps8/dps8_scu.c             iom_interrupt (scu_unit_idx, (uint) iom_unit_idx);
scu_unit_idx     2284 src/dps8/dps8_scu.c             iom_dev.units[iom_unit_idx].u3 = (int32) scu_unit_idx;
scu_unit_idx     2308 src/dps8/dps8_scu.c                             scu_to_cpu[scu_unit_idx][scu_port_num][sn].in_use)
scu_unit_idx     2314 src/dps8/dps8_scu.c                       scu_to_cpu[scu_unit_idx][scu_port_num][sn].cpu_unit_idx;
scu_unit_idx     2321 src/dps8/dps8_scu.c             if (! cables->scu_to_cpu[scu_unit_idx][scu_port_num][0].in_use)
scu_unit_idx     2328 src/dps8/dps8_scu.c               cables->scu_to_cpu[scu_unit_idx][scu_port_num][0].cpu_unit_idx;
scu_unit_idx     2337 src/dps8/dps8_scu.c 
scu_unit_idx     2342 src/dps8/dps8_scu.c 
scu_unit_idx     2379 src/dps8/dps8_scu.c int scu_set_interrupt (uint scu_unit_idx, uint inum)
scu_unit_idx     2396 src/dps8/dps8_scu.c     scu [scu_unit_idx].cells [inum] = 1;
scu_unit_idx     2397 src/dps8/dps8_scu.c     dump_intr_regs ("scu_set_interrupt", scu_unit_idx);
scu_unit_idx     2398 src/dps8/dps8_scu.c     deliver_interrupts (scu_unit_idx);
scu_unit_idx     2411 src/dps8/dps8_scu.c uint scu_get_highest_intr (uint scu_unit_idx)
scu_unit_idx     2424 src/dps8/dps8_scu.c             if (scu [scu_unit_idx].mask_enable [pima] == 0)
scu_unit_idx     2426 src/dps8/dps8_scu.c             uint mask = scu [scu_unit_idx].exec_intr_mask [pima];
scu_unit_idx     2427 src/dps8/dps8_scu.c             uint port = scu [scu_unit_idx].mask_assignment [pima];
scu_unit_idx     2430 src/dps8/dps8_scu.c             if (scu[scu_unit_idx].ports[port].type != ADEV_CPU ||
scu_unit_idx     2431 src/dps8/dps8_scu.c                 cpus[current_running_cpu_idx].scu_port[scu_unit_idx] != port)
scu_unit_idx     2433 src/dps8/dps8_scu.c             if (scu [scu_unit_idx].cells [inum] &&
scu_unit_idx     2438 src/dps8/dps8_scu.c                            inum, pima, mask, port, scu [scu_unit_idx].cells [inum]);
scu_unit_idx     2439 src/dps8/dps8_scu.c                 scu [scu_unit_idx].cells [inum] = false;
scu_unit_idx     2440 src/dps8/dps8_scu.c                 dump_intr_regs ("scu_get_highest_intr", scu_unit_idx);
scu_unit_idx     2441 src/dps8/dps8_scu.c                 deliver_interrupts (scu_unit_idx);
scu_unit_idx     2459 src/dps8/dps8_scu.c     uint scu_unit_idx = (uint) (uptr - scu_unit);
scu_unit_idx     2460 src/dps8/dps8_scu.c     scu_unit_reset ((int) scu_unit_idx);
scu_unit_idx     2494 src/dps8/dps8_scu.c t_stat scu_rmcm (uint scu_unit_idx, uint cpu_unit_udx, word36 * rega,
scu_unit_idx     2500 src/dps8/dps8_scu.c     scu_t * up = scu + scu_unit_idx;
scu_unit_idx     2515 src/dps8/dps8_scu.c             if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use &&
scu_unit_idx     2516 src/dps8/dps8_scu.c                 cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx ==
scu_unit_idx     2533 src/dps8/dps8_scu.c                   __func__, scu_unit_idx, cpu_unit_udx);
scu_unit_idx     2537 src/dps8/dps8_scu.c                    __func__, scu_unit_idx, cpu_unit_udx);
scu_unit_idx     2589 src/dps8/dps8_scu.c     dump_intr_regs ("rmcm", scu_unit_idx);
scu_unit_idx     2593 src/dps8/dps8_scu.c t_stat scu_smcm (uint scu_unit_idx, uint cpu_unit_udx, word36 rega, word36 regq)
scu_unit_idx     2600 src/dps8/dps8_scu.c                scu_unit_idx, cpu_unit_udx, rega, regq);
scu_unit_idx     2602 src/dps8/dps8_scu.c     scu_t * up = scu + scu_unit_idx;
scu_unit_idx     2613 src/dps8/dps8_scu.c             if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use &&
scu_unit_idx     2614 src/dps8/dps8_scu.c                 cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx ==
scu_unit_idx     2630 src/dps8/dps8_scu.c                    __func__, scu_unit_idx, cpu_unit_udx);
scu_unit_idx     2662 src/dps8/dps8_scu.c     scu [scu_unit_idx].port_enable [0] = (uint) getbits36_1 (rega, 32);
scu_unit_idx     2663 src/dps8/dps8_scu.c     scu [scu_unit_idx].port_enable [1] = (uint) getbits36_1 (rega, 33);
scu_unit_idx     2664 src/dps8/dps8_scu.c     scu [scu_unit_idx].port_enable [2] = (uint) getbits36_1 (rega, 34);
scu_unit_idx     2665 src/dps8/dps8_scu.c     scu [scu_unit_idx].port_enable [3] = (uint) getbits36_1 (rega, 35);
scu_unit_idx     2666 src/dps8/dps8_scu.c     scu [scu_unit_idx].port_enable [4] = (uint) getbits36_1 (regq, 32);
scu_unit_idx     2667 src/dps8/dps8_scu.c     scu [scu_unit_idx].port_enable [5] = (uint) getbits36_1 (regq, 33);
scu_unit_idx     2668 src/dps8/dps8_scu.c     scu [scu_unit_idx].port_enable [6] = (uint) getbits36_1 (regq, 34);
scu_unit_idx     2669 src/dps8/dps8_scu.c     scu [scu_unit_idx].port_enable [7] = (uint) getbits36_1 (regq, 35);
scu_unit_idx     2671 src/dps8/dps8_scu.c     dump_intr_regs ("smcm", scu_unit_idx);
scu_unit_idx     2672 src/dps8/dps8_scu.c     deliver_interrupts (scu_unit_idx);
scu_unit_idx       92 src/dps8/dps8_scu.h int scu_set_interrupt(uint scu_unit_idx, uint inum);
scu_unit_idx       94 src/dps8/dps8_scu.h t_stat scu_sscr (cpu_state_t * cpup, uint scu_unit_idx, UNUSED uint cpu_unit_idx, uint cpu_port_num, word18 addr,
scu_unit_idx       96 src/dps8/dps8_scu.h t_stat scu_smic (uint scu_unit_idx, uint UNUSED cpu_unit_idx, uint cpu_port_num, word36 rega);
scu_unit_idx       97 src/dps8/dps8_scu.h t_stat scu_rscr (cpu_state_t * cpup, uint scu_unit_idx, uint cpu_unit_idx, word18 addr, word36 * rega, word36 * regq);
scu_unit_idx       98 src/dps8/dps8_scu.h int scu_cioc (uint cpu_unit_idx, uint scu_unit_idx, uint scu_port_num, uint expander_command, uint sub_mask);
scu_unit_idx       99 src/dps8/dps8_scu.h t_stat scu_rmcm (uint scu_unit_idx, uint cpu_unit_idx, word36 * rega, word36 * regq);
scu_unit_idx      100 src/dps8/dps8_scu.h t_stat scu_smcm (uint scu_unit_idx, uint cpu_unit_idx, word36 rega, word36 regq);
scu_unit_idx      101 src/dps8/dps8_scu.h void scu_clear_interrupt (uint scu_unit_idx, uint inum);
scu_unit_idx      102 src/dps8/dps8_scu.h uint scu_get_highest_intr (uint scu_unit_idx);
scu_unit_idx      106 src/dps8/dps8_scu.h void scu_unit_reset (int scu_unit_idx);