Home
last modified time | relevance | path

Searched refs:const_ops (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/powercap/
Dpowercap_sys.c297 struct powercap_zone_constraint_ops *const_ops) in create_constraints() argument
304 if (!power_zone || !const_ops || !const_ops->get_power_limit_uw || in create_constraints()
305 !const_ops->set_power_limit_uw || in create_constraints()
306 !const_ops->get_time_window_us || in create_constraints()
307 !const_ops->set_time_window_us) in create_constraints()
313 pconst->ops = const_ops; in create_constraints()
501 struct powercap_zone_constraint_ops *const_ops) in powercap_register_zone() argument
559 result = create_constraints(power_zone, nr_constraints, const_ops); in powercap_register_zone()
/linux-4.1.27/include/linux/
Dpowercap.h312 struct powercap_zone_constraint_ops *const_ops);