Searched refs:const_ops (Results 1 – 2 of 2) sorted by relevance
285 const struct powercap_zone_constraint_ops *const_ops) in create_constraints() argument292 if (!power_zone || !const_ops || !const_ops->get_power_limit_uw || in create_constraints()293 !const_ops->set_power_limit_uw || in create_constraints()294 !const_ops->get_time_window_us || in create_constraints()295 !const_ops->set_time_window_us) in create_constraints()301 pconst->ops = const_ops; in create_constraints()489 const struct powercap_zone_constraint_ops *const_ops) in powercap_register_zone() argument546 result = create_constraints(power_zone, nr_constraints, const_ops); in powercap_register_zone()
299 const struct powercap_zone_constraint_ops *const_ops);