Home
last modified time | relevance | path

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

/linux/drivers/powercap/
H A Dpowercap_sys.c285 const struct powercap_zone_constraint_ops *const_ops) in create_constraints() argument
292 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() argument
546 result = create_constraints(power_zone, nr_constraints, const_ops); in powercap_register_zone()
/linux/include/linux/
H A Dpowercap.h299 const struct powercap_zone_constraint_ops *const_ops);