Home
last modified time | relevance | path

Searched refs:db_size (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.1.9/drivers/ntb/hw/intel/
Dntb_hw_gen3.h113 resource_size_t *db_size,
Dntb_hw_intel.h107 resource_size_t db_size; member
Dntb_hw_gen3.c68 .db_size = sizeof(u32),
535 resource_size_t *db_size, in intel_ntb3_peer_db_addr() argument
547 ndev_db_addr(ndev, &db_addr_base, db_size, ndev->peer_addr, in intel_ntb3_peer_db_addr()
Dntb_hw_gen1.h153 phys_addr_t *db_addr, resource_size_t *db_size,
Dntb_hw_gen1.c185 phys_addr_t *db_addr, resource_size_t *db_size, in ndev_db_addr() argument
196 if (db_size) { in ndev_db_addr()
197 *db_size = ndev->reg->db_size; in ndev_db_addr()
198 dev_dbg(&ndev->ntb.pdev->dev, "Peer db size %llx\n", *db_size); in ndev_db_addr()
1116 resource_size_t *db_size, u64 *db_data, int db_bit) in intel_ntb_peer_db_addr() argument
1129 ndev_db_addr(ndev, db_addr, db_size, ndev->peer_addr, in intel_ntb_peer_db_addr()
1936 .db_size = sizeof(u32),
Dntb_hw_gen4.c27 .db_size = sizeof(u32),
/linux-6.1.9/include/uapi/rdma/
Dqedr-abi.h67 __u32 db_size; member
/linux-6.1.9/include/linux/
Dntb.h301 phys_addr_t *db_addr, resource_size_t *db_size,
1154 resource_size_t *db_size, in ntb_peer_db_addr() argument
1160 return ntb->ops->peer_db_addr(ntb, db_addr, db_size, db_data, db_bit); in ntb_peer_db_addr()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ulp.c491 edev->l2_db_size = bp->db_size; in bnxt_ulp_probe()
492 edev->l2_db_size_nc = bp->db_size; in bnxt_ulp_probe()
Dbnxt.c6987 if (bp->db_size) in bnxt_hwrm_func_qcfg()
6996 bp->db_size = PAGE_ALIGN(le16_to_cpu(resp->l2_doorbell_bar_size_kb) * in bnxt_hwrm_func_qcfg()
6998 if (!bp->db_size || bp->db_size > pci_resource_len(bp->pdev, 2) || in bnxt_hwrm_func_qcfg()
6999 bp->db_size <= min_db_offset) in bnxt_hwrm_func_qcfg()
7000 bp->db_size = pci_resource_len(bp->pdev, 2); in bnxt_hwrm_func_qcfg()
13511 if (!bp->db_size) in bnxt_map_db_bar()
13513 bp->bar1 = pci_iomap(bp->pdev, 2, bp->db_size); in bnxt_map_db_bar()
Dbnxt.h2096 int db_size; member
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_vfpf.h187 u16 db_size; member
Dbnx2x_vfpf.c370 bp->db_size = bp->acquire_resp.pfdev_info.db_size; in bnx2x_vfpf_acquire()
1266 resp->pfdev_info.db_size = bp->db_size; in bnx2x_vf_mbx_acquire_resp()
1315 resp->pfdev_info.db_size, in bnx2x_vf_mbx_acquire_resp()
Dbnx2x.h774 writel_relaxed((u32)(val), (bp)->doorbells + ((bp)->db_size * (cid)))
1355 u16 db_size; member
/linux-6.1.9/fs/ocfs2/cluster/
Dheartbeat.c73 int db_size; member
1278 BUG_ON(sizeof(map) < db->db_size); in o2hb_debug_open()
1290 memcpy(map, db->db_data, db->db_size); in o2hb_debug_open()
1297 memcpy(map, reg->hr_live_node_bitmap, db->db_size); in o2hb_debug_open()
1393 (*db)->db_size = size; in o2hb_debug_create()
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed.h547 unsigned long db_size; member
762 unsigned long db_size; member
Dqed_main.c264 if (cdev->doorbells && cdev->db_size) in qed_free_pci()
352 cdev->db_size = pci_resource_len(cdev->pdev, 2); in qed_init_pci()
353 if (!cdev->db_size) { in qed_init_pci()
362 cdev->doorbells = ioremap_wc(cdev->db_phys_addr, cdev->db_size); in qed_init_pci()
Dqed_vf.h176 u16 db_size; member
Dqed_sriov.c1400 u8 db_size = qed_db_addr_vf(1, DQ_DEMS_LEGACY) - in qed_iov_vf_mbx_acquire_resc_cids() local
1430 if (bar_size / db_size < 256) in qed_iov_vf_mbx_acquire_resc_cids()
1432 (u8)(bar_size / db_size)); in qed_iov_vf_mbx_acquire_resc_cids()
1607 pfdev_info->db_size = 0; in qed_iov_vf_mbx_acquire()
1670 resp->pfdev_info.db_size, in qed_iov_vf_mbx_acquire()
Dqed_dev.c90 (u8 __iomem *)cdev->doorbells + cdev->db_size) { in qed_db_rec_sanity()
95 (u8 __iomem *)cdev->doorbells + cdev->db_size); in qed_db_rec_sanity()
223 if (!p_hwfn->cdev->db_size) { in qed_db_recovery_setup()
/linux-6.1.9/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c689 resource_size_t *db_size, in switchtec_ntb_peer_db_addr() argument
706 if (db_size) in switchtec_ntb_peer_db_addr()
707 *db_size = sizeof(u32); in switchtec_ntb_peer_db_addr()
/linux-6.1.9/drivers/infiniband/hw/qedr/
Dqedr.h147 u32 db_size; member
Dmain.c829 dev->db_size = out_params.dpi_size; in qedr_init_hw()
/linux-6.1.9/drivers/crypto/bcm/
Dcipher.c674 u32 db_size; /* Length of data field, incl gcm and hash padding */ in handle_ahash_req() local
835 db_size = spu_real_db_size(0, 0, local_nbuf, new_data_len, in handle_ahash_req()
838 stat_pad_len = spu->spu_wordalign_padlen(db_size); in handle_ahash_req()
1270 u32 db_size; in handle_aead_req() local
1439 db_size = spu_real_db_size(aead_parms.assoc_size, aead_parms.iv_len, 0, in handle_aead_req()
1443 stat_pad_len = spu->spu_wordalign_padlen(db_size); in handle_aead_req()
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dctrl.c5349 u8 db_size; in irdma_sc_dev_init() local
5395 db_size = (u8)FIELD_GET(IRDMA_GLPCI_LBARCTRL_PE_DB_SIZE, val); in irdma_sc_dev_init()
5396 if (db_size != IRDMA_PE_DB_SIZE_4M && db_size != IRDMA_PE_DB_SIZE_8M) { in irdma_sc_dev_init()
5399 val, db_size); in irdma_sc_dev_init()

12