Lines Matching full:wh
27 struct WD33C93_hostdata wh; member
59 struct WD33C93_hostdata *wh = &hdata->wh; in dma_setup() local
88 wh->dma_bounce_len = (scsi_pointer->this_residual + 511) & ~0x1ff; in dma_setup()
89 wh->dma_bounce_buffer = kmalloc(wh->dma_bounce_len, in dma_setup()
93 if (!wh->dma_bounce_buffer) { in dma_setup()
94 wh->dma_bounce_len = 0; in dma_setup()
101 memcpy(wh->dma_bounce_buffer, scsi_pointer->ptr, in dma_setup()
121 wh->dma_dir = dir_in; in dma_setup()
144 struct WD33C93_hostdata *wh = &hdata->wh; in dma_stop() local
150 if (!wh->dma_dir) in dma_stop()
157 if (wh->dma_dir) { in dma_stop()
181 DMA_DIR(wh->dma_dir)); in dma_stop()
184 if (status && wh->dma_bounce_buffer) { in dma_stop()
186 if (wh->dma_dir && SCpnt) in dma_stop()
187 memcpy(scsi_pointer->ptr, wh->dma_bounce_buffer, in dma_stop()
189 kfree(wh->dma_bounce_buffer); in dma_stop()
190 wh->dma_bounce_buffer = NULL; in dma_stop()
191 wh->dma_bounce_len = 0; in dma_stop()
193 kfree(wh->dma_bounce_buffer); in dma_stop()
194 wh->dma_bounce_buffer = NULL; in dma_stop()
195 wh->dma_bounce_len = 0; in dma_stop()
254 hdata->wh.no_sync = 0xff; in amiga_a3000_scsi_probe()
255 hdata->wh.fast = 0; in amiga_a3000_scsi_probe()
256 hdata->wh.dma_mode = CTRL_DMA; in amiga_a3000_scsi_probe()