Searched refs:DIV_ROUND_UP (Results 1 – 3 of 3) sorted by relevance
96 #define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) macro100 #define BITS_TO_BYTES(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(char))101 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long))
28 #define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) macro45 #define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) macro
1012 target_timeout = DIV_ROUND_UP(data->timeout_ns, 1000); in sdhci_target_timeout()1359 timeout += DIV_ROUND_UP(cmd->busy_timeout, 1000) * RT_TICK_PER_SECOND + RT_TICK_PER_SECOND; in sdhci_send_command()2691 DIV_ROUND_UP(host->ops->get_timeout_clock(host), in rt_sdhci_setup_host()
Completed in 11 milliseconds