Lines Matching refs:dma_addr
234 qtd->page_list_ptr = cpu_to_le64(std->dma_addr); in qset_add_qtds()
304 dma_addr_t dma_addr; in qset_free_std() local
307 dma_addr = le64_to_cpu(std->pl_virt[0].buf_ptr); in qset_free_std()
309 dma_addr = std->dma_addr; in qset_free_std()
311 dma_unmap_single(whc->wusbhc.dev, dma_addr, in qset_free_std()
318 if (std->dma_addr) in qset_free_std()
319 dma_unmap_single(whc->wusbhc.dev, std->dma_addr, in qset_free_std()
360 dma_addr_t dma_addr = std->dma_addr; in qset_fill_page_list() local
371 sp = dma_addr & ~(WHCI_PAGE_SIZE-1); in qset_fill_page_list()
372 ep = dma_addr + std->len; in qset_fill_page_list()
379 std->dma_addr = dma_map_single(whc->wusbhc.dev, std->pl_virt, pl_len, DMA_TO_DEVICE); in qset_fill_page_list()
382 std->pl_virt[p].buf_ptr = cpu_to_le64(dma_addr); in qset_fill_page_list()
383 dma_addr = (dma_addr + WHCI_PAGE_SIZE) & ~(WHCI_PAGE_SIZE-1); in qset_fill_page_list()
447 dma_addr_t dma_addr; in qset_add_urb_sg() local
456 dma_addr = sg_dma_address(sg); in qset_add_urb_sg()
476 || (dma_addr & (WHCI_PAGE_SIZE-1)) in qset_add_urb_sg()
504 sp = dma_addr & ~(WHCI_PAGE_SIZE-1); in qset_add_urb_sg()
505 ep = dma_addr + dma_len; in qset_add_urb_sg()
520 std->pl_virt[p].buf_ptr = cpu_to_le64(dma_addr); in qset_add_urb_sg()
521 dma_addr = (dma_addr + WHCI_PAGE_SIZE) & ~(WHCI_PAGE_SIZE-1); in qset_add_urb_sg()
524 prev_end = dma_addr = ep; in qset_add_urb_sg()
536 std->dma_addr = dma_map_single(whc->wusbhc.dev, std->pl_virt, in qset_add_urb_sg()
616 std->dma_addr = dma_map_single(&whc->umc->dev, std->bounce_buf, std->len, in qset_add_urb_sg_linearize()
679 std->dma_addr = transfer_dma; in qset_add_urb()