Home
last modified time | relevance | path

Searched refs:db_valid_mask (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/ntb/hw/amd/
Dntb_hw_amd.c402 return ntb_ndev(ntb)->db_valid_mask; in amd_ntb_db_valid_mask()
417 return ntb_ndev(ntb)->db_valid_mask & (1ULL << db_vector); in amd_ntb_db_vector_mask()
444 if (db_bits & ~ndev->db_valid_mask) in amd_ntb_db_set_mask()
461 if (db_bits & ~ndev->db_valid_mask) in amd_ntb_db_clear_mask()
554 .db_valid_mask = amd_ntb_db_valid_mask,
719 ndev->db_mask = ndev->db_valid_mask; in ndev_init_isr()
819 ndev->db_mask = ndev->db_valid_mask; in ndev_deinit_isr()
893 "Doorbell Valid Mask -\t%#llx\n", ndev->db_valid_mask); in ndev_debugfs_read()
1131 ndev->db_valid_mask = BIT_ULL(ndev->db_count) - 1; in amd_init_dev()
1138 find_last_bit((unsigned long *)&ndev->db_valid_mask, in amd_init_dev()
[all …]
Dntb_hw_amd.h194 u64 db_valid_mask; member
/linux-6.1.9/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c70 u64 db_valid_mask; member
477 iowrite64(sndev->db_valid_mask << sndev->db_peer_shift, in crosslink_init_dbmsgs()
607 return sndev->db_valid_mask; in switchtec_ntb_db_valid_mask()
622 return sndev->db_valid_mask; in switchtec_ntb_db_vector_mask()
632 return ret & sndev->db_valid_mask; in switchtec_ntb_db_read()
649 if (db_bits & ~sndev->db_valid_mask) in switchtec_ntb_db_set_mask()
667 if (db_bits & ~sndev->db_valid_mask) in switchtec_ntb_db_clear_mask()
684 return (sndev->db_mask >> sndev->db_shift) & sndev->db_valid_mask; in switchtec_ntb_db_read_mask()
822 .db_valid_mask = switchtec_ntb_db_valid_mask,
1239 sndev->db_valid_mask = sndev->db_mask; in switchtec_ntb_init_db()
[all …]
/linux-6.1.9/drivers/ntb/hw/intel/
Dntb_hw_gen3.c217 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()
544 if (unlikely(BIT_ULL(db_bit) & ~ntb_ndev(ntb)->db_valid_mask)) in intel_ntb3_peer_db_addr()
570 if (db_bits & ~ndev->db_valid_mask) in intel_ntb3_peer_db_set()
610 .db_valid_mask = intel_ntb_db_valid_mask,
Dntb_hw_gen1.c217 if (db_bits & ~ndev->db_valid_mask) in ndev_db_write()
233 if (db_bits & ~ndev->db_valid_mask) in ndev_db_set_mask()
254 if (db_bits & ~ndev->db_valid_mask) in ndev_db_clear_mask()
340 if (vec_mask & ndev->db_valid_mask) in ndev_interrupt()
375 ndev->db_mask = ndev->db_valid_mask; in ndev_init_isr()
472 ndev->db_mask = ndev->db_valid_mask; in ndev_deinit_isr()
563 "Doorbell Valid Mask -\t%#llx\n", ndev->db_valid_mask); in ndev_ntb_debugfs_read()
1057 return ntb_ndev(ntb)->db_valid_mask; in intel_ntb_db_valid_mask()
1076 return ndev->db_valid_mask & ndev_vec_mask(ndev, db_vector); in intel_ntb_db_vector_mask()
1126 if (unlikely(db_bits & ~ntb_ndev(ntb)->db_valid_mask)) in intel_ntb_peer_db_addr()
[all …]
Dntb_hw_gen4.c150 ndev->db_valid_mask = BIT_ULL(ndev->db_count) - 1; in gen4_init_ntb()
152 ndev->reg->db_iowrite(ndev->db_valid_mask, in gen4_init_ntb()
278 "Doorbell Valid Mask -\t%#llx\n", ndev->db_valid_mask); in ndev_ntb4_debugfs_read()
575 .db_valid_mask = intel_ntb_db_valid_mask,
Dntb_hw_intel.h158 u64 db_valid_mask; member
/linux-6.1.9/drivers/ntb/hw/epf/
Dntb_hw_epf.c83 u64 db_valid_mask; member
395 return ntb_ndev(ntb)->db_valid_mask; in ntb_epf_db_valid_mask()
519 .db_valid_mask = ntb_epf_db_valid_mask,
559 ndev->db_valid_mask = BIT_ULL(ndev->db_count) - 1; in ntb_epf_init_dev()
/linux-6.1.9/include/linux/
Dntb.h288 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-6.1.9/drivers/pci/endpoint/functions/
Dpci-epf-vntb.c1224 .db_valid_mask = vntb_epf_db_valid_mask,
/linux-6.1.9/drivers/ntb/test/
Dntb_tool.c1056 return tool_fn_read(tc, ubuf, size, offp, tc->ntb->ops->db_valid_mask); in tool_db_valid_mask_read()
/linux-6.1.9/drivers/ntb/hw/idt/
Dntb_hw_idt.c2255 .db_valid_mask = idt_ntb_db_valid_mask,