Lines Matching refs:cmd
40 static int dma_setup(struct scsi_cmnd *cmd, int dir_in)
42 struct Scsi_Host *instance = cmd->device->host;
47 unsigned long addr = virt_to_bus(cmd->SCp.ptr);
51 wh->dma_bounce_len = (cmd->SCp.this_residual + 511) & ~0x1ff;
75 memcpy(wh->dma_bounce_buffer, cmd->SCp.ptr,
76 cmd->SCp.this_residual);
94 cache_clear(addr, cmd->SCp.this_residual);
97 cache_push(addr, cmd->SCp.this_residual);
149 static int a2091_bus_reset(struct scsi_cmnd *cmd)
151 struct Scsi_Host *instance = cmd->device->host;
156 wd33c93_host_reset(cmd);