Home
last modified time | relevance | path

Searched refs:db_vector (Results 1 – 4 of 4) sorted by relevance

/drivers/ntb/hw/intel/
Dntb_hw_gen1.h170 u64 intel_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector);
Dntb_hw_gen1.c267 static inline u64 ndev_vec_mask(struct intel_ntb_dev *ndev, int db_vector) in ndev_vec_mask() argument
274 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() argument
1073 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()
/drivers/ntb/hw/amd/
Dntb_hw_amd.c410 static u64 amd_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector) in amd_ntb_db_vector_mask() argument
414 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()
/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c613 static u64 switchtec_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector) in switchtec_ntb_db_vector_mask() argument
617 if (db_vector < 0 || db_vector > 1) in switchtec_ntb_db_vector_mask()