Searched refs:physptr (Results 1 – 1 of 1) sorted by relevance
518 u_int32_t physptr, bufptr, sz; in cmichan_getptr() local522 physptr = cmi_rd(sc, CMPCI_REG_DMA0_BASE, 4); in cmichan_getptr()524 physptr = cmi_rd(sc, CMPCI_REG_DMA1_BASE, 4); in cmichan_getptr()529 bufptr = (physptr - ch->phys_buf + sz - ch->bps) % sz; in cmichan_getptr()