Home
last modified time | relevance | path

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

/openbmc/linux/kernel/power/
H A Dqos.c153 static void pm_qos_flags_remove_req(struct pm_qos_flags *pqf, in pm_qos_flags_remove_req() argument
159 list_for_each_entry(req, &pqf->list, node) in pm_qos_flags_remove_req()
162 pqf->effective_flags = val; in pm_qos_flags_remove_req()
174 bool pm_qos_update_flags(struct pm_qos_flags *pqf, in pm_qos_update_flags() argument
183 prev_value = list_empty(&pqf->list) ? 0 : pqf->effective_flags; in pm_qos_update_flags()
187 pm_qos_flags_remove_req(pqf, req); in pm_qos_update_flags()
190 pm_qos_flags_remove_req(pqf, req); in pm_qos_update_flags()
195 list_add_tail(&req->node, &pqf->list); in pm_qos_update_flags()
196 pqf->effective_flags |= val; in pm_qos_update_flags()
203 curr_value = list_empty(&pqf->list) ? 0 : pqf->effective_flags; in pm_qos_update_flags()
/openbmc/linux/drivers/base/power/
H A Dqos.c55 struct pm_qos_flags *pqf; in __dev_pm_qos_flags() local
63 pqf = &qos->flags; in __dev_pm_qos_flags()
64 if (list_empty(&pqf->list)) in __dev_pm_qos_flags()
67 val = pqf->effective_flags & mask; in __dev_pm_qos_flags()
/openbmc/linux/include/linux/
H A Dpm_qos.h142 bool pm_qos_update_flags(struct pm_qos_flags *pqf,