]> git.karo-electronics.de Git - linux-beck.git/commitdiff
clk: sunxi-ng: div: Add kerneldoc for the _ccu_div structure
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 8 Sep 2016 09:29:13 +0000 (11:29 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sat, 10 Sep 2016 09:41:17 +0000 (11:41 +0200)
The internal _ccu_div structure is meant to be embedded into other
structures to combine the various dividers and to form the clock classes
support.

Start to document those structures by using kerneldoc.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi-ng/ccu_div.h

index a5c9eaf90e84fd2013742751285cdd8465f0dd8f..e1b1326e68a168f1093273579ecbecd89c32e106 100644 (file)
 #include "ccu_common.h"
 #include "ccu_mux.h"
 
+/**
+ * struct _ccu_div - Internal divider description
+ * @shift: Bit offset of the divider in its register
+ * @width: Width of the divider field in its register
+ * @flags: clk_divider flags to apply on this divider
+ * @table: Divider table pointer (if applicable)
+ *
+ * That structure represents a single divider, and is meant to be
+ * embedded in other structures representing the various clock
+ * classes.
+ *
+ * It is basically a wrapper around the clk_divider functions
+ * arguments.
+ */
 struct _ccu_div {
        u8                      shift;
        u8                      width;