/openbmc/u-boot/cmd/ |
H A D | elf.c | 56 flush_cache(rounddown((unsigned long)dst, ARCH_DMA_MINALIGN), in load_elf64_image_phdr() 119 flush_cache(rounddown(shdr->sh_addr, ARCH_DMA_MINALIGN), in load_elf64_image_shdr() 122 rounddown(shdr->sh_addr, ARCH_DMA_MINALIGN)); in load_elf64_image_shdr() 171 flush_cache(rounddown((unsigned long)dst, ARCH_DMA_MINALIGN), in load_elf_image_phdr() 224 flush_cache(rounddown(shdr->sh_addr, ARCH_DMA_MINALIGN), in load_elf_image_shdr() 227 rounddown(shdr->sh_addr, ARCH_DMA_MINALIGN)); in load_elf_image_shdr()
|
/openbmc/linux/security/selinux/ss/ |
H A D | ebitmap.c | 485 if (rounddown(bit, (int)BITS_PER_U64) > last_startbit) { in ebitmap_write() 487 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write() 501 if (rounddown(bit, (int)BITS_PER_U64) > last_startbit) { in ebitmap_write() 506 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write() 524 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
|
/openbmc/u-boot/arch/arm/mach-omap2/ |
H A D | sec-common.c | 117 rounddown((u32)*image, ARCH_DMA_MINALIGN), in secure_boot_verify_image() 159 rounddown((u32)*image, ARCH_DMA_MINALIGN), in secure_boot_verify_image() 338 rounddown((u32)loadptr, ARCH_DMA_MINALIGN), in secure_tee_install()
|
/openbmc/qemu/bsd-user/freebsd/ |
H A D | target_os_stack.h | 98 p = rounddown(p, TARGET_PAGE_SIZE); in setup_initial_stack() 113 destp = rounddown(p - stringspace, sizeof(abi_ulong)); in setup_initial_stack()
|
/openbmc/linux/arch/um/kernel/ |
H A D | maccess.c | 12 void *psrc = (void *)rounddown((unsigned long)src, PAGE_SIZE); in copy_from_kernel_nofault_allowed()
|
/openbmc/u-boot/common/init/ |
H A D | board_init.c | 52 top = rounddown(top-sizeof(struct global_data), 16); in board_init_f_alloc_reserve()
|
/openbmc/u-boot/drivers/bootcount/ |
H A D | bootcount.c | 14 uintptr_t flush_start = rounddown(CONFIG_SYS_BOOTCOUNT_ADDR, in bootcount_store()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | mm.c | 135 e = rounddown(e, mm->block_size); in nvkm_mm_head() 209 e = rounddown(e, mm->block_size); in nvkm_mm_tail() 271 node->length = rounddown(offset + length, mm->block_size); in nvkm_mm_init()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_subdev.c | 375 r->width = rounddown(r->width, ATOM_ISP_STEP_WIDTH); in atomisp_subdev_set_selection() 376 r->height = rounddown(r->height, ATOM_ISP_STEP_HEIGHT); in atomisp_subdev_set_selection() 420 dvs_w = rounddown(crop[pad]->width / 5, in atomisp_subdev_set_selection() 422 dvs_h = rounddown(crop[pad]->height / 5, in atomisp_subdev_set_selection() 478 rounddown(crop[ATOMISP_SUBDEV_PAD_SINK]-> in atomisp_subdev_set_selection() 486 rounddown(crop[ATOMISP_SUBDEV_PAD_SINK]-> in atomisp_subdev_set_selection()
|
/openbmc/linux/drivers/firmware/efi/ |
H A D | earlycon.c | 260 memset32(efi_x_array, rounddown(xres, font->width), ARRAY_SIZE(efi_x_array)); in efi_earlycon_setup() 261 efi_y = rounddown(yres, font->height); in efi_earlycon_setup()
|
/openbmc/linux/drivers/nvmem/ |
H A D | rockchip-efuse.c | 112 addr_start = rounddown(offset, RK3399_NBYTES) / RK3399_NBYTES; in rockchip_rk3328_efuse_read() 165 addr_start = rounddown(offset, RK3399_NBYTES) / RK3399_NBYTES; in rockchip_rk3399_efuse_read()
|
H A D | stm32-romem.c | 82 roffset = rounddown(offset, 4); in stm32_bsec_read()
|
/openbmc/linux/drivers/media/platform/xilinx/ |
H A D | xilinx-dma.c | 545 max_width = rounddown(XVIP_DMA_MAX_WIDTH, align); in __xvip_dma_try_format() 546 width = rounddown(pix->width * info->bpp, align); in __xvip_dma_try_format() 557 max_bpl = rounddown(XVIP_DMA_MAX_WIDTH, dma->align); in __xvip_dma_try_format() 558 bpl = rounddown(pix->bytesperline, dma->align); in __xvip_dma_try_format()
|
/openbmc/linux/drivers/tty/vt/ |
H A D | selection.c | 263 new_sel_start = rounddown(ps, vc->vc_size_row); in vc_do_selection() 264 new_sel_end = rounddown(pe, vc->vc_size_row) + in vc_do_selection()
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | comedi_test.c | 324 rounddown(UINT_MAX, (unsigned int)NSEC_PER_USEC)); in waveform_ai_cmdtest() 329 limit = rounddown(limit, (unsigned int)NSEC_PER_SEC); in waveform_ai_cmdtest() 339 rounddown(UINT_MAX, (unsigned int)NSEC_PER_USEC)); in waveform_ai_cmdtest() 593 arg = min(arg, rounddown(UINT_MAX, (unsigned int)NSEC_PER_USEC)); in waveform_ao_cmdtest()
|
/openbmc/linux/crypto/ |
H A D | cts.c | 167 offset = rounddown(nbytes - 1, bsize); in crypto_cts_encrypt() 267 offset = rounddown(nbytes - 1, bsize); in crypto_cts_decrypt()
|
/openbmc/linux/include/linux/ |
H A D | math.h | 73 #define rounddown(x, y) ( \ macro
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-menz127.c | 58 debounce = rounddown(debounce, MEN_Z127_DB_MIN_US); in men_z127_debounce()
|
/openbmc/linux/drivers/powercap/ |
H A D | arm_scmi_powercap.c | 113 *norm = rounddown(*norm, spz->info->power_cap_step); in scmi_powercap_normalize_cap() 163 *norm = rounddown(*norm, spz->info->pai_step); in scmi_powercap_normalize_time()
|
/openbmc/linux/lib/ |
H A D | test_hexdump.c | 217 test_hexdump_overflow(buflen, rounddown(len, gs), rs, gs, ascii); in test_hexdump_overflow_set()
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | chacha-p10-glue.c | 104 nbytes = rounddown(nbytes, walk.stride); in chacha_p10_stream_xor()
|
/openbmc/linux/fs/proc/ |
H A D | vmcore.c | 1125 start = rounddown(paddr, PAGE_SIZE); in process_ptload_program_headers_elf64() 1168 start = rounddown(paddr, PAGE_SIZE); in process_ptload_program_headers_elf32() 1413 start = rounddown(phdr->p_offset, PAGE_SIZE); in vmcoredd_update_program_headers() 1433 start = rounddown(phdr->p_offset, PAGE_SIZE); in vmcoredd_update_program_headers()
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | chacha-neon-glue.c | 119 nbytes = rounddown(nbytes, walk.stride); in chacha_neon_stream_xor()
|
/openbmc/linux/sound/firewire/tascam/ |
H A D | tascam-hwdep.c | 73 length = rounddown(remained, sizeof(*entries)); in tscm_hwdep_read_queue()
|
/openbmc/u-boot/include/linux/ |
H A D | kernel.h | 83 #define rounddown(x, y) ( \ macro
|