Home | History | Annotate | Download | only in fdt

Lines Matching refs:cc

57 	struct fdtbus_clock_controller *cc;
59 cc = kmem_alloc(sizeof(*cc), KM_SLEEP);
60 cc->cc_dev = dev;
61 cc->cc_phandle = phandle;
62 cc->cc_funcs = funcs;
64 LIST_INSERT_HEAD(&fdtbus_clock_controllers, cc, cc_next);
74 struct fdtbus_clock_controller *cc;
76 LIST_FOREACH(cc, &fdtbus_clock_controllers, cc_next) {
77 if (cc->cc_phandle == phandle)
78 return cc;
87 struct fdtbus_clock_controller *cc;
103 cc = fdtbus_get_clock_controller(cc_phandle);
104 if (cc == NULL)
106 clk = cc->cc_funcs->decode(cc->cc_dev, cc_phandle,
197 struct fdtbus_clock_controller *cc;
201 LIST_FOREACH(cc, &fdtbus_clock_controllers, cc_next) {
202 err = fdtbus_get_index(cc->cc_phandle, "clock-output-names", clkname, &index);
205 if (of_getprop_uint32(cc->cc_phandle, "#clock-cells", &clock_cells))
208 return cc->cc_funcs->decode(cc->cc_dev,
209 cc->cc_phandle,