Home | History | Annotate | Download | only in fdt

Lines Matching defs:pc

55 	struct fdtbus_pwm_controller *pc;
57 pc = kmem_alloc(sizeof(*pc), KM_SLEEP);
58 pc->pc_dev = dev;
59 pc->pc_phandle = phandle;
60 pc->pc_funcs = funcs;
62 LIST_INSERT_HEAD(&fdtbus_pwm_controllers, pc, pc_next);
70 struct fdtbus_pwm_controller *pc;
72 LIST_FOREACH(pc, &fdtbus_pwm_controllers, pc_next) {
73 if (pc->pc_phandle == phandle)
74 return pc;
89 struct fdtbus_pwm_controller *pc;
105 pc = fdtbus_get_pwm_controller(pc_phandle);
106 if (pc == NULL)
108 return pc->pc_funcs->get_tag(pc->pc_dev,