Home
last modified time | relevance | path

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

12

/drivers/ntb/hw/intel/
Dntb_hw_gen3.h113 resource_size_t *db_size,
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_intel.h109 resource_size_t db_size; member
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()
1942 .db_size = sizeof(u32),
Dntb_hw_gen1.h152 phys_addr_t *db_addr, resource_size_t *db_size,
Dntb_hw_gen4.c27 .db_size = sizeof(u32),
/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_io.c378 size_t qps_size, wq_size, db_size; in hinic_io_create_qps() local
401 db_size = num_qps * sizeof(*func_to_io->sq_db); in hinic_io_create_qps()
402 func_to_io->sq_db = devm_kzalloc(&pdev->dev, db_size, GFP_KERNEL); in hinic_io_create_qps()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ulp.c484 edev->l2_db_size = bp->db_size; in bnxt_ulp_probe()
485 edev->l2_db_size_nc = bp->db_size; in bnxt_ulp_probe()
Dbnxt.c6816 if (bp->db_size) in bnxt_hwrm_func_qcfg()
6825 bp->db_size = PAGE_ALIGN(le16_to_cpu(resp->l2_doorbell_bar_size_kb) * in bnxt_hwrm_func_qcfg()
6827 if (!bp->db_size || bp->db_size > pci_resource_len(bp->pdev, 2) || in bnxt_hwrm_func_qcfg()
6828 bp->db_size <= min_db_offset) in bnxt_hwrm_func_qcfg()
6829 bp->db_size = pci_resource_len(bp->pdev, 2); in bnxt_hwrm_func_qcfg()
12655 if (!bp->db_size) in bnxt_map_db_bar()
12657 bp->bar1 = pci_iomap(bp->pdev, 2, bp->db_size); in bnxt_map_db_bar()
Dbnxt.h1962 int db_size; member
/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()
1267 resp->pfdev_info.db_size = bp->db_size; in bnx2x_vf_mbx_acquire_resp()
1316 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
/drivers/net/ethernet/qlogic/qed/
Dqed.h554 unsigned long db_size; member
770 unsigned long db_size; member
Dqed_main.c291 if (cdev->doorbells && cdev->db_size) in qed_free_pci()
376 cdev->db_size = pci_resource_len(cdev->pdev, 2); in qed_init_pci()
377 if (!cdev->db_size) { in qed_init_pci()
386 cdev->doorbells = ioremap_wc(cdev->db_phys_addr, cdev->db_size); in qed_init_pci()
Dqed_vf.h176 u16 db_size; member
Dqed_sriov.c1398 u8 db_size = qed_db_addr_vf(1, DQ_DEMS_LEGACY) - in qed_iov_vf_mbx_acquire_resc_cids() local
1428 if (bar_size / db_size < 256) in qed_iov_vf_mbx_acquire_resc_cids()
1430 (u8)(bar_size / db_size)); in qed_iov_vf_mbx_acquire_resc_cids()
1605 pfdev_info->db_size = 0; in qed_iov_vf_mbx_acquire()
1668 resp->pfdev_info.db_size, in qed_iov_vf_mbx_acquire()
Dqed_dev.c88 (u8 __iomem *)cdev->doorbells + cdev->db_size) { in qed_db_rec_sanity()
93 (u8 __iomem *)cdev->doorbells + cdev->db_size); in qed_db_rec_sanity()
221 if (!p_hwfn->cdev->db_size) { in qed_db_recovery_setup()
/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c687 resource_size_t *db_size, in switchtec_ntb_peer_db_addr() argument
704 if (db_size) in switchtec_ntb_peer_db_addr()
705 *db_size = sizeof(u32); in switchtec_ntb_peer_db_addr()
/drivers/infiniband/hw/qedr/
Dqedr.h147 u32 db_size; member
Dmain.c859 dev->db_size = out_params.dpi_size; in qedr_init_hw()
Dverbs.c335 uresp.db_size = ctx->dpi_size; in qedr_alloc_ucontext()
/drivers/crypto/bcm/
Dcipher.c675 u32 db_size; /* Length of data field, incl gcm and hash padding */ in handle_ahash_req() local
836 db_size = spu_real_db_size(0, 0, local_nbuf, new_data_len, in handle_ahash_req()
839 stat_pad_len = spu->spu_wordalign_padlen(db_size); in handle_ahash_req()
1272 u32 db_size; in handle_aead_req() local
1441 db_size = spu_real_db_size(aead_parms.assoc_size, aead_parms.iv_len, 0, in handle_aead_req()
1445 stat_pad_len = spu->spu_wordalign_padlen(db_size); in handle_aead_req()
/drivers/infiniband/hw/i40iw/
Di40iw_ctrl.c5225 u8 db_size; in i40iw_device_init() local
5250 db_size = (u8)RS_32(val, I40E_GLPCI_LBARCTRL_PE_DB_SIZE); in i40iw_device_init()
5251 if ((db_size != I40IW_PE_DB_SIZE_4M) && in i40iw_device_init()
5252 (db_size != I40IW_PE_DB_SIZE_8M)) { in i40iw_device_init()
/drivers/net/ethernet/broadcom/
Dcnic.c5229 *(cid_ptr + 1) = cid * bp->db_size; in cnic_init_rings()

12