Lines Matching refs:scsi_pointer
50 struct scsi_pointer *scsi_pointer = WD33C93_scsi_pointer(cmd); in dma_setup() local
51 unsigned long len = scsi_pointer->this_residual; in dma_setup()
59 addr = dma_map_single(hdata->dev, scsi_pointer->ptr, in dma_setup()
63 scsi_pointer->ptr); in dma_setup()
66 scsi_pointer->dma_handle = addr; in dma_setup()
71 dma_unmap_single(hdata->dev, scsi_pointer->dma_handle, in dma_setup()
72 scsi_pointer->this_residual, in dma_setup()
74 scsi_pointer->dma_handle = (dma_addr_t) NULL; in dma_setup()
76 wh->dma_bounce_len = (scsi_pointer->this_residual + 511) & ~0x1ff; in dma_setup()
88 memcpy(wh->dma_bounce_buffer, scsi_pointer->ptr, in dma_setup()
89 scsi_pointer->this_residual); in dma_setup()
111 scsi_pointer->dma_handle = addr; in dma_setup()
138 struct scsi_pointer *scsi_pointer = WD33C93_scsi_pointer(SCpnt); in dma_stop() local
168 dma_unmap_single(hdata->dev, scsi_pointer->dma_handle, in dma_stop()
169 scsi_pointer->this_residual, in dma_stop()
175 memcpy(scsi_pointer->ptr, wh->dma_bounce_buffer, in dma_stop()
176 scsi_pointer->this_residual); in dma_stop()
197 .cmd_size = sizeof(struct scsi_pointer),