dev_code 907 src/dps8/dps8_cable.c uint ctlr_unit_idx, uint dev_code, dev_code 920 src/dps8/dps8_cable.c there->dev_code != dev_code) dev_code 936 src/dps8/dps8_cable.c there->dev_code = dev_code; dev_code 944 src/dps8/dps8_cable.c uint dev_code, dev_code 961 src/dps8/dps8_cable.c ctlr_unit_idx, dev_code, ctlr_type, dev_code 977 src/dps8/dps8_cable.c service, ctlr_unit_idx, dev_code); dev_code 983 src/dps8/dps8_cable.c ctlr_unit_idx, dev_code, ctlr_type, dev_code 1010 src/dps8/dps8_cable.c int dev_code = getval (name_save, "MTP device code"); dev_code 1012 src/dps8/dps8_cable.c if (dev_code < 0 || dev_code >= MAX_CHANNELS) dev_code 1015 src/dps8/dps8_cable.c dev_code); dev_code 1039 src/dps8/dps8_cable.c (uint) dev_code, dev_code 1041 src/dps8/dps8_cable.c & cables->mtp_to_tape[ctlr_unit_idx][dev_code], dev_code 1063 src/dps8/dps8_cable.c int dev_code = getval (name_save, "IPC device code"); dev_code 1065 src/dps8/dps8_cable.c if (dev_code < 0 || dev_code >= MAX_CHANNELS) dev_code 1068 src/dps8/dps8_cable.c dev_code); dev_code 1092 src/dps8/dps8_cable.c (uint) dev_code, dev_code 1094 src/dps8/dps8_cable.c & cables->ipc_to_dsk[ctlr_unit_idx][dev_code], dev_code 1116 src/dps8/dps8_cable.c int dev_code = getval (name_save, "MSP device code"); dev_code 1118 src/dps8/dps8_cable.c if (dev_code < 0 || dev_code >= MAX_CHANNELS) dev_code 1121 src/dps8/dps8_cable.c dev_code); dev_code 1145 src/dps8/dps8_cable.c (uint) dev_code, dev_code 1147 src/dps8/dps8_cable.c & cables->msp_to_dsk[ctlr_unit_idx][dev_code], dev_code 1169 src/dps8/dps8_cable.c int dev_code = getval (name_save, "URP device code"); dev_code 1171 src/dps8/dps8_cable.c if (dev_code < 0 || dev_code >= MAX_CHANNELS) dev_code 1174 src/dps8/dps8_cable.c dev_code); dev_code 1198 src/dps8/dps8_cable.c (uint) dev_code, dev_code 1200 src/dps8/dps8_cable.c & cables->urp_to_urd[ctlr_unit_idx][dev_code], dev_code 1218 src/dps8/dps8_cable.c (uint) dev_code, dev_code 1220 src/dps8/dps8_cable.c & cables->urp_to_urd[ctlr_unit_idx][dev_code], dev_code 1238 src/dps8/dps8_cable.c (uint) dev_code, dev_code 1240 src/dps8/dps8_cable.c & cables->urp_to_urd[ctlr_unit_idx][dev_code], dev_code 1621 src/dps8/dps8_cable.c p->dev_code, ctlr_type_strs[p->ctlr_type]); \ dev_code 209 src/dps8/dps8_cable.h uint dev_code; dev_code 597 src/dps8/dps8_console.c uint dev_code = 0; // Only a single console on the controller dev_code 599 src/dps8/dps8_console.c send_special_interrupt (iom_unit_idx, chan_num, dev_code, 0, 0); dev_code 1288 src/dps8/dps8_console.c p->dev_code = p->IDCW_DEV_CODE; dev_code 1145 src/dps8/dps8_crdpun.c uint dev_code = p->IDCW_DEV_CODE; dev_code 1147 src/dps8/dps8_crdpun.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][dev_code].unit_idx; dev_code 1184 src/dps8/dps8_crdpun.c uint dev_code = p->IDCW_DEV_CODE; dev_code 1187 src/dps8/dps8_crdpun.c __func__, iomChar (iomUnitIdx), chan, dev_code); dev_code 1190 src/dps8/dps8_crdpun.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][dev_code].unit_idx; dev_code 894 src/dps8/dps8_crdrdr.c uint dev_code = cables->rdr_to_urp[unitNum].dev_code; dev_code 895 src/dps8/dps8_crdrdr.c send_special_interrupt (iom_unit_idx, chan_num, dev_code, 0377, 0377 /* card reader to ready */); //-V536 dev_code 900 src/dps8/dps8_crdrdr.c uint dev_code = p->IDCW_DEV_CODE; dev_code 903 src/dps8/dps8_crdrdr.c __func__, iomChar (iomUnitIdx), chan, dev_code); dev_code 482 src/dps8/dps8_disk.c dev_code 484 src/dps8/dps8_disk.c dev_code 494 src/dps8/dps8_disk.c dev_code 496 src/dps8/dps8_disk.c dev_code 514 src/dps8/dps8_disk.c uint dev_code = cables->dsk_to_ctlr[dsk_unit_idx].dev_code; dev_code 516 src/dps8/dps8_disk.c send_special_interrupt (iom_unit_idx, chan_num, dev_code, 0x40, 01 /* disk pack ready */); dev_code 523 src/dps8/dps8_disk.c uint dev_code = cables->dsk_to_ctlr[dsk_unit_idx].dev_code; dev_code 525 src/dps8/dps8_disk.c send_special_interrupt (iom_unit_idx, chan_num, dev_code, 0x40, 01 /* disk pack ready */); dev_code 3117 src/dps8/dps8_iom.c p -> dev_code = getbits36_6 (p -> DCW, 6); dev_code 3210 src/dps8/dps8_iom.c p -> dev_code = getbits36_6 (p -> DCW, 6); dev_code 251 src/dps8/dps8_iom.h uint dev_code; dev_code 299 src/dps8/dps8_iom.h dev_code 701 src/dps8/dps8_mt.c dev_code 703 src/dps8/dps8_mt.c dev_code 718 src/dps8/dps8_mt.c uint dev_code = cables->tape_to_mtp[tap_unit_idx].dev_code; dev_code 719 src/dps8/dps8_mt.c send_special_interrupt (iom_unit_idx, chan_num, dev_code, 0, 020 /* tape drive to ready */); dev_code 1417 src/dps8/dps8_mt.c for (uint dev_code = 0; dev_code < N_DEV_CODES; dev_code ++) dev_code 1422 src/dps8/dps8_mt.c struct ctlr_to_dev_s * p = & cables->mtp_to_tape[ctlr_idx][dev_code]; dev_code 1433 src/dps8/dps8_mt.c handler |= ((word18) dev_code & 037) << 9; // number dev_code 1487 src/dps8/dps8_mt.c uint dev_code = p->IDCW_DEV_CODE; dev_code 1492 src/dps8/dps8_mt.c dev_code = mtp_state[ctlr_unit_idx].boot_drive; dev_code 1494 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 1496 src/dps8/dps8_mt.c uint devUnitIdx = cables->mtp_to_tape[ctlr_unit_idx][dev_code].unit_idx; dev_code 1771 src/dps8/dps8_mt.c if (dev_code == 077) { dev_code 2238 src/dps8/dps8_mt.c send_special_interrupt (iomUnitIdx, chan, dev_code, 0, 0100 /* rewind complete */); dev_code 1903 src/dps8/dps8_prt.c dev_code 1905 src/dps8/dps8_prt.c dev_code 1922 src/dps8/dps8_prt.c uint dev_code = cables->prt_to_urp[prt_unit_idx].dev_code; dev_code 1924 src/dps8/dps8_prt.c send_special_interrupt (iom_unit_idx, chan_num, dev_code, 0x40, 01 /* disk pack ready */); dev_code 333 src/dps8/dps8_socket_dev.c static void skt_socket (uint unit_idx, word5 dev_code, word36 * buffer) dev_code 385 src/dps8/dps8_socket_dev.c sk_data.fd_dev_code[fd] = dev_code; dev_code 488 src/dps8/dps8_socket_dev.c static void skt_bind (uint unit_idx, word6 dev_code, word36 * buffer) dev_code 529 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 553 src/dps8/dps8_socket_dev.c static void skt_listen (uint unit_idx, word6 dev_code, word36 * buffer) dev_code 577 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 580 src/dps8/dps8_socket_dev.c sim_printf ("socket_fd %u fd_unit %d fd_dev_code %u unit_idx %u dev_code %u\n", socket_fd, sk_data.fd_unit[socket_fd], sk_data.fd_dev_code[socket_fd], unit_idx, dev_code); dev_code 620 src/dps8/dps8_socket_dev.c static int skt_accept (uint unit_idx, word6 dev_code, word36 * buffer) dev_code 635 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 641 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].accept_fd = socket_fd; dev_code 642 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].unit_state = unit_accept; dev_code 646 src/dps8/dps8_socket_dev.c static void skt_close (uint unit_idx, word6 dev_code, word36 * buffer) dev_code 666 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 674 src/dps8/dps8_socket_dev.c if (sk_data.unit_data[unit_idx][dev_code].unit_state == unit_accept && dev_code 675 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].accept_fd == socket_fd) dev_code 677 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].unit_state = unit_idle; dev_code 678 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].accept_fd = -1; dev_code 694 src/dps8/dps8_socket_dev.c static int skt_read8 (uint unit_idx, word6 dev_code, UNUSED uint tally, word36 * buffer) dev_code 716 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 722 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].read_fd = socket_fd; dev_code 723 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].read_buffer_sz = count; dev_code 724 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].unit_state = unit_read; dev_code 728 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 759 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 1140 src/dps8/dps8_socket_dev.c static void do_try_accept (uint unit_idx, word6 dev_code) dev_code 1145 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 1155 src/dps8/dps8_socket_dev.c sk_data.fd_dev_code[fd] = dev_code; dev_code 1166 src/dps8/dps8_socket_dev.c buffer[0] = ((word36) ((word36s) sk_data.unit_data[unit_idx][dev_code].accept_fd)) & MASK36; dev_code 1178 src/dps8/dps8_socket_dev.c uint words_processed = sk_data.unit_data[unit_idx][dev_code].words_processed; dev_code 1183 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].unit_state = unit_idle; dev_code 1187 src/dps8/dps8_socket_dev.c static void do_try_read (uint unit_idx, word6 dev_code) dev_code 1190 src/dps8/dps8_socket_dev.c uint count = sk_data.unit_data[unit_idx][dev_code].read_buffer_sz; dev_code 1196 src/dps8/dps8_socket_dev.c ssize_t nread = read (sk_data.unit_data[unit_idx][dev_code].read_fd, & netdata, count); dev_code 1206 src/dps8/dps8_socket_dev.c buffer[0] = ((word36) ((word36s) sk_data.unit_data[unit_idx][dev_code].read_fd)) & MASK36; dev_code 1207 src/dps8/dps8_socket_dev.c buffer[1] = ((word36) (sk_data.unit_data[unit_idx][dev_code].read_buffer_sz)) & MASK36; dev_code 1222 src/dps8/dps8_socket_dev.c uint words_processed = sk_data.unit_data[unit_idx][dev_code].words_processed; dev_code 1225 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].unit_state = unit_idle; dev_code 1234 src/dps8/dps8_socket_dev.c for (word6 dev_code = 0; dev_code < N_DEV_CODES; dev_code ++) dev_code 1236 src/dps8/dps8_socket_dev.c if (sk_data.unit_data[unit_idx][dev_code].unit_state == unit_accept) dev_code 1238 src/dps8/dps8_socket_dev.c do_try_accept (unit_idx, dev_code); dev_code 1240 src/dps8/dps8_socket_dev.c else if (sk_data.unit_data[unit_idx][dev_code].unit_state == unit_read) dev_code 1242 src/dps8/dps8_socket_dev.c do_try_read (unit_idx, dev_code);