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     1721 src/dps8/dps8_cpu.c     for (uint scu_unit_idx = 0; scu_unit_idx < N_SCU_UNITS_MAX; scu_unit_idx ++)
scu_unit_idx     1723 src/dps8/dps8_cpu.c         if (cpu.events.XIP [scu_unit_idx])
scu_unit_idx     1725 src/dps8/dps8_cpu.c             fp = scu_get_highest_intr (scu_unit_idx); // CALLED WITH SCU LOCK
scu_unit_idx     1736 src/dps8/dps8_cpu.c     for (uint scu_unit_idx = 0; scu_unit_idx < N_SCU_UNITS_MAX; scu_unit_idx ++)
scu_unit_idx     1738 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     3502 src/dps8/dps8_iom.c void iom_interrupt (uint scu_unit_idx, uint iom_unit_idx)
scu_unit_idx     3509 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     1485 src/dps8/dps8_scu.c                            cpu_unit_udx, scu_unit_idx);
scu_unit_idx     1491 src/dps8/dps8_scu.c                 cpus[cpu_unit_udx].events.XIP[scu_unit_idx] = true;
scu_unit_idx     1492 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     1494 src/dps8/dps8_scu.c                            "XIP set for SCU %d\n", scu_unit_idx);
scu_unit_idx     1502 src/dps8/dps8_scu.c t_stat scu_smic (uint scu_unit_idx, uint UNUSED cpu_unit_udx,
scu_unit_idx     1518 src/dps8/dps8_scu.c               scu [scu_unit_idx].cells [i + 16] = 1;
scu_unit_idx     1523 src/dps8/dps8_scu.c                    scu_unit_idx, pcells (scu_unit_idx, pcellb));
scu_unit_idx     1530 src/dps8/dps8_scu.c               scu [scu_unit_idx].cells [i] = 1;
scu_unit_idx     1535 src/dps8/dps8_scu.c                    scu_unit_idx, pcells (scu_unit_idx, pcellb));
scu_unit_idx     1542 src/dps8/dps8_scu.c 
scu_unit_idx     1547 src/dps8/dps8_scu.c 
scu_unit_idx     1553 src/dps8/dps8_scu.c 
scu_unit_idx     1559 src/dps8/dps8_scu.c 
scu_unit_idx     1562 src/dps8/dps8_scu.c     dump_intr_regs ("smic", scu_unit_idx);
scu_unit_idx     1563 src/dps8/dps8_scu.c     deliver_interrupts (scu_unit_idx);
scu_unit_idx     1599 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     1603 src/dps8/dps8_scu.c     sim_debug (DBG_DEBUG, & scu_dev, "sscr SCU unit %o\n", scu_unit_idx);
scu_unit_idx     1607 src/dps8/dps8_scu.c     if (scu_unit_idx >= scu_dev.numunits)
scu_unit_idx     1611 src/dps8/dps8_scu.c                    __func__, scu_unit_idx);
scu_unit_idx     1622 src/dps8/dps8_scu.c     if (config_switches [scu_unit_idx].mode != MODE_PROGRAM)
scu_unit_idx     1641 src/dps8/dps8_scu.c             scu [scu_unit_idx].id = (word4) getbits36_4 (regq, 50 - 36);
scu_unit_idx     1642 src/dps8/dps8_scu.c             scu [scu_unit_idx].mode_reg = getbits36_18 (regq, 54 - 36);
scu_unit_idx     1654 src/dps8/dps8_scu.c                        scu_unit_idx, rega, regq);
scu_unit_idx     1658 src/dps8/dps8_scu.c             scu_t * up = scu + scu_unit_idx;
scu_unit_idx     1667 src/dps8/dps8_scu.c                                scu_unit_idx, maskab);
scu_unit_idx     1674 src/dps8/dps8_scu.c                                scu_unit_idx, maskab);
scu_unit_idx     1688 src/dps8/dps8_scu.c                            scu_unit_idx, 'a' + maskab, up->mask_enable[maskab],
scu_unit_idx     1742 src/dps8/dps8_scu.c                 if (scu [scu_unit_idx].mask_enable [p] == 0)
scu_unit_idx     1745 src/dps8/dps8_scu.c                 if (scu [scu_unit_idx ].mask_assignment [p] == port_num)
scu_unit_idx     1775 src/dps8/dps8_scu.c             scu [scu_unit_idx].exec_intr_mask [mask_num] = 0;
scu_unit_idx     1776 src/dps8/dps8_scu.c             scu [scu_unit_idx].exec_intr_mask [mask_num] |=
scu_unit_idx     1778 src/dps8/dps8_scu.c             scu [scu_unit_idx].exec_intr_mask [mask_num] |=
scu_unit_idx     1784 src/dps8/dps8_scu.c 
scu_unit_idx     1792 src/dps8/dps8_scu.c                        scu_unit_idx, port_num, mask_num,
scu_unit_idx     1793 src/dps8/dps8_scu.c                        scu [scu_unit_idx].exec_intr_mask [mask_num]);
scu_unit_idx     1794 src/dps8/dps8_scu.c             dump_intr_regs ("sscr set mask", scu_unit_idx);
scu_unit_idx     1795 src/dps8/dps8_scu.c             scu [scu_unit_idx].mask_enable [mask_num] = 1;
scu_unit_idx     1799 src/dps8/dps8_scu.c                        scu_unit_idx, 'a' + mask_num,
scu_unit_idx     1800 src/dps8/dps8_scu.c                        scu[scu_unit_idx].exec_intr_mask[mask_num]);
scu_unit_idx     1802 src/dps8/dps8_scu.c             deliver_interrupts (scu_unit_idx);
scu_unit_idx     1816 src/dps8/dps8_scu.c                 scu [scu_unit_idx].cells [i] =
scu_unit_idx     1818 src/dps8/dps8_scu.c                 scu [scu_unit_idx].cells [i + 16] =
scu_unit_idx     1824 src/dps8/dps8_scu.c                        scu_unit_idx, pcells (scu_unit_idx, pcellb));
scu_unit_idx     1827 src/dps8/dps8_scu.c                        scu_unit_idx, pcells (scu_unit_idx, pcellb));
scu_unit_idx     1828 src/dps8/dps8_scu.c             dump_intr_regs ("sscr set interrupt cells", scu_unit_idx);
scu_unit_idx     1829 src/dps8/dps8_scu.c             deliver_interrupts (scu_unit_idx);
scu_unit_idx     1846 src/dps8/dps8_scu.c             scu [scu_unit_idx].user_correction =
scu_unit_idx     1847 src/dps8/dps8_scu.c               (int64) (new_clk - set_SCU_clock (cpup, scu_unit_idx));
scu_unit_idx     1872 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     1877 src/dps8/dps8_scu.c     if (scu_unit_idx >= scu_dev.numunits)
scu_unit_idx     1880 src/dps8/dps8_scu.c                    __func__, scu_unit_idx);
scu_unit_idx     1914 src/dps8/dps8_scu.c             putbits36_4 (regq, 50 - 36, scu [scu_unit_idx].id);
scu_unit_idx     1915 src/dps8/dps8_scu.c             putbits36_18 (regq, 54 - 36, scu [scu_unit_idx].mode_reg);
scu_unit_idx     1954 src/dps8/dps8_scu.c             sim_debug (DBG_DEBUG, & scu_dev, "rscr 1 %d\n", scu_unit_idx);
scu_unit_idx     1958 src/dps8/dps8_scu.c             scu_t * up = scu + scu_unit_idx;
scu_unit_idx     1978 src/dps8/dps8_scu.c                     if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use &&
scu_unit_idx     1979 src/dps8/dps8_scu.c                         cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx ==
scu_unit_idx     1995 src/dps8/dps8_scu.c                            __func__, scu_unit_idx, cpu_unit_udx);
scu_unit_idx     2008 src/dps8/dps8_scu.c             putbits36_1 (& a, 21,  (word1) config_switches[scu_unit_idx].mode);
scu_unit_idx     2040 src/dps8/dps8_scu.c                        scu_unit_idx, * rega, * regq);
scu_unit_idx     2050 src/dps8/dps8_scu.c             scu_t * up = scu + scu_unit_idx;
scu_unit_idx     2081 src/dps8/dps8_scu.c                        scu_unit_idx, port_num, up -> mask_assignment [0],
scu_unit_idx     2092 src/dps8/dps8_scu.c             scu_t * up = scu + scu_unit_idx;
scu_unit_idx     2112 src/dps8/dps8_scu.c             uint64 clk = set_SCU_clock (cpup, scu_unit_idx);
scu_unit_idx     2188 src/dps8/dps8_scu.c int scu_cioc (uint cpu_unit_udx, uint scu_unit_idx, uint scu_port_num,
scu_unit_idx     2199 src/dps8/dps8_scu.c                cpu_unit_udx, scu_unit_idx, scu_port_num,
scu_unit_idx     2205 src/dps8/dps8_scu.c     struct ports * portp = & scu [scu_unit_idx].ports [scu_port_num];
scu_unit_idx     2208 src/dps8/dps8_scu.c     if (! scu [scu_unit_idx].port_enable [scu_port_num])
scu_unit_idx     2214 src/dps8/dps8_scu.c                    scu_unit_idx, scu_port_num);
scu_unit_idx     2259 src/dps8/dps8_scu.c         iom_interrupt (scu_unit_idx, (uint) iom_unit_idx);
scu_unit_idx     2268 src/dps8/dps8_scu.c             iom_interrupt (scu_unit_idx, (uint) iom_unit_idx);
scu_unit_idx     2281 src/dps8/dps8_scu.c             iom_dev.units[iom_unit_idx].u3 = (int32) scu_unit_idx;
scu_unit_idx     2305 src/dps8/dps8_scu.c                             scu_to_cpu[scu_unit_idx][scu_port_num][sn].in_use)
scu_unit_idx     2311 src/dps8/dps8_scu.c                       scu_to_cpu[scu_unit_idx][scu_port_num][sn].cpu_unit_idx;
scu_unit_idx     2318 src/dps8/dps8_scu.c             if (! cables->scu_to_cpu[scu_unit_idx][scu_port_num][0].in_use)
scu_unit_idx     2325 src/dps8/dps8_scu.c               cables->scu_to_cpu[scu_unit_idx][scu_port_num][0].cpu_unit_idx;
scu_unit_idx     2334 src/dps8/dps8_scu.c 
scu_unit_idx     2339 src/dps8/dps8_scu.c 
scu_unit_idx     2376 src/dps8/dps8_scu.c int scu_set_interrupt (uint scu_unit_idx, uint inum)
scu_unit_idx     2393 src/dps8/dps8_scu.c     scu [scu_unit_idx].cells [inum] = 1;
scu_unit_idx     2394 src/dps8/dps8_scu.c     dump_intr_regs ("scu_set_interrupt", scu_unit_idx);
scu_unit_idx     2395 src/dps8/dps8_scu.c     deliver_interrupts (scu_unit_idx);
scu_unit_idx     2408 src/dps8/dps8_scu.c uint scu_get_highest_intr (uint scu_unit_idx)
scu_unit_idx     2421 src/dps8/dps8_scu.c             if (scu [scu_unit_idx].mask_enable [pima] == 0)
scu_unit_idx     2423 src/dps8/dps8_scu.c             uint mask = scu [scu_unit_idx].exec_intr_mask [pima];
scu_unit_idx     2424 src/dps8/dps8_scu.c             uint port = scu [scu_unit_idx].mask_assignment [pima];
scu_unit_idx     2427 src/dps8/dps8_scu.c             if (scu[scu_unit_idx].ports[port].type != ADEV_CPU ||
scu_unit_idx     2428 src/dps8/dps8_scu.c                 cpus[current_running_cpu_idx].scu_port[scu_unit_idx] != port)
scu_unit_idx     2430 src/dps8/dps8_scu.c             if (scu [scu_unit_idx].cells [inum] &&
scu_unit_idx     2435 src/dps8/dps8_scu.c                            inum, pima, mask, port, scu [scu_unit_idx].cells [inum]);
scu_unit_idx     2436 src/dps8/dps8_scu.c                 scu [scu_unit_idx].cells [inum] = false;
scu_unit_idx     2437 src/dps8/dps8_scu.c                 dump_intr_regs ("scu_get_highest_intr", scu_unit_idx);
scu_unit_idx     2438 src/dps8/dps8_scu.c                 deliver_interrupts (scu_unit_idx);
scu_unit_idx     2456 src/dps8/dps8_scu.c     uint scu_unit_idx = (uint) (uptr - scu_unit);
scu_unit_idx     2457 src/dps8/dps8_scu.c     scu_unit_reset ((int) scu_unit_idx);
scu_unit_idx     2491 src/dps8/dps8_scu.c t_stat scu_rmcm (uint scu_unit_idx, uint cpu_unit_udx, word36 * rega,
scu_unit_idx     2497 src/dps8/dps8_scu.c     scu_t * up = scu + scu_unit_idx;
scu_unit_idx     2512 src/dps8/dps8_scu.c             if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use &&
scu_unit_idx     2513 src/dps8/dps8_scu.c                 cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx ==
scu_unit_idx     2530 src/dps8/dps8_scu.c                   __func__, scu_unit_idx, cpu_unit_udx);
scu_unit_idx     2534 src/dps8/dps8_scu.c                    __func__, scu_unit_idx, cpu_unit_udx);
scu_unit_idx     2586 src/dps8/dps8_scu.c     dump_intr_regs ("rmcm", scu_unit_idx);
scu_unit_idx     2590 src/dps8/dps8_scu.c t_stat scu_smcm (uint scu_unit_idx, uint cpu_unit_udx, word36 rega, word36 regq)
scu_unit_idx     2597 src/dps8/dps8_scu.c                scu_unit_idx, cpu_unit_udx, rega, regq);
scu_unit_idx     2599 src/dps8/dps8_scu.c     scu_t * up = scu + scu_unit_idx;
scu_unit_idx     2610 src/dps8/dps8_scu.c             if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use &&
scu_unit_idx     2611 src/dps8/dps8_scu.c                 cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx ==
scu_unit_idx     2627 src/dps8/dps8_scu.c                    __func__, scu_unit_idx, cpu_unit_udx);
scu_unit_idx     2659 src/dps8/dps8_scu.c     scu [scu_unit_idx].port_enable [0] = (uint) getbits36_1 (rega, 32);
scu_unit_idx     2660 src/dps8/dps8_scu.c     scu [scu_unit_idx].port_enable [1] = (uint) getbits36_1 (rega, 33);
scu_unit_idx     2661 src/dps8/dps8_scu.c     scu [scu_unit_idx].port_enable [2] = (uint) getbits36_1 (rega, 34);
scu_unit_idx     2662 src/dps8/dps8_scu.c     scu [scu_unit_idx].port_enable [3] = (uint) getbits36_1 (rega, 35);
scu_unit_idx     2663 src/dps8/dps8_scu.c     scu [scu_unit_idx].port_enable [4] = (uint) getbits36_1 (regq, 32);
scu_unit_idx     2664 src/dps8/dps8_scu.c     scu [scu_unit_idx].port_enable [5] = (uint) getbits36_1 (regq, 33);
scu_unit_idx     2665 src/dps8/dps8_scu.c     scu [scu_unit_idx].port_enable [6] = (uint) getbits36_1 (regq, 34);
scu_unit_idx     2666 src/dps8/dps8_scu.c     scu [scu_unit_idx].port_enable [7] = (uint) getbits36_1 (regq, 35);
scu_unit_idx     2668 src/dps8/dps8_scu.c     dump_intr_regs ("smcm", scu_unit_idx);
scu_unit_idx     2669 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);