Lines Matching refs:cm_ll_data
31 static struct cm_ll_data null_cm_ll_data;
32 static const struct cm_ll_data *cm_ll_data = &null_cm_ll_data; variable
72 if (!cm_ll_data->split_idlest_reg) { in cm_split_idlest_reg()
78 ret = cm_ll_data->split_idlest_reg(idlest_reg, prcm_inst, in cm_split_idlest_reg()
100 if (!cm_ll_data->wait_module_ready) { in omap_cm_wait_module_ready()
106 return cm_ll_data->wait_module_ready(part, prcm_mod, idlest_reg, in omap_cm_wait_module_ready()
126 if (!cm_ll_data->wait_module_idle) { in omap_cm_wait_module_idle()
132 return cm_ll_data->wait_module_idle(part, prcm_mod, idlest_reg, in omap_cm_wait_module_idle()
149 if (!cm_ll_data->module_enable) { in omap_cm_module_enable()
155 cm_ll_data->module_enable(mode, part, inst, clkctrl_offs); in omap_cm_module_enable()
171 if (!cm_ll_data->module_disable) { in omap_cm_module_disable()
177 cm_ll_data->module_disable(part, inst, clkctrl_offs); in omap_cm_module_disable()
183 if (!cm_ll_data->xlate_clkctrl) { in omap_cm_xlate_clkctrl()
188 return cm_ll_data->xlate_clkctrl(part, inst, clkctrl_offs); in omap_cm_xlate_clkctrl()
202 int cm_register(const struct cm_ll_data *cld) in cm_register()
207 if (cm_ll_data != &null_cm_ll_data) in cm_register()
210 cm_ll_data = cld; in cm_register()
226 int cm_unregister(const struct cm_ll_data *cld) in cm_unregister()
228 if (!cld || cm_ll_data != cld) in cm_unregister()
231 cm_ll_data = &null_cm_ll_data; in cm_unregister()