Searched refs:DIV_U64_ROUND_UP (Results 1 – 4 of 4) sorted by relevance
367 #define DIV_U64_ROUND_UP(ll, d) \ macro428 return DIV_U64_ROUND_UP(x, y) * y; in roundup_u64()
85 state->period = DIV_U64_ROUND_UP(tmp, clk_rate); in rockchip_pwm_get_state()89 state->duty_cycle = DIV_U64_ROUND_UP(tmp, clk_rate); in rockchip_pwm_get_state()
1950 u64 entries = DIV_U64_ROUND_UP(size, XE_PAGE_SIZE); in pte_update_cmd_size()1963 num_dword = (1 + 2) * DIV_U64_ROUND_UP(entries, MAX_PTE_PER_SDI); in pte_update_cmd_size()
762 word_delay_sck = DIV_U64_ROUND_UP((u64)word_delay_ns * spi_imx->spi_bus_clk, in mx51_ecspi_prepare_transfer()