Lines Matching refs:powercap_zone
14 #define to_powercap_zone(n) container_of(n, struct powercap_zone, dev)
26 struct powercap_zone *power_zone = to_powercap_zone(dev); \
43 struct powercap_zone *power_zone = to_powercap_zone(dev); \
67 struct powercap_zone *power_zone = to_powercap_zone(dev); \
92 struct powercap_zone *power_zone = to_powercap_zone(dev); \
160 struct powercap_zone *power_zone = to_powercap_zone(dev); in show_constraint_name()
283 static int create_constraints(struct powercap_zone *power_zone, in create_constraints()
351 struct powercap_zone *power_zone = to_powercap_zone(dev); in name_show()
360 struct powercap_zone *power_zone) in create_power_zone_common_attributes()
391 struct powercap_zone *power_zone = to_powercap_zone(dev); in powercap_release()
429 struct powercap_zone *power_zone = to_powercap_zone(dev); in enabled_show()
453 struct powercap_zone *power_zone = to_powercap_zone(dev); in enabled_store()
482 struct powercap_zone *powercap_register_zone( in powercap_register_zone()
483 struct powercap_zone *power_zone, in powercap_register_zone()
486 struct powercap_zone *parent, in powercap_register_zone()
589 struct powercap_zone *power_zone) in powercap_unregister_zone()