/openbmc/linux/drivers/pci/endpoint/functions/ |
H A D | pci-epf-ntb.c | 78 u32 db_count; member 489 u16 db_count) in epf_ntb_configure_msix() argument 556 u16 db_count, bool msix) in epf_ntb_configure_db() argument 628 u16 db_count; in epf_ntb_cmd_handler() local 1281 u32 db_count; in epf_ntb_configure_interrupt() local 1299 db_count = ntb->db_count; in epf_ntb_configure_interrupt() 1305 ntb->db_count = db_count; in epf_ntb_configure_interrupt() 1436 u32 num_mws, db_count; in epf_ntb_db_mw_bar_init() local 1456 db_count = ntb->db_count; in epf_ntb_db_mw_bar_init() 2018 EPF_NTB_R(db_count) [all …]
|
H A 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() 536 size_t size = sizeof(u32) * ntb->db_count; in epf_ntb_db_bar_init() 916 EPF_NTB_R(db_count) 917 EPF_NTB_W(db_count) [all …]
|
/openbmc/linux/drivers/ntb/hw/epf/ |
H A 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()
|
/openbmc/linux/drivers/ntb/hw/amd/ |
H A 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()
|
H A D | ntb_hw_amd.h | 191 unsigned char db_count; member
|
/openbmc/linux/fs/ext2/ |
H A 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()
|
/openbmc/linux/Documentation/PCI/endpoint/function/binding/ |
H A D | pci-ntb.rst | 31 db_count Number of doorbells; default = 4
|
/openbmc/linux/drivers/ntb/hw/intel/ |
H A D | ntb_hw_intel.h | 154 unsigned char db_count; member
|
H A 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()
|
H A 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()
|
H A 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()
|
/openbmc/linux/Documentation/PCI/endpoint/ |
H A 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
|
H A 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
|
/openbmc/linux/fs/ext4/ |
H A D | super.c | 4845 unsigned int db_count; in ext4_group_desc_init() local 4849 db_count = (sbi->s_groups_count + EXT4_DESC_PER_BLOCK(sb) - 1) / in ext4_group_desc_init() 4852 if (le32_to_cpu(es->s_first_meta_bg) > db_count) { in ext4_group_desc_init() 4856 le32_to_cpu(es->s_first_meta_bg), db_count); in ext4_group_desc_init() 4861 kvmalloc_array(db_count, in ext4_group_desc_init() 4872 for (i = 0; i < db_count; i++) { in ext4_group_desc_init() 4877 for (i = 0; i < db_count; i++) { in ext4_group_desc_init() 4892 sbi->s_gdb_count = db_count; in ext4_group_desc_init()
|