dptr              154 src/dps8/dps8_absi.c static t_stat absi_reset (UNUSED DEVICE * dptr)
dptr               80 src/dps8/dps8_console.c static t_stat opc_reset (DEVICE * dptr);
dptr              401 src/dps8/dps8_console.c static t_stat opc_reset (UNUSED DEVICE * dptr)
dptr             1256 src/dps8/dps8_cpu.c static t_stat cpu_boot (UNUSED int32 cpu_unit_idx, UNUSED DEVICE * dptr)
dptr             1601 src/dps8/dps8_cpu.c static t_stat sim_cpu_reset (UNUSED DEVICE *dptr)
dptr             4688 src/dps8/dps8_cpu.c static const char * get_dbg_verb (uint32 dbits, DEVICE * dptr)
dptr             4695 src/dps8/dps8_cpu.c     if (dptr->debflags == 0)
dptr             4698 src/dps8/dps8_cpu.c     dbits &= dptr->dctrl;     /* Look for just the bits that matched */
dptr             4701 src/dps8/dps8_cpu.c     while ((offset < 32) && dptr->debflags[offset].name)
dptr             4703 src/dps8/dps8_cpu.c         if (dptr->debflags[offset].mask == dbits)   /* All Bits Match */
dptr             4704 src/dps8/dps8_cpu.c           return dptr->debflags[offset].name;
dptr             4705 src/dps8/dps8_cpu.c         if (dptr->debflags[offset].mask & dbits)
dptr             4706 src/dps8/dps8_cpu.c           some_match = dptr->debflags[offset].name;
dptr             4712 src/dps8/dps8_cpu.c void dps8_sim_debug (uint32 dbits, DEVICE * dptr, unsigned long long cnt, const char* fmt, ...)
dptr             4715 src/dps8/dps8_cpu.c     if (sim_deb && dptr && (dptr->dctrl & dbits))
dptr             4717 src/dps8/dps8_cpu.c         const char * debug_type = get_dbg_verb (dbits, dptr);
dptr             4766 src/dps8/dps8_cpu.c                                          current_running_cpu_idx, dptr->name, debug_type, i-j, &buf[j]);
dptr               66 src/dps8/dps8_crdpun.c static t_stat pun_reset (DEVICE * dptr);
dptr              272 src/dps8/dps8_crdpun.c static t_stat pun_reset (UNUSED DEVICE * dptr)
dptr               65 src/dps8/dps8_crdrdr.c static t_stat rdr_reset (DEVICE * dptr);
dptr              224 src/dps8/dps8_crdrdr.c static t_stat rdr_reset (UNUSED DEVICE * dptr)
dptr              227 src/dps8/dps8_crdrdr.c 
dptr              240 src/dps8/dps8_dia.c static t_stat reset (UNUSED DEVICE * dptr)
dptr              620 src/dps8/dps8_disk.c static t_stat disk_reset (UNUSED DEVICE * dptr)
dptr              259 src/dps8/dps8_fnp2.c static t_stat fnpReset (DEVICE * dptr);
dptr              377 src/dps8/dps8_fnp2.c static t_stat fnpReset (UNUSED DEVICE * dptr)
dptr              380 src/dps8/dps8_fnp2.c 
dptr             1345 src/dps8/dps8_iom.c static t_stat iom_reset (UNUSED DEVICE * dptr)
dptr             1586 src/dps8/dps8_iom.c static t_stat iom_boot (int unitNum, UNUSED DEVICE * dptr)
dptr              257 src/dps8/dps8_mgp.c mgp_reset(UNUSED DEVICE *dptr)
dptr              295 src/dps8/dps8_mt.c static t_stat mtp_reset (UNUSED DEVICE * dptr)
dptr              841 src/dps8/dps8_mt.c static t_stat mt_reset (DEVICE * dptr)
dptr              843 src/dps8/dps8_mt.c     for (int i = 0; i < (int) dptr -> numunits; i ++)
dptr               82 src/dps8/dps8_prt.c static t_stat prt_reset (DEVICE * dptr);
dptr              361 src/dps8/dps8_prt.c static t_stat prt_reset (UNUSED DEVICE * dptr)
dptr              364 src/dps8/dps8_prt.c 
dptr             1159 src/dps8/dps8_scu.c t_stat scu_reset (UNUSED DEVICE * dptr)
dptr              103 src/dps8/dps8_scu.h t_stat scu_reset (DEVICE *dptr);
dptr               22 src/dps8/dps8_simh.h # define if_sim_debug(dbits, dptr) if ((0))
dptr               24 src/dps8/dps8_simh.h # define if_sim_debug(dbits, dptr)                                                                     \
dptr               27 src/dps8/dps8_simh.h       (((dptr)->dctrl & (dbits)) || (dbits) == 0) &&                                                   \
dptr               28 src/dps8/dps8_simh.h       ((dptr != & cpu_dev) || ((1 << current_running_cpu_idx) & dbgCPUMask)) &&                        \
dptr               29 src/dps8/dps8_simh.h         ((dptr != & cpu_dev) || (((dptr)->dctrl & (DBG_INTR | DBG_FAULT))) ||                          \
dptr               31 src/dps8/dps8_simh.h       ((dptr != & cpu_dev) || sim_deb_ringno == NO_SUCH_RINGNO || sim_deb_ringno == cpu . PPR. PRR) && \
dptr               32 src/dps8/dps8_simh.h       ((dptr != & cpu_dev) || (! sim_deb_bar) || (! TST_I_NBAR)) &&                                    \
dptr               36 src/dps8/dps8_simh.h         ((dptr != & cpu_dev) | (((dbits) & DBG_TRACE) ? (sim_deb_skip_cnt ++ >= sim_deb_skip_limit) :  \
dptr               47 src/dps8/dps8_simh.h # define sim_debug(dbits, dptr, ...) \
dptr               48 src/dps8/dps8_simh.h   if_sim_debug((dbits), dptr) \
dptr               49 src/dps8/dps8_simh.h     dps8_sim_debug ((dbits), dptr, DBG_CTR, __VA_ARGS__); \
dptr               53 src/dps8/dps8_simh.h # define sim_debug(dbits, dptr, ...) \
dptr               54 src/dps8/dps8_simh.h   if_sim_debug((dbits), dptr) \
dptr               55 src/dps8/dps8_simh.h     dps8_sim_debug ((dbits), dptr, __VA_ARGS__); \
dptr              158 src/dps8/dps8_simh.h void dps8_sim_debug (uint32 dbits, DEVICE* dptr, unsigned long long cnt, const char* fmt, ...);
dptr              242 src/dps8/dps8_socket_dev.c static t_stat sk_reset (UNUSED DEVICE * dptr)
dptr              116 src/dps8/dps8_sys.c static t_addr parse_addr(DEVICE *dptr, const char *cptr, const char **optr);
dptr              117 src/dps8/dps8_sys.c static void fprint_addr(FILE *stream, DEVICE *dptr, t_addr addr);
dptr             4619 src/dps8/dps8_sys.c static t_addr parse_addr (UNUSED DEVICE * dptr, const char *cptr,
dptr             4718 src/dps8/dps8_sys.c static void fprint_addr (FILE * stream, UNUSED DEVICE *  dptr, t_addr simh_addr)
dptr             4918 src/dps8/dps8_sys.c static t_stat sys_reset (UNUSED DEVICE  * dptr)
dptr              164 src/dps8/dps8_urp.c static t_stat urpReset (UNUSED DEVICE * dptr)
dptr              275 src/simh/scp.c void (*sim_vm_sprint_addr) (char *buf, DEVICE *dptr, t_addr addr) = NULL;
dptr              276 src/simh/scp.c void (*sim_vm_fprint_addr) (FILE *st, DEVICE *dptr, t_addr addr) = NULL;
dptr              277 src/simh/scp.c t_addr (*sim_vm_parse_addr) (DEVICE *dptr, CONST char *cptr, CONST char **tptr) = NULL;
dptr              287 src/simh/scp.c t_stat set_dev_radix (DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              288 src/simh/scp.c t_stat set_dev_enbdis (DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              289 src/simh/scp.c t_stat set_dev_debug (DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              290 src/simh/scp.c t_stat set_unit_enbdis (DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              293 src/simh/scp.c t_stat show_config (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              294 src/simh/scp.c t_stat show_queue (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              295 src/simh/scp.c t_stat show_time (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              296 src/simh/scp.c t_stat show_mod_names (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              297 src/simh/scp.c t_stat show_show_commands (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              298 src/simh/scp.c t_stat show_log_names (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              299 src/simh/scp.c t_stat show_dev_radix (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              300 src/simh/scp.c t_stat show_dev_debug (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              301 src/simh/scp.c t_stat show_dev_logicals (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              302 src/simh/scp.c t_stat show_dev_modifiers (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              303 src/simh/scp.c t_stat show_dev_show_commands (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              304 src/simh/scp.c t_stat show_version (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              305 src/simh/scp.c t_stat show_buildinfo (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cprr);
dptr              306 src/simh/scp.c t_stat show_prom (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              307 src/simh/scp.c t_stat show_default_base_system_script (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              308 src/simh/scp.c t_stat show_default (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              309 src/simh/scp.c t_stat show_break (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              310 src/simh/scp.c t_stat show_on (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              311 src/simh/scp.c t_stat sim_show_send (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              312 src/simh/scp.c t_stat sim_show_expect (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              313 src/simh/scp.c t_stat show_device (FILE *st, DEVICE *dptr, int32 flag);
dptr              314 src/simh/scp.c t_stat show_unit (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag);
dptr              315 src/simh/scp.c t_stat show_all_mods (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flg, int32 *toks);
dptr              316 src/simh/scp.c t_stat show_one_mod (FILE *st, DEVICE *dptr, UNIT *uptr, MTAB *mptr, CONST char *cptr, int32 flag);
dptr              342 src/simh/scp.c t_stat get_aval (t_addr addr, DEVICE *dptr, UNIT *uptr);
dptr              347 src/simh/scp.c void fprint_capac (FILE *st, DEVICE *dptr, UNIT *uptr);
dptr              356 src/simh/scp.c t_stat scp_attach_unit (DEVICE *dptr, UNIT *uptr, const char *cptr);
dptr              357 src/simh/scp.c t_stat scp_detach_unit (DEVICE *dptr, UNIT *uptr);
dptr              358 src/simh/scp.c t_bool qdisable (DEVICE *dptr);
dptr              361 src/simh/scp.c t_stat assign_device (DEVICE *dptr, const char *cptr);
dptr              362 src/simh/scp.c t_stat deassign_device (DEVICE *dptr);
dptr              369 src/simh/scp.c     t_addr low, t_addr high, DEVICE *dptr, UNIT *uptr);
dptr              370 src/simh/scp.c t_stat ex_addr (FILE *ofile, int32 flag, t_addr addr, DEVICE *dptr, UNIT *uptr);
dptr              371 src/simh/scp.c t_stat dep_addr (int32 flag, const char *cptr, t_addr addr, DEVICE *dptr,
dptr              382 src/simh/scp.c t_stat sim_show_asynch (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              388 src/simh/scp.c static const char *get_dbg_verb (uint32 dbits, DEVICE* dptr);
dptr             2329 src/simh/scp.c void fprint_reg_help_ex (FILE *st, DEVICE *dptr, t_bool silent)
dptr             2340 src/simh/scp.c if (dptr->registers)
dptr             2341 src/simh/scp.c     for (rptr = dptr->registers; rptr->name != NULL; rptr++) {
dptr             2352 src/simh/scp.c         if ((trptr == NULL) || (tdptr != dptr))
dptr             2358 src/simh/scp.c                        dptr->name);
dptr             2375 src/simh/scp.c                    dptr->name);
dptr             2376 src/simh/scp.c     for (rptr = dptr->registers; rptr->name != NULL; rptr++) {
dptr             2400 src/simh/scp.c         if ((trptr == NULL) || (tdptr != dptr))
dptr             2402 src/simh/scp.c                            dptr->name,
dptr             2408 src/simh/scp.c                            (int)strlen(dptr->name), "",
dptr             2417 src/simh/scp.c void fprint_reg_help (FILE *st, DEVICE *dptr)
dptr             2419 src/simh/scp.c fprint_reg_help_ex (st, dptr, TRUE);
dptr             2422 src/simh/scp.c void fprint_attach_help_ex (FILE *st, DEVICE *dptr, t_bool silent)
dptr             2424 src/simh/scp.c if (dptr->attach_help) {
dptr             2425 src/simh/scp.c     (void)fprintf (st, "\n%s device ATTACH commands:\n\n", dptr->name);
dptr             2426 src/simh/scp.c     dptr->attach_help (st, dptr, NULL, 0, NULL);
dptr             2429 src/simh/scp.c if (DEV_TYPE(dptr) == DEV_DISK) {
dptr             2430 src/simh/scp.c     (void)fprintf (st, "\n%s device ATTACH commands:\n\n", dptr->name);
dptr             2431 src/simh/scp.c     sim_disk_attach_help (st, dptr, NULL, 0, NULL);
dptr             2434 src/simh/scp.c if (DEV_TYPE(dptr) == DEV_TAPE) {
dptr             2435 src/simh/scp.c     (void)fprintf (st, "\n%s device ATTACH commands:\n\n", dptr->name);
dptr             2436 src/simh/scp.c     sim_tape_attach_help (st, dptr, NULL, 0, NULL);
dptr             2440 src/simh/scp.c     (void)fprintf (st, "No ATTACH help is available for the %s device\n", dptr->name);
dptr             2441 src/simh/scp.c     if (dptr->help)
dptr             2442 src/simh/scp.c         dptr->help (st, dptr, NULL, 0, NULL);
dptr             2446 src/simh/scp.c void fprint_set_help_ex (FILE *st, DEVICE *dptr, t_bool silent)
dptr             2452 src/simh/scp.c uint32 enabled_units = dptr->numunits;
dptr             2455 src/simh/scp.c (void)sprintf (header, "\n%s device SET commands:\n\n", dptr->name);
dptr             2456 src/simh/scp.c for (unit=0; unit < dptr->numunits; unit++)
dptr             2457 src/simh/scp.c     if (dptr->units[unit].flags & UNIT_DIS)
dptr             2459 src/simh/scp.c if (dptr->modifiers) {
dptr             2460 src/simh/scp.c     for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) {
dptr             2461 src/simh/scp.c         if (!MODMASK(mptr,MTAB_VDV) && MODMASK(mptr,MTAB_VUN) && (dptr->numunits != 1))
dptr             2467 src/simh/scp.c             (void)sprintf (buf, "SET %s %s%s", sim_dname (dptr),
dptr             2480 src/simh/scp.c if (dptr->flags & DEV_DISABLE) {
dptr             2482 src/simh/scp.c     (void)sprintf (buf, "SET %s ENABLE", sim_dname (dptr));
dptr             2483 src/simh/scp.c     (void)fprintf (st,  "%-30s\tEnables device %s\n", buf, sim_dname (dptr));
dptr             2484 src/simh/scp.c     (void)sprintf (buf, "SET %s DISABLE", sim_dname (dptr));
dptr             2485 src/simh/scp.c     (void)fprintf (st,  "%-30s\tDisables device %s\n", buf, sim_dname (dptr));
dptr             2487 src/simh/scp.c if (dptr->flags & DEV_DEBUG) {
dptr             2489 src/simh/scp.c     (void)sprintf (buf, "SET %s DEBUG", sim_dname (dptr));
dptr             2490 src/simh/scp.c     (void)fprintf (st,  "%-30s\tEnables debugging for device %s\n", buf, sim_dname (dptr));
dptr             2491 src/simh/scp.c     (void)sprintf (buf, "SET %s NODEBUG", sim_dname (dptr));
dptr             2492 src/simh/scp.c     (void)fprintf (st,  "%-30s\tDisables debugging for device %s\n", buf, sim_dname (dptr));
dptr             2493 src/simh/scp.c     if (dptr->debflags) {
dptr             2496 src/simh/scp.c         (void)fprintf (st, "SET %s DEBUG=", sim_dname (dptr));
dptr             2497 src/simh/scp.c         for (dep = dptr->debflags; dep->name != NULL; dep++) {
dptr             2498 src/simh/scp.c             (void)fprintf (st, "%s%s", ((dep == dptr->debflags) ? "" : ";"), dep->name);
dptr             2502 src/simh/scp.c         (void)fprintf (st,  "%-30s\tEnables specific debugging for device %s\n", buf, sim_dname (dptr));
dptr             2503 src/simh/scp.c         (void)fprintf (st, "SET %s NODEBUG=", sim_dname (dptr));
dptr             2504 src/simh/scp.c         for (dep = dptr->debflags; dep->name != NULL; dep++)
dptr             2505 src/simh/scp.c             (void)fprintf (st, "%s%s", ((dep == dptr->debflags) ? "" : ";"), dep->name);
dptr             2507 src/simh/scp.c         (void)fprintf (st,  "%-30s\tDisables specific debugging for device %s\n", buf, sim_dname (dptr));
dptr             2509 src/simh/scp.c             (void)fprintf (st, "\n*%s device DEBUG settings:\n", sim_dname (dptr));
dptr             2510 src/simh/scp.c             for (dep = dptr->debflags; dep->name != NULL; dep++)
dptr             2515 src/simh/scp.c if ((dptr->modifiers) && (dptr->units) && (enabled_units != 1)) {
dptr             2516 src/simh/scp.c     if (dptr->units->flags & UNIT_DISABLE) {
dptr             2518 src/simh/scp.c         (void)sprintf (buf, "SET %sn ENABLE", sim_dname (dptr));
dptr             2519 src/simh/scp.c         (void)fprintf (st,  "%-30s\tEnables unit %sn\n", buf, sim_dname (dptr));
dptr             2520 src/simh/scp.c         (void)sprintf (buf, "SET %sn DISABLE", sim_dname (dptr));
dptr             2521 src/simh/scp.c         (void)fprintf (st,  "%-30s\tDisables unit %sn\n", buf, sim_dname (dptr));
dptr             2523 src/simh/scp.c     for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) {
dptr             2530 src/simh/scp.c             (void)sprintf (buf, "SET %s%s %s%s", sim_dname (dptr),
dptr             2531 src/simh/scp.c                            (dptr->numunits > 1) ? "n" : "0", mptr->mstring,
dptr             2543 src/simh/scp.c     (void)fprintf (st, "No SET help is available for the %s device\n", dptr->name);
dptr             2546 src/simh/scp.c void fprint_set_help (FILE *st, DEVICE *dptr)
dptr             2548 src/simh/scp.c   fprint_set_help_ex (st, dptr, TRUE);
dptr             2551 src/simh/scp.c void fprint_show_help_ex (FILE *st, DEVICE *dptr, t_bool silent)
dptr             2556 src/simh/scp.c uint32 enabled_units = dptr->numunits;
dptr             2559 src/simh/scp.c (void)sprintf (header, "\n%s device SHOW commands:\n\n", dptr->name);
dptr             2560 src/simh/scp.c for (unit=0; unit < dptr->numunits; unit++)
dptr             2561 src/simh/scp.c     if (dptr->units[unit].flags & UNIT_DIS)
dptr             2563 src/simh/scp.c if (dptr->modifiers) {
dptr             2564 src/simh/scp.c     for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) {
dptr             2565 src/simh/scp.c         if (!MODMASK(mptr,MTAB_VDV) && MODMASK(mptr,MTAB_VUN) && (dptr->numunits != 1))
dptr             2572 src/simh/scp.c         (void)sprintf (buf, "SHOW %s %s%s", sim_dname (dptr),
dptr             2577 src/simh/scp.c if (dptr->flags & DEV_DEBUG) {
dptr             2579 src/simh/scp.c     (void)sprintf (buf, "SHOW %s DEBUG", sim_dname (dptr));
dptr             2580 src/simh/scp.c     (void)fprintf (st, "%-30s\tDisplays debugging status for device %s\n", buf, sim_dname (dptr));
dptr             2582 src/simh/scp.c if ((dptr->modifiers) && (dptr->units) && (enabled_units != 1)) {
dptr             2583 src/simh/scp.c     for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) {
dptr             2589 src/simh/scp.c         (void)sprintf (buf, "SHOW %s%s %s%s", sim_dname (dptr),
dptr             2590 src/simh/scp.c                        (dptr->numunits > 1) ? "n" : "0", mptr->pstring,
dptr             2596 src/simh/scp.c     (void)fprintf (st, "No SHOW help is available for the %s device\n", dptr->name);
dptr             2599 src/simh/scp.c void fprint_show_help (FILE *st, DEVICE *dptr)
dptr             2601 src/simh/scp.c     fprint_show_help_ex (st, dptr, TRUE);
dptr             2604 src/simh/scp.c void fprint_brk_help_ex (FILE *st, DEVICE *dptr, t_bool silent)
dptr             2606 src/simh/scp.c BRKTYPTAB *brkt = dptr->brk_types;
dptr             2610 src/simh/scp.c     if ((dptr != sim_dflt_dev) && (!silent)) {
dptr             2612 src/simh/scp.c         if (dptr->help)
dptr             2613 src/simh/scp.c             dptr->help (st, dptr, NULL, 0, NULL);
dptr             2620 src/simh/scp.c     if (dptr == sim_dflt_dev) {
dptr             2622 src/simh/scp.c             (void)fprintf (st, "%s supports the following breakpoint types:\n", sim_dname (dptr));
dptr             2632 src/simh/scp.c (void)fprintf (st, "%s supports the following breakpoint types:\n", sim_dname (dptr));
dptr             2640 src/simh/scp.c t_stat help_dev_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cptr)
dptr             2649 src/simh/scp.c             if (dptr->help) /* Shouldn't this pass cptr so the device knows which command invoked? */
dptr             2650 src/simh/scp.c                 return dptr->help (st, dptr, uptr, flag, cptr);
dptr             2652 src/simh/scp.c                 (void)fprintf (st, "No HELP available for the %s %s command\n", cmdp->name, sim_dname(dptr));
dptr             2656 src/simh/scp.c             fprint_set_help_ex (st, dptr, FALSE);
dptr             2660 src/simh/scp.c             fprint_show_help_ex (st, dptr, FALSE);
dptr             2664 src/simh/scp.c             fprint_attach_help_ex (st, dptr, FALSE);
dptr             2668 src/simh/scp.c             fprint_brk_help_ex (st, dptr, FALSE);
dptr             2671 src/simh/scp.c         if (dptr->help)
dptr             2672 src/simh/scp.c             return dptr->help (st, dptr, uptr, flag, cptr);
dptr             2673 src/simh/scp.c         (void)fprintf (st, "No %s HELP is available for the %s device\n", cmdp->name, dptr->name);
dptr             2677 src/simh/scp.c         fprint_reg_help_ex (st, dptr, FALSE);
dptr             2680 src/simh/scp.c     if (dptr->help)
dptr             2681 src/simh/scp.c         return dptr->help (st, dptr, uptr, flag, cptr);
dptr             2682 src/simh/scp.c     (void)fprintf (st, "No %s HELP is available for the %s device\n", gbuf, dptr->name);
dptr             2685 src/simh/scp.c if (dptr->help) {
dptr             2686 src/simh/scp.c     return dptr->help (st, dptr, uptr, flag, cptr);
dptr             2688 src/simh/scp.c if (dptr->description)
dptr             2689 src/simh/scp.c     (void)fprintf (st, "%s %s HELP\n", dptr->description (dptr), dptr->name);
dptr             2691 src/simh/scp.c     (void)fprintf (st, "%s HELP\n", dptr->name);
dptr             2692 src/simh/scp.c fprint_set_help_ex    (st, dptr, TRUE);
dptr             2693 src/simh/scp.c fprint_show_help_ex   (st, dptr, TRUE);
dptr             2694 src/simh/scp.c fprint_attach_help_ex (st, dptr, TRUE);
dptr             2695 src/simh/scp.c fprint_reg_help_ex    (st, dptr, TRUE);
dptr             2696 src/simh/scp.c fprint_brk_help_ex    (st, dptr, TRUE);
dptr             2730 src/simh/scp.c                 DEVICE *dptr;
dptr             2734 src/simh/scp.c                 dptr = find_unit (gbuf, &uptr);
dptr             2735 src/simh/scp.c                 if (dptr == NULL)
dptr             2736 src/simh/scp.c                     dptr = find_dev (gbuf);
dptr             2737 src/simh/scp.c                 if (dptr != NULL) {
dptr             2738 src/simh/scp.c                     r = help_dev_help (stdout, dptr, uptr, flag, (cmdp->action == &set_cmd) ? "SET" : "SHOW");
dptr             2740 src/simh/scp.c                         help_dev_help (sim_log, dptr, uptr, flag | SCP_HELP_FLAT, (cmdp->action == &set_cmd) ? "SET" : "SHOW");
dptr             2763 src/simh/scp.c 
dptr             2766 src/simh/scp.c 
dptr             2769 src/simh/scp.c 
dptr             2771 src/simh/scp.c 
dptr             2772 src/simh/scp.c 
dptr             2773 src/simh/scp.c 
dptr             2774 src/simh/scp.c 
dptr             2775 src/simh/scp.c 
dptr             2777 src/simh/scp.c 
dptr             2779 src/simh/scp.c 
dptr             2780 src/simh/scp.c 
dptr             2782 src/simh/scp.c 
dptr             2784 src/simh/scp.c 
dptr             2786 src/simh/scp.c 
dptr             2789 src/simh/scp.c 
dptr             2820 src/simh/scp.c         DEVICE *dptr;
dptr             2823 src/simh/scp.c         dptr = find_unit (gbuf, &uptr);
dptr             2824 src/simh/scp.c         if (dptr == NULL) {
dptr             2825 src/simh/scp.c             dptr = find_dev (gbuf);
dptr             2826 src/simh/scp.c             if (dptr == NULL)
dptr             2828 src/simh/scp.c             if (dptr->flags & DEV_DIS)
dptr             2829 src/simh/scp.c                 sim_printf ("Device %s is currently disabled\n", dptr->name);
dptr             2831 src/simh/scp.c         r = help_dev_help (stdout, dptr, uptr, flag, cptr);
dptr             2833 src/simh/scp.c             help_dev_help (sim_log, dptr, uptr, flag | SCP_HELP_FLAT, cptr);
dptr             3784 src/simh/scp.c t_stat sim_show_send (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             3829 src/simh/scp.c t_stat sim_show_expect (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             4090 src/simh/scp.c DEVICE *dptr;
dptr             4101 src/simh/scp.c if ((dptr = find_dev (gbuf))) {                         /* device match? */
dptr             4102 src/simh/scp.c     uptr = dptr->units;                                 /* first unit */
dptr             4107 src/simh/scp.c else if ((dptr = find_unit (gbuf, &uptr))) {            /* unit match? */
dptr             4124 src/simh/scp.c                 dptr = sim_dflt_dev;
dptr             4132 src/simh/scp.c     if (!dptr)
dptr             4135 src/simh/scp.c     uptr = dptr->units;                                 /* first unit */
dptr             4147 src/simh/scp.c     for (mptr = dptr->modifiers; mptr && (mptr->mask != 0); mptr++) {
dptr             4196 src/simh/scp.c             r = glbr->action (dptr, uptr, glbr->arg, cvptr);    /* do global */
dptr             4200 src/simh/scp.c         else if (!dptr->modifiers)                      /* no modifiers? */
dptr             4234 src/simh/scp.c t_stat set_dev_radix (DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             4238 src/simh/scp.c dptr->dradix = flag & 037;
dptr             4244 src/simh/scp.c t_stat set_dev_enbdis (DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             4251 src/simh/scp.c if ((dptr->flags & DEV_DISABLE) == 0)                   /* allowed? */
dptr             4254 src/simh/scp.c     if ((dptr->flags & DEV_DIS) == 0)                   /* already enb? ok */
dptr             4256 src/simh/scp.c     dptr->flags = dptr->flags & ~DEV_DIS;               /* no, enable */
dptr             4259 src/simh/scp.c     if (dptr->flags & DEV_DIS)                          /* already dsb? ok */
dptr             4261 src/simh/scp.c     for (i = 0; i < dptr->numunits; i++) {              /* check units */
dptr             4262 src/simh/scp.c         up = (dptr->units) + i;                         /* att or active? */
dptr             4266 src/simh/scp.c     dptr->flags = dptr->flags | DEV_DIS;                /* disable */
dptr             4268 src/simh/scp.c if (dptr->reset)                                        /* reset device */
dptr             4269 src/simh/scp.c     return dptr->reset (dptr);
dptr             4275 src/simh/scp.c t_stat set_unit_enbdis (DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             4294 src/simh/scp.c t_stat set_dev_debug (DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             4299 src/simh/scp.c if ((dptr->flags & DEV_DEBUG) == 0)
dptr             4302 src/simh/scp.c     dptr->dctrl = flag ? (dptr->debflags ? flag : 0xFFFFFFFF) : 0;/* disable/enable w/o table */
dptr             4303 src/simh/scp.c     if (flag && dptr->debflags) {                       /* enable with table? */
dptr             4304 src/simh/scp.c         for (dep = dptr->debflags; dep->name != NULL; dep++)
dptr             4305 src/simh/scp.c             dptr->dctrl = dptr->dctrl | dep->mask;      /* set all */
dptr             4309 src/simh/scp.c if (dptr->debflags == NULL)                             /* must have table */
dptr             4313 src/simh/scp.c     for (dep = dptr->debflags; dep->name != NULL; dep++) {
dptr             4316 src/simh/scp.c                 dptr->dctrl = dptr->dctrl | dep->mask;
dptr             4317 src/simh/scp.c             else dptr->dctrl = dptr->dctrl & ~dep->mask;
dptr             4356 src/simh/scp.c DEVICE *dptr;
dptr             4366 src/simh/scp.c if ((dptr = find_dev (gbuf))) {                         /* device match? */
dptr             4367 src/simh/scp.c     uptr = dptr->units;                                 /* first unit */
dptr             4372 src/simh/scp.c else if ((dptr = find_unit (gbuf, &uptr))) {            /* unit match? */
dptr             4393 src/simh/scp.c                 dptr = sim_dflt_dev;
dptr             4402 src/simh/scp.c     if (!dptr) {
dptr             4412 src/simh/scp.c         show_device (ofile, dptr, 0):
dptr             4413 src/simh/scp.c         show_unit (ofile, dptr, uptr, -1);
dptr             4421 src/simh/scp.c     for (mptr = dptr->modifiers; mptr && (mptr->mask != 0); mptr++) {
dptr             4429 src/simh/scp.c             show_one_mod (ofile, dptr, uptr, mptr, cvptr, 1);
dptr             4437 src/simh/scp.c             r = shptr->action (ofile, dptr, uptr, shptr->arg, cptr);
dptr             4442 src/simh/scp.c             if (!dptr->modifiers)                       /* no modifiers? */
dptr             4443 src/simh/scp.c                 return sim_messagef (SCPE_NOPARAM, "%s device has no parameters\n", dptr->name);
dptr             4465 src/simh/scp.c t_stat show_device (FILE *st, DEVICE *dptr, int32 flag)
dptr             4471 src/simh/scp.c if (strcmp(sim_dname (dptr),"SYS") != 0) {
dptr             4472 src/simh/scp.c (void)fprintf (st, "%s", sim_dname (dptr));                   /* print dev name */
dptr             4473 src/simh/scp.c if ((flag == 2) && dptr->description) {
dptr             4474 src/simh/scp.c     (void)fprintf (st, "\t%s\n", dptr->description(dptr));
dptr             4477 src/simh/scp.c     if ((sim_switches & SWMASK ('D')) && dptr->description)
dptr             4478 src/simh/scp.c         (void)fprintf (st, "\t%s\n", dptr->description(dptr));
dptr             4480 src/simh/scp.c if (qdisable (dptr)) {                                  /* disabled? */
dptr             4484 src/simh/scp.c for (j = ucnt = udbl = 0; j < dptr->numunits; j++) {    /* count units */
dptr             4485 src/simh/scp.c     uptr = dptr->units + j;
dptr             4492 src/simh/scp.c if (dptr->numunits == 0) {
dptr             4511 src/simh/scp.c         if ((flag != 2) || !dptr->description || toks)
dptr             4517 src/simh/scp.c for (j = 0; j < dptr->numunits; j++) {                  /* loop thru units */
dptr             4518 src/simh/scp.c     uptr = dptr->units + j;
dptr             4520 src/simh/scp.c         show_unit (st, dptr, uptr, ucnt + udbl);
dptr             4532 src/simh/scp.c t_stat show_unit (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag)
dptr             4534 src/simh/scp.c int32 u = (int32)(uptr - dptr->units);
dptr             4538 src/simh/scp.c     (void)fprintf (st, "   %s%d \n", sim_dname (dptr), u);
dptr             4540 src/simh/scp.c     (void)fprintf (st, " %s%d ", sim_dname (dptr), u);
dptr             4555 src/simh/scp.c     fprint_capac (st, dptr, uptr);
dptr             4557 src/simh/scp.c show_all_mods (st, dptr, uptr, MTAB_VUN, &toks);        /* show unit mods */
dptr             4563 src/simh/scp.c const char *sprint_capac (DEVICE *dptr, UNIT *uptr)
dptr             4574 src/simh/scp.c if (dptr->flags & DEV_SECTORS) {
dptr             4578 src/simh/scp.c if ((dptr->dwidth / dptr->aincr) > 8)
dptr             4600 src/simh/scp.c void fprint_capac (FILE *st, DEVICE *dptr, UNIT *uptr)
dptr             4602 src/simh/scp.c (void)fprintf (st, " %s", sprint_capac (dptr, uptr));
dptr             4608 src/simh/scp.c t_stat show_default_base_system_script (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             4675 src/simh/scp.c t_stat show_prom (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             4711 src/simh/scp.c t_stat show_buildinfo (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             4885 src/simh/scp.c t_stat show_version (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             5577 src/simh/scp.c DEVICE *dptr;
dptr             5583 src/simh/scp.c for (i = 0; (dptr = sim_devices[i]) != NULL; i++)
dptr             5584 src/simh/scp.c     if (!only_enabled || !qdisable (dptr))
dptr             5585 src/simh/scp.c         show_device (st, dptr, flag);
dptr             5592 src/simh/scp.c DEVICE *dptr;
dptr             5596 src/simh/scp.c for (i = 0; (dptr = sim_devices[i]) != NULL; i++)
dptr             5597 src/simh/scp.c     show_dev_logicals (st, dptr, NULL, 1, cptr);
dptr             5601 src/simh/scp.c t_stat show_dev_logicals (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             5603 src/simh/scp.c if (dptr->lname)
dptr             5604 src/simh/scp.c     (void)fprintf (st, "%s -> %s\n", dptr->lname, dptr->name);
dptr             5612 src/simh/scp.c DEVICE *dptr;
dptr             5634 src/simh/scp.c                 if ((dptr = find_dev_from_unit (uptr)) != NULL) {
dptr             5635 src/simh/scp.c                     (void)fprintf (st, "  %s", sim_dname (dptr));
dptr             5636 src/simh/scp.c                     if (dptr->numunits > 1)
dptr             5637 src/simh/scp.c                         (void)fprintf (st, " unit %d", (int32) (uptr - dptr->units));
dptr             5652 src/simh/scp.c t_stat show_time (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             5660 src/simh/scp.c t_stat show_break (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             5671 src/simh/scp.c t_stat show_dev_radix (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             5673 src/simh/scp.c (void)fprintf (st, "Radix=%d\n", dptr->dradix);
dptr             5677 src/simh/scp.c t_stat show_dev_debug (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             5682 src/simh/scp.c if (dptr->flags & DEV_DEBUG) {
dptr             5683 src/simh/scp.c     if (dptr->dctrl == 0)
dptr             5685 src/simh/scp.c     else if (dptr->debflags == NULL)
dptr             5688 src/simh/scp.c         uint32 dctrl = dptr->dctrl;
dptr             5691 src/simh/scp.c         for (dep = dptr->debflags; (dctrl != 0) && (dep->name != NULL); dep++) {
dptr             5709 src/simh/scp.c t_stat show_on (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             5740 src/simh/scp.c DEVICE *dptr;
dptr             5744 src/simh/scp.c for (i = 0; (dptr = sim_devices[i]) != NULL; i++)
dptr             5745 src/simh/scp.c     show_dev_modifiers (st, dptr, NULL, flag, cptr);
dptr             5746 src/simh/scp.c for (i = 0; sim_internal_device_count && (dptr = sim_internal_devices[i]); ++i)
dptr             5747 src/simh/scp.c     show_dev_modifiers (st, dptr, NULL, flag, cptr);
dptr             5751 src/simh/scp.c t_stat show_dev_modifiers (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             5753 src/simh/scp.c fprint_set_help (st, dptr);
dptr             5757 src/simh/scp.c t_stat show_all_mods (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, int32 *toks)
dptr             5762 src/simh/scp.c if (dptr->modifiers == NULL)
dptr             5764 src/simh/scp.c for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) {
dptr             5775 src/simh/scp.c         r = show_one_mod (st, dptr, uptr, mptr, NULL, 0);
dptr             5781 src/simh/scp.c t_stat show_one_mod (FILE *st, DEVICE *dptr, UNIT *uptr, MTAB *mptr,
dptr             5800 src/simh/scp.c DEVICE *dptr;
dptr             5804 src/simh/scp.c for (i = 0; (dptr = sim_devices[i]) != NULL; i++)
dptr             5805 src/simh/scp.c     show_dev_show_commands (st, dptr, NULL, flag, cptr);
dptr             5806 src/simh/scp.c for (i = 0; sim_internal_device_count && (dptr = sim_internal_devices[i]); ++i)
dptr             5807 src/simh/scp.c     show_dev_show_commands (st, dptr, NULL, flag, cptr);
dptr             5811 src/simh/scp.c t_stat show_dev_show_commands (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             5813 src/simh/scp.c fprint_show_help (st, dptr);
dptr             5829 src/simh/scp.c DEVICE *dptr = sim_dflt_dev;
dptr             5837 src/simh/scp.c if (dptr == NULL)
dptr             5839 src/simh/scp.c uptr = dptr->units;
dptr             5857 src/simh/scp.c     tptr = get_range (dptr, gbuf, &lo, &hi, dptr->aradix, max, 0);
dptr             5921 src/simh/scp.c DEVICE *dptr;
dptr             5932 src/simh/scp.c dptr = find_dev (gbuf);                                 /* locate device */
dptr             5933 src/simh/scp.c if (dptr == NULL)                                       /* found it? */
dptr             5935 src/simh/scp.c if (dptr->reset != NULL)
dptr             5936 src/simh/scp.c     return dptr->reset (dptr);
dptr             5950 src/simh/scp.c DEVICE *dptr;
dptr             5958 src/simh/scp.c for (i = start; (dptr = sim_devices[i]) != NULL; i++) {
dptr             5959 src/simh/scp.c     if (dptr->reset != NULL) {
dptr             5960 src/simh/scp.c         reason = dptr->reset (dptr);
dptr             5965 src/simh/scp.c for (i = 0; sim_internal_device_count && (dptr = sim_internal_devices[i]); ++i) {
dptr             5966 src/simh/scp.c     if (dptr->reset != NULL) {
dptr             5967 src/simh/scp.c         reason = dptr->reset (dptr);
dptr             5999 src/simh/scp.c DEVICE *dptr;
dptr             6010 src/simh/scp.c dptr = find_unit (gbuf, &uptr);                         /* locate unit */
dptr             6011 src/simh/scp.c if (dptr == NULL)                                       /* found dev? */
dptr             6017 src/simh/scp.c         !(dptr->flags & DEV_DONTAUTO)) {                /* and auto detachable */
dptr             6018 src/simh/scp.c         r = scp_detach_unit (dptr, uptr);               /* detach it */
dptr             6029 src/simh/scp.c return scp_attach_unit (dptr, uptr, gbuf);              /* attach */
dptr             6034 src/simh/scp.c t_stat scp_attach_unit (DEVICE *dptr, UNIT *uptr, const char *cptr)
dptr             6036 src/simh/scp.c if (dptr->attach != NULL)                               /* device routine? */
dptr             6037 src/simh/scp.c     return dptr->attach (uptr, (CONST char *)cptr);     /* call it */
dptr             6045 src/simh/scp.c DEVICE *dptr;
dptr             6051 src/simh/scp.c if ((dptr = find_dev_from_unit (uptr)) == NULL)
dptr             6067 src/simh/scp.c         sim_printf ("%s: unit is read only (%s)\n", sim_dname (dptr), cptr);
dptr             6076 src/simh/scp.c             sim_printf ("%s: creating new file (%s)\n", sim_dname (dptr), cptr);
dptr             6101 src/simh/scp.c                     sim_printf ("%s: unit is read only (%s)\n", sim_dname (dptr), cptr);
dptr             6111 src/simh/scp.c                     sim_printf ("%s: creating new file (%s)\n", sim_dname (dptr), cptr);
dptr             6118 src/simh/scp.c     uint32 cap = ((uint32) uptr->capac) / dptr->aincr;  /* effective size */
dptr             6120 src/simh/scp.c         uptr->filebuf = calloc (cap, SZ_D (dptr));      /* allocate */
dptr             6124 src/simh/scp.c         sim_printf ("%s: buffering file in memory\n", sim_dname (dptr));
dptr             6127 src/simh/scp.c         SZ_D (dptr), cap, uptr->fileref);
dptr             6147 src/simh/scp.c DEVICE *dptr;
dptr             6158 src/simh/scp.c dptr = find_unit (gbuf, &uptr);                         /* locate unit */
dptr             6159 src/simh/scp.c if (dptr == NULL)                                       /* found dev? */
dptr             6163 src/simh/scp.c return scp_detach_unit (dptr, uptr);                    /* detach */
dptr             6182 src/simh/scp.c DEVICE *dptr;
dptr             6190 src/simh/scp.c for (i = start; (dptr = sim_devices[i]) != NULL; i++) { /* loop thru dev */
dptr             6191 src/simh/scp.c     for (j = 0; j < dptr->numunits; j++) {              /* loop thru units */
dptr             6192 src/simh/scp.c         uptr = (dptr->units) + j;
dptr             6194 src/simh/scp.c             (shutdown && dptr->detach &&                /* shutdown, spec rtn, */
dptr             6196 src/simh/scp.c             r = scp_detach_unit (dptr, uptr);           /* detach unit */
dptr             6208 src/simh/scp.c t_stat scp_detach_unit (DEVICE *dptr, UNIT *uptr)
dptr             6210 src/simh/scp.c if (dptr->detach != NULL)                               /* device routine? */
dptr             6211 src/simh/scp.c     return dptr->detach (uptr);
dptr             6219 src/simh/scp.c DEVICE *dptr;
dptr             6231 src/simh/scp.c if ((dptr = find_dev_from_unit (uptr)) == NULL)
dptr             6234 src/simh/scp.c     uint32 cap = (uptr->hwmark + dptr->aincr - 1) / dptr->aincr;
dptr             6237 src/simh/scp.c             sim_printf ("%s: writing buffer to file\n", sim_dname (dptr));
dptr             6240 src/simh/scp.c         sim_fwrite (uptr->filebuf, SZ_D (dptr), cap, uptr->fileref);
dptr             6243 src/simh/scp.c                         sim_dname (dptr), xstrerror_l(errno), errno);
dptr             6261 src/simh/scp.c const char *sim_dname (DEVICE *dptr)
dptr             6263 src/simh/scp.c return (dptr ? (dptr->lname? dptr->lname: dptr->name) : "");
dptr             6292 src/simh/scp.c DEVICE *dptr;
dptr             6390 src/simh/scp.c     dptr = find_unit (gbuf, &uptr);                     /* locate unit */
dptr             6391 src/simh/scp.c     if (dptr == NULL)                                   /* found dev? */
dptr             6395 src/simh/scp.c     if (dptr->boot == NULL)                             /* can it boot? */
dptr             6402 src/simh/scp.c     unitno = (int32) (uptr - dptr->units);              /* recover unit# */
dptr             6405 src/simh/scp.c     if ((r = dptr->boot (unitno, dptr)) != SCPE_OK)     /* boot device */
dptr             6419 src/simh/scp.c for (i = 1; (dptr = sim_devices[i]) != NULL; i++) {     /* reposition all */
dptr             6420 src/simh/scp.c     for (j = 0; j < dptr->numunits; j++) {              /* seq devices */
dptr             6421 src/simh/scp.c         uptr = dptr->units + j;
dptr             6529 src/simh/scp.c for (i = 1; (dptr = sim_devices[i]) != NULL; i++) {     /* flush attached files */
dptr             6530 src/simh/scp.c     for (j = 0; j < dptr->numunits; j++) {              /* if not buffered in mem */
dptr             6531 src/simh/scp.c         uptr = dptr->units + j;
dptr             6604 src/simh/scp.c void fprint_stopped_gen (FILE *st, t_stat v, REG *pc, DEVICE *dptr)
dptr             6627 src/simh/scp.c     sim_vm_fprint_addr (st, dptr, (t_addr) pcval);      /*   call it to print the PC address */
dptr             6630 src/simh/scp.c if ((dptr != NULL) && (dptr->examine != NULL)) {
dptr             6633 src/simh/scp.c     for (i = 0, k = (t_addr) pcval; i < sim_emax; i++, k = k + dptr->aincr) {
dptr             6634 src/simh/scp.c         if ((r = dptr->examine (&sim_eval[i], k, dptr->units, SWMASK ('V')|SIM_SW_STOP)) != SCPE_OK)
dptr             6640 src/simh/scp.c             fprint_val (st, sim_eval[0], dptr->dradix, dptr->dwidth, PV_RZRO);
dptr             6864 src/simh/scp.c     t_addr low, t_addr high, DEVICE *dptr, UNIT *uptr)
dptr             6871 src/simh/scp.c mask = (t_addr) width_mask[dptr->awidth];
dptr             6875 src/simh/scp.c     reason = get_aval (i, dptr, uptr);                  /* get data */
dptr             6879 src/simh/scp.c         i = i + dptr->aincr;                            /* sch fails, incr */
dptr             6882 src/simh/scp.c             reason = ex_addr (ofile, flag, i, dptr, uptr);
dptr             6886 src/simh/scp.c                 ex_addr (sim_log, flag, i, dptr, uptr);
dptr             6888 src/simh/scp.c         else reason = 1 - dptr->aincr;                  /* no, dflt incr */
dptr             6890 src/simh/scp.c             reason = dep_addr (flag, cptr, i, dptr, uptr, reason);
dptr             7115 src/simh/scp.c t_stat ex_addr (FILE *ofile, int32 flag, t_addr addr, DEVICE *dptr, UNIT *uptr)
dptr             7121 src/simh/scp.c     sim_vm_fprint_addr (ofile, dptr, addr);
dptr             7122 src/simh/scp.c else fprint_val (ofile, addr, dptr->aradix, dptr->awidth, PV_LEFT);
dptr             7125 src/simh/scp.c     return (1 - dptr->aincr);
dptr             7127 src/simh/scp.c GET_RADIX (rdx, dptr->dradix);
dptr             7129 src/simh/scp.c     fprint_val (ofile, sim_eval[0], rdx, dptr->dwidth, PV_RZRO);
dptr             7130 src/simh/scp.c     reason = 1 - dptr->aincr;
dptr             7150 src/simh/scp.c t_stat get_aval (t_addr addr, DEVICE *dptr, UNIT *uptr)
dptr             7158 src/simh/scp.c if ((dptr == NULL) || (uptr == NULL))
dptr             7160 src/simh/scp.c mask = width_mask[dptr->dwidth];
dptr             7163 src/simh/scp.c for (i = 0, j = addr; i < sim_emax; i++, j = j + dptr->aincr) {
dptr             7164 src/simh/scp.c     if (dptr->examine != NULL) {
dptr             7165 src/simh/scp.c         reason = dptr->examine (&sim_eval[i], j, uptr, sim_switches);
dptr             7178 src/simh/scp.c         sz = SZ_D (dptr);
dptr             7179 src/simh/scp.c         loc = j / dptr->aincr;
dptr             7219 src/simh/scp.c t_stat dep_addr (int32 flag, const char *cptr, t_addr addr, DEVICE *dptr,
dptr             7229 src/simh/scp.c if (dptr == NULL)
dptr             7242 src/simh/scp.c mask = width_mask[dptr->dwidth];
dptr             7244 src/simh/scp.c GET_RADIX (rdx, dptr->dradix);
dptr             7251 src/simh/scp.c count = (1 - reason + (dptr->aincr - 1)) / dptr->aincr;
dptr             7253 src/simh/scp.c for (i = 0, j = addr; i < count; i++, j = j + dptr->aincr) {
dptr             7255 src/simh/scp.c     if (dptr->deposit != NULL) {
dptr             7256 src/simh/scp.c         r = dptr->deposit (sim_eval[i], j, uptr, sim_switches);
dptr             7267 src/simh/scp.c         sz = SZ_D (dptr);
dptr             7268 src/simh/scp.c         loc = j / dptr->aincr;
dptr             7293 src/simh/scp.c DEVICE *dptr = sim_dflt_dev;
dptr             7298 src/simh/scp.c GET_RADIX (rdx, dptr->dradix);
dptr             7303 src/simh/scp.c if ((r = parse_sym ((CONST char *)cptr, 0, dptr->units, sim_eval, sim_switches)) > 0) {
dptr             7304 src/simh/scp.c     sim_eval[0] = get_uint (cptr, rdx, width_mask[dptr->dwidth], &r);
dptr             7311 src/simh/scp.c     if ((r = fprint_sym (stdout, a, &sim_eval[i], dptr->units, sim_switches)) > 0)
dptr             7312 src/simh/scp.c         r = fprint_val (stdout, sim_eval[i], rdx, dptr->dwidth, PV_RZRO);
dptr             7314 src/simh/scp.c         if ((r = fprint_sym (sim_log, a, &sim_eval[i], dptr->units, sim_switches)) > 0)
dptr             7315 src/simh/scp.c             r = fprint_val (sim_log, sim_eval[i], rdx, dptr->dwidth, PV_RZRO);
dptr             7320 src/simh/scp.c     else a = a + dptr->aincr;
dptr             7321 src/simh/scp.c     i = a / dptr->aincr;
dptr             7583 src/simh/scp.c CONST char *get_range (DEVICE *dptr, CONST char *cptr, t_addr *lo, t_addr *hi,
dptr             7608 src/simh/scp.c             if (dptr && sim_vm_parse_addr)                      /* get low */
dptr             7609 src/simh/scp.c                 *lo = sim_vm_parse_addr (dptr, cptr, &tptr);
dptr             7618 src/simh/scp.c         if (dptr && sim_vm_parse_addr)                  /* get high */
dptr             7619 src/simh/scp.c             *hi = sim_vm_parse_addr (dptr, cptr, &tptr);
dptr             7843 src/simh/scp.c DEVICE *dptr;
dptr             7847 src/simh/scp.c for (i = 0; (dptr = sim_devices[i]) != NULL; i++) {
dptr             7848 src/simh/scp.c     if ((strcmp (cptr, dptr->name) == 0) ||
dptr             7849 src/simh/scp.c         (dptr->lname &&
dptr             7850 src/simh/scp.c         (strcmp (cptr, dptr->lname) == 0)))
dptr             7851 src/simh/scp.c         return dptr;
dptr             7853 src/simh/scp.c for (i = 0; sim_internal_device_count && (dptr = sim_internal_devices[i]); ++i) {
dptr             7854 src/simh/scp.c     if ((strcmp (cptr, dptr->name) == 0) ||
dptr             7855 src/simh/scp.c         (dptr->lname &&
dptr             7856 src/simh/scp.c         (strcmp (cptr, dptr->lname) == 0)))
dptr             7857 src/simh/scp.c         return dptr;
dptr             7879 src/simh/scp.c DEVICE *dptr;
dptr             7884 src/simh/scp.c if ((dptr = find_dev (cptr))) {                         /* exact match? */
dptr             7885 src/simh/scp.c     if (qdisable (dptr))                                /* disabled? */
dptr             7887 src/simh/scp.c     *uptr = dptr->units;                                /* unit 0 */
dptr             7888 src/simh/scp.c     return dptr;
dptr             7891 src/simh/scp.c for (i = 0; (dptr = sim_devices[i]) != NULL; i++) {     /* base + unit#? */
dptr             7892 src/simh/scp.c     if (qdisable (dptr))                                /* device disabled? */
dptr             7894 src/simh/scp.c     if (dptr->numunits && /* LINTED E_EQUALITY_NOT_ASSIGNMENT*/ /* any units? */
dptr             7895 src/simh/scp.c         (((nptr = dptr->name) &&
dptr             7897 src/simh/scp.c          ((nptr = dptr->lname) &&
dptr             7901 src/simh/scp.c             if (qdisable (dptr))                        /* disabled? */
dptr             7903 src/simh/scp.c             u = (uint32) get_uint (tptr, 10, dptr->numunits - 1, &r);
dptr             7907 src/simh/scp.c                 *uptr = dptr->units + u;
dptr             7908 src/simh/scp.c             return dptr;
dptr             7911 src/simh/scp.c     for (u = 0; u < dptr->numunits; u++) {
dptr             7912 src/simh/scp.c         if (0 == strcmp (cptr, sim_uname (&dptr->units[u]))) {
dptr             7913 src/simh/scp.c             *uptr = &dptr->units[u];
dptr             7914 src/simh/scp.c             return dptr;
dptr             7927 src/simh/scp.c t_stat sim_register_internal_device (DEVICE *dptr)
dptr             7932 src/simh/scp.c     if (sim_devices[i] == dptr)
dptr             7935 src/simh/scp.c     if (sim_internal_devices[i] == dptr)
dptr             7951 src/simh/scp.c sim_internal_devices[sim_internal_device_count-1] = dptr;
dptr             7966 src/simh/scp.c DEVICE *dptr;
dptr             7971 src/simh/scp.c for (i = 0; (dptr = sim_devices[i]) != NULL; i++) {
dptr             7972 src/simh/scp.c     for (j = 0; j < dptr->numunits; j++) {
dptr             7973 src/simh/scp.c         if (uptr == (dptr->units + j))
dptr             7974 src/simh/scp.c             return dptr;
dptr             7978 src/simh/scp.c     dptr = sim_internal_devices[i];
dptr             7979 src/simh/scp.c     for (j = 0; j < dptr->numunits; j++) {
dptr             7980 src/simh/scp.c         if (uptr == (dptr->units + j))
dptr             7981 src/simh/scp.c             return dptr;
dptr             7989 src/simh/scp.c t_bool qdisable (DEVICE *dptr)
dptr             7991 src/simh/scp.c return (dptr->flags & DEV_DIS? TRUE: FALSE);
dptr             8009 src/simh/scp.c DEVICE *dptr;
dptr             8013 src/simh/scp.c for (i = 0; (dptr = sim_devices[i]) != 0; i++) {        /* all dev */
dptr             8014 src/simh/scp.c     if (dptr->flags & DEV_DIS)                          /* skip disabled */
dptr             8016 src/simh/scp.c     if ((rptr = find_reg (cptr, optr, dptr))) {         /* found? */
dptr             8020 src/simh/scp.c         *gdptr = dptr;                                  /* save unit */
dptr             8037 src/simh/scp.c REG *find_reg (CONST char *cptr, CONST char **optr, DEVICE *dptr)
dptr             8043 src/simh/scp.c if ((cptr == NULL) || (dptr == NULL) || (dptr->registers == NULL))
dptr             8050 src/simh/scp.c for (rptr = dptr->registers; rptr->name != NULL; rptr++) {
dptr             9287 src/simh/scp.c DEVICE *dptr;
dptr             9294 src/simh/scp.c dptr = sim_dflt_dev;
dptr             9295 src/simh/scp.c if (dptr == NULL) {
dptr             9303 src/simh/scp.c             (st, dptr, loc);
dptr             9306 src/simh/scp.c             (st, loc, dptr->aradix, dptr->awidth, PV_LEFT); }
dptr             9330 src/simh/scp.c             sim_vm_fprint_addr (st, dptr, loc); }
dptr             9333 src/simh/scp.c             (st, loc, dptr->aradix, dptr->awidth, PV_LEFT); }
dptr             9741 src/simh/scp.c     sim_data_trace(exp->dptr, exp->dptr->units, (const uint8 *)match, "", strlen(match)+1, "Expect Match String", exp->dbit);
dptr             9788 src/simh/scp.c     sim_data_trace(exp->dptr, exp->dptr->units, (const uint8 *)match, "", strlen(match)+1, "Expect Match String", exp->dbit);
dptr             9872 src/simh/scp.c if (exp->dptr && exp->dbit)
dptr             9874 src/simh/scp.c                    sim_dname(exp->dptr), exp->dptr->debflags ? "=" : "",
dptr             9875 src/simh/scp.c                    exp->dptr->debflags ? get_dbg_verb (exp->dbit, exp->dptr) : "");
dptr             9931 src/simh/scp.c                 if (sim_deb && exp->dptr && (exp->dptr->dctrl & exp->dbit)) {
dptr             9935 src/simh/scp.c                     sim_debug (exp->dbit, exp->dptr, "Checking String[0:%lld]: %s\n",
dptr             9937 src/simh/scp.c                     sim_debug (exp->dbit, exp->dptr, "Against Match Data: %s\n", mstr);
dptr             9944 src/simh/scp.c             if (sim_deb && exp->dptr && (exp->dptr->dctrl & exp->dbit)) {
dptr             9948 src/simh/scp.c                 sim_debug (exp->dbit, exp->dptr, "Checking String[%lld:%lld]: %s\n",
dptr             9951 src/simh/scp.c                 sim_debug (exp->dbit, exp->dptr, "Against Match Data: %s\n", mstr);
dptr             9960 src/simh/scp.c             if (sim_deb && exp->dptr && (exp->dptr->dctrl & exp->dbit)) {
dptr             9964 src/simh/scp.c                 sim_debug (exp->dbit, exp->dptr, "Checking String[%lld:%lld]: %s\n",
dptr             9967 src/simh/scp.c                 sim_debug (exp->dbit, exp->dptr, "Against Match Data: %s\n", mstr);
dptr             9979 src/simh/scp.c         sim_debug (exp->dbit, exp->dptr, "Buffer wrapping\n");
dptr             9982 src/simh/scp.c     sim_debug (exp->dbit, exp->dptr, "Matched expect pattern!\n");
dptr             9985 src/simh/scp.c         sim_debug (exp->dbit, exp->dptr, "Waiting for %lld more match%s before stopping\n",
dptr             9992 src/simh/scp.c             sim_debug (exp->dbit, exp->dptr, "Initiating actions: %s\n", ep->act);
dptr             9995 src/simh/scp.c             sim_debug (exp->dbit, exp->dptr, "No actions specified, stopping...\n");
dptr             10090 src/simh/scp.c if (snd->dptr && snd->dbit)
dptr             10092 src/simh/scp.c                    sim_dname(snd->dptr), snd->dptr->debflags ? "=" : "",
dptr             10093 src/simh/scp.c                    snd->dptr->debflags ? get_dbg_verb (snd->dbit, snd->dptr) : "");
dptr             10107 src/simh/scp.c         sim_debug (snd->dbit, snd->dptr, "Too soon to inject next byte\n");
dptr             10115 src/simh/scp.c         sim_debug (snd->dbit, snd->dptr, "Byte value: 0x%02X%s injected\n", *stat & 0xFF, dstr);
dptr             10173 src/simh/scp.c static const char *get_dbg_verb (uint32 dbits, DEVICE* dptr)
dptr             10180 src/simh/scp.c if (dptr->debflags == 0)
dptr             10183 src/simh/scp.c dbits &= dptr->dctrl;                           /* Look for just the bits that matched */
dptr             10187 src/simh/scp.c while ((offset < 32) && dptr->debflags[offset].name) {
dptr             10188 src/simh/scp.c     if (dptr->debflags[offset].mask == dbits)   /* All Bits Match */
dptr             10189 src/simh/scp.c         return dptr->debflags[offset].name;
dptr             10190 src/simh/scp.c     if (dptr->debflags[offset].mask & dbits)
dptr             10191 src/simh/scp.c         some_match = dptr->debflags[offset].name;
dptr             10199 src/simh/scp.c static const char *sim_debug_prefix (uint32 dbits, DEVICE* dptr)
dptr             10201 src/simh/scp.c const char* debug_type = get_dbg_verb (dbits, dptr);
dptr             10238 src/simh/scp.c               "", dptr->name, debug_type);
dptr             10286 src/simh/scp.c void sim_debug_bits_hdr(uint32 dbits, DEVICE* dptr, const char *header,
dptr             10289 src/simh/scp.c if (sim_deb && dptr && (dptr->dctrl & dbits)) {
dptr             10291 src/simh/scp.c         (void)fprintf(sim_deb, "%s", sim_debug_prefix(dbits, dptr));         /* print prefix if required */
dptr             10300 src/simh/scp.c void sim_debug_bits(uint32 dbits, DEVICE* dptr, BITFIELD* bitdefs,
dptr             10303 src/simh/scp.c sim_debug_bits_hdr(dbits, dptr, NULL, bitdefs, before, after, terminate);
dptr             10436 src/simh/scp.c DEVICE *dptr = (DEVICE *)vdptr;
dptr             10437 src/simh/scp.c if (sim_deb && dptr && (dbits == 0 || (dptr->dctrl & dbits))) {
dptr             10443 src/simh/scp.c     const char* debug_prefix = sim_debug_prefix(dbits, dptr);   /* prefix to print if required */
dptr             10502 src/simh/scp.c void sim_data_trace(DEVICE *dptr, UNIT *uptr, const uint8 *data, const char *position, size_t len, const char *txt, uint32 reason)
dptr             10507 src/simh/scp.c if (sim_deb && (dptr->dctrl & reason)) {
dptr             10508 src/simh/scp.c     sim_debug (reason, dptr, "%s %s %slen: %08X\n", sim_uname(uptr), txt, position, (unsigned int)len);
dptr             10555 src/simh/scp.c                 sim_debug (reason, dptr, "%04lx thru %04lx same as above\n",
dptr             10600 src/simh/scp.c             sim_debug (reason, dptr, "%04lx%-48s %s%s%s\n", i, outbuf, strbuf, ebcdicbuf, rad50buf);
dptr             10603 src/simh/scp.c             sim_debug (reason, dptr, "%04lx thru %04lx same as above\n", i-(16*same), (long unsigned int)(len-1));
dptr             10717 src/simh/scp.c static TOPIC *buildHelp (TOPIC *topic, DEVICE *dptr,
dptr             10775 src/simh/scp.c                             if (dptr) {
dptr             10777 src/simh/scp.c                                 n = uptr? uptr - dptr->units: 0;
dptr             10778 src/simh/scp.c                                 (void)sprintf (buf, "%s%u", dptr->name, (int)n);
dptr             10783 src/simh/scp.c                             if (dptr != NULL)
dptr             10784 src/simh/scp.c                                 appendText (topic, dptr->name, strlen (dptr->name));
dptr             11034 src/simh/scp.c static void displayMagicTopic (FILE *st, DEVICE *dptr, TOPIC *topic)
dptr             11067 src/simh/scp.c       fprint_reg_help (tmp, dptr) ;
dptr             11072 src/simh/scp.c           fprint_set_help (tmp, dptr);
dptr             11077 src/simh/scp.c               fprint_show_help (tmp, dptr);
dptr             11105 src/simh/scp.c static t_stat displayFlatHelp (FILE *st, DEVICE *dptr,
dptr             11113 src/simh/scp.c     displayMagicTopic (st, dptr, topic);
dptr             11127 src/simh/scp.c     displayFlatHelp (st, dptr, uptr, flag, topic->children[i], ap);
dptr             11170 src/simh/scp.c t_stat scp_vhelp (FILE *st, DEVICE *dptr,
dptr             11212 src/simh/scp.c if (dptr) {
dptr             11213 src/simh/scp.c     p = dptr->name;
dptr             11214 src/simh/scp.c     flat_help = (dptr->flags & DEV_FLATHELP) != 0;
dptr             11266 src/simh/scp.c (void) buildHelp (&top, dptr, uptr, help, ap);
dptr             11281 src/simh/scp.c         if (dptr)
dptr             11282 src/simh/scp.c             displayFlatHelp (st, dptr, uptr, flag, topic, ap);
dptr             11299 src/simh/scp.c     displayFlatHelp (st, dptr, uptr, flag, topic, ap);
dptr             11314 src/simh/scp.c         displayMagicTopic (st, dptr, topic);
dptr             11377 src/simh/scp.c         displayFlatHelp (st, dptr, uptr, flag, topic, ap);
dptr             11428 src/simh/scp.c t_stat scp_help (FILE *st, DEVICE *dptr,
dptr             11436 src/simh/scp.c r = scp_vhelp (st, dptr, uptr, flag, help, cptr, ap);
dptr              129 src/simh/scp.h t_stat assign_device (DEVICE *dptr, const char *cptr);
dptr              130 src/simh/scp.h t_stat deassign_device (DEVICE *dptr);
dptr              133 src/simh/scp.h const char *sim_dname (DEVICE *dptr);
dptr              134 src/simh/scp.h const char *sim_uname (UNIT *dptr);
dptr              149 src/simh/scp.h CONST char *get_range (DEVICE *dptr, CONST char *cptr, t_addr *lo, t_addr *hi,
dptr              159 src/simh/scp.h const char *sprint_capac (DEVICE *dptr, UNIT *uptr);
dptr              161 src/simh/scp.h void fprint_reg_help (FILE *st, DEVICE *dptr);
dptr              162 src/simh/scp.h void fprint_set_help (FILE *st, DEVICE *dptr);
dptr              163 src/simh/scp.h void fprint_show_help (FILE *st, DEVICE *dptr);
dptr              168 src/simh/scp.h t_stat sim_register_internal_device (DEVICE *dptr);
dptr              170 src/simh/scp.h REG *find_reg (CONST char *ptr, CONST char **optr, DEVICE *dptr);
dptr              174 src/simh/scp.h t_stat get_aval (t_addr addr, DEVICE *dptr, UNIT *uptr);
dptr              193 src/simh/scp.h t_stat show_version (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              194 src/simh/scp.h t_stat set_dev_debug (DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              195 src/simh/scp.h t_stat show_dev_debug (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              200 src/simh/scp.h void sim_data_trace(DEVICE *dptr, UNIT *uptr, const uint8 *data, const char *position, size_t len, const char *txt, uint32 reason);
dptr              201 src/simh/scp.h void sim_debug_bits_hdr (uint32 dbits, DEVICE* dptr, const char *header,
dptr              203 src/simh/scp.h void sim_debug_bits (uint32 dbits, DEVICE* dptr, BITFIELD* bitdefs,
dptr              205 src/simh/scp.h void _sim_debug (uint32 dbits, DEVICE* dptr, const char *fmt, ...) GCC_FMT_ATTR(3, 4);
dptr              206 src/simh/scp.h # define sim_debug(dbits, dptr, ...)                                           \
dptr              208 src/simh/scp.h          if ((sim_deb != NULL) && ((dptr != NULL) && ((dptr)->dctrl & dbits))) \
dptr              209 src/simh/scp.h          _sim_debug (dbits, dptr, __VA_ARGS__);                                \
dptr              212 src/simh/scp.h void fprint_stopped_gen (FILE *st, t_stat v, REG *pc, DEVICE *dptr);
dptr              216 src/simh/scp.h t_stat scp_help (FILE *st, DEVICE *dptr,
dptr              218 src/simh/scp.h t_stat scp_vhelp (FILE *st, DEVICE *dptr,
dptr              220 src/simh/scp.h t_stat scp_helpFromFile (FILE *st, DEVICE *dptr,
dptr              222 src/simh/scp.h t_stat scp_vhelpFromFile (FILE *st, DEVICE *dptr,
dptr              284 src/simh/scp.h extern void (*sim_vm_sprint_addr) (char *buf, DEVICE *dptr, t_addr addr);
dptr              285 src/simh/scp.h extern void (*sim_vm_fprint_addr) (FILE *st, DEVICE *dptr, t_addr addr);
dptr              286 src/simh/scp.h extern t_addr (*sim_vm_parse_addr) (DEVICE *dptr, CONST char *cptr, CONST char **tptr);
dptr              138 src/simh/sim_console.c static t_stat sim_con_reset (DEVICE *dptr);                 /* console reset routine */
dptr              206 src/simh/sim_console.c static t_stat sim_con_reset (DEVICE *dptr)
dptr              208 src/simh/sim_console.c return sim_con_poll_svc (&dptr->units[0]);              /* establish polling as needed */
dptr              308 src/simh/sim_console.c t_stat sim_show_console (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr              316 src/simh/sim_console.c         show_con_tab[i].action (st, dptr, uptr, show_con_tab[i].arg, cptr);
dptr              322 src/simh/sim_console.c          shptr->action (st, dptr, uptr, shptr->arg, NULL);
dptr              330 src/simh/sim_console.c t_stat sim_rem_con_reset (DEVICE *dptr);                /* remote console reset routine */
dptr              397 src/simh/sim_console.c t_stat sim_show_remote_console (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             1054 src/simh/sim_console.c t_stat sim_rem_con_reset (DEVICE *dptr)
dptr             1063 src/simh/sim_console.c         sim_activate_after (&dptr->units[1], 100000);   /* continue polling for open sessions */
dptr             1064 src/simh/sim_console.c     return sim_rem_con_poll_svc (&dptr->units[0]);      /* establish polling as needed */
dptr             1244 src/simh/sim_console.c DEVICE *dptr = sim_devices[0];
dptr             1250 src/simh/sim_console.c if (dptr->dradix == 16) rdx = 16;
dptr             1262 src/simh/sim_console.c t_stat sim_show_kmap (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             1274 src/simh/sim_console.c DEVICE *dptr = sim_devices[0];
dptr             1280 src/simh/sim_console.c if (dptr->dradix == 16) rdx = 16;
dptr             1297 src/simh/sim_console.c t_stat sim_show_cons_speed (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             1354 src/simh/sim_console.c t_stat sim_show_log (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             1457 src/simh/sim_console.c t_stat sim_show_debug (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr             1474 src/simh/sim_console.c     for (i = 0; (dptr = sim_devices[i]) != NULL; i++) {
dptr             1475 src/simh/sim_console.c         if (!(dptr->flags & DEV_DIS) &&
dptr             1476 src/simh/sim_console.c             (dptr->flags & DEV_DEBUG) &&
dptr             1477 src/simh/sim_console.c             (dptr->dctrl)) {
dptr             1478 src/simh/sim_console.c             fprintf (st, "Device: %-6s ", dptr->name);
dptr             1479 src/simh/sim_console.c             show_dev_debug (st, dptr, NULL, 0, NULL);
dptr             1482 src/simh/sim_console.c     for (i = 0; sim_internal_device_count && (dptr = sim_internal_devices[i]); ++i) {
dptr             1483 src/simh/sim_console.c         if (!(dptr->flags & DEV_DIS) &&
dptr             1484 src/simh/sim_console.c             (dptr->flags & DEV_DEBUG) &&
dptr             1485 src/simh/sim_console.c             (dptr->dctrl)) {
dptr             1486 src/simh/sim_console.c             fprintf (st, "Device: %-6s ", dptr->name);
dptr             1487 src/simh/sim_console.c             show_dev_debug (st, dptr, NULL, 0, NULL);
dptr             1830 src/simh/sim_console.c t_stat sim_show_cons_send_input (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr               95 src/simh/sim_console.h t_stat sim_show_console (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr               96 src/simh/sim_console.h t_stat sim_show_remote_console (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr               97 src/simh/sim_console.h t_stat sim_show_kmap (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr               98 src/simh/sim_console.h t_stat sim_show_telnet (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr               99 src/simh/sim_console.h t_stat sim_show_log (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              100 src/simh/sim_console.h t_stat sim_show_debug (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              101 src/simh/sim_console.h t_stat sim_show_pchar (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              102 src/simh/sim_console.h t_stat sim_show_cons_speed (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              103 src/simh/sim_console.h t_stat sim_show_cons_buff (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              104 src/simh/sim_console.h t_stat sim_show_cons_log (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              105 src/simh/sim_console.h t_stat sim_show_cons_expect (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              112 src/simh/sim_console.h t_stat sim_show_cons_send_input (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              364 src/simh/sim_defs.h     t_stat              (*help)(FILE *st, DEVICE *dptr,
dptr              367 src/simh/sim_defs.h     t_stat              (*attach_help)(FILE *st, DEVICE *dptr,
dptr              371 src/simh/sim_defs.h     const char          *(*description)(DEVICE *dptr);  /* Device Description */
dptr              407 src/simh/sim_defs.h # define DEV_TYPE(dptr)  ((dptr)->flags & DEV_TYPEMASK)
dptr              544 src/simh/sim_defs.h     t_stat              (*action)(DEVICE *dptr, UNIT *uptr,
dptr              552 src/simh/sim_defs.h     t_stat              (*action)(FILE *st, DEVICE *dptr,
dptr              642 src/simh/sim_defs.h     DEVICE              *dptr;                           /* Device (for Debug) */
dptr              657 src/simh/sim_defs.h     DEVICE              *dptr;                           /* Device (for Debug) */
dptr               89 src/simh/sim_disk.c     DEVICE              *dptr;              /* Device for unit (access to debug flags) */
dptr              158 src/simh/sim_disk.c DEVICE *dptr = find_dev_from_unit (uptr);
dptr              167 src/simh/sim_disk.c uptr->capac = (t_addr)((cap * ((t_offset) 1000000))/((dptr->flags & DEV_SECTORS) ? 512 : 1));
dptr              176 src/simh/sim_disk.c DEVICE *dptr = find_dev_from_unit (uptr);
dptr              177 src/simh/sim_disk.c t_offset capac = ((t_offset)uptr->capac)*((dptr->flags & DEV_SECTORS) ? 512 : 1);
dptr              179 src/simh/sim_disk.c if ((dptr->dwidth / dptr->aincr) == 16)
dptr              245 src/simh/sim_disk.c sim_debug (ctx->dbit, ctx->dptr, "_sim_disk_rdsect(unit=%lu, lba=0x%X, sects=%lu)\n",
dptr              246 src/simh/sim_disk.c            (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects);
dptr              270 src/simh/sim_disk.c sim_debug (ctx->dbit, ctx->dptr, "sim_disk_rdsect(unit=%lu, lba=0x%X, sects=%lu)\n",
dptr              271 src/simh/sim_disk.c            (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects);
dptr              274 src/simh/sim_disk.c     (lba >= (uptr->capac*ctx->capac_factor)/(ctx->sector_size/((ctx->dptr->flags & DEV_SECTORS) ? 512 : 1)))) {
dptr              347 src/simh/sim_disk.c sim_debug (ctx->dbit, ctx->dptr, "_sim_disk_wrsect(unit=%lu, lba=0x%X, sects=%lu)\n",
dptr              348 src/simh/sim_disk.c            (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects);
dptr              371 src/simh/sim_disk.c sim_debug (ctx->dbit, ctx->dptr, "sim_disk_wrsect(unit=%lu, lba=0x%X, sects=%lu)\n",
dptr              372 src/simh/sim_disk.c            (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects);
dptr              375 src/simh/sim_disk.c     DEVICE *dptr = find_dev_from_unit (uptr);
dptr              376 src/simh/sim_disk.c     uint32 capac_factor = ((dptr->dwidth / dptr->aincr) == 16) ? 2 : 1; /* capacity units (word: 2, byte: 1) */
dptr              377 src/simh/sim_disk.c     t_lba total_sectors = (t_lba)((uptr->capac*capac_factor)/(ctx->sector_size/((dptr->flags & DEV_SECTORS) ? 512 : 1)));
dptr              391 src/simh/sim_disk.c             uint32 save_dctrl = dptr->dctrl;
dptr              395 src/simh/sim_disk.c                         sim_dname (dptr), (unsigned long)(uptr-dptr->units),
dptr              398 src/simh/sim_disk.c             dptr->dctrl = 0xFFFFFFFF;
dptr              401 src/simh/sim_disk.c             dptr->dctrl = save_dctrl;
dptr              659 src/simh/sim_disk.c DEVICE *dptr;
dptr              671 src/simh/sim_disk.c if ((dptr = find_dev_from_unit (uptr)) == NULL)
dptr              673 src/simh/sim_disk.c capac_factor = ((dptr->dwidth / dptr->aincr) == 16) ? 2 : 1; /* save capacity units (word: 2, byte: 1) */
dptr              676 src/simh/sim_disk.c uptr->capac = (t_addr)(temp_capac/(capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1)));
dptr              733 src/simh/sim_disk.c                 sim_dname (dptr), (unsigned long)(uptr-dptr->units), uptr->filename, (unsigned long)Home.hm2_b_struclev);
dptr              735 src/simh/sim_disk.c                 sim_dname (dptr), (unsigned long)(uptr-dptr->units), Home.hm2_t_volname);
dptr              752 src/simh/sim_disk.c DEVICE *dptr;
dptr              765 src/simh/sim_disk.c if ((dptr = find_dev_from_unit (uptr)) == NULL)
dptr              816 src/simh/sim_disk.c ctx->capac_factor = ((dptr->dwidth / dptr->aincr) == 16) ? 2 : 1; /* save capacity units (word: 2, byte: 1) */
dptr              818 src/simh/sim_disk.c ctx->dptr = dptr;                                       /* save DEVICE pointer */
dptr              820 src/simh/sim_disk.c sim_debug (ctx->dbit, ctx->dptr, "sim_disk_attach(unit=%lu,filename='%s')\n",
dptr              821 src/simh/sim_disk.c            (unsigned long)(uptr-ctx->dptr->units), uptr->filename);
dptr              834 src/simh/sim_disk.c         sim_printf ("%s%lu: unit is read only (%s)\n", sim_dname (dptr),
dptr              835 src/simh/sim_disk.c                     (unsigned long)(uptr-dptr->units), cptr);
dptr              849 src/simh/sim_disk.c                 sim_printf ("%s%lu: unit is read only (%s)\n", sim_dname (dptr),
dptr              850 src/simh/sim_disk.c                             (unsigned long)(uptr-dptr->units), cptr);
dptr              857 src/simh/sim_disk.c                                                  ((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1));
dptr              863 src/simh/sim_disk.c                 sim_printf ("%s%lu: creating new file (%s)\n", sim_dname (dptr),
dptr              864 src/simh/sim_disk.c                             (unsigned long)(uptr-dptr->units), cptr);
dptr              883 src/simh/sim_disk.c                              (t_lba)(((((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1)) - \
dptr              896 src/simh/sim_disk.c         uint32 capac_factor = ((dptr->dwidth / dptr->aincr) == 16) ? 2 : 1; /* capacity units (word: 2, byte: 1) */
dptr              898 src/simh/sim_disk.c         t_lba total_sectors = (t_lba)((uptr->capac*capac_factor)/(sector_size/((dptr->flags & DEV_SECTORS) ? 512 : 1)));
dptr              924 src/simh/sim_disk.c                             sim_dname (dptr), (unsigned long)(uptr-dptr->units),
dptr              930 src/simh/sim_disk.c                         sim_dname (dptr), (unsigned long)(uptr-dptr->units),
dptr              939 src/simh/sim_disk.c     uint32 capac_factor = ((dptr->dwidth / dptr->aincr) == 16) ? 2 : 1; /* capacity units (word: 2, byte: 1) */
dptr              941 src/simh/sim_disk.c     t_lba total_sectors = (t_lba)((uptr->capac*capac_factor)/(sector_size/((dptr->flags & DEV_SECTORS) ? 512 : 1)));
dptr              966 src/simh/sim_disk.c                     uint32 save_dctrl = dptr->dctrl;
dptr              969 src/simh/sim_disk.c                     sim_printf ("\n%s%lu: Verification Error on lbn %lu(0x%X) of %lu(0x%X).\n", sim_dname (dptr),
dptr              970 src/simh/sim_disk.c                                 (unsigned long)(uptr-dptr->units),
dptr              975 src/simh/sim_disk.c                     dptr->dctrl = 0xFFFFFFFF;
dptr              979 src/simh/sim_disk.c                     dptr->dctrl = save_dctrl;
dptr              986 src/simh/sim_disk.c                         sim_dname (dptr), (unsigned long)(uptr-dptr->units),
dptr              992 src/simh/sim_disk.c                     sim_dname (dptr), (unsigned long)(uptr-dptr->units),
dptr             1005 src/simh/sim_disk.c             (filesystem_capac > (((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1)))) {
dptr             1007 src/simh/sim_disk.c                 uptr->capac = (t_addr)(filesystem_capac/(ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1)));
dptr             1009 src/simh/sim_disk.c                             sim_dname (dptr), (unsigned long)(uptr-dptr->units), cptr, sprint_capac (dptr, uptr));
dptr             1011 src/simh/sim_disk.c                 sim_printf ("%s)\n", sprint_capac (dptr, uptr));
dptr             1016 src/simh/sim_disk.c         if ((capac < (((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1))) && \
dptr             1019 src/simh/sim_disk.c                 uptr->capac = (t_addr)(capac/(ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1)));
dptr             1021 src/simh/sim_disk.c                             sim_dname (dptr), (unsigned long)(uptr-dptr->units), cptr, sprint_capac (dptr, uptr));
dptr             1023 src/simh/sim_disk.c                 sim_printf ("%s)\n", sprint_capac (dptr, uptr));
dptr             1033 src/simh/sim_disk.c         if ((capac > (((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1))) ||
dptr             1035 src/simh/sim_disk.c             uptr->capac = (t_addr)(capac/(ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1)));
dptr             1093 src/simh/sim_disk.c t_stat sim_disk_attach_help(FILE *st, DEVICE *dptr, const UNIT *uptr, int32 flag, const char *cptr)
dptr             1095 src/simh/sim_disk.c fprintf (st, "%s Disk Attach Help\n\n", dptr->name);
dptr             1100 src/simh/sim_disk.c if (0 == (uptr-dptr->units)) {
dptr             1101 src/simh/sim_disk.c     if (dptr->numunits > 1) {
dptr             1104 src/simh/sim_disk.c         for (i=0; i < dptr->numunits; ++i)
dptr             1105 src/simh/sim_disk.c             if (dptr->units[i].flags & UNIT_ATTABLE)
dptr             1106 src/simh/sim_disk.c                 fprintf (st, "  sim> ATTACH {switches} %s%lu diskfile\n", dptr->name, (unsigned long)i);
dptr             1109 src/simh/sim_disk.c         fprintf (st, "  sim> ATTACH {switches} %s diskfile\n", dptr->name);
dptr             1112 src/simh/sim_disk.c     fprintf (st, "  sim> ATTACH {switches} %s diskfile\n\n", dptr->name);
dptr             1113 src/simh/sim_disk.c fprintf (st, "\n%s attach command switches\n", dptr->name);
dptr             1138 src/simh/sim_disk.c sim_debug (ctx->dbit, ctx->dptr, "sim_disk_reset(unit=%lu)\n", (unsigned long)(uptr-ctx->dptr->units));
dptr             1179 src/simh/sim_disk.c if (sim_deb && (ctx->dptr->dctrl & reason)) {
dptr             1183 src/simh/sim_disk.c     sim_data_trace(ctx->dptr, uptr, (detail ? data : NULL), pos, len, txt, reason);
dptr               73 src/simh/sim_disk.h t_stat sim_disk_attach_help(FILE *st, DEVICE *dptr, const UNIT *uptr, int32 flag, const char *cptr);
dptr              109 src/simh/sim_fio.c unsigned char by, *sptr, *dptr;
dptr              113 src/simh/sim_fio.c for (j = 0, dptr = sptr = (unsigned char *) bptr;       /* loop on items */
dptr              117 src/simh/sim_fio.c         *sptr++ = *(dptr + k);
dptr              118 src/simh/sim_fio.c         *(dptr + k) = by;
dptr              120 src/simh/sim_fio.c     sptr = dptr = dptr + size;                          /* next item */
dptr              142 src/simh/sim_fio.c unsigned char *dptr = (unsigned char *)dbuf;
dptr              145 src/simh/sim_fio.c     memcpy (dptr, sptr, size * count);
dptr              154 src/simh/sim_fio.c         *(dptr + --k) = *sptr++;
dptr              155 src/simh/sim_fio.c     dptr = dptr + size;
dptr               61 src/simh/sim_fio.h void sim_buf_copy_swapped (void *dptr, const void *bptr, size_t size, size_t count);
dptr              118 src/simh/sim_tape.c     DEVICE              *dptr;              /* Device for unit (access to debug flags) */
dptr              137 src/simh/sim_tape.c DEVICE *dptr;
dptr              139 src/simh/sim_tape.c if ((dptr = find_dev_from_unit (uptr)) == NULL)
dptr              141 src/simh/sim_tape.c return sim_tape_attach_ex (uptr, cptr, (dptr->flags & DEV_DEBUG) ? 0xFFFFFFFF : 0, 0);
dptr              148 src/simh/sim_tape.c DEVICE *dptr;
dptr              153 src/simh/sim_tape.c if ((dptr = find_dev_from_unit (uptr)) == NULL)
dptr              217 src/simh/sim_tape.c ctx->dptr = dptr;                                       /* save DEVICE pointer */
dptr              276 src/simh/sim_tape.c t_stat sim_tape_attach_help(FILE *st, DEVICE *dptr, const UNIT *uptr, int32 flag, const char *cptr)
dptr              278 src/simh/sim_tape.c fprintf (st, "%s Tape Attach Help\n\n", dptr->name);
dptr              279 src/simh/sim_tape.c if (0 == (uptr-dptr->units)) {
dptr              280 src/simh/sim_tape.c     if (dptr->numunits > 1) {
dptr              283 src/simh/sim_tape.c         for (i=0; i < dptr->numunits; ++i)
dptr              284 src/simh/sim_tape.c             if (dptr->units[i].flags & UNIT_ATTABLE)
dptr              285 src/simh/sim_tape.c                 fprintf (st, "  sim> ATTACH {switches} %s%lu tapefile\n\n", dptr->name, (unsigned long)i);
dptr              288 src/simh/sim_tape.c         fprintf (st, "  sim> ATTACH {switches} %s tapefile\n\n", dptr->name);
dptr              291 src/simh/sim_tape.c     fprintf (st, "  sim> ATTACH {switches} %s tapefile\n\n", dptr->name);
dptr              307 src/simh/sim_tape.c if (sim_deb && (ctx->dptr->dctrl & reason))
dptr              308 src/simh/sim_tape.c     sim_data_trace(ctx->dptr, uptr, (detail ? data : NULL), "", len, txt, reason);
dptr              575 src/simh/sim_tape.c sim_debug (MTSE_DBG_STR, ctx->dptr, "rd_lnt: st: %lld, lnt: %lld, pos: %" T_ADDR_FMT "u\n",
dptr              761 src/simh/sim_tape.c sim_debug (MTSE_DBG_STR, ctx->dptr, "rd_lnt: st: %lld, lnt: %lld, pos: %" T_ADDR_FMT "u\n",
dptr              797 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_rdrecf(unit=%d, buf=%p, max=%lld)\n",
dptr              798 src/simh/sim_tape.c            (int)(uptr-ctx->dptr->units), buf, (long long)max);
dptr              819 src/simh/sim_tape.c sim_tape_data_trace(uptr, buf, rbc, "Record Read", ctx->dptr->dctrl & MTSE_DBG_DAT, MTSE_DBG_STR);
dptr              861 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_rdrecr(unit=%d, buf=%p, max=%lld)\n",
dptr              862 src/simh/sim_tape.c            (int)(uptr-ctx->dptr->units), buf, (long long)max);
dptr              876 src/simh/sim_tape.c sim_tape_data_trace(uptr, buf, rbc, "Record Read Reverse", ctx->dptr->dctrl & MTSE_DBG_DAT, MTSE_DBG_STR);
dptr              912 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wrrecf(unit=%d, buf=%p, bc=%lld)\n",
dptr              913 src/simh/sim_tape.c            (int)(uptr-ctx->dptr->units), buf, (long long)bc);
dptr              915 src/simh/sim_tape.c sim_tape_data_trace(uptr, buf, bc, "Record Write", ctx->dptr->dctrl & MTSE_DBG_DAT, MTSE_DBG_STR);
dptr              952 src/simh/sim_tape.c sim_tape_data_trace(uptr, buf, sbc, "Record Written", ctx->dptr->dctrl & MTSE_DBG_DAT, MTSE_DBG_STR);
dptr              982 src/simh/sim_tape.c sim_debug (MTSE_DBG_STR, ctx->dptr, "wr_lnt: lnt: %lld, pos: %" T_ADDR_FMT "u\n",
dptr              996 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wrtmk(unit=%d)\n", (int)(uptr-ctx->dptr->units));
dptr             1020 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wreom(unit=%d)\n", (int)(uptr-ctx->dptr->units));
dptr             1048 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wreomrw(unit=%d)\n", (int)(uptr-ctx->dptr->units));
dptr             1179 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wrgap(unit=%d, gaplen=%u)\n", (int)(uptr-ctx->dptr->units), gaplen);
dptr             1346 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_sprecf(unit=%d)\n", (int)(uptr-ctx->dptr->units));
dptr             1387 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_sprecsf(unit=%d, count=%lld)\n",
dptr             1388 src/simh/sim_tape.c            (int)(uptr-ctx->dptr->units), (long long)count);
dptr             1433 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_sprecr(unit=%d)\n", (int)(uptr-ctx->dptr->units));
dptr             1480 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_sprecsr(unit=%d, count=%lld)\n",
dptr             1481 src/simh/sim_tape.c            (int)(uptr-ctx->dptr->units), (long long)count);
dptr             1530 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_spfilebyrecf(unit=%d, count=%lld, check_leot=%lld)\n",
dptr             1531 src/simh/sim_tape.c            (int)(uptr-ctx->dptr->units), (long long)count, (long long)check_leot);
dptr             1601 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_spfilef(unit=%d, count=%lld)\n",
dptr             1602 src/simh/sim_tape.c            (int)(uptr-ctx->dptr->units), (long long)count);
dptr             1645 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_spfilebyrecr(unit=%d, count=%lld)\n",
dptr             1646 src/simh/sim_tape.c            (int)(uptr-ctx->dptr->units), (long long)count);
dptr             1697 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_spfiler(unit=%d, count=%lld)\n",
dptr             1698 src/simh/sim_tape.c            (int)(uptr-ctx->dptr->units), (long long)count);
dptr             1719 src/simh/sim_tape.c     sim_debug (ctx->dbit, ctx->dptr, "sim_tape_rewind(unit=%d)\n", (int)(uptr-ctx->dptr->units));
dptr             1743 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_position(unit=%d, flags=0x%X, recs=%lld, files=%lld)\n",
dptr             1744 src/simh/sim_tape.c            (int)(uptr-ctx->dptr->units), flags, (long long)recs, (long long)files);
dptr             1810 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_reset(unit=%d)\n", (int)(uptr-ctx->dptr->units));
dptr             1894 src/simh/sim_tape.c DEVICE *dptr = find_dev_from_unit (uptr);
dptr             1925 src/simh/sim_tape.c sim_debug (MTSE_DBG_STR, dptr, "tpc_map: tape_size: %" T_ADDR_FMT "u\n", tape_size);
dptr             1937 src/simh/sim_tape.c         sim_debug (MTSE_DBG_STR, dptr, "tpc_map: %lld byte count at pos: %" T_ADDR_FMT "u\n",
dptr             1939 src/simh/sim_tape.c         if (sim_deb && (dptr->dctrl & MTSE_DBG_STR)) {
dptr             1941 src/simh/sim_tape.c             sim_data_trace(dptr, uptr, ((dptr->dctrl & MTSE_DBG_DAT) ? recbuf : NULL), "", bc, "Data Record", MTSE_DBG_STR);
dptr             1945 src/simh/sim_tape.c         sim_debug (MTSE_DBG_STR, dptr, "tpc_map: tape mark at pos: %" T_ADDR_FMT "u\n", tpos);
dptr             1954 src/simh/sim_tape.c sim_debug (MTSE_DBG_STR, dptr, "tpc_map: objc: %u, different record sizes: %u\n", objc, sizec);
dptr             1958 src/simh/sim_tape.c             sim_debug (MTSE_DBG_STR, dptr, "tpc_map: summary - %u tape marks\n",
dptr             1961 src/simh/sim_tape.c             sim_debug (MTSE_DBG_STR, dptr, "tpc_map: summary - %u %d byte record%s\n",
dptr             1972 src/simh/sim_tape.c         sim_debug (MTSE_DBG_STR, dptr,
dptr             1976 src/simh/sim_tape.c         sim_debug (MTSE_DBG_STR, dptr,
dptr             1980 src/simh/sim_tape.c         sim_debug (MTSE_DBG_STR, dptr,
dptr             1988 src/simh/sim_tape.c     sim_debug (MTSE_DBG_STR, dptr,
dptr             1996 src/simh/sim_tape.c sim_debug (MTSE_DBG_STR, dptr, "tpc_map: OK objc: %lld\n", (long long)objc);
dptr              159 src/simh/sim_tape.h t_stat sim_tape_attach_help(FILE *st, DEVICE *dptr, const UNIT *uptr, int32 flag, const char *cptr);
dptr              478 src/simh/sim_timer.c t_stat sim_show_timers (FILE* st, DEVICE *dptr, UNIT* uptr, int32 val, CONST char* desc)
dptr              578 src/simh/sim_timer.c t_stat sim_show_clock_queues (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr)
dptr              592 src/simh/sim_timer.c             if ((dptr = find_dev_from_unit (uptr)) != NULL) { //-V763
dptr              593 src/simh/sim_timer.c                 fprintf (st, "  %s", sim_dname (dptr));
dptr              594 src/simh/sim_timer.c                 if (dptr->numunits > 1)
dptr              595 src/simh/sim_timer.c                     fprintf (st, " unit %d", (int32) (uptr - dptr->units));
dptr              643 src/simh/sim_timer.c static t_stat sim_timer_clock_reset (DEVICE *dptr);
dptr              826 src/simh/sim_timer.c static t_stat sim_timer_clock_reset (DEVICE *dptr)
dptr               67 src/simh/sim_timer.h t_stat sim_show_timers (FILE* st, DEVICE *dptr, UNIT* uptr, int32 val, CONST char* desc);
dptr               68 src/simh/sim_timer.h t_stat sim_show_clock_queues (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
dptr              349 src/simh/sim_tmxr.c     if (mp->dptr) {                                     /* device defined? */
dptr              351 src/simh/sim_tmxr.c                        sim_dname (mp->dptr));
dptr              569 src/simh/sim_tmxr.c     DEVICE *dptr = find_dev_from_unit (uptr);           /* find device */
dptr              570 src/simh/sim_tmxr.c     if (dptr == NULL)                                   /* what?? */
dptr              572 src/simh/sim_tmxr.c     val = (int32) (uptr - dptr->units);                 /* implicit line # */
dptr             1240 src/simh/sim_tmxr.c DEVICE *dptr;
dptr             1319 src/simh/sim_tmxr.c dptr = (lp->dptr ? lp->dptr : (lp->mp ? lp->mp->dptr : NULL));
dptr             1320 src/simh/sim_tmxr.c (void)dptr;
dptr             2947 src/simh/sim_tmxr.c DEVICE *dptr;
dptr             2956 src/simh/sim_tmxr.c dptr = find_dev (gbuf);                 /* device match? */
dptr             2957 src/simh/sim_tmxr.c if (!dptr)
dptr             2961 src/simh/sim_tmxr.c     if (tmxr_open_devices[i]->dptr == dptr) {
dptr             3011 src/simh/sim_tmxr.c if (mp->dptr == NULL)                                   /* has device been set? */
dptr             3012 src/simh/sim_tmxr.c     mp->dptr = find_dev_from_unit (uptr);               /* no, so set device now */
dptr             3014 src/simh/sim_tmxr.c if (mp->dptr) {
dptr             3016 src/simh/sim_tmxr.c         mp->ldsc[i].expect.dptr = mp->dptr;
dptr             3018 src/simh/sim_tmxr.c         mp->ldsc[i].send.dptr   = mp->dptr;
dptr             3038 src/simh/sim_tmxr.c t_stat tmxr_show_open_devices (FILE* st, DEVICE *dptr, UNIT* uptr, int32 val, CONST char* desc)
dptr             3050 src/simh/sim_tmxr.c         fprintf(st, "Multiplexer device: %s", (mp->dptr ? sim_dname (mp->dptr) : ""));
dptr             3087 src/simh/sim_tmxr.c                 if (lp->dptr && (mp->dptr != lp->dptr))
dptr             3088 src/simh/sim_tmxr.c                     fprintf (st, "Device: %s ", sim_dname(lp->dptr));
dptr             3227 src/simh/sim_tmxr.c t_stat tmxr_attach_help(FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cptr)
dptr             3229 src/simh/sim_tmxr.c TMXR *mux = (TMXR *)dptr->help_ctx;
dptr             3236 src/simh/sim_tmxr.c     fprintf (st, "%s Multiplexer Attach Help\n\n", dptr->name);
dptr             3238 src/simh/sim_tmxr.c     fprintf (st, "The %s multiplexer may be connected to terminal emulators supporting the\n", dptr->name);
dptr             3241 src/simh/sim_tmxr.c         fprintf (st, "The %s device is a full modem control device and therefore is capable of\n", dptr->name);
dptr             3245 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH %s {interface:}port\n\n", dptr->name);
dptr             3246 src/simh/sim_tmxr.c     fprintf (st, "Line buffering can be enabled for the %s device with:\n\n", dptr->name);
dptr             3247 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH %s Buffer{=bufsize}\n\n", dptr->name);
dptr             3248 src/simh/sim_tmxr.c     fprintf (st, "Line buffering can be disabled for the %s device with:\n\n", dptr->name);
dptr             3249 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH %s NoBuffer\n\n", dptr->name);
dptr             3251 src/simh/sim_tmxr.c     fprintf (st, "The outbound traffic the %s device can be logged to a file with:\n", dptr->name);
dptr             3252 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH %s Log=LogFileName\n\n", dptr->name);
dptr             3253 src/simh/sim_tmxr.c     fprintf (st, "File logging can be disabled for the %s device with:\n\n", dptr->name);
dptr             3254 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH %s NoLog\n\n", dptr->name);
dptr             3255 src/simh/sim_tmxr.c     fprintf (st, "The %s device may be connected to a serial port on the host system.\n", dptr->name);
dptr             3258 src/simh/sim_tmxr.c     fprintf (st, "%s multiplexer lines may be connected to terminal emulators supporting the\n", dptr->name);
dptr             3263 src/simh/sim_tmxr.c         fprintf (st, "The %s device is a full modem control device and therefore is capable of\n", dptr->name);
dptr             3268 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH %s Line=n,Modem\n", dptr->name);
dptr             3269 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH %s Line=n,NoModem\n\n", dptr->name);
dptr             3271 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH %s {interface:}port\n\n", dptr->name);
dptr             3273 src/simh/sim_tmxr.c         fprintf (st, "Line buffering for all %d lines on the %s device can be configured with:\n\n", mux->lines, dptr->name);
dptr             3275 src/simh/sim_tmxr.c         fprintf (st, "Line buffering for all lines on the %s device can be configured with:\n\n", dptr->name);
dptr             3276 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH %s Buffer{=bufsize}\n\n", dptr->name);
dptr             3278 src/simh/sim_tmxr.c         fprintf (st, "Line buffering for all %d lines on the %s device can be disabled with:\n\n", mux->lines, dptr->name);
dptr             3280 src/simh/sim_tmxr.c         fprintf (st, "Line buffering for all lines on the %s device can be disabled with:\n\n", dptr->name);
dptr             3281 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH %s NoBuffer\n\n", dptr->name);
dptr             3283 src/simh/sim_tmxr.c     fprintf (st, "The outbound traffic for the lines of the %s device can be logged to files\n", dptr->name);
dptr             3285 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH %s Log=LogFileName\n\n", dptr->name);
dptr             3301 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH %s Connect=ser0\n\n", dptr->name);
dptr             3303 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH %s Connect=COM1\n\n", dptr->name);
dptr             3306 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH %s Line=n,Connect=ser0\n\n", dptr->name);
dptr             3308 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH %s Line=n,Connect=COM1\n\n", dptr->name);
dptr             3313 src/simh/sim_tmxr.c     fprintf (st, "The input data rate for the %s device can be controlled by\n", dptr->name);
dptr             3317 src/simh/sim_tmxr.c     fprintf (st, "The input data rate for all lines or a particular line of a the %s\n", dptr->name);
dptr             3334 src/simh/sim_tmxr.c fprintf (st, "   sim> ATTACH %s 1234,SPEED=2400\n", dptr->name);
dptr             3335 src/simh/sim_tmxr.c fprintf (st, "   sim> ATTACH %s 1234,SPEED=9600*8\n", dptr->name);
dptr             3337 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH %s Line=2,SPEED=2400\n", dptr->name);
dptr             3369 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH -V %s Connect=SerN\n", dptr->name);
dptr             3371 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH -V %s Line=n,Connect=SerN\n\n", dptr->name);
dptr             3374 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH %s Line=n,{interface:}port{;notelnet}\n\n", dptr->name);
dptr             3378 src/simh/sim_tmxr.c fprintf (st, "   sim> ATTACH %s Line=n,Connect=host:port{;notelnet}\n\n", dptr->name);
dptr             3383 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH %s listenport,Connect=host:port\n\n", dptr->name);
dptr             3387 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH %s Line=n,listenport,Connect=host:port\n\n", dptr->name);
dptr             3393 src/simh/sim_tmxr.c     fprintf (st, "The %s device can be attached in LOOPBACK mode:\n\n", dptr->name);
dptr             3394 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH %s Loopback\n\n", dptr->name);
dptr             3397 src/simh/sim_tmxr.c     fprintf (st, "A line on the %s device can be attached in LOOPBACK mode:\n\n", dptr->name);
dptr             3398 src/simh/sim_tmxr.c     fprintf (st, "   sim> ATTACH %s Line=n,Loopback\n\n", dptr->name);
dptr             3404 src/simh/sim_tmxr.c     fprintf (st, "The connection configured for the %s device is unconfigured by:\n\n", dptr->name);
dptr             3406 src/simh/sim_tmxr.c     fprintf (st, "All connections configured for the %s device are unconfigured by:\n\n", dptr->name);
dptr             3407 src/simh/sim_tmxr.c fprintf (st, "   sim> DETACH %s\n\n", dptr->name);
dptr             3408 src/simh/sim_tmxr.c if (dptr->modifiers) {
dptr             3411 src/simh/sim_tmxr.c     for (mptr = dptr->modifiers; mptr->mask != 0; mptr++)
dptr             3413 src/simh/sim_tmxr.c             fprintf (st, "A specific line on the %s device can be disconnected with:\n\n", dptr->name);
dptr             3414 src/simh/sim_tmxr.c             fprintf (st, "   sim> SET %s %s=n\n\n", dptr->name, mptr->mstring);
dptr             3420 src/simh/sim_tmxr.c             fprintf (st, "   sim> SET -C %s %s=n\n\n", dptr->name, mptr->mstring);
dptr              189 src/simh/sim_tmxr.h     DEVICE              *dptr;                          /* line specific device */
dptr              200 src/simh/sim_tmxr.h     DEVICE              *dptr;                          /* multiplexer device */
dptr              234 src/simh/sim_tmxr.h t_stat tmxr_attach_help(FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cptr);
dptr              265 src/simh/sim_tmxr.h t_stat tmxr_show_open_devices (FILE* st, DEVICE *dptr, UNIT* uptr, int32 val, CONST char* desc);
dptr              278 src/simh/sim_tmxr.h     do { if (sim_deb && (lp)->mp && (lp)->mp->dptr && ((dbits) & (lp)->mp->dptr->dctrl)) \
dptr              282 src/simh/sim_tmxr.h     do { if (sim_deb && (lp)->mp && (lp)->mp->dptr && ((dbits) & (lp)->mp->dptr->dctrl)) \
dptr              283 src/simh/sim_tmxr.h         sim_debug (dbits, (lp)->mp->dptr, "%s", msg); } while (0)
dptr              286 src/simh/sim_tmxr.h     do { if (sim_deb && (val) && (lp)->mp && (lp)->mp->dptr && (TMXR_DBG_RET & (lp)->mp->dptr->dctrl)) \
dptr              287 src/simh/sim_tmxr.h         { if ((lp)->rxbps) sim_debug (TMXR_DBG_RET, (lp)->mp->dptr, "Ln%d: 0x%x - Next after: %.0f\n", \
dptr              289 src/simh/sim_tmxr.h           else sim_debug (TMXR_DBG_RET, (lp)->mp->dptr, "Ln%d: 0x%x\n", (int)((lp)-(lp)->mp->ldsc), val); \
dptr              293 src/simh/sim_tmxr.h     do { if (sim_deb && (mp)->dptr && (TMXR_DBG_TRC & (mp)->dptr->dctrl)) \
dptr              294 src/simh/sim_tmxr.h         sim_debug (TMXR_DBG_TRC, mp->dptr, "%s\n", (msg)); } while (0)
dptr              297 src/simh/sim_tmxr.h     do { if (sim_deb && (lp)->mp && (lp)->mp->dptr && (TMXR_DBG_TRC & (lp)->mp->dptr->dctrl)) \
dptr              298 src/simh/sim_tmxr.h         sim_debug (TMXR_DBG_TRC, (lp)->mp->dptr, "Ln%d:%s\n", (int)((lp)-(lp)->mp->ldsc), (msg)); } while (0)
dptr              301 src/simh/sim_tmxr.h     do { if (sim_deb && (mp)->dptr && (TMXR_DBG_CON & (mp)->dptr->dctrl)) \
dptr              302 src/simh/sim_tmxr.h         sim_debug (TMXR_DBG_CON, mp->dptr, "%s\n", (msg)); } while (0)
dptr              305 src/simh/sim_tmxr.h     do { if (sim_deb && (lp)->mp && (lp)->mp->dptr && (TMXR_DBG_CON & (lp)->mp->dptr->dctrl)) \
dptr              306 src/simh/sim_tmxr.h         sim_debug (TMXR_DBG_CON, (lp)->mp->dptr, "Ln%d:%s\n", (int)((lp)-(lp)->mp->ldsc), (msg)); } while (0)