Searched refs:DIV_ROUND_DOWN_ULL (Results 1 – 15 of 15) sorted by relevance
/kernel/linux/linux-5.10/lib/dim/ |
D | dim.c | 77 curr_stats->cpe_ratio = DIV_ROUND_DOWN_ULL( in dim_calc_stats()
|
/kernel/linux/linux-5.10/drivers/reset/ |
D | reset-brcmstb.c | 101 priv->rcdev.nr_resets = DIV_ROUND_DOWN_ULL(resource_size(res), in brcmstb_reset_probe()
|
/kernel/linux/linux-5.10/drivers/pwm/ |
D | pwm-sl28cpld.c | 75 (DIV_ROUND_DOWN_ULL((duty_cycle), NSEC_PER_SEC / SL28CPLD_PWM_CLK))
|
/kernel/linux/linux-5.10/include/linux/ |
D | kernel.h | 90 #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/ |
D | drm_rect.c | 74 return DIV_ROUND_DOWN_ULL(tmp, dst); in clip_scaled()
|
/kernel/linux/linux-5.10/net/ceph/ |
D | striper.c | 232 DIV_ROUND_DOWN_ULL(objoff, l->stripe_unit); in ceph_extent_to_file()
|
/kernel/linux/linux-5.10/drivers/clk/zynqmp/ |
D | divider.c | 56 down = DIV_ROUND_DOWN_ULL((u64)parent_rate, rate); in zynqmp_divider_get_val()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/mcde/ |
D | mcde_dsi.c | 604 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/ |
D | pcm512x.c | 844 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/ |
D | denali.c | 782 t_x = DIV_ROUND_DOWN_ULL(1000000000000ULL, denali->clk_x_rate); in denali_setup_interface()
|
D | nand_base.c | 4608 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()
|
D | cadence-nand-controller.c | 2316 u32 clk_period = DIV_ROUND_DOWN_ULL(1000000000000ULL, in cadence_nand_setup_interface()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/ |
D | cdns-dsi.c | 835 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/ |
D | 0034_linux_drivers_usb_vfio_wdt_tty_uio.patch | 4721 + 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);
|
D | 0020_linux_drivers_gpu.patch | 6606 + max_div = DIV_ROUND_DOWN_ULL(bit_clk, MIN_PHY_RATE);
|