Home
last modified time | relevance | path

Searched refs:WHCI_PAGE_SIZE (Results 1 – 2 of 2) sorted by relevance

/drivers/usb/host/whci/
Dqset.c365 if (std->len <= WHCI_PAGE_SIZE) { in qset_fill_page_list()
370 sp = dma_addr & ~(WHCI_PAGE_SIZE-1); in qset_fill_page_list()
372 std->num_pointers = DIV_ROUND_UP(ep - sp, WHCI_PAGE_SIZE); in qset_fill_page_list()
386 dma_addr = (dma_addr + WHCI_PAGE_SIZE) & ~(WHCI_PAGE_SIZE-1); in qset_fill_page_list()
478 || (prev_end & (WHCI_PAGE_SIZE-1)) in qset_add_urb_sg()
479 || (dma_addr & (WHCI_PAGE_SIZE-1)) in qset_add_urb_sg()
480 || std->len + WHCI_PAGE_SIZE > QTD_MAX_XFER_SIZE) { in qset_add_urb_sg()
507 sp = dma_addr & ~(WHCI_PAGE_SIZE-1); in qset_add_urb_sg()
509 num_pointers = DIV_ROUND_UP(ep - sp, WHCI_PAGE_SIZE); in qset_add_urb_sg()
524 dma_addr = (dma_addr + WHCI_PAGE_SIZE) & ~(WHCI_PAGE_SIZE-1); in qset_add_urb_sg()
Dwhci-hc.h30 #define WHCI_PAGE_SIZE 4096 macro