Home
last modified time | relevance | path

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

/openbmc/linux/drivers/powercap/
H A Dpowercap_sys.c69 struct powercap_zone_constraint *pconst;\
75 pconst = &power_zone->constraints[id]; \
76 if (pconst && pconst->ops && pconst->ops->get_##_attr) { \
100 pconst = &power_zone->constraints[id]; \
104 if (pconst && pconst->ops && pconst->ops->set_##_attr) { \
169 pconst = &power_zone->constraints[id]; in show_constraint_name()
171 if (pconst && pconst->ops && pconst->ops->get_name) { in show_constraint_name()
301 pconst->ops = const_ops; in create_constraints()
308 if (pconst->ops->get_name) in create_constraints()
311 if (pconst->ops->get_max_power_uw) in create_constraints()
[all …]