Searched refs:db_vector (Results 1 – 4 of 4) sorted by relevance
170 u64 intel_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector);
267 static inline u64 ndev_vec_mask(struct intel_ntb_dev *ndev, int db_vector) in ndev_vec_mask() argument274 return mask << (shift * db_vector); in ndev_vec_mask()1069 u64 intel_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector) in intel_ntb_db_vector_mask() argument1073 if (db_vector < 0 || db_vector > ndev->db_vec_count) in intel_ntb_db_vector_mask()1076 return ndev->db_valid_mask & ndev_vec_mask(ndev, db_vector); in intel_ntb_db_vector_mask()
410 static u64 amd_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector) in amd_ntb_db_vector_mask() argument414 if (db_vector < 0 || db_vector > ndev->db_count) in amd_ntb_db_vector_mask()417 return ntb_ndev(ntb)->db_valid_mask & (1ULL << db_vector); in amd_ntb_db_vector_mask()
613 static u64 switchtec_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector) in switchtec_ntb_db_vector_mask() argument617 if (db_vector < 0 || db_vector > 1) in switchtec_ntb_db_vector_mask()