Lines Matching refs:cmnd
191 offset = (((sc->cmnd[1] & 0x1f) << 16) | (sc->cmnd[2] << 8) | sc->cmnd[3])*512;
195 simscsi_readwrite(sc, mode, offset, sc->cmnd[4]*512);
228 offset = (((unsigned long)sc->cmnd[2] << 24)
229 | ((unsigned long)sc->cmnd[3] << 16)
230 | ((unsigned long)sc->cmnd[4] << 8)
231 | ((unsigned long)sc->cmnd[5] << 0))*512UL;
235 simscsi_readwrite(sc, mode, offset, ((sc->cmnd[7] << 8) | sc->cmnd[8])*512);
268 printk("simscsi_queuecommand: target=%d,cmnd=%u,sc=%lu,sp=%lx,done=%p\n",
269 target_id, sc->cmnd[0], sc->serial_number, sp, done);
275 switch (sc->cmnd[0]) {
361 panic("simscsi: unknown SCSI command %u\n", sc->cmnd[0]);