/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()
|
/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()
|
/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()
|
/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()
|
/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()
|
/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()
|
D | mem.c | 75 wr_len = roundup(sizeof(*req) + sizeof(*sgl), 16); in _c4iw_write_mem_dma_aligned() 133 wr_len = roundup(sizeof(*req) + sizeof(*sc) + in _c4iw_write_mem_inline() 134 roundup(copy_len, T4_ULPTX_MIN_IO), in _c4iw_write_mem_inline() 165 sc->len = cpu_to_be32(roundup(copy_len, T4_ULPTX_MIN_IO)); in _c4iw_write_mem_inline() 607 int length = roundup(max_num_sg * sizeof(u64), 32); in c4iw_alloc_mr()
|
/drivers/staging/media/tegra-video/ |
D | tegra20.c | 279 pix->bytesperline = roundup(pix->width, 2) * 2; in tegra20_fmt_align() 280 pix->sizeimage = roundup(pix->width, 2) * 2 * pix->height; in tegra20_fmt_align() 284 pix->bytesperline = roundup(pix->width, 8); in tegra20_fmt_align() 285 pix->sizeimage = roundup(pix->width, 8) * pix->height * 3 / 2; in tegra20_fmt_align() 631 roundup(width, 2) << VI_VIP_H_ACTIVE_PERIOD_SFT); in tegra20_vip_start_streaming()
|
/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() 257 err = __skb_grow(e->skb, roundup(e->skb->len, in mt76s_tx_run_queue() 269 pad = roundup(e->skb->len, 4) - e->skb->len; in mt76s_tx_run_queue()
|
/drivers/gpu/drm/stm/ |
D | drv.c | 50 args->pitch = roundup(min_pitch, 128); in stm_gem_dma_dumb_create() 51 args->height = roundup(args->height, 4); in stm_gem_dma_dumb_create()
|
/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()
|
/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 …]
|
/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 | 583 return roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ) + in bfa_msgq_meminfo() 584 roundup(BFA_MSGQ_RSPQ_SIZE, BFA_DMA_ALIGN_SZ); in bfa_msgq_meminfo() 593 kva += roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ); in bfa_msgq_memclaim() 594 pa += roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ); in bfa_msgq_memclaim()
|
/drivers/gpu/drm/nouveau/nvkm/engine/ce/ |
D | gv100.c | 39 size = roundup(size, PAGE_SIZE); in gv100_ce_cclass_bind()
|
/drivers/nvmem/ |
D | rockchip-efuse.c | 113 addr_end = roundup(offset + bytes, RK3399_NBYTES) / RK3399_NBYTES; in rockchip_rk3328_efuse_read() 166 addr_end = roundup(offset + bytes, RK3399_NBYTES) / RK3399_NBYTES; in rockchip_rk3399_efuse_read()
|
/drivers/gpu/drm/vc4/ |
D | vc4_validate.c | 351 roundup(gl_shader_rec_size(exec->shader_state[i].addr), 16); in validate_gl_shader_state() 411 exec->tile_alloc_offset = bin_addr + roundup(tile_state_size, 4096); in validate_tile_binning_config() 803 BUG_ON(roundup(packet_size, 16) - packet_size > nr_relocs * 4); in validate_gl_shader_rec() 804 exec->shader_rec_v += roundup(packet_size, 16); in validate_gl_shader_rec()
|
/drivers/net/wireless/broadcom/b43/ |
D | pio.c | 483 q->buffer_used += roundup(skb->len + hdrlen, 4); in pio_tx_frame() 511 total_len = roundup(skb->len + hdrlen, 4); in b43_pio_tx() 552 if (((q->buffer_size - q->buffer_used) < roundup(2 + 2 + 6, 4)) || in b43_pio_tx() 581 total_len = roundup(total_len, 4); in b43_pio_handle_txstatus()
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | xtlv.c | 32 return roundup(dlen + hsz, 4); in brcmf_xtlv_data_size()
|
D | sdio.c | 447 uint roundup; /* Max roundup limit */ member 669 datalign = roundup(datalign, (align)) - datalign; in pkt_align() 1398 (roundup(len, bus->blocksize) != rd->len)) { in brcmf_sdio_hdparse() 1564 (roundup(totlen, bus->blocksize) - totlen); in brcmf_sdio_rxglom() 1565 totlen = roundup(totlen, bus->blocksize); in brcmf_sdio_rxglom() 1780 if (bus->roundup && bus->blocksize && (rdlen > bus->blocksize)) { in brcmf_sdio_read_control() 1782 if ((pad <= bus->roundup) && (pad < bus->blocksize) && in brcmf_sdio_read_control() 1845 if (bus->roundup && bus->blocksize && *rdlen > bus->blocksize) { in brcmf_sdio_pad() 1847 if (*pad <= bus->roundup && *pad < bus->blocksize && in brcmf_sdio_pad() 1979 if (rd->len != roundup(rd_new.len, 16)) { in brcmf_sdio_readframes() [all …]
|
/drivers/misc/ |
D | hpilo.c | 286 dma_va = (char *)roundup((unsigned long)dma_va, ILO_START_ALIGN); in ilo_ccb_setup() 287 dma_pa = roundup(dma_pa, ILO_START_ALIGN); in ilo_ccb_setup() 302 dma_va = (char *)roundup((unsigned long)dma_va, ILO_CACHE_SZ); in ilo_ccb_setup() 303 dma_pa = roundup(dma_pa, ILO_CACHE_SZ); in ilo_ccb_setup()
|
/drivers/target/iscsi/cxgbit/ |
D | cxgbit_cm.c | 625 u32 len = roundup(sizeof(struct cpl_close_con_req), 16); in cxgbit_send_halfclose() 661 u32 len = roundup(sizeof(struct cpl_abort_req), 16); in cxgbit_send_abort_req() 1016 u32 len = roundup(sizeof(struct cpl_tid_release), 16); in cxgbit_release_tid() 1063 u32 len = roundup(sizeof(struct cpl_rx_data_ack), 16); in cxgbit_rx_data_ack() 1107 len = roundup(len, 16); in cxgbit_alloc_csk_skb() 1136 unsigned int len = roundup(sizeof(*rpl5), 16); in cxgbit_pass_accept_rpl() 1514 unsigned int len = roundup(sizeof(*req), 16); in cxgbit_setup_conn_digest() 1549 unsigned int len = roundup(sizeof(*req), 16); in cxgbit_setup_conn_pgidx() 1730 u32 len = roundup(sizeof(struct cpl_abort_rpl), 16); in cxgbit_abort_req_rss()
|
/drivers/tee/ |
D | tee_shm_pool.c | 19 size_t s = roundup(size, a); in pool_op_gen_alloc()
|
/drivers/watchdog/ |
D | ebc-c384_wdt.c | 65 wdev->timeout = roundup(t, 60); in ebc_c384_wdt_set_timeout()
|
/drivers/pci/pcie/ |
D | aspm.c | 339 *value = roundup(threshold_ns, 32) / 32; in encode_l12_threshold() 342 *value = roundup(threshold_ns, 1024) / 1024; in encode_l12_threshold() 345 *value = roundup(threshold_ns, 32768) / 32768; in encode_l12_threshold() 348 *value = roundup(threshold_ns, 1048576) / 1048576; in encode_l12_threshold() 351 *value = roundup(threshold_ns, 33554432) / 33554432; in encode_l12_threshold()
|