Searched refs:cmdcnt (Results 1 – 3 of 3) sorted by relevance
89 ps2dev->cmdcnt = maxbytes; in ps2_drain()161 ps2dev->flags = ps2dev->cmdcnt = 0; in ps2_adjust_timeout()201 ps2dev->cmdcnt = receive; in __ps2_command()233 if (ps2dev->cmdcnt && !(ps2dev->flags & PS2_FLAG_CMD1)) { in __ps2_command()246 if (ps2dev->cmdcnt && (command != PS2_CMD_RESET_BAT || ps2dev->cmdcnt != 1)) in __ps2_command()327 if (ps2dev->cmdcnt) in ps2_handle_ack()349 if (ps2dev->cmdcnt) in ps2_handle_response()350 ps2dev->cmdbuf[--ps2dev->cmdcnt] = data; in ps2_handle_response()354 if (ps2dev->cmdcnt) in ps2_handle_response()358 if (!ps2dev->cmdcnt) { in ps2_handle_response()
1328 int cmdcnt; in slic_cmdq_addcmdpage() local1338 cmdcnt = 0; in slic_cmdq_addcmdpage()1346 while ((cmdcnt < SLIC_CMDQ_CMDSINPAGE) && in slic_cmdq_addcmdpage()1371 cmdcnt++; in slic_cmdq_addcmdpage()1375 cmdq->count += cmdcnt; /* SLIC_CMDQ_CMDSINPAGE; mooktodo */ in slic_cmdq_addcmdpage()1380 cmdq->count += cmdcnt; /* SLIC_CMDQ_CMDSINPAGE; mooktodo */ in slic_cmdq_addcmdpage()
850 u8 cmdcnt = (u8)ARRAY_SIZE(cmd_to_fls_func); in esas2r_process_fs_ioctl() local863 if (fsc->command >= cmdcnt) { in esas2r_process_fs_ioctl()