/drivers/ntb/hw/intel/ |
D | ntb_hw_gen3.h | 113 resource_size_t *db_size,
|
D | ntb_hw_gen3.c | 68 .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()
|
D | ntb_hw_intel.h | 109 resource_size_t db_size; member
|
D | ntb_hw_gen1.c | 185 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),
|
D | ntb_hw_gen1.h | 152 phys_addr_t *db_addr, resource_size_t *db_size,
|
D | ntb_hw_gen4.c | 27 .db_size = sizeof(u32),
|
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_io.c | 378 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/ |
D | bnxt_ulp.c | 484 edev->l2_db_size = bp->db_size; in bnxt_ulp_probe() 485 edev->l2_db_size_nc = bp->db_size; in bnxt_ulp_probe()
|
D | bnxt.c | 6816 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()
|
D | bnxt.h | 1962 int db_size; member
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_vfpf.h | 187 u16 db_size; member
|
D | bnx2x_vfpf.c | 370 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()
|
D | bnx2x.h | 774 writel_relaxed((u32)(val), (bp)->doorbells + ((bp)->db_size * (cid))) 1355 u16 db_size; member
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed.h | 554 unsigned long db_size; member 770 unsigned long db_size; member
|
D | qed_main.c | 291 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()
|
D | qed_vf.h | 176 u16 db_size; member
|
D | qed_sriov.c | 1398 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()
|
D | qed_dev.c | 88 (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/ |
D | ntb_hw_switchtec.c | 687 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/ |
D | qedr.h | 147 u32 db_size; member
|
D | main.c | 859 dev->db_size = out_params.dpi_size; in qedr_init_hw()
|
D | verbs.c | 335 uresp.db_size = ctx->dpi_size; in qedr_alloc_ucontext()
|
/drivers/crypto/bcm/ |
D | cipher.c | 675 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/ |
D | i40iw_ctrl.c | 5225 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/ |
D | cnic.c | 5229 *(cid_ptr + 1) = cid * bp->db_size; in cnic_init_rings()
|