/linux-6.1.9/drivers/media/platform/verisilicon/ |
D | hantro_vp9.c | 26 h = roundup(height, 8); in hantro_vp9_tile_filter_size() 28 height32 = roundup(h, 64); in hantro_vp9_tile_filter_size() 38 h = roundup(height, 8); in hantro_vp9_bsd_control_size() 39 height32 = roundup(h, 64); in hantro_vp9_bsd_control_size() 49 w = roundup(width, 8); in hantro_vp9_segment_map_size() 50 h = roundup(height, 8); in hantro_vp9_segment_map_size() 58 return roundup(sizeof(struct hantro_g2_all_probs), 16); in hantro_vp9_prob_tab_size() 63 return roundup(sizeof(struct symbol_counts), 16); in hantro_vp9_count_tab_size() 68 return roundup((MAX_TILE_COLS * MAX_TILE_ROWS * 4 * sizeof(u16) + 15 + 16) & ~0xf, 16); in hantro_vp9_tile_info_size()
|
/linux-6.1.9/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-6.1.9/tools/include/linux/ |
D | math.h | 16 #ifndef roundup 17 #define roundup(x, y) ( \ macro
|
/linux-6.1.9/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-6.1.9/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() 127 voffs += roundup(len, PAGE_SIZE); in match_trapped_io_handler() 175 len = roundup(resource_size(res), PAGE_SIZE); in lookup_address()
|
/linux-6.1.9/arch/powerpc/platforms/cell/spufs/ |
D | coredump.c | 37 total += roundup(strlen(fullname) + 1, 4); in spufs_ctx_note_size() 38 total += roundup(sz, 4); in spufs_ctx_note_size() 152 dump_skip_to(cprm, roundup(cprm->pos - ret + sz, 4)); in spufs_arch_write_note()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/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() 99 wrlen = roundup(wrlen, 16); in chtls_set_tcb_field_rpl_skb() 142 wrlen = roundup(wrlen, 16); in chtls_set_quiesce_ctrl() 263 roundup(keylen, 16) + AEAD_H_SIZE; in chtls_key_info() 373 klen = roundup((keylen + AEAD_H_SIZE) + sizeof(*kctx), 32); in chtls_setkey() 374 wrlen = roundup(sizeof(*kwr), 16); in chtls_setkey()
|
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/freescale/enetc/ |
D | enetc_ierb.c | 65 tx_credit = roundup(1000 + ENETC_MAC_MAXFRM_SIZE / 2, 100); in enetc_ierb_register_pf() 81 tx_alloc = roundup(2 * tx_credit + 4 * ENETC_MAC_MAXFRM_SIZE + 64, 16); in enetc_ierb_register_pf()
|
/linux-6.1.9/fs/proc/ |
D | vmcore.c | 864 *notes_sz = roundup(phdr_sz, PAGE_SIZE); in merge_note_headers_elf64() 878 phdr.p_offset = roundup(note_off, PAGE_SIZE); in merge_note_headers_elf64() 893 *elfsz = roundup(*elfsz, PAGE_SIZE); in merge_note_headers_elf64() 1055 *notes_sz = roundup(phdr_sz, PAGE_SIZE); in merge_note_headers_elf32() 1069 phdr.p_offset = roundup(note_off, PAGE_SIZE); in merge_note_headers_elf32() 1084 *elfsz = roundup(*elfsz, PAGE_SIZE); in merge_note_headers_elf32() 1124 end = roundup(paddr + phdr_ptr->p_memsz, PAGE_SIZE); in process_ptload_program_headers_elf64() 1167 end = roundup(paddr + phdr_ptr->p_memsz, PAGE_SIZE); in process_ptload_program_headers_elf32() 1412 end = roundup(phdr->p_offset + phdr->p_memsz, in vmcoredd_update_program_headers() 1432 end = roundup(phdr->p_offset + phdr->p_memsz, in vmcoredd_update_program_headers() [all …]
|
/linux-6.1.9/drivers/pinctrl/pxa/ |
D | pinctrl-pxa2xx.c | 388 pctl->base_gafr = devm_kcalloc(&pdev->dev, roundup(maxpin, 16), in pxa2xx_pinctrl_init() 390 pctl->base_gpdr = devm_kcalloc(&pdev->dev, roundup(maxpin, 32), in pxa2xx_pinctrl_init() 392 pctl->base_pgsr = devm_kcalloc(&pdev->dev, roundup(maxpin, 32), in pxa2xx_pinctrl_init() 405 for (i = 0; i < roundup(maxpin, 16); i += 16) in pxa2xx_pinctrl_init() 407 for (i = 0; i < roundup(maxpin, 32); i += 32) { in pxa2xx_pinctrl_init()
|
/linux-6.1.9/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-6.1.9/drivers/gpu/drm/stm/ |
D | drv.c | 49 args->pitch = roundup(min_pitch, 128); in stm_gem_dma_dumb_create() 50 args->height = roundup(args->height, 4); in stm_gem_dma_dumb_create()
|
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/ce/ |
D | gv100.c | 39 size = roundup(size, PAGE_SIZE); in gv100_ce_cclass_bind()
|
/linux-6.1.9/arch/powerpc/platforms/pseries/ |
D | vio.c | 489 if (vio_cmo_alloc(viodev, roundup(size, PAGE_SIZE))) { in vio_dma_iommu_alloc_coherent() 498 vio_cmo_dealloc(viodev, roundup(size, PAGE_SIZE)); in vio_dma_iommu_alloc_coherent() 512 vio_cmo_dealloc(viodev, roundup(size, PAGE_SIZE)); in vio_dma_iommu_free_coherent() 524 if (vio_cmo_alloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl)))) in vio_dma_iommu_map_page() 533 vio_cmo_dealloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl))); in vio_dma_iommu_map_page() 548 vio_cmo_dealloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl))); in vio_dma_iommu_unmap_page() 562 alloc_size += roundup(sgl->length, IOMMU_PAGE_SIZE(tbl)); in vio_dma_iommu_map_sg() 573 alloc_size -= roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl)); in vio_dma_iommu_map_sg() 597 alloc_size += roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl)); in vio_dma_iommu_unmap_sg()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_doorbell.c | 53 return roundup(kfd->device_info.doorbell_size * in kfd_doorbell_process_slice() 85 roundup(kfd->shared_resources.doorbell_start_offset, in kfd_doorbell_init()
|
/linux-6.1.9/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-6.1.9/drivers/crypto/chelsio/ |
D | chcr_algo.c | 823 kctx_len = roundup(ablkctx->enckey_len, 16); in create_cipher_wr() 827 temp = reqctx->imm ? roundup(wrparam->bytes, 16) : in create_cipher_wr() 830 transhdr_len = roundup(transhdr_len, 16); in create_cipher_wr() 1288 kctx_len = roundup(ablkctx->enckey_len, 16); in process_cipher() 1586 transhdr_len += req_ctx->hctx_wr.imm ? roundup(param->bfr_len + in create_hash_wr() 1588 transhdr_len = roundup(transhdr_len, 16); in create_hash_wr() 1706 params.kctx_len = roundup(params.alg_prm.result_size, 16); in chcr_ahash_update() 1788 params.kctx_len = roundup(params.alg_prm.result_size, 16); in chcr_ahash_final() 1865 params.kctx_len = roundup(params.alg_prm.result_size, 16); in chcr_ahash_finup() 1962 params.kctx_len = roundup(params.alg_prm.result_size, 16); in chcr_ahash_digest() [all …]
|
/linux-6.1.9/tools/perf/util/ |
D | bpf-utils.c | 152 data_len += roundup(count * size, sizeof(__u64)); in get_bpf_prog_info_linear() 182 ptr += roundup(count * size, sizeof(__u64)); in get_bpf_prog_info_linear()
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/ |
D | sdio_txrx.c | 97 len = roundup(len, sdio->func->cur_blksize); in mt76s_rx_run_queue() 227 len = roundup(len, sdio->func->cur_blksize); in __mt76s_xmit_queue() 265 pad = roundup(e->skb->len, 4) - e->skb->len; in mt76s_tx_run_queue()
|
/linux-6.1.9/arch/s390/kernel/ |
D | crash_dump.c | 264 len = roundup(len + note->n_namesz, 4); in nt_init_name() 267 len = roundup(len + note->n_descsz, 4); in nt_init_name() 285 size += roundup(strlen(name) + 1, 4); in nt_size_name() 286 size += roundup(d_len, 4); in nt_size_name()
|