/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/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() 691 int length = roundup(max_num_sg * sizeof(u64), 32); in c4iw_alloc_mr()
|
/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()
|
/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/gpu/drm/amd/amdkfd/ |
D | kfd_doorbell.c | 51 return roundup(kfd->device_info->doorbell_size * in kfd_doorbell_process_slice() 70 roundup(kfd->shared_resources.doorbell_start_offset, in kfd_doorbell_init()
|
/drivers/crypto/chelsio/ |
D | chcr_algo.c | 830 kctx_len = roundup(ablkctx->enckey_len, 16); in create_cipher_wr() 834 temp = reqctx->imm ? roundup(wrparam->bytes, 16) : in create_cipher_wr() 837 transhdr_len = roundup(transhdr_len, 16); in create_cipher_wr() 1295 kctx_len = roundup(ablkctx->enckey_len, 16); in process_cipher() 1592 transhdr_len += req_ctx->hctx_wr.imm ? roundup(param->bfr_len + in create_hash_wr() 1594 transhdr_len = roundup(transhdr_len, 16); in create_hash_wr() 1712 params.kctx_len = roundup(params.alg_prm.result_size, 16); in chcr_ahash_update() 1794 params.kctx_len = roundup(params.alg_prm.result_size, 16); in chcr_ahash_final() 1871 params.kctx_len = roundup(params.alg_prm.result_size, 16); in chcr_ahash_finup() 1968 params.kctx_len = roundup(params.alg_prm.result_size, 16); in chcr_ahash_digest() [all …]
|
/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()
|
/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()
|
/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | sdio_txrx.c | 99 len = roundup(len, sdio->func->cur_blksize); in mt7663s_rx_run_queue() 181 len = roundup(len, sdio->func->cur_blksize); in __mt7663s_xmit_queue() 216 pad = roundup(e->skb->len, 4) - e->skb->len; in mt7663s_tx_run_queue()
|
/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 | 343 roundup(gl_shader_rec_size(exec->shader_state[i].addr), 16); in validate_gl_shader_state() 403 exec->tile_alloc_offset = bin_addr + roundup(tile_state_size, 4096); in validate_tile_binning_config() 791 BUG_ON(roundup(packet_size, 16) - packet_size > nr_relocs * 4); in validate_gl_shader_rec() 792 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/gpu/drm/i915/gt/ |
D | intel_gt_clock_utils.c | 99 val = roundup(val, 25); in intel_gt_ns_to_pm_interval()
|
/drivers/misc/ |
D | hpilo.c | 284 dma_va = (char *)roundup((unsigned long)dma_va, ILO_START_ALIGN); in ilo_ccb_setup() 285 dma_pa = roundup(dma_pa, ILO_START_ALIGN); in ilo_ccb_setup() 300 dma_va = (char *)roundup((unsigned long)dma_va, ILO_CACHE_SZ); in ilo_ccb_setup() 301 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() 1014 u32 len = roundup(sizeof(struct cpl_tid_release), 16); in cxgbit_release_tid() 1061 u32 len = roundup(sizeof(struct cpl_rx_data_ack), 16); in cxgbit_rx_data_ack() 1105 len = roundup(len, 16); in cxgbit_alloc_csk_skb() 1134 unsigned int len = roundup(sizeof(*rpl5), 16); in cxgbit_pass_accept_rpl() 1513 unsigned int len = roundup(sizeof(*req), 16); in cxgbit_setup_conn_digest() 1548 unsigned int len = roundup(sizeof(*req), 16); in cxgbit_setup_conn_pgidx() 1732 u32 len = roundup(sizeof(struct cpl_abort_rpl), 16); in cxgbit_abort_req_rss()
|
/drivers/watchdog/ |
D | ebc-c384_wdt.c | 65 wdev->timeout = roundup(t, 60); in ebc_c384_wdt_set_timeout()
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | sdio.c | 449 uint roundup; /* Max roundup limit */ member 658 datalign = roundup(datalign, (align)) - datalign; in pkt_align() 1387 (roundup(len, bus->blocksize) != rd->len)) { in brcmf_sdio_hdparse() 1553 (roundup(totlen, bus->blocksize) - totlen); in brcmf_sdio_rxglom() 1554 totlen = roundup(totlen, bus->blocksize); in brcmf_sdio_rxglom() 1769 if (bus->roundup && bus->blocksize && (rdlen > bus->blocksize)) { in brcmf_sdio_read_control() 1771 if ((pad <= bus->roundup) && (pad < bus->blocksize) && in brcmf_sdio_read_control() 1834 if (bus->roundup && bus->blocksize && *rdlen > bus->blocksize) { in brcmf_sdio_pad() 1836 if (*pad <= bus->roundup && *pad < bus->blocksize && in brcmf_sdio_pad() 1968 if (rd->len != roundup(rd_new.len, 16)) { in brcmf_sdio_readframes() [all …]
|
/drivers/iio/ |
D | industrialio-buffer.c | 870 in_loc = roundup(in_loc, length) + length; in iio_buffer_update_demux() 876 out_loc = roundup(out_loc, length); in iio_buffer_update_demux() 877 in_loc = roundup(in_loc, length); in iio_buffer_update_demux() 887 out_loc = roundup(out_loc, length); in iio_buffer_update_demux() 888 in_loc = roundup(in_loc, length); in iio_buffer_update_demux()
|
/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_param.c | 451 tx_ring->count = roundup(tx_ring->count, in pch_gbe_check_options() 467 rx_ring->count = roundup(rx_ring->count, in pch_gbe_check_options()
|
/drivers/gpu/drm/gma500/ |
D | gem.c | 57 size = roundup(size, PAGE_SIZE); in psb_gem_create()
|
/drivers/media/i2c/ |
D | aptina-pll.c | 138 mf_low = roundup(max(mf_min, DIV_ROUND_UP(pll->ext_clock * p1, in aptina_pll_calculate()
|