dev_code 920 src/dps8/dps8_cable.c uint ctlr_unit_idx, uint dev_code, dev_code 933 src/dps8/dps8_cable.c there->dev_code != dev_code) dev_code 949 src/dps8/dps8_cable.c there->dev_code = dev_code; dev_code 957 src/dps8/dps8_cable.c uint dev_code, dev_code 974 src/dps8/dps8_cable.c ctlr_unit_idx, dev_code, ctlr_type, dev_code 990 src/dps8/dps8_cable.c service, ctlr_unit_idx, dev_code); dev_code 996 src/dps8/dps8_cable.c ctlr_unit_idx, dev_code, ctlr_type, dev_code 1023 src/dps8/dps8_cable.c int dev_code = getval (name_save, "MTP device code"); dev_code 1025 src/dps8/dps8_cable.c if (dev_code < 0 || dev_code >= MAX_CHANNELS) dev_code 1028 src/dps8/dps8_cable.c dev_code); dev_code 1052 src/dps8/dps8_cable.c (uint) dev_code, dev_code 1054 src/dps8/dps8_cable.c & cables->mtp_to_tape[ctlr_unit_idx][dev_code], dev_code 1076 src/dps8/dps8_cable.c int dev_code = getval (name_save, "IPC device code"); dev_code 1078 src/dps8/dps8_cable.c if (dev_code < 0 || dev_code >= MAX_CHANNELS) dev_code 1081 src/dps8/dps8_cable.c dev_code); dev_code 1105 src/dps8/dps8_cable.c (uint) dev_code, dev_code 1107 src/dps8/dps8_cable.c & cables->ipc_to_dsk[ctlr_unit_idx][dev_code], dev_code 1129 src/dps8/dps8_cable.c int dev_code = getval (name_save, "MSP device code"); dev_code 1131 src/dps8/dps8_cable.c if (dev_code < 0 || dev_code >= MAX_CHANNELS) dev_code 1134 src/dps8/dps8_cable.c dev_code); dev_code 1158 src/dps8/dps8_cable.c (uint) dev_code, dev_code 1160 src/dps8/dps8_cable.c & cables->msp_to_dsk[ctlr_unit_idx][dev_code], dev_code 1182 src/dps8/dps8_cable.c int dev_code = getval (name_save, "URP device code"); dev_code 1184 src/dps8/dps8_cable.c if (dev_code < 0 || dev_code >= MAX_CHANNELS) dev_code 1187 src/dps8/dps8_cable.c dev_code); dev_code 1211 src/dps8/dps8_cable.c (uint) dev_code, dev_code 1213 src/dps8/dps8_cable.c & cables->urp_to_urd[ctlr_unit_idx][dev_code], dev_code 1231 src/dps8/dps8_cable.c (uint) dev_code, dev_code 1233 src/dps8/dps8_cable.c & cables->urp_to_urd[ctlr_unit_idx][dev_code], dev_code 1251 src/dps8/dps8_cable.c (uint) dev_code, dev_code 1253 src/dps8/dps8_cable.c & cables->urp_to_urd[ctlr_unit_idx][dev_code], dev_code 1632 src/dps8/dps8_cable.c p->dev_code, ctlr_type_strs[p->ctlr_type]); \ dev_code 207 src/dps8/dps8_cable.h uint dev_code; dev_code 595 src/dps8/dps8_console.c uint dev_code = 0; // Only a single console on the controller dev_code 597 src/dps8/dps8_console.c send_special_interrupt (iom_unit_idx, chan_num, dev_code, 0, 0); dev_code 1302 src/dps8/dps8_console.c p->dev_code = p->IDCW_DEV_CODE; dev_code 1148 src/dps8/dps8_crdpun.c uint dev_code = p->IDCW_DEV_CODE; dev_code 1150 src/dps8/dps8_crdpun.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][dev_code].unit_idx; dev_code 1187 src/dps8/dps8_crdpun.c uint dev_code = p->IDCW_DEV_CODE; dev_code 1192 src/dps8/dps8_crdpun.c __func__, iomChar (iomUnitIdx), chan, dev_code); dev_code 1196 src/dps8/dps8_crdpun.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][dev_code].unit_idx; dev_code 926 src/dps8/dps8_crdrdr.c uint dev_code = cables->rdr_to_urp[unitNum].dev_code; dev_code 927 src/dps8/dps8_crdrdr.c send_special_interrupt (iom_unit_idx, chan_num, dev_code, 0377, 0377 /* card reader to ready */); //-V536 dev_code 933 src/dps8/dps8_crdrdr.c uint dev_code = p->IDCW_DEV_CODE; dev_code 937 src/dps8/dps8_crdrdr.c __func__, iomChar (iomUnitIdx), chan, dev_code); dev_code 480 src/dps8/dps8_disk.c dev_code 482 src/dps8/dps8_disk.c dev_code 492 src/dps8/dps8_disk.c dev_code 494 src/dps8/dps8_disk.c dev_code 512 src/dps8/dps8_disk.c uint dev_code = cables->dsk_to_ctlr[dsk_unit_idx].dev_code; dev_code 514 src/dps8/dps8_disk.c send_special_interrupt (iom_unit_idx, chan_num, dev_code, 0x40, 01 /* disk pack ready */); dev_code 521 src/dps8/dps8_disk.c uint dev_code = cables->dsk_to_ctlr[dsk_unit_idx].dev_code; dev_code 523 src/dps8/dps8_disk.c send_special_interrupt (iom_unit_idx, chan_num, dev_code, 0x40, 01 /* disk pack ready */); dev_code 3138 src/dps8/dps8_iom.c p -> dev_code = getbits36_6 (p -> DCW, 6); dev_code 3235 src/dps8/dps8_iom.c p -> dev_code = getbits36_6 (p -> DCW, 6); dev_code 247 src/dps8/dps8_iom.h uint dev_code; dev_code 295 src/dps8/dps8_iom.h dev_code 700 src/dps8/dps8_mt.c dev_code 702 src/dps8/dps8_mt.c dev_code 717 src/dps8/dps8_mt.c uint dev_code = cables->tape_to_mtp[tap_unit_idx].dev_code; dev_code 718 src/dps8/dps8_mt.c send_special_interrupt (iom_unit_idx, chan_num, dev_code, 0, 020 /* tape drive to ready */); dev_code 1426 src/dps8/dps8_mt.c for (uint dev_code = 0; dev_code < N_DEV_CODES; dev_code ++) dev_code 1431 src/dps8/dps8_mt.c struct ctlr_to_dev_s * p = & cables->mtp_to_tape[ctlr_idx][dev_code]; dev_code 1442 src/dps8/dps8_mt.c handler |= ((word18) dev_code & 037) << 9; // number dev_code 1497 src/dps8/dps8_mt.c uint dev_code = p->IDCW_DEV_CODE; dev_code 1502 src/dps8/dps8_mt.c dev_code = mtp_state[ctlr_unit_idx].boot_drive; dev_code 1504 src/dps8/dps8_mt.c sim_debug (DBG_DEBUG, & tape_dev, "%s: Tape %c%02o_%02o\n", __func__, iomChar (iomUnitIdx), chan, dev_code); dev_code 1506 src/dps8/dps8_mt.c uint devUnitIdx = cables->mtp_to_tape[ctlr_unit_idx][dev_code].unit_idx; dev_code 1780 src/dps8/dps8_mt.c if (dev_code == 077) { dev_code 2251 src/dps8/dps8_mt.c send_special_interrupt (iomUnitIdx, chan, dev_code, 0, 0100 /* rewind complete */); dev_code 1939 src/dps8/dps8_prt.c dev_code 1941 src/dps8/dps8_prt.c dev_code 1958 src/dps8/dps8_prt.c uint dev_code = cables->prt_to_urp[prt_unit_idx].dev_code; dev_code 1960 src/dps8/dps8_prt.c send_special_interrupt (iom_unit_idx, chan_num, dev_code, 0x40, 01 /* disk pack ready */); dev_code 330 src/dps8/dps8_socket_dev.c static void skt_socket (uint unit_idx, word5 dev_code, word36 * buffer) dev_code 382 src/dps8/dps8_socket_dev.c sk_data.fd_dev_code[fd] = dev_code; dev_code 489 src/dps8/dps8_socket_dev.c static void skt_bind (uint unit_idx, word6 dev_code, word36 * buffer) dev_code 530 src/dps8/dps8_socket_dev.c if (sk_data.fd_unit[socket_fd] != (int) unit_idx || sk_data.fd_dev_code[socket_fd] != dev_code) dev_code 554 src/dps8/dps8_socket_dev.c static void skt_listen (uint unit_idx, word6 dev_code, word36 * buffer) dev_code 578 src/dps8/dps8_socket_dev.c if (sk_data.fd_unit[socket_fd] != (int) unit_idx || sk_data.fd_dev_code[socket_fd] != dev_code) dev_code 582 src/dps8/dps8_socket_dev.c socket_fd, sk_data.fd_unit[socket_fd], sk_data.fd_dev_code[socket_fd], unit_idx, dev_code); dev_code 622 src/dps8/dps8_socket_dev.c static int skt_accept (uint unit_idx, word6 dev_code, word36 * buffer) dev_code 637 src/dps8/dps8_socket_dev.c if (sk_data.fd_unit[socket_fd] != (int) unit_idx || sk_data.fd_dev_code[socket_fd] != dev_code) dev_code 643 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].accept_fd = socket_fd; dev_code 644 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].unit_state = unit_accept; dev_code 648 src/dps8/dps8_socket_dev.c static void skt_close (uint unit_idx, word6 dev_code, word36 * buffer) dev_code 668 src/dps8/dps8_socket_dev.c if (sk_data.fd_unit[socket_fd] != (int) unit_idx || sk_data.fd_dev_code[socket_fd] != dev_code) dev_code 676 src/dps8/dps8_socket_dev.c if (sk_data.unit_data[unit_idx][dev_code].unit_state == unit_accept && dev_code 677 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].accept_fd == socket_fd) dev_code 679 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].unit_state = unit_idle; dev_code 680 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].accept_fd = -1; dev_code 696 src/dps8/dps8_socket_dev.c static int skt_read8 (uint unit_idx, word6 dev_code, UNUSED uint tally, word36 * buffer) dev_code 718 src/dps8/dps8_socket_dev.c if (sk_data.fd_unit[socket_fd] != (int) unit_idx || sk_data.fd_dev_code[socket_fd] != dev_code) dev_code 724 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].read_fd = socket_fd; dev_code 725 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].read_buffer_sz = count; dev_code 726 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].unit_state = unit_read; dev_code 730 src/dps8/dps8_socket_dev.c static int skt_write8 (uint iom_unit_idx, uint chan, uint unit_idx, word6 dev_code, uint tally, word36 * buffer) dev_code 761 src/dps8/dps8_socket_dev.c if (sk_data.fd_unit[socket_fd] != (int) unit_idx || sk_data.fd_dev_code[socket_fd] != dev_code) dev_code 1142 src/dps8/dps8_socket_dev.c static void do_try_accept (uint unit_idx, word6 dev_code) dev_code 1147 src/dps8/dps8_socket_dev.c int fd = accept (sk_data.unit_data[unit_idx][dev_code].accept_fd, (struct sockaddr *) & from, & size); dev_code 1157 src/dps8/dps8_socket_dev.c sk_data.fd_dev_code[fd] = dev_code; dev_code 1168 src/dps8/dps8_socket_dev.c buffer[0] = ((word36) ((word36s) sk_data.unit_data[unit_idx][dev_code].accept_fd)) & MASK36; dev_code 1180 src/dps8/dps8_socket_dev.c uint words_processed = sk_data.unit_data[unit_idx][dev_code].words_processed; dev_code 1185 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].unit_state = unit_idle; dev_code 1189 src/dps8/dps8_socket_dev.c static void do_try_read (uint unit_idx, word6 dev_code) dev_code 1192 src/dps8/dps8_socket_dev.c uint count = sk_data.unit_data[unit_idx][dev_code].read_buffer_sz; dev_code 1198 src/dps8/dps8_socket_dev.c ssize_t nread = read (sk_data.unit_data[unit_idx][dev_code].read_fd, & netdata, count); dev_code 1208 src/dps8/dps8_socket_dev.c buffer[0] = ((word36) ((word36s) sk_data.unit_data[unit_idx][dev_code].read_fd)) & MASK36; dev_code 1209 src/dps8/dps8_socket_dev.c buffer[1] = ((word36) (sk_data.unit_data[unit_idx][dev_code].read_buffer_sz)) & MASK36; dev_code 1224 src/dps8/dps8_socket_dev.c uint words_processed = sk_data.unit_data[unit_idx][dev_code].words_processed; dev_code 1227 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].unit_state = unit_idle; dev_code 1236 src/dps8/dps8_socket_dev.c for (word6 dev_code = 0; dev_code < N_DEV_CODES; dev_code ++) dev_code 1238 src/dps8/dps8_socket_dev.c if (sk_data.unit_data[unit_idx][dev_code].unit_state == unit_accept) dev_code 1240 src/dps8/dps8_socket_dev.c do_try_accept (unit_idx, dev_code); dev_code 1242 src/dps8/dps8_socket_dev.c else if (sk_data.unit_data[unit_idx][dev_code].unit_state == unit_read) dev_code 1244 src/dps8/dps8_socket_dev.c do_try_read (unit_idx, dev_code);