/linux-master/drivers/regulator/ |
H A D | rc5t583-regulator.c | 42 return DIV_ROUND_UP(curr_uV, reg_info->enable_uv_per_us);
|
/linux-master/drivers/gpio/ |
H A D | gpio-davinci.c | 226 nirq = DIV_ROUND_UP(ngpio, 16); 259 nbank = DIV_ROUND_UP(ngpio, 32); 674 u32 nbank = DIV_ROUND_UP(pdata->ngpio, 32); 685 u32 nbank = DIV_ROUND_UP(pdata->ngpio, 32);
|
/linux-master/mm/ |
H A D | shrinker.c | 18 return (DIV_ROUND_UP(nr_items, SHRINKER_UNIT_BITS) * sizeof(struct shrinker_info_unit *)); 30 nr = DIV_ROUND_UP(info->map_nr_max, SHRINKER_UNIT_BITS); 45 int nr = DIV_ROUND_UP(new->map_nr_max, SHRINKER_UNIT_BITS); 46 int start = old ? DIV_ROUND_UP(old->map_nr_max, SHRINKER_UNIT_BITS) : 0;
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | xdp.h | 216 u16 ds_cnt = DIV_ROUND_UP(ds_len, MLX5_SEND_WQE_DS);
|
/linux-master/drivers/mfd/ |
H A D | fsl-imx25-tsadc.c | 115 clk_div = DIV_ROUND_UP(clk_get_rate(tsadc->clk), 1750000);
|
/linux-master/drivers/net/ethernet/amd/pds_core/ |
H A D | fw.c | 121 (int)fw->size, buf_sz, DIV_ROUND_UP(fw->size, buf_sz));
|
/linux-master/drivers/watchdog/ |
H A D | s3c2410_wdt.c | 510 freq = DIV_ROUND_UP(freq, 128); 522 divisor = DIV_ROUND_UP(count, 0xffff); 531 timeout, divisor, count, DIV_ROUND_UP(count, divisor)); 533 count = DIV_ROUND_UP(count, divisor);
|
H A D | intel-mid_wdt.c | 72 in_size = DIV_ROUND_UP(sizeof(ipc_wd_start), 4);
|
/linux-master/arch/x86/kernel/ |
H A D | espfix_64.c | 62 #define ESPFIX_MAX_PAGES DIV_ROUND_UP(CONFIG_NR_CPUS, ESPFIX_STACKS_PER_PAGE)
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
H A D | gk20a.c | 87 mv = DIV_ROUND_UP(mv, v_scale);
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_perf_types.h | 505 #define FORMAT_MASK_SIZE DIV_ROUND_UP(I915_OA_FORMAT_MAX - 1, BITS_PER_LONG)
|
/linux-master/drivers/fpga/ |
H A D | ice40-spi.c | 24 #define ICE40_SPI_NUM_ACTIVATION_BYTES DIV_ROUND_UP(49, 8)
|
/linux-master/drivers/pwm/ |
H A D | pwm-raspberrypi-poe.c | 91 state->duty_cycle = DIV_ROUND_UP(rpipwm->duty_cycle * RPI_PWM_PERIOD_NS,
|
H A D | pwm-crc.c | 145 DIV_ROUND_UP(clk_div * NSEC_PER_USEC * 256, PWM_BASE_CLK_MHZ);
|
/linux-master/include/linux/gpio/ |
H A D | gpio-nomadik.h | 13 #define NMK_MAX_BANKS DIV_ROUND_UP(512, NMK_GPIO_PER_CHIP)
|
/linux-master/drivers/clk/samsung/ |
H A D | clk-cpu.c | 240 alt_div = DIV_ROUND_UP(alt_prate, tmp_rate) - 1; 361 alt_div = DIV_ROUND_UP(alt_prate, tmp_rate) - 1; 462 div = DIV_ROUND_UP(divp_rate, rate); 463 div_rate = DIV_ROUND_UP(divp_rate, div);
|
/linux-master/drivers/video/fbdev/core/ |
H A D | bitblit.c | 29 int width = DIV_ROUND_UP(vc->vc_font.width, 8); 148 u32 width = DIV_ROUND_UP(vc->vc_font.width, 8); 177 pitch = DIV_ROUND_UP(image.width, 8) + scan_align; 242 int w = DIV_ROUND_UP(vc->vc_font.width, 8), c;
|
/linux-master/arch/riscv/mm/ |
H A D | tlbflush.c | 44 unsigned long nr_ptes_in_range = DIV_ROUND_UP(size, stride);
|
/linux-master/drivers/firmware/efi/ |
H A D | unaccepted_memory.c | 93 range.end = DIV_ROUND_UP(end, unit_size);
|
/linux-master/drivers/mtd/nand/raw/ |
H A D | mtk_nand.c | 556 tpoecs = DIV_ROUND_UP(tpoecs * rate, 1000000); 560 tprecs = DIV_ROUND_UP(tprecs * rate, 1000000); 567 tw2r = DIV_ROUND_UP(tw2r * rate, 1000000); 568 tw2r = DIV_ROUND_UP(tw2r - 1, 2); 572 twh = DIV_ROUND_UP(twh * rate, 1000000) - 1; 587 twst = DIV_ROUND_UP(twst * rate, 1000000) - 1; 597 trlt = DIV_ROUND_UP(trlt * rate, 1000000) - 1; 610 tsel = DIV_ROUND_UP(tsel * rate, 1000000); 683 end = DIV_ROUND_UP(offset + len, chip->ecc.size); 955 end = DIV_ROUND_UP(data_off [all...] |
/linux-master/drivers/media/platform/samsung/s5p-mfc/ |
H A D | regs-mfc-v6.h | 379 (((((imw + 127) / 64) * 16) * DIV_ROUND_UP(imh, 64) * 256) + \ 380 (DIV_ROUND_UP((mbw) * (mbh), 32) * 16))
|
/linux-master/drivers/usb/gadget/function/ |
H A D | uvc_queue.c | 64 nreq = DIV_ROUND_UP(DIV_ROUND_UP(sizes[0], 2), req_size);
|
/linux-master/drivers/crypto/ |
H A D | atmel-i2c.c | 289 u32 no_of_bits = DIV_ROUND_UP(TWLO_USEC * bus_clk_rate, USEC_PER_SEC); 292 return DIV_ROUND_UP(no_of_bits, 8);
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_gem_dma_helper.c | 269 unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); 308 args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8);
|
/linux-master/drivers/video/backlight/ |
H A D | mt6370-backlight.c | 173 ovp_uV = DIV_ROUND_UP(ovp_uV - MT6370_BL_OVP_MIN_UV, 186 ocp_uA = DIV_ROUND_UP(ocp_uA - MT6370_BL_OCP_MIN_UA,
|