Lines Matching defs:wh
22 struct WD33C93_hostdata wh;
49 struct WD33C93_hostdata *wh = &hdata->wh;
61 wh->dma_bounce_len = (cmd->SCp.this_residual + 511) & ~0x1ff;
62 wh->dma_bounce_buffer = kmalloc(wh->dma_bounce_len,
66 if (!wh->dma_bounce_buffer) {
67 wh->dma_bounce_len = 0;
73 memcpy(wh->dma_bounce_buffer, cmd->SCp.ptr,
77 addr = virt_to_bus(wh->dma_bounce_buffer);
85 wh->dma_dir = dir_in;
113 struct WD33C93_hostdata *wh = &hdata->wh;
119 if (!wh->dma_dir)
126 if (wh->dma_dir) {
149 if (status && wh->dma_bounce_buffer) {
151 if (wh->dma_dir && SCpnt)
152 memcpy(SCpnt->SCp.ptr, wh->dma_bounce_buffer,
154 kfree(wh->dma_bounce_buffer);
155 wh->dma_bounce_buffer = NULL;
156 wh->dma_bounce_len = 0;
158 kfree(wh->dma_bounce_buffer);
159 wh->dma_bounce_buffer = NULL;
160 wh->dma_bounce_len = 0;
212 hdata->wh.no_sync = 0xff;
213 hdata->wh.fast = 0;
214 hdata->wh.dma_mode = CTRL_DMA;