Searched refs:db_valid_mask (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/drivers/ntb/hw/mscc/ |
D | ntb_hw_switchtec.c | 70 u64 db_valid_mask; member 475 iowrite64(sndev->db_valid_mask << sndev->db_peer_shift, in crosslink_init_dbmsgs() 605 return sndev->db_valid_mask; in switchtec_ntb_db_valid_mask() 620 return sndev->db_valid_mask; in switchtec_ntb_db_vector_mask() 630 return ret & sndev->db_valid_mask; in switchtec_ntb_db_read() 647 if (db_bits & ~sndev->db_valid_mask) in switchtec_ntb_db_set_mask() 665 if (db_bits & ~sndev->db_valid_mask) in switchtec_ntb_db_clear_mask() 682 return (sndev->db_mask >> sndev->db_shift) & sndev->db_valid_mask; in switchtec_ntb_db_read_mask() 820 .db_valid_mask = switchtec_ntb_db_valid_mask, 1241 sndev->db_valid_mask = sndev->db_mask; in switchtec_ntb_init_db() [all …]
|
/Linux-v5.4/drivers/ntb/hw/amd/ |
D | ntb_hw_amd.c | 321 return ntb_ndev(ntb)->db_valid_mask; in amd_ntb_db_valid_mask() 336 return ntb_ndev(ntb)->db_valid_mask & (1ULL << db_vector); in amd_ntb_db_vector_mask() 363 if (db_bits & ~ndev->db_valid_mask) in amd_ntb_db_set_mask() 380 if (db_bits & ~ndev->db_valid_mask) in amd_ntb_db_clear_mask() 473 .db_valid_mask = amd_ntb_db_valid_mask, 592 ndev->db_mask = ndev->db_valid_mask; in ndev_init_isr() 692 ndev->db_mask = ndev->db_valid_mask; in ndev_deinit_isr() 766 "Doorbell Valid Mask -\t%#llx\n", ndev->db_valid_mask); in ndev_debugfs_read() 938 ndev->db_valid_mask = BIT_ULL(ndev->db_count) - 1; in amd_init_ntb() 979 ndev->db_valid_mask = BIT_ULL(ndev->db_count) - 1; in amd_init_dev()
|
D | ntb_hw_amd.h | 197 u64 db_valid_mask; member
|
/Linux-v5.4/drivers/ntb/hw/intel/ |
D | ntb_hw_gen3.c | 217 ndev->db_valid_mask = BIT_ULL(ndev->db_count) - 1; in gen3_init_ntb() 219 ndev->reg->db_iowrite(ndev->db_valid_mask, in gen3_init_ntb() 314 "Doorbell Valid Mask -\t%#llx\n", ndev->db_valid_mask); in ndev_ntb3_debugfs_read() 545 if (unlikely(BIT_ULL(db_bit) & ~ntb_ndev(ntb)->db_valid_mask)) in intel_ntb3_peer_db_addr() 571 if (db_bits & ~ndev->db_valid_mask) in intel_ntb3_peer_db_set() 611 .db_valid_mask = intel_ntb_db_valid_mask,
|
D | ntb_hw_gen1.c | 216 if (db_bits & ~ndev->db_valid_mask) in ndev_db_write() 232 if (db_bits & ~ndev->db_valid_mask) in ndev_db_set_mask() 253 if (db_bits & ~ndev->db_valid_mask) in ndev_db_clear_mask() 339 if (vec_mask & ndev->db_valid_mask) in ndev_interrupt() 374 ndev->db_mask = ndev->db_valid_mask; in ndev_init_isr() 471 ndev->db_mask = ndev->db_valid_mask; in ndev_deinit_isr() 562 "Doorbell Valid Mask -\t%#llx\n", ndev->db_valid_mask); in ndev_ntb_debugfs_read() 1054 return ntb_ndev(ntb)->db_valid_mask; in intel_ntb_db_valid_mask() 1073 return ndev->db_valid_mask & ndev_vec_mask(ndev, db_vector); in intel_ntb_db_vector_mask() 1123 if (unlikely(db_bits & ~ntb_ndev(ntb)->db_valid_mask)) in intel_ntb_peer_db_addr() [all …]
|
D | ntb_hw_intel.h | 158 u64 db_valid_mask; member
|
/Linux-v5.4/include/linux/ |
D | ntb.h | 288 u64 (*db_valid_mask)(struct ntb_dev *ntb); member 360 ops->db_valid_mask && in ntb_dev_ops_is_valid() 997 return ntb->ops->db_valid_mask(ntb); in ntb_db_valid_mask()
|
/Linux-v5.4/drivers/ntb/test/ |
D | ntb_tool.c | 1054 return tool_fn_read(tc, ubuf, size, offp, tc->ntb->ops->db_valid_mask); in tool_db_valid_mask_read()
|
/Linux-v5.4/drivers/ntb/hw/idt/ |
D | ntb_hw_idt.c | 2255 .db_valid_mask = idt_ntb_db_valid_mask,
|