Lines Matching refs:hdata
96 struct ip22_hostdata *hdata = host_to_hostdata(cmd->device->host);
99 struct hpc_chunk *hcp = (struct hpc_chunk *) hdata->hd.cpu;
103 hdata->wh.dma_dir = datainp;
119 hregs->ndptr = hdata->hd.dma;
131 struct ip22_hostdata *hdata = host_to_hostdata(instance);
142 if (hdata->wh.dma_dir) {
218 struct ip22_hostdata *hdata;
234 hdata = host_to_hostdata(host);
235 hdata->hd.cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE,
236 &hdata->hd.dma, GFP_KERNEL);
237 if (!hdata->hd.cpu) {
244 init_hpc_chain(&hdata->hd);
251 if (hdata->wh.no_sync == 0xff)
252 hdata->wh.no_sync = 0;
274 dma_free_coherent(NULL, PAGE_SIZE, hdata->hd.cpu, hdata->hd.dma);
285 struct ip22_hostdata *hdata = (struct ip22_hostdata *) host->hostdata;
290 dma_free_coherent(&pdev->dev, PAGE_SIZE, hdata->hd.cpu, hdata->hd.dma);