Searched refs:db_bit (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/ntb/hw/intel/ |
H A D | ntb_hw_gen3.c | 536 u64 *db_data, int db_bit) in intel_ntb3_peer_db_addr() argument 541 if (unlikely(db_bit >= BITS_PER_LONG_LONG)) in intel_ntb3_peer_db_addr() 544 if (unlikely(BIT_ULL(db_bit) & ~ntb_ndev(ntb)->db_valid_mask)) in intel_ntb3_peer_db_addr() 551 *db_addr = db_addr_base + (db_bit * 4); in intel_ntb3_peer_db_addr() 553 *db_addr, db_bit); in intel_ntb3_peer_db_addr() 559 *db_data, db_bit); in intel_ntb3_peer_db_addr()
|
H A D | ntb_hw_gen3.h | 114 u64 *db_data, int db_bit);
|
H A D | ntb_hw_gen1.c | 1116 resource_size_t *db_size, u64 *db_data, int db_bit) in intel_ntb_peer_db_addr() argument 1121 if (unlikely(db_bit >= BITS_PER_LONG_LONG)) in intel_ntb_peer_db_addr() 1124 db_bits = BIT_ULL(db_bit); in intel_ntb_peer_db_addr()
|
/openbmc/linux/include/linux/ |
H A D | ntb.h | 302 u64 *db_data, int db_bit); 1155 u64 *db_data, int db_bit) in ntb_peer_db_addr() argument 1160 return ntb->ops->peer_db_addr(ntb, db_addr, db_size, db_data, db_bit); in ntb_peer_db_addr()
|
/openbmc/linux/drivers/ntb/hw/mscc/ |
H A D | ntb_hw_switchtec.c | 691 int db_bit) in switchtec_ntb_peer_db_addr() argument 696 if (unlikely(db_bit >= BITS_PER_LONG_LONG)) in switchtec_ntb_peer_db_addr() 709 *db_data = BIT_ULL(db_bit) << sndev->db_peer_shift; in switchtec_ntb_peer_db_addr()
|