Searched hist:"4515992 fc7849c51997e3ff2d00352e36e14ebd7" (Results 1 – 3 of 3) sorted by relevance
| /rk3399_rockchip-uboot/lib/ |
| H A D | strmhz.c | 4515992fc7849c51997e3ff2d00352e36e14ebd7 Thu Nov 06 18:03:26 UTC 2014 Masahiro Yamada <yamada.m@jp.panasonic.com> replace DIV_ROUND with DIV_ROUND_CLOSEST
The Linux-compatible macro DIV_ROUND_CLOSEST is a bit more flexible and safer than DIV_ROUND.
For example, foo = DIV_ROUND_CLOSEST(x, y++) works expectedly, but foo = DIV_ROUND(x, y++) does not. (y is incremented twice.)
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
| /rk3399_rockchip-uboot/drivers/misc/ |
| H A D | mxc_ocotp.c | 4515992fc7849c51997e3ff2d00352e36e14ebd7 Thu Nov 06 18:03:26 UTC 2014 Masahiro Yamada <yamada.m@jp.panasonic.com> replace DIV_ROUND with DIV_ROUND_CLOSEST
The Linux-compatible macro DIV_ROUND_CLOSEST is a bit more flexible and safer than DIV_ROUND.
For example, foo = DIV_ROUND_CLOSEST(x, y++) works expectedly, but foo = DIV_ROUND(x, y++) does not. (y is incremented twice.)
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
| /rk3399_rockchip-uboot/arch/arm/cpu/arm926ejs/mxs/ |
| H A D | spl_power_init.c | 4515992fc7849c51997e3ff2d00352e36e14ebd7 Thu Nov 06 18:03:26 UTC 2014 Masahiro Yamada <yamada.m@jp.panasonic.com> replace DIV_ROUND with DIV_ROUND_CLOSEST
The Linux-compatible macro DIV_ROUND_CLOSEST is a bit more flexible and safer than DIV_ROUND.
For example, foo = DIV_ROUND_CLOSEST(x, y++) works expectedly, but foo = DIV_ROUND(x, y++) does not. (y is incremented twice.)
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
|