Home
last modified time | relevance | path

Searched refs:DIV_ROUND_DOWN_ULL (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/lib/dim/
Ddim.c77 curr_stats->cpe_ratio = DIV_ROUND_DOWN_ULL( in dim_calc_stats()
/kernel/linux/linux-5.10/drivers/reset/
Dreset-brcmstb.c101 priv->rcdev.nr_resets = DIV_ROUND_DOWN_ULL(resource_size(res), in brcmstb_reset_probe()
/kernel/linux/linux-5.10/drivers/pwm/
Dpwm-sl28cpld.c75 (DIV_ROUND_DOWN_ULL((duty_cycle), NSEC_PER_SEC / SL28CPLD_PWM_CLK))
/kernel/linux/linux-5.10/include/linux/
Dkernel.h90 #define DIV_ROUND_DOWN_ULL(ll, d) \ macro
94 DIV_ROUND_DOWN_ULL((unsigned long long)(ll) + (d) - 1, (d))
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_rect.c74 return DIV_ROUND_DOWN_ULL(tmp, dst); in clip_scaled()
/kernel/linux/linux-5.10/net/ceph/
Dstriper.c232 DIV_ROUND_DOWN_ULL(objoff, l->stripe_unit); in ceph_extent_to_file()
/kernel/linux/linux-5.10/drivers/clk/zynqmp/
Ddivider.c56 down = DIV_ROUND_DOWN_ULL((u64)parent_rate, rate); in zynqmp_divider_get_val()
/kernel/linux/linux-5.10/drivers/gpu/drm/mcde/
Dmcde_dsi.c604 bpl = DIV_ROUND_DOWN_ULL(bpl, 1000000); /* microseconds */ in mcde_dsi_setup_video_mode()
605 bpl = DIV_ROUND_DOWN_ULL(bpl, 1000000); /* seconds */ in mcde_dsi_setup_video_mode()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dpcm512x.c844 pcm512x->real_pll = DIV_ROUND_DOWN_ULL((u64)K * pllin_rate, 10000 * P); in pcm512x_find_pll_coeff()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Ddenali.c782 t_x = DIV_ROUND_DOWN_ULL(1000000000000ULL, denali->clk_x_rate); in denali_setup_interface()
Dnand_base.c4608 DIV_ROUND_DOWN_ULL((u64)type->chipsize << 20, in find_full_id_nand()
4809 DIV_ROUND_DOWN_ULL((u64)type->chipsize << 20, in nand_detect()
Dcadence-nand-controller.c2316 u32 clk_period = DIV_ROUND_DOWN_ULL(1000000000000ULL, in cadence_nand_setup_interface()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
Dcdns-dsi.c835 tx_byte_period = DIV_ROUND_DOWN_ULL((u64)NSEC_PER_SEC * 8, in cdns_dsi_bridge_enable()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0034_linux_drivers_usb_vfio_wdt_tty_uio.patch4721 + ref_clk_period_integer = DIV_ROUND_DOWN_ULL(1000000000, ref_clk_hz);
4723 + temp = DIV_ROUND_DOWN_ULL(temp, ref_clk_hz);
4724 + temp = DIV_ROUND_DOWN_ULL(temp, ref_clk_period_integer);
D0020_linux_drivers_gpu.patch6606 + max_div = DIV_ROUND_DOWN_ULL(bit_clk, MIN_PHY_RATE);