Searched refs:BFA_ROUNDUP (Results 1 – 6 of 6) sorted by relevance
/drivers/scsi/bfa/ |
D | bfa_port.c | 202 return BFA_ROUNDUP(sizeof(union bfa_port_stats_u), BFA_DMA_ALIGN_SZ); in bfa_port_meminfo() 620 return BFA_ROUNDUP(sizeof(struct bfa_cee_attr_s), BFA_DMA_ALIGN_SZ) + in bfa_cee_meminfo() 621 BFA_ROUNDUP(sizeof(struct bfa_cee_stats_s), BFA_DMA_ALIGN_SZ); in bfa_cee_meminfo() 640 cee->stats_dma.kva = dma_kva + BFA_ROUNDUP( in bfa_cee_mem_claim() 642 cee->stats_dma.pa = dma_pa + BFA_ROUNDUP( in bfa_cee_mem_claim() 645 cee->stats = (struct bfa_cee_stats_s *) (dma_kva + BFA_ROUNDUP( in bfa_cee_mem_claim()
|
D | bfa_core.c | 1108 per_reqq_sz = BFA_ROUNDUP((cfg->drvcfg.num_reqq_elems * BFI_LMSG_SZ), in bfa_iocfc_mem_claim() 1110 per_rspq_sz = BFA_ROUNDUP((cfg->drvcfg.num_rspq_elems * BFI_LMSG_SZ), in bfa_iocfc_mem_claim() 1145 dm_kva += BFA_ROUNDUP(sizeof(struct bfi_iocfc_cfg_s), BFA_CACHELINE_SZ); in bfa_iocfc_mem_claim() 1146 dm_pa += BFA_ROUNDUP(sizeof(struct bfi_iocfc_cfg_s), BFA_CACHELINE_SZ); in bfa_iocfc_mem_claim() 1152 dm_kva += BFA_ROUNDUP(sizeof(struct bfi_iocfc_cfgrsp_s), in bfa_iocfc_mem_claim() 1154 dm_pa += BFA_ROUNDUP(sizeof(struct bfi_iocfc_cfgrsp_s), in bfa_iocfc_mem_claim() 1477 BFA_ROUNDUP(sizeof(struct bfi_ioc_attr_s), BFA_DMA_ALIGN_SZ)); in bfa_iocfc_meminfo() 1480 per_reqq_sz = BFA_ROUNDUP((cfg->drvcfg.num_reqq_elems * BFI_LMSG_SZ), in bfa_iocfc_meminfo() 1482 per_rspq_sz = BFA_ROUNDUP((cfg->drvcfg.num_rspq_elems * BFI_LMSG_SZ), in bfa_iocfc_meminfo() 1497 dm_len += BFA_ROUNDUP(sizeof(struct bfi_iocfc_cfg_s), BFA_CACHELINE_SZ); in bfa_iocfc_meminfo() [all …]
|
D | bfa_ioc.c | 3122 return BFA_ROUNDUP(sizeof(struct bfa_ablk_cfg_s), BFA_DMA_ALIGN_SZ); in bfa_ablk_meminfo() 3772 return BFA_ROUNDUP(sizeof(struct sfp_mem_s), BFA_DMA_ALIGN_SZ); in bfa_sfp_meminfo() 3815 dm_kva += BFA_ROUNDUP(sizeof(struct sfp_mem_s), BFA_DMA_ALIGN_SZ); in bfa_sfp_memclaim() 3816 dm_pa += BFA_ROUNDUP(sizeof(struct sfp_mem_s), BFA_DMA_ALIGN_SZ); in bfa_sfp_memclaim() 3947 BFA_ROUNDUP(0x010000 + sizeof(struct bfa_mfg_block_s), BFA_FLASH_SEG_SZ) 4225 return BFA_ROUNDUP(BFA_FLASH_DMA_BUF_SZ, BFA_DMA_ALIGN_SZ); in bfa_flash_meminfo() 4277 dm_kva += BFA_ROUNDUP(BFA_FLASH_DMA_BUF_SZ, BFA_DMA_ALIGN_SZ); in bfa_flash_memclaim() 4278 dm_pa += BFA_ROUNDUP(BFA_FLASH_DMA_BUF_SZ, BFA_DMA_ALIGN_SZ); in bfa_flash_memclaim() 5018 return BFA_ROUNDUP(BFI_DIAG_DMA_BUF_SZ, BFA_DMA_ALIGN_SZ); in bfa_diag_meminfo() 5209 return BFA_ROUNDUP(BFA_PHY_DMA_BUF_SZ, BFA_DMA_ALIGN_SZ); in bfa_phy_meminfo() [all …]
|
D | bfa_svc.h | 358 (u32)BFA_ROUNDUP(sizeof(struct bfa_uf_buf_s), BFA_DMA_ALIGN_SZ)
|
D | bfa_ioc.h | 170 #define BFA_ROUNDUP(_l, _s) (((_l) + ((_s) - 1)) & ~((_s) - 1)) macro
|
D | bfa_svc.c | 3014 #define FCPORT_STATS_DMA_SZ (BFA_ROUNDUP(sizeof(union bfa_fcport_stats_u), \
|