Searched refs:BFA_ROUNDUP (Results 1 – 6 of 6) sorted by relevance
/drivers/scsi/bfa/ |
D | bfa_port.c | 189 return BFA_ROUNDUP(sizeof(union bfa_port_stats_u), BFA_DMA_ALIGN_SZ); in bfa_port_meminfo() 604 return BFA_ROUNDUP(sizeof(struct bfa_cee_attr_s), BFA_DMA_ALIGN_SZ) + in bfa_cee_meminfo() 605 BFA_ROUNDUP(sizeof(struct bfa_cee_stats_s), BFA_DMA_ALIGN_SZ); in bfa_cee_meminfo() 624 cee->stats_dma.kva = dma_kva + BFA_ROUNDUP( in bfa_cee_mem_claim() 626 cee->stats_dma.pa = dma_pa + BFA_ROUNDUP( in bfa_cee_mem_claim() 629 cee->stats = (struct bfa_cee_stats_s *) (dma_kva + BFA_ROUNDUP( in bfa_cee_mem_claim()
|
D | bfa_core.c | 1104 per_reqq_sz = BFA_ROUNDUP((cfg->drvcfg.num_reqq_elems * BFI_LMSG_SZ), in bfa_iocfc_mem_claim() 1106 per_rspq_sz = BFA_ROUNDUP((cfg->drvcfg.num_rspq_elems * BFI_LMSG_SZ), in bfa_iocfc_mem_claim() 1141 dm_kva += BFA_ROUNDUP(sizeof(struct bfi_iocfc_cfg_s), BFA_CACHELINE_SZ); in bfa_iocfc_mem_claim() 1142 dm_pa += BFA_ROUNDUP(sizeof(struct bfi_iocfc_cfg_s), BFA_CACHELINE_SZ); in bfa_iocfc_mem_claim() 1148 dm_kva += BFA_ROUNDUP(sizeof(struct bfi_iocfc_cfgrsp_s), in bfa_iocfc_mem_claim() 1150 dm_pa += BFA_ROUNDUP(sizeof(struct bfi_iocfc_cfgrsp_s), in bfa_iocfc_mem_claim() 1482 BFA_ROUNDUP(sizeof(struct bfi_ioc_attr_s), BFA_DMA_ALIGN_SZ)); in bfa_iocfc_meminfo() 1485 per_reqq_sz = BFA_ROUNDUP((cfg->drvcfg.num_reqq_elems * BFI_LMSG_SZ), in bfa_iocfc_meminfo() 1487 per_rspq_sz = BFA_ROUNDUP((cfg->drvcfg.num_rspq_elems * BFI_LMSG_SZ), in bfa_iocfc_meminfo() 1502 dm_len += BFA_ROUNDUP(sizeof(struct bfi_iocfc_cfg_s), BFA_CACHELINE_SZ); in bfa_iocfc_meminfo() [all …]
|
D | bfa_ioc.c | 3360 return BFA_ROUNDUP(sizeof(struct bfa_ablk_cfg_s), BFA_DMA_ALIGN_SZ); in bfa_ablk_meminfo() 4010 return BFA_ROUNDUP(sizeof(struct sfp_mem_s), BFA_DMA_ALIGN_SZ); in bfa_sfp_meminfo() 4053 dm_kva += BFA_ROUNDUP(sizeof(struct sfp_mem_s), BFA_DMA_ALIGN_SZ); in bfa_sfp_memclaim() 4054 dm_pa += BFA_ROUNDUP(sizeof(struct sfp_mem_s), BFA_DMA_ALIGN_SZ); in bfa_sfp_memclaim() 4185 BFA_ROUNDUP(0x010000 + sizeof(struct bfa_mfg_block_s), BFA_FLASH_SEG_SZ) 4463 return BFA_ROUNDUP(BFA_FLASH_DMA_BUF_SZ, BFA_DMA_ALIGN_SZ); in bfa_flash_meminfo() 4515 dm_kva += BFA_ROUNDUP(BFA_FLASH_DMA_BUF_SZ, BFA_DMA_ALIGN_SZ); in bfa_flash_memclaim() 4516 dm_pa += BFA_ROUNDUP(BFA_FLASH_DMA_BUF_SZ, BFA_DMA_ALIGN_SZ); in bfa_flash_memclaim() 5254 return BFA_ROUNDUP(BFI_DIAG_DMA_BUF_SZ, BFA_DMA_ALIGN_SZ); in bfa_diag_meminfo() 5445 return BFA_ROUNDUP(BFA_PHY_DMA_BUF_SZ, BFA_DMA_ALIGN_SZ); in bfa_phy_meminfo() [all …]
|
D | bfa_svc.h | 351 (u32)BFA_ROUNDUP(sizeof(struct bfa_uf_buf_s), BFA_DMA_ALIGN_SZ)
|
D | bfa_ioc.h | 167 #define BFA_ROUNDUP(_l, _s) (((_l) + ((_s) - 1)) & ~((_s) - 1)) macro
|
D | bfa_svc.c | 2989 #define FCPORT_STATS_DMA_SZ (BFA_ROUNDUP(sizeof(union bfa_fcport_stats_u), \
|