cables 149 src/dps8/dps8_cable.c struct cables_s * cables = NULL; cables 244 src/dps8/dps8_cable.c struct iom_to_scu_s * p = & cables->iom_to_scu[iom_unit_idx][iom_port_num]; cables 267 src/dps8/dps8_cable.c struct scu_to_iom_s * p = & cables->scu_to_iom[scu_unit_idx][scu_port_num]; cables 326 src/dps8/dps8_cable.c struct cpu_to_scu_s * p = & cables->cpu_to_scu[cpu_unit_idx][cpu_port_num]; cables 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]; cables 590 src/dps8/dps8_cable.c struct iom_to_ctlr_s * p = & cables->iom_to_ctlr[iom_unit_idx][chan_num]; cables 707 src/dps8/dps8_cable.c & cables->ipc_to_iom[unit_idx][ipc_port_num], cables 737 src/dps8/dps8_cable.c & cables->msp_to_iom[unit_idx][msp_port_num], cables 767 src/dps8/dps8_cable.c & cables->mtp_to_iom[unit_idx][mtp_port_num], cables 798 src/dps8/dps8_cable.c & cables->urp_to_iom[unit_idx][urp_port_num], cables 818 src/dps8/dps8_cable.c & cables->opc_to_iom[unit_idx][opc_port_num], cables 838 src/dps8/dps8_cable.c & cables->fnp_to_iom[unit_idx][fnp_port_num], cables 860 src/dps8/dps8_cable.c & cables->absi_to_iom[unit_idx][absi_port_num], cables 884 src/dps8/dps8_cable.c & cables->mgp_to_iom[unit_idx][mgp_port_num], cables 908 src/dps8/dps8_cable.c & cables->sk_to_iom[unit_idx][skc_port_num], cables 1054 src/dps8/dps8_cable.c & cables->mtp_to_tape[ctlr_unit_idx][dev_code], cables 1057 src/dps8/dps8_cable.c & cables->tape_to_mtp[mt_unit_idx], cables 1107 src/dps8/dps8_cable.c & cables->ipc_to_dsk[ctlr_unit_idx][dev_code], cables 1110 src/dps8/dps8_cable.c & cables->dsk_to_ctlr[dsk_unit_idx], cables 1160 src/dps8/dps8_cable.c & cables->msp_to_dsk[ctlr_unit_idx][dev_code], cables 1163 src/dps8/dps8_cable.c & cables->dsk_to_ctlr[dsk_unit_idx], cables 1213 src/dps8/dps8_cable.c & cables->urp_to_urd[ctlr_unit_idx][dev_code], cables 1216 src/dps8/dps8_cable.c & cables->rdr_to_urp[unit_idx], cables 1233 src/dps8/dps8_cable.c & cables->urp_to_urd[ctlr_unit_idx][dev_code], cables 1236 src/dps8/dps8_cable.c & cables->pun_to_urp[unit_idx], cables 1253 src/dps8/dps8_cable.c & cables->urp_to_urd[ctlr_unit_idx][dev_code], cables 1256 src/dps8/dps8_cable.c & cables->prt_to_urp[unit_idx], cables 1334 src/dps8/dps8_cable.c (void)memset (cables, 0, sizeof (struct cables_s)); cables 1349 src/dps8/dps8_cable.c struct cpu_to_scu_s *p = &cables->cpu_to_scu[u][prt]; cables 1360 src/dps8/dps8_cable.c struct scu_to_iom_s *p = &cables->scu_to_iom[u][prt]; cables 1366 src/dps8/dps8_cable.c struct cpu_to_scu_s *p = &cables->cpu_to_scu[u][prt]; cables 1377 src/dps8/dps8_cable.c struct scu_to_iom_s *p = &cables->scu_to_iom[u][prt]; cables 1420 src/dps8/dps8_cable.c struct ctlr_to_iom_s *p = &cables->small ## _to_iom[u][prt]; \ cables 1451 src/dps8/dps8_cable.c &cables->to_small ## _to_ ## from_small[u]; \ cables 1467 src/dps8/dps8_cable.c struct cpu_to_scu_s *p = &cables->cpu_to_scu[u][prt]; cables 1476 src/dps8/dps8_cable.c struct scu_to_iom_s *p = &cables->scu_to_iom[u][prt]; cables 1485 src/dps8/dps8_cable.c struct iom_to_ctlr_s *p = &cables->iom_to_ctlr[u][c]; cables 1497 src/dps8/dps8_cable.c &cables->to_small ## _to_ ## from_small[u]; \ cables 1521 src/dps8/dps8_cable.c struct scu_to_iom_s * p = & cables->scu_to_iom[u][prt]; cables 1532 src/dps8/dps8_cable.c struct iom_to_scu_s * p = & cables->iom_to_scu[u][prt]; cables 1545 src/dps8/dps8_cable.c struct scu_to_cpu_s * p = & cables->scu_to_cpu[u][prt][sp]; cables 1556 src/dps8/dps8_cable.c struct cpu_to_scu_s * p = & cables->cpu_to_scu[u][prt]; cables 1570 src/dps8/dps8_cable.c struct iom_to_ctlr_s * p = & cables->iom_to_ctlr[u][c]; cables 1585 src/dps8/dps8_cable.c struct ctlr_to_iom_s * p = & cables->small ## _to_iom[u][prt]; \ cables 1621 src/dps8/dps8_cable.c struct ctlr_to_dev_s * p = & cables->from_small ## _to_ ## to_small[u][prt]; \ cables 1629 src/dps8/dps8_cable.c struct dev_to_ctlr_s * p = & cables->to_small ## _to_ ## from_small[u]; \ cables 1672 src/dps8/dps8_cable.c cables 1675 src/dps8/dps8_cable.c cables 1678 src/dps8/dps8_cable.c cables 1680 src/dps8/dps8_cable.c cables 1687 src/dps8/dps8_cable.c cables = & system_state->cables; cables 261 src/dps8/dps8_cable.h extern struct cables_s * cables; cables 270 src/dps8/dps8_cable.h (cables->iom_to_ctlr[iom_unit_idx][chan].ctlr_unit_idx) cables 275 src/dps8/dps8_cable.h (cables->iom_to_ctlr[iom_unit_idx][chan].in_use) cables 280 src/dps8/dps8_cable.h (cables->cpu_to_scu[cpu_unit_idx][cpu_port_num].scu_unit_idx) cables 285 src/dps8/dps8_cable.h (cables->cpu_to_scu[cpu_unit_idx][cpu_port_num].in_use) cables 593 src/dps8/dps8_console.c uint iom_unit_idx = cables->opc_to_iom[con_unit_idx][ctlr_port_num].iom_unit_idx; cables 594 src/dps8/dps8_console.c uint chan_num = cables->opc_to_iom[con_unit_idx][ctlr_port_num].chan_num; cables 713 src/dps8/dps8_console.c uint iomUnitIdx = cables->opc_to_iom[conUnitIdx][ctlr_port_num].iom_unit_idx; cables 714 src/dps8/dps8_console.c uint chan_num = cables->opc_to_iom[conUnitIdx][ctlr_port_num].chan_num; cables 1655 src/dps8/dps8_console.c uint iom_unit_idx = cables->opc_to_iom[con_unit_idx][ctlr_port_num].iom_unit_idx; cables 1656 src/dps8/dps8_console.c uint chan_num = cables->opc_to_iom[con_unit_idx][ctlr_port_num].chan_num; cables 1300 src/dps8/dps8_cpu.c if (! cables->cpu_to_scu[current_running_cpu_idx][port_num].in_use) cables 1853 src/dps8/dps8_cpu.c cables 1149 src/dps8/dps8_crdpun.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][dev_code].unit_idx; cables 1195 src/dps8/dps8_crdpun.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][dev_code].unit_idx; cables 470 src/dps8/dps8_crdrdr.c uint unitIdx = cables->urp_to_urd[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; cables 902 src/dps8/dps8_crdrdr.c uint ctlr_unit_idx = cables->rdr_to_urp [unitNum].ctlr_unit_idx; cables 904 src/dps8/dps8_crdrdr.c uint iom_unit_idx = cables->urp_to_iom[ctlr_unit_idx][ctlr_port_num].iom_unit_idx; cables 905 src/dps8/dps8_crdrdr.c uint chan_num = cables->urp_to_iom[ctlr_unit_idx][ctlr_port_num].chan_num; cables 906 src/dps8/dps8_crdrdr.c uint dev_code = cables->rdr_to_urp[unitNum].dev_code; cables 921 src/dps8/dps8_crdrdr.c uint unitIdx = cables->urp_to_urd[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; cables 376 src/dps8/dps8_dia.c cables -> cables_from_iom_to_dia [unit_num].iomUnitIdx = -1; cables 441 src/dps8/dps8_dia.c struct device * d = & cables->cablesFromIomToDev[iom_unit_idx]. cables 508 src/dps8/dps8_dia.c struct device * d = & cables->cablesFromIomToDev[iom_unit_idx]. cables 458 src/dps8/dps8_disk.c uint ctlr_unit_idx = cables->dsk_to_ctlr[dsk_unit_idx].ctlr_unit_idx; cables 459 src/dps8/dps8_disk.c enum ctlr_type_e ctlr_type = cables->dsk_to_ctlr[dsk_unit_idx].ctlr_type; cables 476 src/dps8/dps8_disk.c cables 478 src/dps8/dps8_disk.c cables 479 src/dps8/dps8_disk.c cables 480 src/dps8/dps8_disk.c cables 488 src/dps8/dps8_disk.c cables 490 src/dps8/dps8_disk.c cables 491 src/dps8/dps8_disk.c cables 492 src/dps8/dps8_disk.c cables 509 src/dps8/dps8_disk.c if (cables->msp_to_iom[ctlr_unit_idx][ctlr_port_num].in_use) { cables 510 src/dps8/dps8_disk.c uint iom_unit_idx = cables->msp_to_iom[ctlr_unit_idx][ctlr_port_num].iom_unit_idx; cables 511 src/dps8/dps8_disk.c uint chan_num = cables->msp_to_iom[ctlr_unit_idx][ctlr_port_num].chan_num; cables 512 src/dps8/dps8_disk.c uint dev_code = cables->dsk_to_ctlr[dsk_unit_idx].dev_code; cables 518 src/dps8/dps8_disk.c if (cables->ipc_to_iom[ctlr_unit_idx][ctlr_port_num].in_use) { cables 519 src/dps8/dps8_disk.c uint iom_unit_idx = cables->ipc_to_iom[ctlr_unit_idx][ctlr_port_num].iom_unit_idx; cables 520 src/dps8/dps8_disk.c uint chan_num = cables->ipc_to_iom[ctlr_unit_idx][ctlr_port_num].chan_num; cables 521 src/dps8/dps8_disk.c uint dev_code = cables->dsk_to_ctlr[dsk_unit_idx].dev_code; cables 1143 src/dps8/dps8_disk.c if (cables->iom_to_ctlr[iom_unit_idx][chan].ctlr_type == CTLR_T_IPC) cables 1144 src/dps8/dps8_disk.c dev_p = cables->ipc_to_dsk[ctlr_unit_idx]; cables 1146 src/dps8/dps8_disk.c dev_p = cables->msp_to_dsk[ctlr_unit_idx]; cables 1218 src/dps8/dps8_disk.c if (cables->iom_to_ctlr[iomUnitIdx][chan].ctlr_type == CTLR_T_IPC) cables 1219 src/dps8/dps8_disk.c devUnitIdx = cables->ipc_to_dsk[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; cables 1220 src/dps8/dps8_disk.c else if (cables->iom_to_ctlr[iomUnitIdx][chan].ctlr_type == CTLR_T_MSP) cables 1221 src/dps8/dps8_disk.c devUnitIdx = cables->msp_to_dsk[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; cables 1223 src/dps8/dps8_disk.c sim_warn ("%s: Can't find controller (%d)\n", __func__, cables->iom_to_ctlr[iomUnitIdx][chan].ctlr_type); cables 410 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 411 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 443 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 444 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 465 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 466 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 487 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 488 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 510 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 511 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 594 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 595 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 620 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 621 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 665 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 666 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 687 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 688 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 710 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 711 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 734 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 735 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 801 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 802 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 1784 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 1785 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 1555 src/dps8/dps8_iom.c if (! cables->iom_to_scu[iom_unit_idx][port_num].in_use) cables 1557 src/dps8/dps8_iom.c uint scu_unit_idx = cables->iom_to_scu[iom_unit_idx][port_num].scu_unit_idx; cables 1572 src/dps8/dps8_iom.c if (! cables->iom_to_scu[iom_unit_idx][0].in_use) cables 1577 src/dps8/dps8_iom.c uint scu_unit_idx = cables->iom_to_scu[iom_unit_idx][0].scu_unit_idx; cables 3096 src/dps8/dps8_iom.c struct iom_to_ctlr_s * d = & cables->iom_to_ctlr[iomUnitIdx][chan]; cables 688 src/dps8/dps8_mt.c uint ctlr_unit_idx = cables->tape_to_mtp[tap_unit_idx].ctlr_unit_idx; cables 696 src/dps8/dps8_mt.c cables 698 src/dps8/dps8_mt.c cables 699 src/dps8/dps8_mt.c cables 700 src/dps8/dps8_mt.c cables 714 src/dps8/dps8_mt.c if (cables->mtp_to_iom[ctlr_unit_idx][ctlr_port_num].in_use) { cables 715 src/dps8/dps8_mt.c uint iom_unit_idx = cables->mtp_to_iom[ctlr_unit_idx][ctlr_port_num].iom_unit_idx; cables 716 src/dps8/dps8_mt.c uint chan_num = cables->mtp_to_iom[ctlr_unit_idx][ctlr_port_num].chan_num; cables 717 src/dps8/dps8_mt.c uint dev_code = cables->tape_to_mtp[tap_unit_idx].dev_code; cables 1431 src/dps8/dps8_mt.c struct ctlr_to_dev_s * p = & cables->mtp_to_tape[ctlr_idx][dev_code]; cables 1506 src/dps8/dps8_mt.c uint devUnitIdx = cables->mtp_to_tape[ctlr_unit_idx][dev_code].unit_idx; cables 1128 src/dps8/dps8_prt.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; cables 1212 src/dps8/dps8_prt.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; cables 1308 src/dps8/dps8_prt.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; cables 1404 src/dps8/dps8_prt.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; cables 1747 src/dps8/dps8_prt.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; cables 1927 src/dps8/dps8_prt.c uint ctlr_unit_idx = cables->prt_to_urp[prt_unit_idx].ctlr_unit_idx; cables 1933 src/dps8/dps8_prt.c cables 1938 src/dps8/dps8_prt.c cables 1953 src/dps8/dps8_prt.c struct ctlr_to_iom_s * urp_to_iom = & cables->urp_to_iom[ctlr_unit_idx][ctlr_port_num]; cables 1957 src/dps8/dps8_prt.c uint dev_code = cables->prt_to_urp[prt_unit_idx].dev_code; cables 1401 src/dps8/dps8_scu.c if (! cables->scu_to_cpu[scu_unit_idx][port][sn].in_use) cables 1406 src/dps8/dps8_scu.c uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx; cables 1468 src/dps8/dps8_scu.c if (! cables->scu_to_cpu[scu_unit_idx][port][sn].in_use) cables 1473 src/dps8/dps8_scu.c uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx; cables 1978 src/dps8/dps8_scu.c if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use && cables 1979 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == cables 2304 src/dps8/dps8_scu.c if (! cables-> cables 2310 src/dps8/dps8_scu.c uint cpu_unit_udx = cables-> cables 2318 src/dps8/dps8_scu.c if (! cables->scu_to_cpu[scu_unit_idx][scu_port_num][0].in_use) cables 2325 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][scu_port_num][0].cpu_unit_idx; cables 2334 src/dps8/dps8_scu.c cables 2339 src/dps8/dps8_scu.c cables 2512 src/dps8/dps8_scu.c if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use && cables 2513 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == cables 2610 src/dps8/dps8_scu.c if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use && cables 2611 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == cables 1178 src/dps8/dps8_socket_dev.c uint iom_unit_idx = (uint) cables->sk_to_iom[unit_idx][0].iom_unit_idx; cables 1179 src/dps8/dps8_socket_dev.c uint chan = (uint) cables->sk_to_iom[unit_idx][0].chan_num; cables 1222 src/dps8/dps8_socket_dev.c uint iom_unit_idx = (uint) cables->sk_to_iom[unit_idx][0].iom_unit_idx; cables 1223 src/dps8/dps8_socket_dev.c uint chan = (uint) cables->sk_to_iom[unit_idx][0].chan_num; cables 87 src/dps8/dps8_state.h struct cables_s cables; cables 217 src/dps8/dps8_urp.c uint devUnitIdx = cables->urp_to_urd[ctlrUnitIdx][p->IDCW_DEV_CODE].unit_idx; cables 305 src/dps8/dps8_urp.c uint urpUnitIdx = cables->iom_to_ctlr[iomUnitIdx][chan].ctlr_unit_idx; cables 306 src/dps8/dps8_urp.c iom_cmd_t * cmd = cables->urp_to_urd[urpUnitIdx][devCode].iom_cmd;