Lines Matching refs:OpCode

1430     if (ha->pccb->OpCode == GDT_INIT)  in gdth_release_event()
1434 if (ha->pccb->OpCode == GDT_INIT) /* store DMA buffer */ in gdth_release_event()
1494 cmd_ptr->OpCode = opcode; in gdth_internal_cmd()
2088 nscp_cmndinfo->OpCode = GDT_SCAN_START; in gdth_next()
2101 nscp_cmndinfo->OpCode = GDT_SCAN_END; in gdth_next()
2112 nscp_cmndinfo->OpCode = GDT_CLUST_INFO; in gdth_next()
2117 if (nscp_cmndinfo->OpCode != -1) { in gdth_next()
2457 if (cmndinfo->OpCode != -1) in gdth_fill_cache_cmd()
2458 cmdp->OpCode = cmndinfo->OpCode; /* special cache cmd. */ in gdth_fill_cache_cmd()
2460 cmdp->OpCode = GDT_RESERVE_DRV; in gdth_fill_cache_cmd()
2462 cmdp->OpCode = GDT_RELEASE_DRV; in gdth_fill_cache_cmd()
2465 cmdp->OpCode = GDT_MOUNT; in gdth_fill_cache_cmd()
2467 cmdp->OpCode = GDT_UNMOUNT; in gdth_fill_cache_cmd()
2469 cmdp->OpCode = GDT_FLUSH; in gdth_fill_cache_cmd()
2476 cmdp->OpCode = GDT_WRITE_THR; in gdth_fill_cache_cmd()
2478 cmdp->OpCode = GDT_WRITE; in gdth_fill_cache_cmd()
2481 cmdp->OpCode = GDT_READ; in gdth_fill_cache_cmd()
2569 cmdp->OpCode,cmdp->u.cache64.BlockNo,cmdp->u.cache64.BlockCnt)); in gdth_fill_cache_cmd()
2578 cmdp->OpCode,cmdp->u.cache.BlockNo,cmdp->u.cache.BlockCnt)); in gdth_fill_cache_cmd()
2634 if (cmndinfo->OpCode != -1) { in gdth_fill_raw_cmd()
2635 cmdp->OpCode = cmndinfo->OpCode; /* special raw cmd. */ in gdth_fill_raw_cmd()
2640 cmdp->OpCode, cmdp->u.raw64.direction)); in gdth_fill_raw_cmd()
2646 cmdp->OpCode, cmdp->u.raw.direction)); in gdth_fill_raw_cmd()
2658 cmdp->OpCode = GDT_WRITE; /* always */ in gdth_fill_raw_cmd()
2798 if (cmdp->OpCode == GDT_IOCTL) { in gdth_special_cmd()
2803 TRACE2(("cache command %d\n",cmdp->OpCode)); in gdth_special_cmd()
2811 TRACE2(("raw command %d\n",cmdp->OpCode)); in gdth_special_cmd()
3252 cmdp->OpCode = GDT_READ; in gdth_sync_event()
3286 cmdp->OpCode = GDT_WRITE; in gdth_sync_event()
3304 if (cmndinfo->OpCode == -1 && b != ha->virt_bus) { in gdth_sync_event()
3310 if (cmndinfo->OpCode == GDT_MOUNT) in gdth_sync_event()
3311 cmndinfo->OpCode = GDT_CLUST_INFO; in gdth_sync_event()
3326 if (cmndinfo->OpCode != -1) { in gdth_sync_event()
3328 cmndinfo->OpCode)); in gdth_sync_event()
3330 if (cmndinfo->OpCode == GDT_CLUST_INFO) { in gdth_sync_event()
3335 cmndinfo->OpCode = GDT_MOUNT; in gdth_sync_event()
3342 cmndinfo->OpCode = -1; in gdth_sync_event()
3345 if (cmndinfo->OpCode == GDT_MOUNT) { in gdth_sync_event()
3348 } else if (cmndinfo->OpCode == GDT_UNMOUNT) { in gdth_sync_event()
3352 cmndinfo->OpCode = -1; in gdth_sync_event()
3371 if (cmndinfo->OpCode != -1) { in gdth_sync_event()
3373 cmndinfo->OpCode, ha->status)); in gdth_sync_event()
3374 if (cmndinfo->OpCode == GDT_SCAN_START || in gdth_sync_event()
3375 cmndinfo->OpCode == GDT_SCAN_END) { in gdth_sync_event()
3376 cmndinfo->OpCode = -1; in gdth_sync_event()
3603 cmdp->OpCode = GDT_READ; in gdth_async_event()
4022 cmndinfo->OpCode = -1; in DEF_SCSI_QCMD()
4142 cmd.OpCode = GDT_CLUST_RESET; in ioc_resetdrv()
4189 if (gen.command.OpCode == GDT_IOCTL) { in ioc_general()
4317 cmd->OpCode = GDT_CLUST_INFO; in ioc_hdrlist()
4365 cmd->OpCode = GDT_X_INIT_HOST; in ioc_rescan()
4368 cmd->OpCode = GDT_INIT; in ioc_rescan()
4382 cmd->OpCode = GDT_INFO; in ioc_rescan()
4416 cmd->OpCode = GDT_DEVTYPE; in ioc_rescan()
4429 cmd->OpCode = GDT_CLUST_INFO; in ioc_rescan()
4444 cmd->OpCode = GDT_RW_ATTRIBS; in ioc_rescan()
4642 gdtcmd.OpCode = GDT_FLUSH; in gdth_flush()