Lines Matching refs:CMD_I
586 #define CMD_I (HOSTDATA(shpnt)->cmd_i)
2035 CMD_I=0;
2044 if(CMD_I==CURRENT_SC->cmd_len) {
2045 DPRINTK(debug_cmd, DEBUG_LEAD "command already completely sent (%d/%d)", CMDINFO(CURRENT_SC), CMD_I, CURRENT_SC->cmd_len);
2049 while(CMD_I<CURRENT_SC->cmd_len) {
2050 DPRINTK(debug_cmd, DEBUG_LEAD "command byte %02x (%d/%d)\n", CMDINFO(CURRENT_SC), CURRENT_SC->cmnd[CMD_I], CMD_I, CURRENT_SC->cmd_len);
2057 SETPORT(SCSIDAT, CURRENT_SC->cmnd[CMD_I++]);
2063 if(CMD_I<CURRENT_SC->cmd_len)
2064 printk(ERR_LEAD "command sent incompletely (%d/%d)\n", CMDINFO(CURRENT_SC), CMD_I, CURRENT_SC->cmd_len);