Home
last modified time | relevance | path

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

/openbmc/linux/drivers/interconnect/qcom/
H A Dosm-l3.c169 const struct qcom_osm_l3_node * const *qnodes; in qcom_osm_l3_probe() local
230 qnodes = desc->nodes; in qcom_osm_l3_probe()
250 node = icc_node_create(qnodes[i]->id); in qcom_osm_l3_probe()
256 node->name = qnodes[i]->name; in qcom_osm_l3_probe()
258 node->data = (void *)qnodes[i]; in qcom_osm_l3_probe()
261 for (j = 0; j < qnodes[i]->num_links; j++) in qcom_osm_l3_probe()
262 icc_link_create(node, qnodes[i]->links[j]); in qcom_osm_l3_probe()
H A Dicc-rpm.c407 struct qcom_icc_node * const *qnodes; in qnoc_probe() local
423 qnodes = desc->nodes; in qnoc_probe()
520 node = icc_node_create(qnodes[i]->id); in qnoc_probe()
528 node->name = qnodes[i]->name; in qnoc_probe()
529 node->data = qnodes[i]; in qnoc_probe()
532 for (j = 0; j < qnodes[i]->num_links; j++) in qnoc_probe()
533 icc_link_create(node, qnodes[i]->links[j]); in qnoc_probe()
536 if (qnodes[i]->qos.ap_owned && in qnoc_probe()
537 qnodes[i]->qos.qos_mode != NOC_QOS_MODE_INVALID) { in qnoc_probe()
H A Dicc-rpmh.c168 struct qcom_icc_node * const *qnodes, *qn; in qcom_icc_rpmh_probe() local
178 qnodes = desc->nodes; in qcom_icc_rpmh_probe()
212 qn = qnodes[i]; in qcom_icc_rpmh_probe()
H A Dmsm8974.c650 struct msm8974_icc_node * const *qnodes; in msm8974_icc_probe() local
667 qnodes = desc->nodes; in msm8974_icc_probe()
707 node = icc_node_create(qnodes[i]->id); in msm8974_icc_probe()
713 node->name = qnodes[i]->name; in msm8974_icc_probe()
714 node->data = qnodes[i]; in msm8974_icc_probe()
720 for (j = 0; j < qnodes[i]->num_links; j++) in msm8974_icc_probe()
721 icc_link_create(node, qnodes[i]->links[j]); in msm8974_icc_probe()
/openbmc/linux/kernel/locking/
H A Dqspinlock.c109 static DEFINE_PER_CPU_ALIGNED(struct qnode, qnodes[MAX_NODES]);
131 return per_cpu_ptr(&qnodes[idx].mcs, cpu); in decode_tail()
401 node = this_cpu_ptr(&qnodes[0].mcs); in queued_spin_lock_slowpath()
565 __this_cpu_dec(qnodes[0].mcs.count); in queued_spin_lock_slowpath()
/openbmc/linux/arch/powerpc/lib/
H A Dqspinlock.c23 struct qnodes { struct
49 static DEFINE_PER_CPU_ALIGNED(struct qnodes, qnodes);
265 struct qnodes *qnodesp = per_cpu_ptr(&qnodes, cpu); in get_tail_qnode()
542 struct qnodes *qnodesp; in queued_spin_lock_mcs_queue()
554 qnodesp = this_cpu_ptr(&qnodes); in queued_spin_lock_mcs_queue()