Home
last modified time | relevance | path

Searched refs:DIV_ROUND_UP (Results 1 – 3 of 3) sorted by relevance

/components/drivers/virtio/
A Dvirtio_input.h96 #define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) macro
100 #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))
/components/drivers/sdio/sdhci/include/
A Dsdhci_misc.h28 #define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) macro
45 #define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) macro
/components/drivers/sdio/sdhci/
A Dsdhci.c1012 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