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