cables 154 src/dps8/dps8_cable.c struct cables_s * cables = NULL; cables 249 src/dps8/dps8_cable.c struct iom_to_scu_s * p = & cables->iom_to_scu[iom_unit_idx][iom_port_num]; cables 272 src/dps8/dps8_cable.c struct scu_to_iom_s * p = & cables->scu_to_iom[scu_unit_idx][scu_port_num]; cables 331 src/dps8/dps8_cable.c struct cpu_to_scu_s * p = & cables->cpu_to_scu[cpu_unit_idx][cpu_port_num]; cables 356 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 595 src/dps8/dps8_cable.c struct iom_to_ctlr_s * p = & cables->iom_to_ctlr[iom_unit_idx][chan_num]; cables 712 src/dps8/dps8_cable.c & cables->ipc_to_iom[unit_idx][ipc_port_num], cables 742 src/dps8/dps8_cable.c & cables->msp_to_iom[unit_idx][msp_port_num], cables 772 src/dps8/dps8_cable.c & cables->mtp_to_iom[unit_idx][mtp_port_num], cables 803 src/dps8/dps8_cable.c & cables->urp_to_iom[unit_idx][urp_port_num], cables 823 src/dps8/dps8_cable.c & cables->opc_to_iom[unit_idx][opc_port_num], cables 843 src/dps8/dps8_cable.c & cables->fnp_to_iom[unit_idx][fnp_port_num], cables 868 src/dps8/dps8_cable.c & cables->absi_to_iom[unit_idx][absi_port_num], cables 898 src/dps8/dps8_cable.c & cables->mgp_to_iom[unit_idx][mgp_port_num], cables 928 src/dps8/dps8_cable.c & cables->sk_to_iom[unit_idx][skc_port_num], cables 1077 src/dps8/dps8_cable.c & cables->mtp_to_tape[ctlr_unit_idx][dev_code], cables 1080 src/dps8/dps8_cable.c & cables->tape_to_mtp[mt_unit_idx], cables 1130 src/dps8/dps8_cable.c & cables->ipc_to_dsk[ctlr_unit_idx][dev_code], cables 1133 src/dps8/dps8_cable.c & cables->dsk_to_ctlr[dsk_unit_idx], cables 1183 src/dps8/dps8_cable.c & cables->msp_to_dsk[ctlr_unit_idx][dev_code], cables 1186 src/dps8/dps8_cable.c & cables->dsk_to_ctlr[dsk_unit_idx], cables 1236 src/dps8/dps8_cable.c & cables->urp_to_urd[ctlr_unit_idx][dev_code], cables 1239 src/dps8/dps8_cable.c & cables->rdr_to_urp[unit_idx], cables 1256 src/dps8/dps8_cable.c & cables->urp_to_urd[ctlr_unit_idx][dev_code], cables 1259 src/dps8/dps8_cable.c & cables->pun_to_urp[unit_idx], cables 1276 src/dps8/dps8_cable.c & cables->urp_to_urd[ctlr_unit_idx][dev_code], cables 1279 src/dps8/dps8_cable.c & cables->prt_to_urp[unit_idx], cables 1357 src/dps8/dps8_cable.c memset (cables, 0, sizeof (struct cables_s)); cables 1372 src/dps8/dps8_cable.c struct cpu_to_scu_s *p = &cables->cpu_to_scu[u][prt]; cables 1383 src/dps8/dps8_cable.c struct scu_to_iom_s *p = &cables->scu_to_iom[u][prt]; cables 1389 src/dps8/dps8_cable.c struct cpu_to_scu_s *p = &cables->cpu_to_scu[u][prt]; cables 1400 src/dps8/dps8_cable.c struct scu_to_iom_s *p = &cables->scu_to_iom[u][prt]; cables 1443 src/dps8/dps8_cable.c struct ctlr_to_iom_s *p = &cables->small ## _to_iom[u][prt]; \ cables 1474 src/dps8/dps8_cable.c &cables->to_small ## _to_ ## from_small[u]; \ cables 1490 src/dps8/dps8_cable.c struct cpu_to_scu_s *p = &cables->cpu_to_scu[u][prt]; cables 1499 src/dps8/dps8_cable.c struct scu_to_iom_s *p = &cables->scu_to_iom[u][prt]; cables 1508 src/dps8/dps8_cable.c struct iom_to_ctlr_s *p = &cables->iom_to_ctlr[u][c]; cables 1520 src/dps8/dps8_cable.c &cables->to_small ## _to_ ## from_small[u]; \ cables 1544 src/dps8/dps8_cable.c struct scu_to_iom_s * p = & cables->scu_to_iom[u][prt]; cables 1555 src/dps8/dps8_cable.c struct iom_to_scu_s * p = & cables->iom_to_scu[u][prt]; cables 1568 src/dps8/dps8_cable.c struct scu_to_cpu_s * p = & cables->scu_to_cpu[u][prt][sp]; cables 1579 src/dps8/dps8_cable.c struct cpu_to_scu_s * p = & cables->cpu_to_scu[u][prt]; cables 1593 src/dps8/dps8_cable.c struct iom_to_ctlr_s * p = & cables->iom_to_ctlr[u][c]; cables 1608 src/dps8/dps8_cable.c struct ctlr_to_iom_s * p = & cables->small ## _to_iom[u][prt]; \ cables 1662 src/dps8/dps8_cable.c struct ctlr_to_dev_s * p = & cables->from_small ## _to_ ## to_small[u][prt]; \ cables 1670 src/dps8/dps8_cable.c struct dev_to_ctlr_s * p = & cables->to_small ## _to_ ## from_small[u]; \ cables 1713 src/dps8/dps8_cable.c cables 1716 src/dps8/dps8_cable.c cables 1719 src/dps8/dps8_cable.c cables 1721 src/dps8/dps8_cable.c cables 1728 src/dps8/dps8_cable.c cables = & system_state->cables; cables 264 src/dps8/dps8_cable.h extern struct cables_s * cables; cables 273 src/dps8/dps8_cable.h (cables->iom_to_ctlr[iom_unit_idx][chan].ctlr_unit_idx) cables 278 src/dps8/dps8_cable.h (cables->iom_to_ctlr[iom_unit_idx][chan].in_use) cables 283 src/dps8/dps8_cable.h (cables->cpu_to_scu[cpu_unit_idx][cpu_port_num].scu_unit_idx) cables 288 src/dps8/dps8_cable.h (cables->cpu_to_scu[cpu_unit_idx][cpu_port_num].in_use) cables 596 src/dps8/dps8_console.c uint iom_unit_idx = cables->opc_to_iom[con_unit_idx][ctlr_port_num].iom_unit_idx; cables 597 src/dps8/dps8_console.c uint chan_num = cables->opc_to_iom[con_unit_idx][ctlr_port_num].chan_num; cables 707 src/dps8/dps8_console.c uint iomUnitIdx = cables->opc_to_iom[conUnitIdx][ctlr_port_num].iom_unit_idx; cables 708 src/dps8/dps8_console.c uint chan_num = cables->opc_to_iom[conUnitIdx][ctlr_port_num].chan_num; cables 1646 src/dps8/dps8_console.c uint iom_unit_idx = cables->opc_to_iom[con_unit_idx][ctlr_port_num].iom_unit_idx; cables 1647 src/dps8/dps8_console.c uint chan_num = cables->opc_to_iom[con_unit_idx][ctlr_port_num].chan_num; cables 1305 src/dps8/dps8_cpu.c if (! cables->cpu_to_scu[current_running_cpu_idx][port_num].in_use) cables 1871 src/dps8/dps8_cpu.c cables 1147 src/dps8/dps8_crdpun.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][dev_code].unit_idx; cables 1190 src/dps8/dps8_crdpun.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][dev_code].unit_idx; cables 468 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 918 src/dps8/dps8_crdrdr.c uint unitIdx = cables->urp_to_urd[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; cables 375 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 460 src/dps8/dps8_disk.c uint ctlr_unit_idx = cables->dsk_to_ctlr[dsk_unit_idx].ctlr_unit_idx; cables 461 src/dps8/dps8_disk.c enum ctlr_type_e ctlr_type = cables->dsk_to_ctlr[dsk_unit_idx].ctlr_type; cables 478 src/dps8/dps8_disk.c cables 480 src/dps8/dps8_disk.c cables 481 src/dps8/dps8_disk.c cables 482 src/dps8/dps8_disk.c cables 490 src/dps8/dps8_disk.c cables 492 src/dps8/dps8_disk.c cables 493 src/dps8/dps8_disk.c cables 494 src/dps8/dps8_disk.c cables 511 src/dps8/dps8_disk.c if (cables->msp_to_iom[ctlr_unit_idx][ctlr_port_num].in_use) { cables 512 src/dps8/dps8_disk.c uint iom_unit_idx = cables->msp_to_iom[ctlr_unit_idx][ctlr_port_num].iom_unit_idx; cables 513 src/dps8/dps8_disk.c uint chan_num = cables->msp_to_iom[ctlr_unit_idx][ctlr_port_num].chan_num; cables 514 src/dps8/dps8_disk.c uint dev_code = cables->dsk_to_ctlr[dsk_unit_idx].dev_code; cables 520 src/dps8/dps8_disk.c if (cables->ipc_to_iom[ctlr_unit_idx][ctlr_port_num].in_use) { cables 521 src/dps8/dps8_disk.c uint iom_unit_idx = cables->ipc_to_iom[ctlr_unit_idx][ctlr_port_num].iom_unit_idx; cables 522 src/dps8/dps8_disk.c uint chan_num = cables->ipc_to_iom[ctlr_unit_idx][ctlr_port_num].chan_num; cables 523 src/dps8/dps8_disk.c uint dev_code = cables->dsk_to_ctlr[dsk_unit_idx].dev_code; cables 1145 src/dps8/dps8_disk.c if (cables->iom_to_ctlr[iom_unit_idx][chan].ctlr_type == CTLR_T_IPC) cables 1146 src/dps8/dps8_disk.c dev_p = cables->ipc_to_dsk[ctlr_unit_idx]; cables 1148 src/dps8/dps8_disk.c dev_p = cables->msp_to_dsk[ctlr_unit_idx]; cables 1214 src/dps8/dps8_disk.c if (cables->iom_to_ctlr[iomUnitIdx][chan].ctlr_type == CTLR_T_IPC) cables 1215 src/dps8/dps8_disk.c devUnitIdx = cables->ipc_to_dsk[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; cables 1216 src/dps8/dps8_disk.c else if (cables->iom_to_ctlr[iomUnitIdx][chan].ctlr_type == CTLR_T_MSP) cables 1217 src/dps8/dps8_disk.c devUnitIdx = cables->msp_to_dsk[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; cables 1219 src/dps8/dps8_disk.c sim_warn ("%s: Can't find controller (%d)\n", __func__, cables->iom_to_ctlr[iomUnitIdx][chan].ctlr_type); cables 412 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 413 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 442 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 443 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 461 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 462 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 480 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 481 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 500 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 501 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 584 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 585 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 607 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 608 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 649 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 650 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 668 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 669 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 688 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 689 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 709 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 710 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 773 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 774 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; cables 1746 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; cables 1747 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 3075 src/dps8/dps8_iom.c struct iom_to_ctlr_s * d = & cables->iom_to_ctlr[iomUnitIdx][chan]; cables 689 src/dps8/dps8_mt.c uint ctlr_unit_idx = cables->tape_to_mtp[tap_unit_idx].ctlr_unit_idx; cables 697 src/dps8/dps8_mt.c cables 699 src/dps8/dps8_mt.c cables 700 src/dps8/dps8_mt.c cables 701 src/dps8/dps8_mt.c cables 715 src/dps8/dps8_mt.c if (cables->mtp_to_iom[ctlr_unit_idx][ctlr_port_num].in_use) { cables 716 src/dps8/dps8_mt.c uint iom_unit_idx = cables->mtp_to_iom[ctlr_unit_idx][ctlr_port_num].iom_unit_idx; cables 717 src/dps8/dps8_mt.c uint chan_num = cables->mtp_to_iom[ctlr_unit_idx][ctlr_port_num].chan_num; cables 718 src/dps8/dps8_mt.c uint dev_code = cables->tape_to_mtp[tap_unit_idx].dev_code; cables 1422 src/dps8/dps8_mt.c struct ctlr_to_dev_s * p = & cables->mtp_to_tape[ctlr_idx][dev_code]; cables 1496 src/dps8/dps8_mt.c uint devUnitIdx = cables->mtp_to_tape[ctlr_unit_idx][dev_code].unit_idx; cables 1125 src/dps8/dps8_prt.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; cables 1206 src/dps8/dps8_prt.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; cables 1300 src/dps8/dps8_prt.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; cables 1393 src/dps8/dps8_prt.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; cables 1737 src/dps8/dps8_prt.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; cables 1917 src/dps8/dps8_prt.c uint ctlr_unit_idx = cables->prt_to_urp[prt_unit_idx].ctlr_unit_idx; cables 1923 src/dps8/dps8_prt.c cables 1928 src/dps8/dps8_prt.c cables 1943 src/dps8/dps8_prt.c struct ctlr_to_iom_s * urp_to_iom = & cables->urp_to_iom[ctlr_unit_idx][ctlr_port_num]; cables 1947 src/dps8/dps8_prt.c uint dev_code = cables->prt_to_urp[prt_unit_idx].dev_code; cables 1390 src/dps8/dps8_scu.c if (! cables->scu_to_cpu[scu_unit_idx][port][sn].in_use) cables 1395 src/dps8/dps8_scu.c uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx; cables 1457 src/dps8/dps8_scu.c if (! cables->scu_to_cpu[scu_unit_idx][port][sn].in_use) cables 1462 src/dps8/dps8_scu.c uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx; cables 1964 src/dps8/dps8_scu.c if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use && cables 1965 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == cables 2289 src/dps8/dps8_scu.c if (! cables-> cables 2295 src/dps8/dps8_scu.c uint cpu_unit_udx = cables-> cables 2303 src/dps8/dps8_scu.c if (! cables->scu_to_cpu[scu_unit_idx][scu_port_num][0].in_use) cables 2310 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][scu_port_num][0].cpu_unit_idx; cables 2319 src/dps8/dps8_scu.c cables 2324 src/dps8/dps8_scu.c cables 2486 src/dps8/dps8_scu.c if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use && cables 2487 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == cables 2581 src/dps8/dps8_scu.c if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use && cables 2582 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == cables 1176 src/dps8/dps8_socket_dev.c uint iom_unit_idx = (uint) cables->sk_to_iom[unit_idx][0].iom_unit_idx; cables 1177 src/dps8/dps8_socket_dev.c uint chan = (uint) cables->sk_to_iom[unit_idx][0].chan_num; cables 1220 src/dps8/dps8_socket_dev.c uint iom_unit_idx = (uint) cables->sk_to_iom[unit_idx][0].iom_unit_idx; cables 1221 src/dps8/dps8_socket_dev.c uint chan = (uint) cables->sk_to_iom[unit_idx][0].chan_num; cables 90 src/dps8/dps8_state.h struct cables_s cables; cables 219 src/dps8/dps8_urp.c uint devUnitIdx = cables->urp_to_urd[ctlrUnitIdx][p->IDCW_DEV_CODE].unit_idx; cables 307 src/dps8/dps8_urp.c uint urpUnitIdx = cables->iom_to_ctlr[iomUnitIdx][chan].ctlr_unit_idx; cables 308 src/dps8/dps8_urp.c iom_cmd_t * cmd = cables->urp_to_urd[urpUnitIdx][devCode].iom_cmd;