Lines Matching refs:list
27 * @commit_list: list containing bcms to be committed to hardware
28 * @ws_list: list containing bcms that have different wake/sleep votes
29 * @voter_node: list of bcm voters
44 const struct qcom_icc_bcm *bcm_a = list_entry(a, struct qcom_icc_bcm, list);
45 const struct qcom_icc_bcm *bcm_b = list_entry(b, struct qcom_icc_bcm, list);
167 list_for_each_entry(bcm, bcm_list, list) {
170 if ((list_is_last(&bcm->list, bcm_list)) ||
171 bcm->aux_data.vcd != list_next_entry(bcm, list)->aux_data.vcd) {
246 * @bcm: bcm to add to the commit and wake sleep list
254 if (list_empty(&bcm->list))
255 list_add_tail(&bcm->list, &voter->commit_list);
288 list_for_each_entry(bcm, &voter->commit_list, list) {
296 * Pre sort the BCMs based on VCD for ease of generating a command list
301 * the BCMs are added to the list.
306 * Construct the command list based on a pre ordered list of BCMs
322 list_for_each_entry_safe(bcm, bcm_tmp, &voter->commit_list, list)
323 list_del_init(&bcm->list);
335 list_add_tail(&bcm->list, &voter->commit_list);
362 list_for_each_entry_safe(bcm, bcm_tmp, &voter->commit_list, list)
363 list_del_init(&bcm->list);