Define meaning of remaining clock rounding flags combinations.

MFC after: 2 weeks
This commit is contained in:
mmel 2018-02-27 16:08:08 +00:00
parent bd14553bb6
commit 6a7357a1fb

View File

@ -44,8 +44,12 @@
#define CLK_NODE_CANNOT_STOP 0x00000004 /* Clock cannot be disabled */
/* Flags passed to clk_set_freq() and clknode_set_freq(). */
#define CLK_SET_ROUND(x) ((x) & (CLK_SET_ROUND_UP | CLK_SET_ROUND_DOWN))
#define CLK_SET_ROUND_EXACT 0
#define CLK_SET_ROUND_UP 0x00000001
#define CLK_SET_ROUND_DOWN 0x00000002
#define CLK_SET_ROUND_ANY (CLK_SET_ROUND_UP | CLK_SET_ROUND_DOWN)
#define CLK_SET_USER_MASK 0x0000FFFF
#define CLK_SET_DRYRUN 0x00010000