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 706 src/dps8/dps8_cable.c & cables->ipc_to_iom[unit_idx][ipc_port_num], cables 736 src/dps8/dps8_cable.c & cables->msp_to_iom[unit_idx][msp_port_num], cables 766 src/dps8/dps8_cable.c & cables->mtp_to_iom[unit_idx][mtp_port_num], cables 797 src/dps8/dps8_cable.c & cables->urp_to_iom[unit_idx][urp_port_num], cables 817 src/dps8/dps8_cable.c & cables->opc_to_iom[unit_idx][opc_port_num], cables 837 src/dps8/dps8_cable.c & cables->fnp_to_iom[unit_idx][fnp_port_num], cables 862 src/dps8/dps8_cable.c & cables->absi_to_iom[unit_idx][absi_port_num], cables 892 src/dps8/dps8_cable.c & cables->sk_to_iom[unit_idx][skc_port_num], cables 1041 src/dps8/dps8_cable.c & cables->mtp_to_tape[ctlr_unit_idx][dev_code], cables 1044 src/dps8/dps8_cable.c & cables->tape_to_mtp[mt_unit_idx], cables 1094 src/dps8/dps8_cable.c & cables->ipc_to_dsk[ctlr_unit_idx][dev_code], cables 1097 src/dps8/dps8_cable.c & cables->dsk_to_ctlr[dsk_unit_idx], cables 1147 src/dps8/dps8_cable.c & cables->msp_to_dsk[ctlr_unit_idx][dev_code], cables 1150 src/dps8/dps8_cable.c & cables->dsk_to_ctlr[dsk_unit_idx], cables 1200 src/dps8/dps8_cable.c & cables->urp_to_urd[ctlr_unit_idx][dev_code], cables 1203 src/dps8/dps8_cable.c & cables->rdr_to_urp[unit_idx], cables 1220 src/dps8/dps8_cable.c & cables->urp_to_urd[ctlr_unit_idx][dev_code], cables 1223 src/dps8/dps8_cable.c & cables->pun_to_urp[unit_idx], cables 1240 src/dps8/dps8_cable.c & cables->urp_to_urd[ctlr_unit_idx][dev_code], cables 1243 src/dps8/dps8_cable.c & cables->prt_to_urp[unit_idx], cables 1321 src/dps8/dps8_cable.c memset (cables, 0, sizeof (struct cables_s)); cables 1336 src/dps8/dps8_cable.c struct cpu_to_scu_s *p = &cables->cpu_to_scu[u][prt]; cables 1347 src/dps8/dps8_cable.c struct scu_to_iom_s *p = &cables->scu_to_iom[u][prt]; cables 1353 src/dps8/dps8_cable.c struct cpu_to_scu_s *p = &cables->cpu_to_scu[u][prt]; cables 1364 src/dps8/dps8_cable.c struct scu_to_iom_s *p = &cables->scu_to_iom[u][prt]; cables 1407 src/dps8/dps8_cable.c struct ctlr_to_iom_s *p = &cables->small ## _to_iom[u][prt]; \ cables 1433 src/dps8/dps8_cable.c &cables->to_small ## _to_ ## from_small[u]; \ cables 1449 src/dps8/dps8_cable.c struct cpu_to_scu_s *p = &cables->cpu_to_scu[u][prt]; cables 1458 src/dps8/dps8_cable.c struct scu_to_iom_s *p = &cables->scu_to_iom[u][prt]; cables 1467 src/dps8/dps8_cable.c struct iom_to_ctlr_s *p = &cables->iom_to_ctlr[u][c]; cables 1479 src/dps8/dps8_cable.c &cables->to_small ## _to_ ## from_small[u]; \ cables 1503 src/dps8/dps8_cable.c struct scu_to_iom_s * p = & cables->scu_to_iom[u][prt]; cables 1514 src/dps8/dps8_cable.c struct iom_to_scu_s * p = & cables->iom_to_scu[u][prt]; cables 1527 src/dps8/dps8_cable.c struct scu_to_cpu_s * p = & cables->scu_to_cpu[u][prt][sp]; cables 1538 src/dps8/dps8_cable.c struct cpu_to_scu_s * p = & cables->cpu_to_scu[u][prt]; cables 1552 src/dps8/dps8_cable.c struct iom_to_ctlr_s * p = & cables->iom_to_ctlr[u][c]; cables 1567 src/dps8/dps8_cable.c struct ctlr_to_iom_s * p = & cables->small ## _to_iom[u][prt]; \ cables 1610 src/dps8/dps8_cable.c struct ctlr_to_dev_s * p = & cables->from_small ## _to_ ## to_small[u][prt]; \ cables 1618 src/dps8/dps8_cable.c struct dev_to_ctlr_s * p = & cables->to_small ## _to_ ## from_small[u]; \ cables 1661 src/dps8/dps8_cable.c cables 1664 src/dps8/dps8_cable.c cables 1667 src/dps8/dps8_cable.c cables 1669 src/dps8/dps8_cable.c cables 1676 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 595 src/dps8/dps8_console.c uint iom_unit_idx = cables->opc_to_iom[con_unit_idx][ctlr_port_num].iom_unit_idx; cables 596 src/dps8/dps8_console.c uint chan_num = cables->opc_to_iom[con_unit_idx][ctlr_port_num].chan_num; cables 706 src/dps8/dps8_console.c uint iomUnitIdx = cables->opc_to_iom[conUnitIdx][ctlr_port_num].iom_unit_idx; cables 707 src/dps8/dps8_console.c uint chan_num = cables->opc_to_iom[conUnitIdx][ctlr_port_num].chan_num; cables 1648 src/dps8/dps8_console.c uint iom_unit_idx = cables->opc_to_iom[con_unit_idx][ctlr_port_num].iom_unit_idx; cables 1649 src/dps8/dps8_console.c uint chan_num = cables->opc_to_iom[con_unit_idx][ctlr_port_num].chan_num; cables 1267 src/dps8/dps8_cpu.c if (! cables->cpu_to_scu[current_running_cpu_idx][port_num].in_use) cables 1818 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 460 src/dps8/dps8_crdrdr.c uint unitIdx = cables->urp_to_urd[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; cables 890 src/dps8/dps8_crdrdr.c uint ctlr_unit_idx = cables->rdr_to_urp [unitNum].ctlr_unit_idx; cables 892 src/dps8/dps8_crdrdr.c uint iom_unit_idx = cables->urp_to_iom[ctlr_unit_idx][ctlr_port_num].iom_unit_idx; cables 893 src/dps8/dps8_crdrdr.c uint chan_num = cables->urp_to_iom[ctlr_unit_idx][ctlr_port_num].chan_num; cables 894 src/dps8/dps8_crdrdr.c uint dev_code = cables->rdr_to_urp[unitNum].dev_code; cables 906 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 1892 src/dps8/dps8_prt.c uint ctlr_unit_idx = cables->prt_to_urp[prt_unit_idx].ctlr_unit_idx; cables 1898 src/dps8/dps8_prt.c cables 1903 src/dps8/dps8_prt.c cables 1918 src/dps8/dps8_prt.c struct ctlr_to_iom_s * urp_to_iom = & cables->urp_to_iom[ctlr_unit_idx][ctlr_port_num]; cables 1922 src/dps8/dps8_prt.c uint dev_code = cables->prt_to_urp[prt_unit_idx].dev_code; cables 1427 src/dps8/dps8_scu.c if (! cables->scu_to_cpu[scu_unit_idx][port][sn].in_use) cables 1432 src/dps8/dps8_scu.c uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx; cables 1494 src/dps8/dps8_scu.c if (! cables->scu_to_cpu[scu_unit_idx][port][sn].in_use) cables 1499 src/dps8/dps8_scu.c uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx; cables 2002 src/dps8/dps8_scu.c if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use && cables 2003 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == cables 2327 src/dps8/dps8_scu.c if (! cables-> cables 2333 src/dps8/dps8_scu.c uint cpu_unit_udx = cables-> cables 2341 src/dps8/dps8_scu.c if (! cables->scu_to_cpu[scu_unit_idx][scu_port_num][0].in_use) cables 2348 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][scu_port_num][0].cpu_unit_idx; cables 2357 src/dps8/dps8_scu.c cables 2362 src/dps8/dps8_scu.c cables 2524 src/dps8/dps8_scu.c if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use && cables 2525 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == cables 2619 src/dps8/dps8_scu.c if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use && cables 2620 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;