Lines Matching refs:regoff
350 static inline uint64_t db_ioread(struct ntb_softc *, uint64_t regoff);
351 static inline void db_iowrite(struct ntb_softc *, uint64_t regoff, uint64_t);
352 static inline void db_iowrite_raw(struct ntb_softc *, uint64_t regoff, uint64_t);
1408 db_ioread(struct ntb_softc *ntb, uint64_t regoff) in db_ioread() argument
1415 return (intel_ntb_reg_read(8, regoff)); in db_ioread()
1417 return (intel_ntb_reg_read(2, regoff)); in db_ioread()
1423 db_iowrite(struct ntb_softc *ntb, uint64_t regoff, uint64_t val) in db_iowrite() argument
1431 if (regoff == ntb->self_reg->db_mask) in db_iowrite()
1433 db_iowrite_raw(ntb, regoff, val); in db_iowrite()
1437 db_iowrite_raw(struct ntb_softc *ntb, uint64_t regoff, uint64_t val) in db_iowrite_raw() argument
1444 intel_ntb_reg_write(8, regoff, val); in db_iowrite_raw()
1447 intel_ntb_reg_write(2, regoff, (uint16_t)val); in db_iowrite_raw()
3792 uint64_t regoff; in intel_ntb_peer_db_addr() local
3798 regoff = ntb->peer_reg->db_bell; in intel_ntb_peer_db_addr()
3804 regoff = XEON_PDOORBELL_OFFSET; in intel_ntb_peer_db_addr()
3809 *db_addr = ((uint64_t)bar->pci_bus_handle + regoff); in intel_ntb_peer_db_addr()