Home
last modified time | relevance | path

Searched refs:roundup (Results 1 – 25 of 76) sorted by relevance

1234

/external/u-boot/arch/arm/mach-omap2/
Dsec-common.c87 roundup(sizeof(secure_rom_call_args), ARCH_DMA_MINALIGN)); in secure_rom_call()
118 roundup((u32)*image + *size, ARCH_DMA_MINALIGN)); in secure_boot_verify_image()
160 roundup((u32)*image + *size, ARCH_DMA_MINALIGN)); in secure_boot_verify_image()
339 roundup((u32)loadptr + tee_file_size, ARCH_DMA_MINALIGN)); in secure_tee_install()
342 roundup(sizeof(tee_info), ARCH_DMA_MINALIGN)); in secure_tee_install()
361 roundup(sizeof(u32), ARCH_DMA_MINALIGN)); in secure_tee_install()
/external/u-boot/drivers/crypto/fsl/
Dfsl_blob.c166 size = roundup(sizeof(uint32_t) * DEK_BLOB_DESCSIZE, in blob_dek()
170 size = roundup(sizeof(uint8_t) * out_sz, ARCH_DMA_MINALIGN); in blob_dek()
182 size = roundup(out_sz, ARCH_DMA_MINALIGN); in blob_dek()
/external/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress09.c77 #ifdef roundup
78 #undef roundup
80 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
219 mappages = roundup(mapsize, pagesize) / pagesize; in main()
Dmmapstress01.c94 #ifdef roundup
95 #undef roundup
97 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
507 mappages = roundup(mapsize, pagesize) / pagesize;
650 mappages = roundup(mapsize, pagesize) / pagesize;
Dmmapstress10.c105 #ifdef roundup
106 #undef roundup
108 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
583 mappages = roundup(mapsize_mapper, pagesize) / pagesize;
832 mappages = roundup(mapsize, pagesize) / pagesize;
/external/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
Dppa.c91 fitp = malloc(roundup(fdt_header_len, 512)); in ppa_init()
94 roundup(fdt_header_len, 512)); in ppa_init()
140 fw_length = roundup(fw_length, 512); in ppa_init()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_simulator_validate.h45 #define roundup(x, y) align(x, y) macro
54 #define BITS_TO_LONGS(bits) (roundup(bits, BITMAP_WORDBITS) / \
/external/u-boot/drivers/net/
Dfec_mxc.c294 size = roundup(dsize, ARCH_DMA_MINALIGN); in fec_rbd_init()
327 unsigned size = roundup(2 * sizeof(struct fec_bd), in fec_tbd_init()
440 size = roundup(FEC_RBD_NUM * sizeof(struct fec_bd), in fec_open()
681 end = roundup(addr + length, ARCH_DMA_MINALIGN); in fecmxc_send()
705 size = roundup(2 * sizeof(struct fec_bd), ARCH_DMA_MINALIGN); in fecmxc_send()
873 size = roundup(sizeof(struct fec_bd), ARCH_DMA_MINALIGN); in fecmxc_recv()
886 end = roundup(addr + frame_length, ARCH_DMA_MINALIGN); in fecmxc_recv()
947 size = roundup(2 * sizeof(struct fec_bd), ARCH_DMA_MINALIGN); in fec_alloc_descs()
953 size = roundup(FEC_RBD_NUM * sizeof(struct fec_bd), ARCH_DMA_MINALIGN); in fec_alloc_descs()
963 size = roundup(FEC_MAX_PKT_SIZE, FEC_DMA_RX_MINALIGN); in fec_alloc_descs()
Ddesignware.c363 roundup(sizeof(*desc_p), ARCH_DMA_MINALIGN); in _dw_eth_send()
365 ulong data_end = data_start + roundup(length, ARCH_DMA_MINALIGN); in _dw_eth_send()
426 roundup(sizeof(*desc_p), ARCH_DMA_MINALIGN); in _dw_eth_recv()
442 data_end = data_start + roundup(length, ARCH_DMA_MINALIGN); in _dw_eth_recv()
456 roundup(sizeof(*desc_p), ARCH_DMA_MINALIGN); in _dw_free_pkt()
Dsun8i_emac.c520 roundup(sizeof(*desc_p), ARCH_DMA_MINALIGN); in _sun8i_eth_recv()
543 roundup(data_end, in _sun8i_eth_recv()
566 roundup(sizeof(*desc_p), ARCH_DMA_MINALIGN); in _sun8i_emac_eth_send()
570 roundup(len, ARCH_DMA_MINALIGN); in _sun8i_emac_eth_send()
720 roundup(sizeof(u32), ARCH_DMA_MINALIGN); in _sun8i_free_pkt()
/external/arm-optimized-routines/test/rtest/
Dsemi.c14 int roundup = (isfloor && sign) || (isceil && !sign); in test_rint() local
32 out[0] = sign | (roundup ? 0x3FF00000 : 0); in test_rint()
52 if (roundword && roundup) { in test_rint()
77 int roundup = (isfloor && sign) || (isceil && !sign); in test_rintf() local
94 *out = sign | (roundup ? 0x3F800000 : 0); in test_rintf()
111 if (roundword && roundup) { in test_rintf()
/external/u-boot/arch/arm/mach-bcm283x/
Dmbox.c115 roundup(buffer->buf_size, ARCH_DMA_MINALIGN))); in bcm2835_mbox_call_prop()
125 roundup(buffer->buf_size, ARCH_DMA_MINALIGN))); in bcm2835_mbox_call_prop()
/external/vboot_reference/futility/
Dvb1_helper.c90 static uint64_t roundup(uint64_t val, uint64_t alignment) in roundup() function
188 roundup(kernel32_size, CROS_ALIGN) + in PickApartVmlinuz()
645 g_bootloader_size = roundup(bootloader_size, CROS_ALIGN); in CreateKernelBlob()
648 roundup(g_kernel_size, CROS_ALIGN) + in CreateKernelBlob()
663 now += roundup(g_kernel_size, CROS_ALIGN); in CreateKernelBlob()
/external/u-boot/drivers/usb/gadget/
Dci_udc.c41 #define ILIST_ALIGN roundup(ARCH_DMA_MINALIGN, 32)
48 #define ILIST_ENT_SZ roundup(ILIST_ENT_RAW_SZ, ILIST_ALIGN)
382 ci_req->b_len = roundup(req->length, ARCH_DMA_MINALIGN); in ci_bounce()
395 aligned_used_len = roundup(req->length, ARCH_DMA_MINALIGN); in ci_bounce()
411 aligned_used_len = roundup(req->actual, ARCH_DMA_MINALIGN); in ci_debounce()
919 const int eplist_align = roundup(eplist_min_align, ARCH_DMA_MINALIGN); in ci_udc_probe()
921 const int eplist_sz = roundup(eplist_raw_sz, ARCH_DMA_MINALIGN); in ci_udc_probe()
/external/drrickorang/LoopbackApp/app/src/main/cpp/audio_utils/
Droundup.h25 unsigned roundup(unsigned v);
Droundup.c19 unsigned roundup(unsigned v) { in roundup() function
/external/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate.c330 roundup(gl_shader_rec_size(exec->shader_state[i].addr), 16); in validate_gl_shader_state()
373 exec->tile_alloc_offset = roundup(tile_state_size, 4096); in validate_tile_binning_config()
391 tile_alloc_size = roundup(tile_alloc_size, 256); in validate_tile_binning_config()
779 BUG_ON(roundup(packet_size, 16) - packet_size > nr_relocs * 4); in validate_gl_shader_rec()
780 exec->shader_rec_v += roundup(packet_size, 16); in validate_gl_shader_rec()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DPipe.java33 mMaxValues = Utilities.roundup(maxSamples); // round up to the nearest power of 2 in Pipe()
DUtilities.java43 public static int roundup(int size) in roundup() method in Utilities
/external/u-boot/tools/
Dpblimage.c10 #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) macro
285 uboot_size = roundup(st.st_size, 64); in pblimage_check_params()
/external/u-boot/common/init/
Dboard_init.c116 base += roundup(sizeof(struct global_data), 16); in board_init_f_init_reserve()
/external/drrickorang/LoopbackApp/app/src/main/cpp/
DAndroid.bp10 "audio_utils/roundup.c",
/external/u-boot/drivers/dma/
Ddma-uclass.c59 roundup(len, ARCH_DMA_MINALIGN)); in dma_memcpy()
/external/u-boot/common/
Dbouncebuf.c39 state->len_aligned = roundup(len, ARCH_DMA_MINALIGN); in bounce_buffer_start()
/external/u-boot/arch/x86/cpu/coreboot/
Dsdram.c61 uint64_t start = roundup(memrange->base, 1 << 12); in board_get_usable_ram_top()

1234