cmdcnt
ps2dev->cmdcnt = maxbytes;
ps2dev->flags = ps2dev->cmdcnt = 0;
ps2dev->cmdcnt = receive;
if (ps2dev->cmdcnt && !(ps2dev->flags & PS2_FLAG_CMD1)) {
if (ps2dev->cmdcnt &&
(command != PS2_CMD_RESET_BAT || ps2dev->cmdcnt != 1)) {
if (ps2dev->cmdcnt)
ps2dev->cmdbuf[--ps2dev->cmdcnt] = data;
if (ps2dev->cmdcnt)
if (!ps2dev->cmdcnt) {
u8 cmdcnt = (u8)ARRAY_SIZE(cmd_to_fls_func);
if (fsc->command >= cmdcnt) {
cif->cmdcnt = 0;
cif->cmdcnt, cif->errcnt,
unsigned int cmdcnt; /* cmd statistics */
cif->cmdcnt++; /* update command statistics */
if ((cif->cmdcnt) % 1000 == 0)
cif->cmdcnt, cif->cmdtime, cif->cmdtimemin,
cif->cmdcnt, (int)((void *)&(cmdport->stat) - (void *)hwport),