Lines Matching refs:cmd
44 static int dma_setup(struct scsi_cmnd *cmd, int dir_in)
46 struct Scsi_Host *instance = cmd->device->host;
51 unsigned long addr = virt_to_bus(cmd->SCp.ptr);
60 wh->dma_bounce_len = (cmd->SCp.this_residual + 511) & ~0x1ff;
72 memcpy(wh->dma_bounce_buffer, cmd->SCp.ptr,
73 cmd->SCp.this_residual);
93 cache_clear(addr, cmd->SCp.this_residual);
96 cache_push(addr, cmd->SCp.this_residual);
164 static int a3000_bus_reset(struct scsi_cmnd *cmd)
166 struct Scsi_Host *instance = cmd->device->host;
171 wd33c93_host_reset(cmd);