Searched refs:dboff (Results 1 – 2 of 2) sorted by relevance
50 int dboff; member106 nc->dboff = dbu; in ntb_register_device()194 printf(" db %d", nc->dboff); in ntb_print_child()196 printf("-%d", nc->dboff + nc->dbcnt - 1); in ntb_print_child()497 >> nc->dboff) & nc->dbmask); in ntb_db_vector_mask()512 return (NTB_DB_CLEAR(device_get_parent(ntb), bits << nc->dboff)); in ntb_db_clear()520 return (NTB_DB_CLEAR_MASK(device_get_parent(ntb), bits << nc->dboff)); in ntb_db_clear_mask()528 return ((NTB_DB_READ(device_get_parent(ntb)) >> nc->dboff) in ntb_db_read()537 return (NTB_DB_SET_MASK(device_get_parent(ntb), bits << nc->dboff)); in ntb_db_set_mask()545 return (NTB_PEER_DB_SET(device_get_parent(ntb), bits << nc->dboff)); in ntb_peer_db_set()
274 uint32_t dboff; /* doorbell offset */ member2044 offset = (offset - sc->dboff) / sizeof(uint32_t); in pci_xhci_dbregs_write()2323 else if (offset < sc->dboff) in pci_xhci_write()2362 value = sc->dboff; in pci_xhci_hostcap_read()2544 else if (offset < sc->dboff) in pci_xhci_read()2934 sc->dboff = XHCI_SET_DOORBELL(XHCI_CAPLEN + XHCI_PORTREGS_START + in pci_xhci_init()2938 if (sc->dboff & 0x3) in pci_xhci_init()2939 sc->dboff = (sc->dboff + 0x3) & ~0x3; in pci_xhci_init()2942 sc->rtsoff = XHCI_SET_RTSOFFSET(sc->dboff + (XHCI_MAX_SLOTS+1) * 32); in pci_xhci_init()2946 DPRINTF(("pci_xhci dboff: 0x%x, rtsoff: 0x%x", sc->dboff, in pci_xhci_init()[all …]