Home
last modified time | relevance | path

Searched refs:DIV_U64_ROUND_CLOSEST (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/can/dev/
H A Dbittiming.c107 bt->tq = DIV_U64_ROUND_CLOSEST(mul_u32_u32(bt->brp, NSEC_PER_SEC), in can_fixup_bittiming()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_hwtstamp.c84 DIV_U64_ROUND_CLOSEST(scaled_ns * PSEC_PER_NSEC, 466U); in hwtstamp_correct_latency()
/openbmc/linux/include/linux/
H A Dmath64.h327 #define DIV_U64_ROUND_CLOSEST(dividend, divisor) \ macro
/openbmc/linux/drivers/tty/serial/
H A Dmvebu-uart.c1123 divisor = DIV_U64_ROUND_CLOSEST((u64)(val & BRDV_BAUD_MASK) * in mvebu_uart_clock_prepare()
1152 divisor = DIV_U64_ROUND_CLOSEST((u64)(val & BRDV_BAUD_MASK) * in mvebu_uart_clock_prepare()