Lines Matching refs:name

17 #define PARENTS(name) \  argument
18 static const char *const name ## _parents[] __initconst
19 #define MUX_RO_RATE_RO_OPS(name, clk_name) \ argument
20 static struct clk_hw name ## _mux_hw; \
21 static struct clk_hw name ## _rate_hw; \
22 static const struct clk_ops name ## _mux_ops = { \
23 .get_parent = name ## _get_parent, \
26 static const struct clk_ops name ## _rate_ops = { \
27 .recalc_rate = name ## _get_rate, \
29 static struct clk * __init clk_register_ ## name(void) \
32 name ## _parents, \
33 ARRAY_SIZE(name ## _parents), \
34 &name ## _mux_hw, &name ## _mux_ops, \
35 &name ## _rate_hw, &name ## _rate_ops, \
39 #define RATE_RO_OPS(name, clk_name) \ argument
40 static struct clk_hw name ## _rate_hw; \
41 static const struct clk_ops name ## _rate_ops = { \
42 .recalc_rate = name ## _get_rate, \
44 static struct clk * __init clk_register_ ## name(void) \
47 name ## _parents, \
48 ARRAY_SIZE(name ## _parents), \
50 &name ## _rate_hw, &name ## _rate_ops, \
54 #define RATE_OPS(name, clk_name) \ argument
55 static struct clk_hw name ## _rate_hw; \
56 static const struct clk_ops name ## _rate_ops = { \
57 .recalc_rate = name ## _get_rate, \
58 .set_rate = name ## _set_rate, \
59 .determine_rate = name ## _determine_rate, \
61 static struct clk * __init clk_register_ ## name(void) \
64 name ## _parents, \
65 ARRAY_SIZE(name ## _parents), \
67 &name ## _rate_hw, &name ## _rate_ops, \
71 #define MUX_OPS(name, clk_name, flags) \ argument
72 static struct clk_hw name ## _mux_hw; \
73 static const struct clk_ops name ## _mux_ops = { \
74 .get_parent = name ## _get_parent, \
75 .set_parent = name ## _set_parent, \
76 .determine_rate = name ## _determine_rate, \
78 static struct clk * __init clk_register_ ## name(void) \
81 name ## _parents, \
82 ARRAY_SIZE(name ## _parents), \
83 &name ## _mux_hw, &name ## _mux_ops, \
109 const char *name; member
122 { .ckid = CLK_ ## _name, .name = #_name, \
131 #define PXA_CKEN_1RATE(dev_id, con_id, name, parents, cken_reg, \ argument
133 PXA_CKEN(dev_id, con_id, name, parents, 1, 1, 1, 1, \