| /linux/drivers/net/ethernet/microchip/sparx5/lan969x/ |
| H A D | lan969x_fdma.c | 120 skb = build_skb(page_address(page), fdma->db_size); in lan969x_fdma_rx_get_frame() 164 .max_len = fdma->db_size - in lan969x_fdma_rx_alloc() 177 FDMA_DCB_INFO_DATAL(fdma->db_size), in lan969x_fdma_rx_alloc() 200 FDMA_DCB_INFO_DATAL(fdma->db_size), in lan969x_fdma_tx_alloc() 215 fdma->db_size = PAGE_SIZE; in lan969x_fdma_rx_init() 239 fdma->db_size = PAGE_SIZE; in lan969x_fdma_tx_init() 286 FDMA_DCB_INFO_DATAL(fdma->db_size), in lan969x_fdma_napi_poll()
|
| /linux/drivers/net/ethernet/microchip/fdma/ |
| H A D | fdma_api.h | 106 u32 db_size; member 204 (dcb_idx * fdma->n_dbs + db_idx) * fdma->db_size + in fdma_dataptr_get_contiguous() 216 (dcb_idx * fdma->n_dbs + db_idx) * fdma->db_size + in fdma_dataptr_virt_get_contiguous()
|
| H A D | fdma_api.c | 143 fdma->n_dcbs * fdma->n_dbs * fdma->db_size, in fdma_get_size_contiguous()
|
| /linux/drivers/ntb/hw/intel/ |
| H A D | ntb_hw_gen3.h | 113 resource_size_t *db_size,
|
| H A D | ntb_hw_gen3.c | 68 .db_size = sizeof(u32), 538 resource_size_t *db_size, in intel_ntb3_peer_db_addr() argument 550 ndev_db_addr(ndev, &db_addr_base, db_size, ndev->peer_addr, in intel_ntb3_peer_db_addr()
|
| H A D | ntb_hw_intel.h | 108 resource_size_t db_size; member
|
| H A D | ntb_hw_gen1.h | 153 phys_addr_t *db_addr, resource_size_t *db_size,
|
| H A 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() 1117 resource_size_t *db_size, u64 *db_data, int db_bit) in intel_ntb_peer_db_addr() argument 1130 ndev_db_addr(ndev, db_addr, db_size, ndev->peer_addr, in intel_ntb_peer_db_addr() 1938 .db_size = sizeof(u32),
|
| H A D | ntb_hw_gen4.c | 27 .db_size = sizeof(u32),
|
| /linux/drivers/net/ethernet/broadcom/bnge/ |
| H A D | bnge_auxr.c | 169 auxr_dev->l2_db_size = bd->db_size; in bnge_set_auxr_dev_info() 170 auxr_dev->l2_db_size_nc = bd->db_size; in bnge_set_auxr_dev_info()
|
| H A D | bnge_hwrm_lib.c | 541 if (bd->db_size) in bnge_hwrm_func_qcfg() 545 bd->db_size = PAGE_ALIGN(le16_to_cpu(resp->l2_doorbell_bar_size_kb) * in bnge_hwrm_func_qcfg() 547 if (!bd->db_size || bd->db_size > pci_resource_len(bd->pdev, 2) || in bnge_hwrm_func_qcfg() 548 bd->db_size <= bd->db_offset) in bnge_hwrm_func_qcfg() 549 bd->db_size = pci_resource_len(bd->pdev, 2); in bnge_hwrm_func_qcfg()
|
| H A D | bnge.h | 123 int db_size; member
|
| /linux/include/uapi/rdma/ |
| H A D | qedr-abi.h | 67 __u32 db_size; member
|
| /linux/drivers/clk/ |
| H A D | clk-scmi.c | 297 const struct clk_ops **clk_ops_db, size_t db_size) in scmi_clk_ops_select() argument 334 if (WARN_ON(feats_key >= db_size)) in scmi_clk_ops_select()
|
| /linux/include/linux/ |
| H A D | ntb.h | 302 phys_addr_t *db_addr, resource_size_t *db_size, 1158 resource_size_t *db_size, in ntb_peer_db_addr() argument 1164 return ntb->ops->peer_db_addr(ntb, db_addr, db_size, db_data, db_bit); in ntb_peer_db_addr()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_userq.c | 480 int r, db_size; in amdgpu_userq_get_doorbell_index() local 508 db_size = sizeof(u64); in amdgpu_userq_get_doorbell_index() 518 if ((u64)db_info->doorbell_offset * db_size + db_size > in amdgpu_userq_get_doorbell_index() 525 db_info->doorbell_offset, db_size); in amdgpu_userq_get_doorbell_index()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ulp.c | 502 edev->l2_db_size = bp->db_size; in bnxt_set_edev_info() 503 edev->l2_db_size_nc = bp->db_size; in bnxt_set_edev_info()
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_vfpf.h | 187 u16 db_size; member
|
| H A D | bnx2x_vfpf.c | 370 bp->db_size = bp->acquire_resp.pfdev_info.db_size; in bnx2x_vfpf_acquire() 1269 resp->pfdev_info.db_size = bp->db_size; in bnx2x_vf_mbx_acquire_resp() 1318 resp->pfdev_info.db_size, in bnx2x_vf_mbx_acquire_resp()
|
| H A D | bnx2x.h | 774 writel_relaxed((u32)(val), (bp)->doorbells + ((bp)->db_size * (cid))) 1355 u16 db_size; member
|
| /linux/drivers/ntb/hw/mscc/ |
| H A D | ntb_hw_switchtec.c | 689 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/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_main.c | 261 if (cdev->doorbells && cdev->db_size) in qed_free_pci() 348 cdev->db_size = pci_resource_len(cdev->pdev, 2); in qed_init_pci() 349 if (!cdev->db_size) { in qed_init_pci() 358 cdev->doorbells = ioremap_wc(cdev->db_phys_addr, cdev->db_size); in qed_init_pci()
|
| H A D | qed_vf.h | 176 u16 db_size; member
|
| H A D | qed_sriov.c | 1400 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()
|
| /linux/drivers/infiniband/hw/qedr/ |
| H A D | main.c | 826 dev->db_size = out_params.dpi_size; in qedr_init_hw()
|