Searched refs:spz (Results 1 – 1 of 1) sorted by relevance
58 struct scmi_powercap_zone *spz = to_scmi_powercap_zone(pz); in scmi_powercap_get_power_uw() local62 if (!spz->info->powercap_monitoring) in scmi_powercap_get_power_uw()65 ret = powercap_ops->measurements_get(spz->ph, spz->info->id, &avg_power, in scmi_powercap_get_power_uw()71 if (spz->info->powercap_scale_mw) in scmi_powercap_get_power_uw()79 struct scmi_powercap_zone *spz = to_scmi_powercap_zone(pz); in scmi_powercap_zone_enable_set() local81 return powercap_ops->cap_enable_set(spz->ph, spz->info->id, mode); in scmi_powercap_zone_enable_set()86 struct scmi_powercap_zone *spz = to_scmi_powercap_zone(pz); in scmi_powercap_zone_enable_get() local88 return powercap_ops->cap_enable_get(spz->ph, spz->info->id, mode); in scmi_powercap_zone_enable_get()99 static void scmi_powercap_normalize_cap(const struct scmi_powercap_zone *spz, in scmi_powercap_normalize_cap() argument102 bool scale_mw = spz->info->powercap_scale_mw; in scmi_powercap_normalize_cap()[all …]