Home
last modified time | relevance | path

Searched refs:curcmd (Results 1 – 15 of 15) sorted by relevance

/freebsd-14.2/usr.bin/top/
H A Dcommands.c89 const struct command *curcmd, *nextcmd; in show_help() local
94 curcmd = all_commands; in show_help()
95 while (curcmd->c != 0) { 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()
108 } else if (curcmd->c == ' '){ in show_help()
113 sprintf(keys, "%c", curcmd->c); in show_help()
115 printf("%s\t- %s\n", keys, curcmd->desc); in show_help()
[all …]
/freebsd-14.2/usr.bin/systat/
H A Dcmds.c117 if (curcmd == p) in command()
119 (*curcmd->c_close)(wnd); in command()
120 curcmd->c_flags &= ~CF_INIT; in command()
124 wnd = (*curcmd->c_open)(); in command()
129 p = curcmd; in command()
137 curcmd = p; in command()
143 if (curcmd->c_cmd == NULL || !(*curcmd->c_cmd)(tmpstr1, cp)) in command()
182 curcmd->c_name, delay / 1000000); in status()
H A Dmain.c164 curcmd = p; in main()
217 wnd = (*curcmd->c_open)(); in main()
235 (*curcmd->c_init)(); in main()
236 curcmd->c_flags |= CF_INIT; in main()
239 if (curcmd->c_cmd != NULL) in main()
257 if (curcmd->c_flags & CF_LOADAV) { in labels()
262 if (curcmd->c_flags & CF_ZFSARC) { in labels()
267 (*curcmd->c_label)(); in labels()
283 (*curcmd->c_fetch)(); in display()
284 if (curcmd->c_flags & CF_LOADAV) { in display()
[all …]
H A Dmode.c92 curcmd->c_reset(); in cmdmode()
H A Dcmdtab.c88 struct cmdtab *curcmd = &cmdtab[0]; variable
H A Dextern.h38 extern struct cmdtab *curcmd;
/freebsd-14.2/sys/dev/sdhci/
H A Dsdhci.c1664 slot->curcmd = NULL;
1685 slot->curcmd = NULL;
1750 slot->curcmd = cmd;
1871 __func__, slot->curcmd->error, slot->curcmd->flags);
1912 slot->curcmd->resp[0], slot->curcmd->resp[1],
1913 slot->curcmd->resp[2], slot->curcmd->resp[3]);
2207 if (!slot->curcmd) {
2230 if (!slot->curcmd) {
2328 if (slot->curcmd != NULL && slot->curcmd->error != 0) {
2341 if (!slot->curcmd) {
[all …]
H A Dsdhci.h383 struct mmc_command *curcmd; /* Current command of current request */ member
/freebsd-14.2/usr.sbin/bhyve/amd64/
H A Dps2kbd.c88 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()
313 sc->curcmd = val; in ps2kbd_write()
322 sc->curcmd = val; in ps2kbd_write()
329 sc->curcmd = val; in ps2kbd_write()
510 SNAPSHOT_VAR_OR_LEAVE(sc->curcmd, meta, ret, done); in ps2kbd_snapshot()
H A Datkbdc.c132 uint32_t curcmd; /* current command for next byte */ member
322 sc->curcmd = 0; in atkbdc_data_handler()
341 switch (sc->curcmd) { in atkbdc_data_handler()
366 if (sc->curcmd >= 0x61 && sc->curcmd <= 0x7f) { in atkbdc_data_handler()
369 byten = (sc->curcmd - 0x60) & 0x1f; in atkbdc_data_handler()
375 sc->curcmd = 0; in atkbdc_data_handler()
416 sc->curcmd = 0; in atkbdc_sts_ctl_handler()
441 sc->curcmd = *eax; in atkbdc_sts_ctl_handler()
453 sc->curcmd = *eax; in atkbdc_sts_ctl_handler()
571 SNAPSHOT_VAR_OR_LEAVE(atkbdc_sc->curcmd, meta, ret, done); in atkbdc_snapshot()
H A Dps2mouse.c108 uint8_t curcmd; /* current command for next byte */ member
284 if (sc->curcmd) { in ps2mouse_write()
285 switch (sc->curcmd) { in ps2mouse_write()
299 sc->curcmd = 0; in ps2mouse_write()
329 sc->curcmd = val; in ps2mouse_write()
355 sc->curcmd = val; in ps2mouse_write()
431 SNAPSHOT_VAR_OR_LEAVE(sc->curcmd, meta, ret, done); in ps2mouse_snapshot()
/freebsd-14.2/sys/arm/broadcom/bcm2835/
H A Dbcm2835_sdhci.c83 ((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 Dbcm2835_sdhost.c667 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-14.2/sys/dev/mmc/host/
H A Ddwmmc_var.h63 struct mmc_command *curcmd; member
H A Ddwmmc.c329 cmd = sc->curcmd; in dwmmc_cmd_done()
354 cmd = sc->curcmd; in dwmmc_tasklet()
386 cmd = sc->curcmd; in dwmmc_intr()
1101 sc->curcmd = cmd; in dwmmc_start_cmd()
1229 sc->curcmd = NULL; in dwmmc_next_operation()
1235 sc->curcmd = NULL; in dwmmc_next_operation()