/freebsd/usr.bin/top/ |
H A D | commands.c | 89 const struct command *curcmd, *nextcmd; in show_help() local 94 curcmd = all_commands; in show_help() 95 while (curcmd->c != 0) { in show_help() 96 if (overstrike && !curcmd->available_to_dumb) { in show_help() 97 ++curcmd; in show_help() 100 if (curcmd->desc == NULL) { in show_help() 102 ++curcmd; in show_help() 105 nextcmd = curcmd + 1; in show_help() 107 sprintf(keys, "%c or %c", curcmd->c, nextcmd->c); in show_help() 108 } else if (curcmd->c == ' '){ in show_help() [all …]
|
/freebsd/usr.bin/systat/ |
H A D | main.c | 161 curcmd = p; in main() 214 wnd = (*curcmd->c_open)(); in main() 232 (*curcmd->c_init)(); in main() 233 curcmd->c_flags |= CF_INIT; in main() 236 if (curcmd->c_cmd != NULL) in main() 238 if (!curcmd->c_cmd(cmd->cmd, cmd->argv)) in main() 254 if (curcmd->c_flags & CF_LOADAV) { in labels() 259 if (curcmd->c_flags & CF_ZFSARC) { in labels() 264 (*curcmd->c_label)(); in labels() 280 (*curcmd->c_fetch)(); in display() [all …]
|
H A D | cmds.c | 114 if (curcmd == p) in command() 116 (*curcmd->c_close)(wnd); in command() 117 curcmd->c_flags &= ~CF_INIT; in command() 121 wnd = (*curcmd->c_open)(); in command() 126 p = curcmd; in command() 134 curcmd = p; in command() 140 if (curcmd->c_cmd == NULL || !(*curcmd->c_cmd)(tmpstr1, cp)) in command() 179 curcmd->c_name, delay / 1000000); in status()
|
H A D | mode.c | 92 curcmd->c_reset(); in cmdmode()
|
H A D | cmdtab.c | 85 struct cmdtab *curcmd = &cmdtab[0]; variable
|
H A D | extern.h | 36 extern struct cmdtab *curcmd;
|
/freebsd/sys/dev/sdhci/ |
H A D | sdhci.c | 570 buffer = slot->curcmd->data->data; in sdhci_read_block_pio() 574 if (slot->curcmd->data->flags & MMC_DATA_BLOCK_SIZE) in sdhci_read_block_pio() 575 left = min(slot->curcmd->data->block_size, in sdhci_read_block_pio() 576 slot->curcmd->data->len - slot->offset); in sdhci_read_block_pio() 579 left = min(512, slot->curcmd->data->len - slot->offset); in sdhci_read_block_pio() 619 buffer = slot->curcmd->data->data; in sdhci_write_block_pio() 623 if (slot->curcmd->data->flags & MMC_DATA_BLOCK_SIZE) { in sdhci_write_block_pio() 624 left = min(slot->curcmd->data->block_size, in sdhci_write_block_pio() 625 slot->curcmd->data->len - slot->offset); in sdhci_write_block_pio() 628 left = min(512, slot->curcmd->data->len - slot->offset); in sdhci_write_block_pio() [all …]
|
H A D | sdhci.h | 383 struct mmc_command *curcmd; /* Current command of current request */ member
|
/freebsd/usr.sbin/bhyve/amd64/ |
H A D | ps2kbd.c | 88 uint8_t curcmd; /* current command for next byte */ member 276 if (sc->curcmd) { in ps2kbd_write() 277 switch (sc->curcmd) { in ps2kbd_write() 292 sc->curcmd = 0; in ps2kbd_write() 317 sc->curcmd = val; in ps2kbd_write() 326 sc->curcmd = val; in ps2kbd_write() 333 sc->curcmd = val; in ps2kbd_write() 514 SNAPSHOT_VAR_OR_LEAVE(sc->curcmd, meta, ret, done); in ps2kbd_snapshot()
|
H A D | atkbdc.c | 131 uint32_t curcmd; /* current command for next byte */ member 321 sc->curcmd = 0; in atkbdc_data_handler() 340 switch (sc->curcmd) { in atkbdc_data_handler() 365 if (sc->curcmd >= 0x61 && sc->curcmd <= 0x7f) { in atkbdc_data_handler() 368 byten = (sc->curcmd - 0x60) & 0x1f; in atkbdc_data_handler() 374 sc->curcmd = 0; in atkbdc_data_handler() 415 sc->curcmd = 0; in atkbdc_sts_ctl_handler() 440 sc->curcmd = *eax; in atkbdc_sts_ctl_handler() 452 sc->curcmd = *eax; in atkbdc_sts_ctl_handler() 570 SNAPSHOT_VAR_OR_LEAVE(atkbdc_sc->curcmd, meta, ret, done); in atkbdc_snapshot()
|
H A D | ps2mouse.c | 107 uint8_t curcmd; /* current command for next byte */ member 283 if (sc->curcmd) { in ps2mouse_write() 284 switch (sc->curcmd) { in ps2mouse_write() 298 sc->curcmd = 0; in ps2mouse_write() 328 sc->curcmd = val; in ps2mouse_write() 354 sc->curcmd = val; in ps2mouse_write() 430 SNAPSHOT_VAR_OR_LEAVE(sc->curcmd, meta, ret, done); in ps2mouse_snapshot()
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_sdhci.c | 83 ((slot)->curcmd->data->len - (slot)->offset) 587 if (slot->curcmd->data->flags & MMC_DATA_READ) { in bcm_sdhci_start_dma_seg() 654 if ((slot->curcmd->data->flags & MMC_DATA_READ) != 0) in bcm_sdhci_dma_unload() 674 if (slot->curcmd == NULL) in bcm_sdhci_dma_intr() 703 if (slot->curcmd->error != 0) { in bcm_sdhci_dma_intr() 732 buf = (uint8_t *)slot->curcmd->data->data + slot->offset; in bcm_sdhci_start_dma() 743 slot->curcmd->error = MMC_ERR_NO_MEMORY; in bcm_sdhci_start_dma()
|
H A D | bcm2835_sdhost.c | 667 struct mmc_data *data = slot->curcmd->data; in bcm_sdhost_command() 777 slot->curcmd->error = MMC_ERR_TIMEOUT; in bcm_sdhost_command() 779 slot->curcmd->error = MMC_ERR_FAILED; in bcm_sdhost_command() 782 __func__, slot->curcmd->flags, slot->data_done); in bcm_sdhost_command() 785 slot->curcmd->error = 0; in bcm_sdhost_command()
|
/freebsd/sys/dev/mmc/host/ |
H A D | dwmmc_var.h | 63 struct mmc_command *curcmd; member
|
H A D | dwmmc.c | 328 cmd = sc->curcmd; in dwmmc_cmd_done() 353 cmd = sc->curcmd; in dwmmc_tasklet() 385 cmd = sc->curcmd; in dwmmc_intr() 1096 sc->curcmd = cmd; in dwmmc_start_cmd() 1224 sc->curcmd = NULL; in dwmmc_next_operation() 1230 sc->curcmd = NULL; in dwmmc_next_operation()
|