/linux-6.12.1/drivers/pci/endpoint/functions/ |
D | pci-epf-ntb.c | 78 u32 db_count; member 384 enum pci_epc_interface_type type, u16 db_count) in epf_ntb_configure_msi() argument 409 ret = pci_epc_map_msi_irq(epc, func_no, vfunc_no, phys_addr, db_count, in epf_ntb_configure_msi() 417 for (i = 0; i < db_count; i++) { in epf_ntb_configure_msi() 489 u16 db_count) in epf_ntb_configure_msix() argument 523 for (i = 0; i < db_count; i++) { in epf_ntb_configure_msix() 556 u16 db_count, bool msix) in epf_ntb_configure_db() argument 562 if (db_count > MAX_DB_COUNT) in epf_ntb_configure_db() 569 ret = epf_ntb_configure_msix(ntb, type, db_count); in epf_ntb_configure_db() 571 ret = epf_ntb_configure_msi(ntb, type, db_count); in epf_ntb_configure_db() [all …]
|
D | pci-epf-vntb.c | 124 u32 db_count; member 259 for (i = 1; i < ntb->db_count; i++) { in epf_ntb_cmd_handler() 466 for (i = 0; i < ntb->db_count; i++) { in epf_ntb_config_spad_bar_alloc() 487 u32 db_count; in epf_ntb_configure_interrupt() local 499 db_count = ntb->db_count; in epf_ntb_configure_interrupt() 500 if (db_count > MAX_DB_COUNT) { in epf_ntb_configure_interrupt() 505 ntb->db_count = db_count; in epf_ntb_configure_interrupt() 535 size_t size = sizeof(u32) * ntb->db_count; in epf_ntb_db_bar_init() 905 EPF_NTB_R(db_count) 906 EPF_NTB_W(db_count) [all …]
|
/linux-6.12.1/drivers/ntb/hw/epf/ |
D | ntb_hw_epf.c | 73 unsigned int db_count; member 362 ndev->db_count = irq - 1; in ntb_epf_init_isr() 374 for (i = 0; i < ndev->db_count + 1; i++) in ntb_epf_init_isr() 478 if (interrupt_num > ndev->db_count) { in ntb_epf_peer_db_set() 480 interrupt_num, ndev->db_count); in ntb_epf_peer_db_set() 559 ndev->db_valid_mask = BIT_ULL(ndev->db_count) - 1; in ntb_epf_init_dev() 652 ntb_epf_send_command(ndev, CMD_TEARDOWN_DOORBELL, ndev->db_count + 1); in ntb_epf_cleanup_isr() 654 for (i = 0; i < ndev->db_count + 1; i++) in ntb_epf_cleanup_isr()
|
/linux-6.12.1/drivers/ntb/hw/amd/ |
D | ntb_hw_amd.c | 407 return ntb_ndev(ntb)->db_count; in amd_ntb_db_vector_count() 414 if (db_vector < 0 || db_vector > ndev->db_count) in amd_ntb_db_vector_mask() 758 ndev->db_count = msix_min; in ndev_init_isr() 785 ndev->db_count = 1; in ndev_init_isr() 802 ndev->db_count = 1; in ndev_init_isr() 888 "Doorbell Count -\t%u\n", ndev->db_count); in ndev_debugfs_read() 1064 ndev->db_count = AMD_DB_CNT; in amd_init_ntb() 1128 ndev->db_valid_mask = BIT_ULL(ndev->db_count) - 1; in amd_init_dev() 1142 ndev->db_count -= 1; in amd_init_dev() 1143 ndev->db_valid_mask = BIT_ULL(ndev->db_count) - 1; in amd_init_dev()
|
D | ntb_hw_amd.h | 191 unsigned char db_count; member
|
/linux-6.12.1/fs/ext2/ |
D | super.c | 146 int db_count; in ext2_put_super() local 163 db_count = sbi->s_gdb_count; in ext2_put_super() 164 for (i = 0; i < db_count; i++) in ext2_put_super() 817 int db_count; in ext2_fill_super() local 1085 db_count = (sbi->s_groups_count + EXT2_DESC_PER_BLOCK(sb) - 1) / in ext2_fill_super() 1087 sbi->s_group_desc = kvmalloc_array(db_count, in ext2_fill_super() 1102 for (i = 0; i < db_count; i++) { in ext2_fill_super() 1117 sbi->s_gdb_count = db_count; in ext2_fill_super() 1210 for (i = 0; i < db_count; i++) in ext2_fill_super()
|
/linux-6.12.1/Documentation/PCI/endpoint/function/binding/ |
D | pci-ntb.rst | 31 db_count Number of doorbells; default = 4
|
/linux-6.12.1/drivers/ntb/hw/intel/ |
D | ntb_hw_gen4.c | 134 ndev->db_count = GEN4_DB_COUNT; in gen4_init_ntb() 150 ndev->db_valid_mask = BIT_ULL(ndev->db_count) - 1; in gen4_init_ntb() 271 "Doorbell Count -\t%u\n", ndev->db_count); in ndev_ntb4_debugfs_read()
|
D | ntb_hw_gen3.c | 180 ndev->db_count = GEN3_DB_COUNT; in gen3_init_ntb() 217 ndev->db_valid_mask = BIT_ULL(ndev->db_count) - 1; in gen3_init_ntb() 307 "Doorbell Count -\t%u\n", ndev->db_count); in ndev_ntb3_debugfs_read()
|
D | ntb_hw_intel.h | 154 unsigned char db_count; member
|
D | ntb_hw_gen1.c | 556 "Doorbell Count -\t%u\n", ndev->db_count); in ndev_ntb_debugfs_read() 1549 ndev->db_count = XEON_DB_COUNT; in xeon_init_ntb() 1609 ndev->db_count -= 1; in xeon_init_ntb() 1634 ndev->db_valid_mask = BIT_ULL(ndev->db_count) - 1; in xeon_init_ntb() 1829 ndev->db_count = 0; in ndev_init_struct()
|
/linux-6.12.1/Documentation/PCI/endpoint/ |
D | pci-vntb-howto.rst | 93 db_count mw1 mw2 mw3 mw4 num_mws 98 # echo 4 > functions/pci_epf_vntb/func1/pci_epf_vntb.0/db_count
|
D | pci-ntb-howto.rst | 97 db_count mw1 mw2 mw3 mw4 num_mws 102 # echo 4 > functions/pci_epf_ntb/func1/pci_epf_ntb.0/db_count
|
/linux-6.12.1/fs/ext4/ |
D | super.c | 4805 unsigned int db_count; in ext4_group_desc_init() local 4809 db_count = (sbi->s_groups_count + EXT4_DESC_PER_BLOCK(sb) - 1) / in ext4_group_desc_init() 4812 if (le32_to_cpu(es->s_first_meta_bg) > db_count) { in ext4_group_desc_init() 4816 le32_to_cpu(es->s_first_meta_bg), db_count); in ext4_group_desc_init() 4821 kvmalloc_array(db_count, in ext4_group_desc_init() 4832 for (i = 0; i < db_count; i++) { in ext4_group_desc_init() 4837 for (i = 0; i < db_count; i++) { in ext4_group_desc_init() 4852 sbi->s_gdb_count = db_count; in ext4_group_desc_init()
|