Searched refs:rounddown (Results 1 - 25 of 91) sorted by relevance

1234

/linux-master/arch/um/kernel/
H A Dmaccess.c12 void *psrc = (void *)rounddown((unsigned long)src, PAGE_SIZE);
/linux-master/security/selinux/ss/
H A Debitmap.c484 if (rounddown(bit, (int)BITS_PER_U64) > last_startbit) {
486 last_startbit = rounddown(bit, BITS_PER_U64);
501 if (rounddown(bit, (int)BITS_PER_U64) > last_startbit) {
506 last_startbit = rounddown(bit, BITS_PER_U64);
524 last_startbit = rounddown(bit, BITS_PER_U64);
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/
H A Dmm.c135 e = rounddown(e, mm->block_size);
209 e = rounddown(e, mm->block_size);
271 node->length = rounddown(offset + length, mm->block_size);
/linux-master/drivers/firmware/efi/
H A Dearlycon.c260 memset32(efi_x_array, rounddown(xres, font->width), ARRAY_SIZE(efi_x_array));
261 efi_y = rounddown(yres, font->height);
/linux-master/include/linux/
H A Dmath.h33 * To perform arbitrary rounding down, use rounddown() below.
66 * rounddown - round down to next specified multiple
73 #define rounddown(x, y) ( \ macro
/linux-master/drivers/media/platform/xilinx/
H A Dxilinx-dma.c545 max_width = rounddown(XVIP_DMA_MAX_WIDTH, align);
546 width = rounddown(pix->width * info->bpp, align);
557 max_bpl = rounddown(XVIP_DMA_MAX_WIDTH, dma->align);
558 bpl = rounddown(pix->bytesperline, dma->align);
/linux-master/drivers/nvmem/
H A Drockchip-efuse.c112 addr_start = rounddown(offset, RK3399_NBYTES) / RK3399_NBYTES;
165 addr_start = rounddown(offset, RK3399_NBYTES) / RK3399_NBYTES;
H A Dstm32-romem.c84 roffset = rounddown(offset, 4);
/linux-master/drivers/tty/vt/
H A Dselection.c272 new_sel_start = rounddown(ps, vc->vc_size_row);
273 new_sel_end = rounddown(pe, vc->vc_size_row) +
/linux-master/drivers/staging/media/atomisp/pci/
H A Datomisp_subdev.c375 r->width = rounddown(r->width, ATOM_ISP_STEP_WIDTH);
376 r->height = rounddown(r->height, ATOM_ISP_STEP_HEIGHT);
420 dvs_w = rounddown(crop[pad]->width / 5,
422 dvs_h = rounddown(crop[pad]->height / 5,
478 rounddown(crop[ATOMISP_SUBDEV_PAD_SINK]->
486 rounddown(crop[ATOMISP_SUBDEV_PAD_SINK]->
/linux-master/drivers/powercap/
H A Darm_scmi_powercap.c113 *norm = rounddown(*norm, spz->info->power_cap_step);
163 *norm = rounddown(*norm, spz->info->pai_step);
/linux-master/crypto/
H A Dcts.c167 offset = rounddown(nbytes - 1, bsize);
267 offset = rounddown(nbytes - 1, bsize);
/linux-master/arch/arm64/crypto/
H A Dchacha-neon-glue.c119 nbytes = rounddown(nbytes, walk.stride);
/linux-master/sound/firewire/tascam/
H A Dtascam-hwdep.c73 length = rounddown(remained, sizeof(*entries));
/linux-master/drivers/gpio/
H A Dgpio-menz127.c58 debounce = rounddown(debounce, MEN_Z127_DB_MIN_US);
/linux-master/lib/
H A Dtest_hexdump.c217 test_hexdump_overflow(buflen, rounddown(len, gs), rs, gs, ascii);
/linux-master/drivers/comedi/drivers/
H A Dcomedi_test.c324 rounddown(UINT_MAX, (unsigned int)NSEC_PER_USEC));
329 limit = rounddown(limit, (unsigned int)NSEC_PER_SEC);
339 rounddown(UINT_MAX, (unsigned int)NSEC_PER_USEC));
593 arg = min(arg, rounddown(UINT_MAX, (unsigned int)NSEC_PER_USEC));
/linux-master/arch/powerpc/crypto/
H A Dchacha-p10-glue.c104 nbytes = rounddown(nbytes, walk.stride);
/linux-master/drivers/iio/adc/
H A Dti_am335x_adc.c245 dma->fifo_thresh = rounddown(FIFO1_THRESHOLD + 1,
249 dma->period_size = rounddown(DMA_BUFFER_SIZE / 2,
/linux-master/fs/nilfs2/
H A Dalloc.c764 entry_start = rounddown(group_offset, epb);
802 entry_start = rounddown(group_offset, epb);
/linux-master/drivers/gpu/drm/i915/gvt/
H A Dcfg_space.c276 switch (rounddown(offset, 4)) {
/linux-master/fs/proc/
H A Dvmcore.c1122 start = rounddown(paddr, PAGE_SIZE);
1165 start = rounddown(paddr, PAGE_SIZE);
1410 start = rounddown(phdr->p_offset, PAGE_SIZE);
1430 start = rounddown(phdr->p_offset, PAGE_SIZE);
/linux-master/block/
H A Dbadblocks.c883 rounddown(s, bb->shift);
1161 rounddown(target, bb->shift);
1291 rounddown(s, bb->shift);
/linux-master/drivers/gpu/drm/tiny/
H A Dst7586.c120 rect->x1 = rounddown(rect->x1, 3);
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dbmi.c459 u32 head_len = rounddown(length, 4);

Completed in 247 milliseconds

1234