| /freebsd-13.1/usr.bin/top/ |
| H A D | commands.c | 91 const struct command *curcmd, *nextcmd; in show_help() local 96 curcmd = all_commands; in show_help() 97 while (curcmd->c != 0) { in show_help() 99 ++curcmd; in show_help() 102 if (curcmd->desc == NULL) { in show_help() 104 ++curcmd; in show_help() 107 nextcmd = curcmd + 1; in show_help() 110 } else if (curcmd->c == ' '){ in show_help() 115 sprintf(keys, "%c", curcmd->c); in show_help() 117 printf("%s\t- %s\n", keys, curcmd->desc); in show_help() [all …]
|
| /freebsd-13.1/usr.bin/systat/ |
| H A D | cmds.c | 120 if (curcmd == p) in command() 122 (*curcmd->c_close)(wnd); in command() 123 curcmd->c_flags &= ~CF_INIT; in command() 127 wnd = (*curcmd->c_open)(); in command() 132 p = curcmd; in command() 140 curcmd = p; in command() 146 if (curcmd->c_cmd == NULL || !(*curcmd->c_cmd)(tmpstr1, cp)) in command() 185 curcmd->c_name, delay / 1000000); in status()
|
| H A D | main.c | 173 curcmd = p; in main() 219 wnd = (*curcmd->c_open)(); in main() 237 (*curcmd->c_init)(); in main() 238 curcmd->c_flags |= CF_INIT; in main() 241 if (curcmd->c_cmd != NULL) in main() 259 if (curcmd->c_flags & CF_LOADAV) { in labels() 264 if (curcmd->c_flags & CF_ZFSARC) { in labels() 269 (*curcmd->c_label)(); in labels() 284 (*curcmd->c_fetch)(); in display() 285 if (curcmd->c_flags & CF_LOADAV) { in display() [all …]
|
| H A D | mode.c | 95 curcmd->c_reset(); in cmdmode()
|
| H A D | cmdtab.c | 88 struct cmdtab *curcmd = &cmdtab[0]; variable
|
| H A D | extern.h | 39 extern struct cmdtab *curcmd;
|
| /freebsd-13.1/usr.sbin/bhyve/ |
| H A D | ps2kbd.c | 80 uint8_t curcmd; /* current command for next byte */ member 248 if (sc->curcmd) { in ps2kbd_write() 249 switch (sc->curcmd) { in ps2kbd_write() 264 sc->curcmd = 0; in ps2kbd_write() 285 sc->curcmd = val; in ps2kbd_write() 294 sc->curcmd = val; in ps2kbd_write() 301 sc->curcmd = val; in ps2kbd_write() 395 SNAPSHOT_VAR_OR_LEAVE(sc->curcmd, meta, ret, done); in ps2kbd_snapshot()
|
| H A D | atkbdc.c | 134 uint32_t curcmd; /* current command for next byte */ member 324 sc->curcmd = 0; in atkbdc_data_handler() 343 switch (sc->curcmd) { in atkbdc_data_handler() 368 if (sc->curcmd >= 0x61 && sc->curcmd <= 0x7f) { in atkbdc_data_handler() 371 byten = (sc->curcmd - 0x60) & 0x1f; in atkbdc_data_handler() 377 sc->curcmd = 0; in atkbdc_data_handler() 418 sc->curcmd = 0; in atkbdc_sts_ctl_handler() 443 sc->curcmd = *eax; in atkbdc_sts_ctl_handler() 455 sc->curcmd = *eax; in atkbdc_sts_ctl_handler() 573 SNAPSHOT_VAR_OR_LEAVE(atkbdc_sc->curcmd, meta, ret, done); in atkbdc_snapshot()
|
| H A D | ps2mouse.c | 109 uint8_t curcmd; /* current command for next byte */ member 285 if (sc->curcmd) { in ps2mouse_write() 286 switch (sc->curcmd) { in ps2mouse_write() 300 sc->curcmd = 0; in ps2mouse_write() 330 sc->curcmd = val; in ps2mouse_write() 356 sc->curcmd = val; in ps2mouse_write() 432 SNAPSHOT_VAR_OR_LEAVE(sc->curcmd, meta, ret, done); in ps2mouse_snapshot()
|
| /freebsd-13.1/sys/dev/sdhci/ |
| H A D | sdhci.c | 1545 slot->curcmd = NULL; 1566 slot->curcmd = NULL; 1632 slot->curcmd = cmd; 1753 __func__, slot->curcmd->error, slot->curcmd->flags); 1794 slot->curcmd->resp[0], slot->curcmd->resp[1], 1795 slot->curcmd->resp[2], slot->curcmd->resp[3]); 2089 if (!slot->curcmd) { 2112 if (!slot->curcmd) { 2210 if (slot->curcmd != NULL && slot->curcmd->error != 0) { 2223 if (!slot->curcmd) { [all …]
|
| H A D | sdhci.h | 385 struct mmc_command *curcmd; /* Current command of current request */ member
|
| /freebsd-13.1/sys/arm/broadcom/bcm2835/ |
| H A D | bcm2835_sdhci.c | 85 ((slot)->curcmd->data->len - (slot)->offset) 595 if (slot->curcmd->data->flags & MMC_DATA_READ) { in bcm_sdhci_start_dma_seg() 662 if ((slot->curcmd->data->flags & MMC_DATA_READ) != 0) in bcm_sdhci_dma_unload() 682 if (slot->curcmd == NULL) in bcm_sdhci_dma_intr() 711 if (slot->curcmd->error != 0) { in bcm_sdhci_dma_intr() 740 buf = (uint8_t *)slot->curcmd->data->data + slot->offset; in bcm_sdhci_start_dma() 751 slot->curcmd->error = MMC_ERR_NO_MEMORY; in bcm_sdhci_start_dma()
|
| H A D | bcm2835_sdhost.c | 669 struct mmc_data *data = slot->curcmd->data; in bcm_sdhost_command() 779 slot->curcmd->error = MMC_ERR_TIMEOUT; in bcm_sdhost_command() 781 slot->curcmd->error = MMC_ERR_FAILED; in bcm_sdhost_command() 784 __func__, slot->curcmd->flags, slot->data_done); in bcm_sdhost_command() 787 slot->curcmd->error = 0; in bcm_sdhost_command()
|
| /freebsd-13.1/sys/dev/mmc/host/ |
| H A D | dwmmc_var.h | 67 struct mmc_command *curcmd; member
|
| H A D | dwmmc.c | 333 cmd = sc->curcmd; in dwmmc_cmd_done() 358 cmd = sc->curcmd; in dwmmc_tasklet() 390 cmd = sc->curcmd; in dwmmc_intr() 1109 sc->curcmd = cmd; in dwmmc_start_cmd() 1232 sc->curcmd = NULL; in dwmmc_next_operation() 1238 sc->curcmd = NULL; in dwmmc_next_operation()
|