/Linux-v5.4/arch/sh/kernel/cpu/shmobile/ |
D | pm.c | 105 vp += roundup(n, 4); in sh_mobile_register_self_refresh() 111 vp += roundup(n, 4); in sh_mobile_register_self_refresh() 117 vp += roundup(n, 4); in sh_mobile_register_self_refresh()
|
/Linux-v5.4/tools/perf/pmu-events/ |
D | json.h | 30 #ifndef roundup 31 #define roundup(x, y) ( \ macro
|
/Linux-v5.4/arch/parisc/math-emu/ |
D | sfrem.c | 43 register boolean roundup = FALSE; in sgl_frem() local 217 roundup = TRUE; in sgl_frem() 238 else if (Sgl_isequal(opnd1,opnd2) && roundup) { in sgl_frem()
|
D | dfrem.c | 44 register boolean roundup = FALSE; in dbl_frem() local 222 roundup = TRUE; in dbl_frem() 244 else if (Dbl_isequal(opnd1p1,opnd1p2,opnd2p1,opnd2p2) && roundup) { in dbl_frem()
|
/Linux-v5.4/drivers/cpufreq/ |
D | raspberrypi-cpufreq.c | 43 min = roundup(clk_round_rate(clk, 0), RASPBERRYPI_FREQ_INTERVAL); in raspberrypi_cpufreq_probe() 44 max = roundup(clk_round_rate(clk, ULONG_MAX), RASPBERRYPI_FREQ_INTERVAL); in raspberrypi_cpufreq_probe()
|
/Linux-v5.4/arch/sh/kernel/ |
D | io_trapped.c | 57 len += roundup(resource_size(res), PAGE_SIZE); in register_trapped_io() 84 len += roundup(resource_size(res), PAGE_SIZE); in register_trapped_io() 128 voffs += roundup(len, PAGE_SIZE); in match_trapped_io_handler() 172 len = roundup(resource_size(res), PAGE_SIZE); in lookup_address()
|
/Linux-v5.4/arch/powerpc/platforms/cell/spufs/ |
D | coredump.c | 53 total += roundup(strlen(fullname) + 1, 4); in spufs_ctx_note_size() 54 total += roundup(sz, 4); in spufs_ctx_note_size() 162 skip = roundup(cprm->pos - total + sz, 4) - cprm->pos; in spufs_arch_write_note()
|
/Linux-v5.4/drivers/crypto/chelsio/chtls/ |
D | chtls_hw.c | 49 wrlen = roundup(sizeof(*req) + sizeof(*sc), 16); in __set_tcb_field() 71 wrlen = roundup(sizeof(*req) + sizeof(*sc), 16); in chtls_set_tcb_field() 224 roundup(keylen, 16) + AEAD_H_SIZE; in chtls_key_info() 306 klen = roundup((keylen + AEAD_H_SIZE) + sizeof(*kctx), 32); in chtls_setkey() 307 wrlen = roundup(sizeof(*kwr), 16); in chtls_setkey()
|
/Linux-v5.4/fs/proc/ |
D | vmcore.c | 843 *notes_sz = roundup(phdr_sz, PAGE_SIZE); in merge_note_headers_elf64() 857 phdr.p_offset = roundup(note_off, PAGE_SIZE); in merge_note_headers_elf64() 872 *elfsz = roundup(*elfsz, PAGE_SIZE); in merge_note_headers_elf64() 1034 *notes_sz = roundup(phdr_sz, PAGE_SIZE); in merge_note_headers_elf32() 1048 phdr.p_offset = roundup(note_off, PAGE_SIZE); in merge_note_headers_elf32() 1063 *elfsz = roundup(*elfsz, PAGE_SIZE); in merge_note_headers_elf32() 1103 end = roundup(paddr + phdr_ptr->p_memsz, PAGE_SIZE); in process_ptload_program_headers_elf64() 1146 end = roundup(paddr + phdr_ptr->p_memsz, PAGE_SIZE); in process_ptload_program_headers_elf32() 1391 end = roundup(phdr->p_offset + phdr->p_memsz, in vmcoredd_update_program_headers() 1411 end = roundup(phdr->p_offset + phdr->p_memsz, in vmcoredd_update_program_headers() [all …]
|
/Linux-v5.4/tools/include/linux/ |
D | kernel.h | 57 #ifndef roundup 58 #define roundup(x, y) ( \ macro
|
/Linux-v5.4/drivers/pinctrl/pxa/ |
D | pinctrl-pxa2xx.c | 387 pctl->base_gafr = devm_kcalloc(&pdev->dev, roundup(maxpin, 16), in pxa2xx_pinctrl_init() 389 pctl->base_gpdr = devm_kcalloc(&pdev->dev, roundup(maxpin, 32), in pxa2xx_pinctrl_init() 391 pctl->base_pgsr = devm_kcalloc(&pdev->dev, roundup(maxpin, 32), in pxa2xx_pinctrl_init() 404 for (i = 0; i < roundup(maxpin, 16); i += 16) in pxa2xx_pinctrl_init() 406 for (i = 0; i < roundup(maxpin, 32); i += 32) { in pxa2xx_pinctrl_init()
|
/Linux-v5.4/drivers/infiniband/hw/cxgb4/ |
D | resource.c | 271 rdev->stats.pbl.cur += roundup(size, 1 << MIN_PBL_SHIFT); in c4iw_pblpool_alloc() 294 rdev->stats.pbl.cur -= roundup(size, 1 << MIN_PBL_SHIFT); in c4iw_pblpool_free() 353 rdev->stats.rqt.cur += roundup(size << 6, 1 << MIN_RQT_SHIFT); in c4iw_rqtpool_alloc() 376 rdev->stats.rqt.cur -= roundup(size << 6, 1 << MIN_RQT_SHIFT); in c4iw_rqtpool_free() 464 rdev->stats.ocqp.cur += roundup(size, 1 << MIN_OCQP_SHIFT); in c4iw_ocqp_pool_alloc() 476 rdev->stats.ocqp.cur -= roundup(size, 1 << MIN_OCQP_SHIFT); in c4iw_ocqp_pool_free()
|
/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_doorbell.c | 54 return roundup(kfd->device_info->doorbell_size * in kfd_doorbell_process_slice() 73 roundup(kfd->shared_resources.doorbell_start_offset, in kfd_doorbell_init()
|
/Linux-v5.4/arch/x86/xen/ |
D | multicalls.c | 142 unsigned argidx = roundup(b->argidx, sizeof(u64)); in __xen_mc_entry() 154 argidx = roundup(b->argidx, sizeof(u64)); in __xen_mc_entry()
|
/Linux-v5.4/drivers/gpu/drm/stm/ |
D | drv.c | 48 args->pitch = roundup(min_pitch, 128); in stm_gem_cma_dumb_create() 49 args->height = roundup(args->height, 4); in stm_gem_cma_dumb_create()
|
/Linux-v5.4/drivers/gpu/drm/mgag200/ |
D | mgag200_main.c | 176 roundup(48*64, PAGE_SIZE), in mgag200_driver_load() 179 roundup(48*64, PAGE_SIZE), in mgag200_driver_load()
|
/Linux-v5.4/tools/perf/arch/s390/util/ |
D | machine.c | 48 p->end = roundup(p->end, page_size); in arch__symbols__fixup_end()
|
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/core/ |
D | mm.c | 131 s = roundup(s, mm->block_size); in nvkm_mm_head() 205 s = roundup(s, mm->block_size); in nvkm_mm_tail() 270 node->offset = roundup(offset, mm->block_size); in nvkm_mm_init()
|
/Linux-v5.4/drivers/net/ethernet/brocade/bna/ |
D | bfa_cee.c | 53 return roundup(sizeof(struct bfa_cee_attr), BFA_DMA_ALIGN_SZ); in bfa_cee_attr_meminfo() 61 return roundup(sizeof(struct bfa_cee_stats), BFA_DMA_ALIGN_SZ); in bfa_cee_stats_meminfo()
|
D | bfa_msgq.c | 585 return roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ) + in bfa_msgq_meminfo() 586 roundup(BFA_MSGQ_RSPQ_SIZE, BFA_DMA_ALIGN_SZ); in bfa_msgq_meminfo() 595 kva += roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ); in bfa_msgq_memclaim() 596 pa += roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ); in bfa_msgq_memclaim()
|
/Linux-v5.4/drivers/ide/ |
D | tx4938ide.c | 83 __ide_flush_dcache_range((unsigned long)buf, roundup(len, 2)); in tx4938ide_input_data_swap() 97 __ide_flush_dcache_range((unsigned long)buf, roundup(len, 2)); in tx4938ide_output_data_swap()
|
/Linux-v5.4/arch/powerpc/platforms/pseries/ |
D | vio.c | 486 if (vio_cmo_alloc(viodev, roundup(size, PAGE_SIZE))) { in vio_dma_iommu_alloc_coherent() 495 vio_cmo_dealloc(viodev, roundup(size, PAGE_SIZE)); in vio_dma_iommu_alloc_coherent() 509 vio_cmo_dealloc(viodev, roundup(size, PAGE_SIZE)); in vio_dma_iommu_free_coherent() 521 if (vio_cmo_alloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl)))) in vio_dma_iommu_map_page() 530 vio_cmo_dealloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl))); in vio_dma_iommu_map_page() 545 vio_cmo_dealloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl))); in vio_dma_iommu_unmap_page() 559 alloc_size += roundup(sgl->length, IOMMU_PAGE_SIZE(tbl)); in vio_dma_iommu_map_sg() 569 alloc_size -= roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl)); in vio_dma_iommu_map_sg() 593 alloc_size += roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl)); in vio_dma_iommu_unmap_sg()
|
/Linux-v5.4/drivers/crypto/chelsio/ |
D | chcr_algo.c | 779 kctx_len = roundup(ablkctx->enckey_len, 16); in create_cipher_wr() 783 temp = reqctx->imm ? roundup(wrparam->bytes, 16) : in create_cipher_wr() 786 transhdr_len = roundup(transhdr_len, 16); in create_cipher_wr() 1225 kctx_len = roundup(ablkctx->enckey_len, 16); in process_cipher() 1514 transhdr_len += req_ctx->hctx_wr.imm ? roundup(param->bfr_len + in create_hash_wr() 1516 transhdr_len = roundup(transhdr_len, 16); in create_hash_wr() 1629 params.kctx_len = roundup(params.alg_prm.result_size, 16); in chcr_ahash_update() 1706 params.kctx_len = roundup(params.alg_prm.result_size, 16); in chcr_ahash_final() 1779 params.kctx_len = roundup(params.alg_prm.result_size, 16); in chcr_ahash_finup() 1873 params.kctx_len = roundup(params.alg_prm.result_size, 16); in chcr_ahash_digest() [all …]
|
/Linux-v5.4/include/soc/fsl/ |
D | qman.h | 428 int roundup) in qm_fqd_set_taildrop() argument 440 if (roundup && oddbit) in qm_fqd_set_taildrop() 585 int roundup) in qm_cgr_cs_thres_set64() argument 594 if (roundup && oddbit) in qm_cgr_cs_thres_set64()
|
/Linux-v5.4/mm/ |
D | swap_state.c | 484 unsigned int roundup = 4; in __swapin_nr_pages() local 485 while (roundup < pages) in __swapin_nr_pages() 486 roundup <<= 1; in __swapin_nr_pages() 487 pages = roundup; in __swapin_nr_pages()
|