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

/freebsd-13-stable/usr.bin/systat/
H A Dcmds.c120 if (curcmd == p)
122 (*curcmd->c_close)(wnd);
123 curcmd->c_flags &= ~CF_INIT;
127 wnd = (*curcmd->c_open)();
132 p = curcmd;
140 curcmd = p;
146 if (curcmd->c_cmd == NULL || !(*curcmd->c_cmd)(tmpstr1, cp))
185 curcmd->c_name, delay / 1000000);
H A Dmain.c158 curcmd = p;
203 wnd = (*curcmd->c_open)();
221 (*curcmd->c_init)();
222 curcmd->c_flags |= CF_INIT;
225 if (curcmd->c_cmd != NULL)
227 if (!curcmd->c_cmd(cmd->cmd, cmd->argv))
243 if (curcmd->c_flags & CF_LOADAV) {
248 if (curcmd->c_flags & CF_ZFSARC) {
253 (*curcmd->c_label)();
268 (*curcmd
[all...]
H A Dmode.c95 curcmd->c_reset();
H A Dcmdtab.c88 struct cmdtab *curcmd = &cmdtab[0]; variable in typeref:struct:cmdtab
H A Dextern.h39 extern struct cmdtab *curcmd;
/freebsd-13-stable/usr.bin/top/
H A Dcommands.c90 const struct command *curcmd, *nextcmd; local
95 curcmd = all_commands;
96 while (curcmd->c != 0) {
97 if (overstrike && !curcmd->available_to_dumb) {
98 ++curcmd;
101 if (curcmd->desc == NULL) {
103 ++curcmd;
106 nextcmd = curcmd + 1;
108 sprintf(keys, "%c or %c", curcmd->c, nextcmd->c);
109 } else if (curcmd
[all...]
/freebsd-13-stable/sys/dev/sdhci/
H A Dsdhci.c501 buffer = slot->curcmd->data->data;
505 if (slot->curcmd->data->flags & MMC_DATA_BLOCK_SIZE)
506 left = min(slot->curcmd->data->block_size,
507 slot->curcmd->data->len - slot->offset);
510 left = min(512, slot->curcmd->data->len - slot->offset);
550 buffer = slot->curcmd->data->data;
554 if (slot->curcmd->data->flags & MMC_DATA_BLOCK_SIZE) {
555 left = min(slot->curcmd->data->block_size,
556 slot->curcmd->data->len - slot->offset);
559 left = min(512, slot->curcmd
[all...]
H A Dsdhci.h385 struct mmc_command *curcmd; /* Current command of current request */ member in struct:sdhci_slot
/freebsd-13-stable/usr.sbin/bhyve/
H A Dps2kbd.c80 uint8_t curcmd; /* current command for next byte */ member in struct:ps2kbd_softc
248 if (sc->curcmd) {
249 switch (sc->curcmd) {
264 sc->curcmd = 0;
285 sc->curcmd = val;
294 sc->curcmd = val;
301 sc->curcmd = val;
395 SNAPSHOT_VAR_OR_LEAVE(sc->curcmd, meta, ret, done);
H A Datkbdc.c134 uint32_t curcmd; /* current command for next byte */ member in struct:atkbdc_softc
324 sc->curcmd = 0;
343 switch (sc->curcmd) {
368 if (sc->curcmd >= 0x61 && sc->curcmd <= 0x7f) {
371 byten = (sc->curcmd - 0x60) & 0x1f;
377 sc->curcmd = 0;
418 sc->curcmd = 0;
443 sc->curcmd = *eax;
455 sc->curcmd
[all...]
H A Dps2mouse.c109 uint8_t curcmd; /* current command for next byte */ member in struct:ps2mouse_softc
285 if (sc->curcmd) {
286 switch (sc->curcmd) {
300 sc->curcmd = 0;
330 sc->curcmd = val;
356 sc->curcmd = val;
432 SNAPSHOT_VAR_OR_LEAVE(sc->curcmd, meta, ret, done);
/freebsd-13-stable/sys/dev/mmc/host/
H A Ddwmmc_var.h67 struct mmc_command *curcmd; member in struct:dwmmc_softc
H A Ddwmmc.c332 cmd = sc->curcmd;
357 cmd = sc->curcmd;
389 cmd = sc->curcmd;
1120 sc->curcmd = cmd;
1243 sc->curcmd = NULL;
1249 sc->curcmd = NULL;
/freebsd-13-stable/sys/arm/broadcom/bcm2835/
H A Dbcm2835_sdhci.c84 ((slot)->curcmd->data->len - (slot)->offset)
594 if (slot->curcmd->data->flags & MMC_DATA_READ) {
661 if ((slot->curcmd->data->flags & MMC_DATA_READ) != 0)
681 if (slot->curcmd == NULL)
710 if (slot->curcmd->error != 0) {
739 buf = (uint8_t *)slot->curcmd->data->data + slot->offset;
750 slot->curcmd->error = MMC_ERR_NO_MEMORY;
H A Dbcm2835_sdhost.c669 struct mmc_data *data = slot->curcmd->data;
779 slot->curcmd->error = MMC_ERR_TIMEOUT;
781 slot->curcmd->error = MMC_ERR_FAILED;
783 dprintf("%s: curcmd->flags=%d data_done=%d\n",
784 __func__, slot->curcmd->flags, slot->data_done);
787 slot->curcmd->error = 0;

Completed in 104 milliseconds