Searched refs:DIV_ROUND_DOWN_ULL (Results 1 – 15 of 15) sorted by relevance
| /OK3568_Linux_fs/u-boot/include/linux/ |
| H A D | kernel.h | 60 #define DIV_ROUND_DOWN_ULL(ll, d) \ macro 63 #define DIV_ROUND_UP_ULL(ll, d) DIV_ROUND_DOWN_ULL((ll) + (d) - 1, (d))
|
| /OK3568_Linux_fs/kernel/lib/dim/ |
| H A D | dim.c | 77 curr_stats->cpe_ratio = DIV_ROUND_DOWN_ULL( in dim_calc_stats()
|
| /OK3568_Linux_fs/kernel/drivers/reset/ |
| H A D | reset-brcmstb.c | 101 priv->rcdev.nr_resets = DIV_ROUND_DOWN_ULL(resource_size(res), in brcmstb_reset_probe()
|
| /OK3568_Linux_fs/kernel/drivers/pwm/ |
| H A D | pwm-sl28cpld.c | 75 (DIV_ROUND_DOWN_ULL((duty_cycle), NSEC_PER_SEC / SL28CPLD_PWM_CLK))
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | kernel.h | 87 #define DIV_ROUND_DOWN_ULL(ll, d) \ macro 91 DIV_ROUND_DOWN_ULL((unsigned long long)(ll) + (d) - 1, (d))
|
| /OK3568_Linux_fs/kernel/drivers/clk/zynqmp/ |
| H A D | divider.c | 56 down = DIV_ROUND_DOWN_ULL((u64)parent_rate, rate); in zynqmp_divider_get_val()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_rect.c | 74 return DIV_ROUND_DOWN_ULL(tmp, dst); in clip_scaled()
|
| /OK3568_Linux_fs/kernel/net/ceph/ |
| H A D | striper.c | 232 DIV_ROUND_DOWN_ULL(objoff, l->stripe_unit); in ceph_extent_to_file()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/mcde/ |
| H A 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()
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/ |
| H A D | denali.c | 959 t_x = DIV_ROUND_DOWN_ULL(1000000000000ULL, denali->clk_x_rate); in denali_setup_data_interface()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/ |
| H A D | denali.c | 782 t_x = DIV_ROUND_DOWN_ULL(1000000000000ULL, denali->clk_x_rate); in denali_setup_interface()
|
| H A 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()
|
| H A D | cadence-nand-controller.c | 2316 u32 clk_period = DIV_ROUND_DOWN_ULL(1000000000000ULL, in cadence_nand_setup_interface()
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | pcm512x.c | 844 pcm512x->real_pll = DIV_ROUND_DOWN_ULL((u64)K * pllin_rate, 10000 * P); in pcm512x_find_pll_coeff()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/ |
| H A D | cdns-dsi.c | 835 tx_byte_period = DIV_ROUND_DOWN_ULL((u64)NSEC_PER_SEC * 8, in cdns_dsi_bridge_enable()
|