Searched refs:db_vector (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/ntb/hw/epf/ |
| H A D | ntb_hw_epf.c | 347 unsigned int db_vector; in ntb_epf_vec_isr() local 356 db_vector = irq_no - EPF_IRQ_DB_START; in ntb_epf_vec_isr() 358 db_vector >= ndev->db_count - 1) { in ntb_epf_vec_isr() 361 db_vector, ndev->db_count); in ntb_epf_vec_isr() 365 atomic64_or(BIT_ULL(db_vector), &ndev->db_val); in ntb_epf_vec_isr() 366 ntb_db_event(&ndev->ntb, db_vector); in ntb_epf_vec_isr() 452 static u64 ntb_epf_db_vector_mask(struct ntb_dev *ntb, int db_vector) in ntb_epf_db_vector_mask() argument 461 if (db_vector < 0 || db_vector >= nr_vec) in ntb_epf_db_vector_mask() 464 return BIT_ULL(db_vector); in ntb_epf_db_vector_mask()
|
| /linux/drivers/ntb/hw/intel/ |
| H A D | ntb_hw_gen1.h | 171 u64 intel_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector);
|
| H A D | ntb_hw_gen1.c | 267 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() 1070 u64 intel_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector) in intel_ntb_db_vector_mask() argument 1074 if (db_vector < 0 || db_vector > ndev->db_vec_count) in intel_ntb_db_vector_mask() 1077 return ndev->db_valid_mask & ndev_vec_mask(ndev, db_vector); in intel_ntb_db_vector_mask()
|
| /linux/drivers/ntb/hw/amd/ |
| H A D | ntb_hw_amd.c | 419 static u64 amd_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector) in amd_ntb_db_vector_mask() argument 423 if (db_vector < 0 || db_vector > ndev->db_count) in amd_ntb_db_vector_mask() 426 return ntb_ndev(ntb)->db_valid_mask & (1ULL << db_vector); in amd_ntb_db_vector_mask()
|
| /linux/drivers/pci/endpoint/functions/ |
| H A D | pci-epf-vntb.c | 1394 static u64 vntb_epf_db_vector_mask(struct ntb_dev *ntb, int db_vector) in vntb_epf_db_vector_mask() argument 1403 if (db_vector < 0 || db_vector >= nr_vec) in vntb_epf_db_vector_mask() 1406 return BIT_ULL(db_vector); in vntb_epf_db_vector_mask()
|
| /linux/include/linux/ |
| H A D | ntb.h | 195 void (*db_event)(void *ctx, int db_vector); 291 u64 (*db_vector_mask)(struct ntb_dev *ntb, int db_vector);
|
| /linux/drivers/ntb/hw/mscc/ |
| H A D | ntb_hw_switchtec.c | 615 static u64 switchtec_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector) in switchtec_ntb_db_vector_mask() argument 619 if (db_vector < 0 || db_vector > 1) in switchtec_ntb_db_vector_mask()
|