Home
last modified time | relevance | path

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

/openbsd/src/sys/dev/usb/
Dohci.c484 ohci_physaddr_t dataphys, dataphysend; in ohci_alloc_std_chain() local
502 dataphys = DMAADDR(dma, 0); in ohci_alloc_std_chain()
503 dataphysend = OHCI_PAGE(dataphys + len - 1); in ohci_alloc_std_chain()
516 if (OHCI_PAGE(dataphys) == dataphysend || in ohci_alloc_std_chain()
517 OHCI_PAGE(dataphys) + OHCI_PAGE_SIZE == dataphysend) { in ohci_alloc_std_chain()
523 (dataphys & (OHCI_PAGE_SIZE-1)); in ohci_alloc_std_chain()
533 dataphys, dataphysend, in ohci_alloc_std_chain()
538 cur->td.td_cbp = htole32(dataphys); in ohci_alloc_std_chain()
541 cur->td.td_be = htole32(dataphys + curlen - 1); in ohci_alloc_std_chain()
546 dataphys, dataphys + curlen - 1)); in ohci_alloc_std_chain()
[all …]
Dehci.c2351 ehci_physaddr_t dataphys, dataphyspage, dataphyslastpage, nextphys; in ehci_alloc_sqtd_chain() local
2364 dataphys = DMAADDR(dma, 0); in ehci_alloc_sqtd_chain()
2365 dataphyslastpage = EHCI_PAGE(dataphys + len - 1); in ehci_alloc_sqtd_chain()
2387 dataphyspage = EHCI_PAGE(dataphys); in ehci_alloc_sqtd_chain()
2396 EHCI_PAGE_OFFSET(dataphys); in ehci_alloc_sqtd_chain()
2401 EHCI_PAGE_OFFSET(dataphys))); in ehci_alloc_sqtd_chain()
2403 dataphyslastpage, dataphyspage, dataphys)); in ehci_alloc_sqtd_chain()
2415 dataphys, dataphyslastpage, len, curlen)); in ehci_alloc_sqtd_chain()
2434 curlen + EHCI_PAGE_OFFSET(dataphys); i++) { in ehci_alloc_sqtd_chain()
2435 ehci_physaddr_t a = dataphys + i * EHCI_PAGE_SIZE; in ehci_alloc_sqtd_chain()
[all …]