Lines Matching refs:cm_ll_data
31 static struct cm_ll_data null_cm_ll_data;
32 static struct cm_ll_data *cm_ll_data = &null_cm_ll_data; variable
71 if (!cm_ll_data->split_idlest_reg) { in cm_split_idlest_reg()
77 return cm_ll_data->split_idlest_reg(idlest_reg, prcm_inst, in cm_split_idlest_reg()
97 if (!cm_ll_data->wait_module_ready) { in omap_cm_wait_module_ready()
103 return cm_ll_data->wait_module_ready(part, prcm_mod, idlest_reg, in omap_cm_wait_module_ready()
123 if (!cm_ll_data->wait_module_idle) { in omap_cm_wait_module_idle()
129 return cm_ll_data->wait_module_idle(part, prcm_mod, idlest_reg, in omap_cm_wait_module_idle()
146 if (!cm_ll_data->module_enable) { in omap_cm_module_enable()
152 cm_ll_data->module_enable(mode, part, inst, clkctrl_offs); in omap_cm_module_enable()
168 if (!cm_ll_data->module_disable) { in omap_cm_module_disable()
174 cm_ll_data->module_disable(part, inst, clkctrl_offs); in omap_cm_module_disable()
189 int cm_register(struct cm_ll_data *cld) in cm_register()
194 if (cm_ll_data != &null_cm_ll_data) in cm_register()
197 cm_ll_data = cld; in cm_register()
213 int cm_unregister(struct cm_ll_data *cld) in cm_unregister()
215 if (!cld || cm_ll_data != cld) in cm_unregister()
218 cm_ll_data = &null_cm_ll_data; in cm_unregister()