Home
last modified time | relevance | path

Searched refs:qn (Results 1 - 25 of 25) sorted by relevance

/kernel/linux/linux-6.6/drivers/interconnect/qcom/
H A Dicc-rpmh.c24 struct qcom_icc_node *qn; in qcom_icc_pre_aggregate() local
27 qn = node->data; in qcom_icc_pre_aggregate()
31 qn->sum_avg[i] = 0; in qcom_icc_pre_aggregate()
32 qn->max_peak[i] = 0; in qcom_icc_pre_aggregate()
35 for (i = 0; i < qn->num_bcms; i++) in qcom_icc_pre_aggregate()
36 qcom_icc_bcm_voter_add(qp->voter, qn->bcms[i]); in qcom_icc_pre_aggregate()
53 struct qcom_icc_node *qn; in qcom_icc_aggregate() local
55 qn = node->data; in qcom_icc_aggregate()
62 qn->sum_avg[i] += avg_bw; in qcom_icc_aggregate()
63 qn in qcom_icc_aggregate()
113 struct qcom_icc_node *qn; qcom_icc_bcm_init() local
168 struct qcom_icc_node * const *qnodes, *qn; qcom_icc_rpmh_probe() local
[all...]
H A Dicc-rpm.c57 struct qcom_icc_node *qn = src->data; in qcom_icc_set_qnoc_qos() local
58 struct qcom_icc_qos *qos = &qn->qos; in qcom_icc_set_qnoc_qos()
101 struct qcom_icc_node *qn; in qcom_icc_set_bimc_qos() local
107 qn = src->data; in qcom_icc_set_bimc_qos()
111 if (qn->qos.qos_mode != NOC_QOS_MODE_INVALID) in qcom_icc_set_bimc_qos()
112 mode = qn->qos.qos_mode; in qcom_icc_set_bimc_qos()
120 &qn->qos, i); in qcom_icc_set_bimc_qos()
130 qp->qos_offset + M_BKE_EN_ADDR(qn->qos.qos_port), in qcom_icc_set_bimc_qos()
156 struct qcom_icc_node *qn; in qcom_icc_set_noc_qos() local
161 qn in qcom_icc_set_noc_qos()
193 struct qcom_icc_node *qn = node->data; qcom_icc_qos_set() local
207 qcom_icc_rpm_set(struct qcom_icc_node *qn, u64 *bw) qcom_icc_rpm_set() argument
252 struct qcom_icc_node *qn; qcom_icc_pre_bw_aggregate() local
275 struct qcom_icc_node *qn; qcom_icc_bw_aggregate() local
302 struct qcom_icc_node *qn; qcom_icc_bus_aggregate() local
[all...]
H A Dosm-l3.c130 const struct qcom_osm_l3_node *qn; in qcom_osm_l3_set() local
134 qn = src->data; in qcom_osm_l3_set()
139 do_div(rate, qn->buswidth); in qcom_osm_l3_set()
/kernel/linux/linux-5.10/drivers/interconnect/qcom/
H A Dicc-rpmh.c22 struct qcom_icc_node *qn; in qcom_icc_pre_aggregate() local
25 qn = node->data; in qcom_icc_pre_aggregate()
29 qn->sum_avg[i] = 0; in qcom_icc_pre_aggregate()
30 qn->max_peak[i] = 0; in qcom_icc_pre_aggregate()
33 for (i = 0; i < qn->num_bcms; i++) in qcom_icc_pre_aggregate()
34 qcom_icc_bcm_voter_add(qp->voter, qn->bcms[i]); in qcom_icc_pre_aggregate()
51 struct qcom_icc_node *qn; in qcom_icc_aggregate() local
53 qn = node->data; in qcom_icc_aggregate()
60 qn->sum_avg[i] += avg_bw; in qcom_icc_aggregate()
61 qn in qcom_icc_aggregate()
136 struct qcom_icc_node *qn; qcom_icc_bcm_init() local
[all...]
H A Dqcs404.c333 struct qcom_icc_node *qn; in qcom_icc_set() local
343 qn = src->data; in qcom_icc_set()
355 if (qn->mas_rpm_id != -1) { in qcom_icc_set()
358 qn->mas_rpm_id, in qcom_icc_set()
362 qn->mas_rpm_id, ret); in qcom_icc_set()
367 if (qn->slv_rpm_id != -1) { in qcom_icc_set()
370 qn->slv_rpm_id, in qcom_icc_set()
381 do_div(rate, qn->buswidth); in qcom_icc_set()
383 if (qn->rate == rate) in qcom_icc_set()
395 qn in qcom_icc_set()
[all...]
H A Dmsm8916.c369 struct msm8916_icc_node *qn; in msm8916_icc_set() local
376 qn = src->data; in msm8916_icc_set()
388 if (qn->mas_rpm_id != -1) { in msm8916_icc_set()
391 qn->mas_rpm_id, in msm8916_icc_set()
395 qn->mas_rpm_id, ret); in msm8916_icc_set()
400 if (qn->slv_rpm_id != -1) { in msm8916_icc_set()
403 qn->slv_rpm_id, in msm8916_icc_set()
414 do_div(rate, qn->buswidth); in msm8916_icc_set()
416 if (qn->rate == rate) in msm8916_icc_set()
428 qn in msm8916_icc_set()
[all...]
H A Dosm-l3.c152 const struct qcom_icc_node *qn; in qcom_icc_set() local
159 qn = src->data; in qcom_icc_set()
169 do_div(rate, qn->buswidth); in qcom_icc_set()
/kernel/linux/linux-6.6/drivers/interconnect/
H A Dicc-clk.c27 struct icc_clk_node *qn = src->data; in icc_clk_set() local
30 if (!qn || !qn->clk) in icc_clk_set()
34 if (qn->enabled) in icc_clk_set()
35 clk_disable_unprepare(qn->clk); in icc_clk_set()
36 qn->enabled = false; in icc_clk_set()
41 if (!qn->enabled) { in icc_clk_set()
42 ret = clk_prepare_enable(qn->clk); in icc_clk_set()
45 qn->enabled = true; in icc_clk_set()
48 return clk_set_rate(qn in icc_clk_set()
53 struct icc_clk_node *qn = node->data; icc_clk_get_bw() local
164 struct icc_clk_node *qn = &qp->clocks[i]; icc_clk_unregister() local
[all...]
/kernel/linux/linux-5.10/fs/erofs/
H A Dnamei.c16 /* based on the end of qn is accurate and it must have the trailing '\0' */
17 static inline int erofs_dirnamecmp(const struct erofs_qstr *qn, in erofs_dirnamecmp() argument
33 if (qn->name[i] != qd->name[i]) { in erofs_dirnamecmp()
35 return qn->name[i] > qd->name[i] ? 1 : -1; in erofs_dirnamecmp()
41 return qn->name[i] == '\0' ? 0 : 1; in erofs_dirnamecmp()
176 struct erofs_qstr qn; in erofs_namei() local
181 qn.name = name->name; in erofs_namei()
182 qn.end = name->name + name->len; in erofs_namei()
185 page = find_target_block_classic(dir, &qn, &ndirents); in erofs_namei()
193 de = find_target_dirent(&qn, dat in erofs_namei()
[all...]
/kernel/linux/linux-6.6/fs/erofs/
H A Dnamei.c15 /* based on the end of qn is accurate and it must have the trailing '\0' */
16 static inline int erofs_dirnamecmp(const struct erofs_qstr *qn, in erofs_dirnamecmp() argument
32 if (qn->name[i] != qd->name[i]) { in erofs_dirnamecmp()
34 return qn->name[i] > qd->name[i] ? 1 : -1; in erofs_dirnamecmp()
40 return qn->name[i] == '\0' ? 0 : 1; in erofs_dirnamecmp()
167 struct erofs_qstr qn; in erofs_namei() local
172 qn.name = name->name; in erofs_namei()
173 qn.end = name->name + name->len; in erofs_namei()
177 de = erofs_find_target_block(&buf, dir, &qn, &ndirents); in erofs_namei()
182 de = find_target_dirent(&qn, (u in erofs_namei()
[all...]
/kernel/linux/linux-5.10/fs/ocfs2/dlm/
H A Ddlmdomain.c1156 static int dlm_match_nodes(struct dlm_ctxt *dlm, struct dlm_query_nodeinfo *qn) in dlm_match_nodes() argument
1163 for (j = 0; j < qn->qn_numnodes; ++j) in dlm_match_nodes()
1164 mlog(0, "Node %3d, %pI4:%u\n", qn->qn_nodes[j].ni_nodenum, in dlm_match_nodes()
1165 &(qn->qn_nodes[j].ni_ipv4_address), in dlm_match_nodes()
1166 ntohs(qn->qn_nodes[j].ni_ipv4_port)); in dlm_match_nodes()
1171 for (j = 0; j < qn->qn_numnodes; ++j) { in dlm_match_nodes()
1172 if (qn->qn_nodes[j].ni_nodenum == i) { in dlm_match_nodes()
1173 remote = &(qn->qn_nodes[j]); in dlm_match_nodes()
1194 "local node %d\n", qn->qn_domain, in dlm_match_nodes()
1198 qn in dlm_match_nodes()
1218 struct dlm_query_nodeinfo *qn = NULL; dlm_send_nodeinfo() local
1277 struct dlm_query_nodeinfo *qn; dlm_query_nodeinfo_handler() local
[all...]
/kernel/linux/linux-6.6/fs/ocfs2/dlm/
H A Ddlmdomain.c1154 static int dlm_match_nodes(struct dlm_ctxt *dlm, struct dlm_query_nodeinfo *qn) in dlm_match_nodes() argument
1161 for (j = 0; j < qn->qn_numnodes; ++j) in dlm_match_nodes()
1162 mlog(0, "Node %3d, %pI4:%u\n", qn->qn_nodes[j].ni_nodenum, in dlm_match_nodes()
1163 &(qn->qn_nodes[j].ni_ipv4_address), in dlm_match_nodes()
1164 ntohs(qn->qn_nodes[j].ni_ipv4_port)); in dlm_match_nodes()
1169 for (j = 0; j < qn->qn_numnodes; ++j) { in dlm_match_nodes()
1170 if (qn->qn_nodes[j].ni_nodenum == i) { in dlm_match_nodes()
1171 remote = &(qn->qn_nodes[j]); in dlm_match_nodes()
1192 "local node %d\n", qn->qn_domain, in dlm_match_nodes()
1196 qn in dlm_match_nodes()
1216 struct dlm_query_nodeinfo *qn = NULL; dlm_send_nodeinfo() local
1275 struct dlm_query_nodeinfo *qn; dlm_query_nodeinfo_handler() local
[all...]
/kernel/linux/linux-5.10/drivers/ptp/
H A Dptp_clockmatrix.c318 u8 qn, in _sync_pll_output()
327 if ((qn == 0) && (qn_plus_1 == 0)) in _sync_pll_output()
381 if (qn) in _sync_pll_output()
472 u8 qn; in idtcm_sync_pps_output() local
504 qn = 0; in idtcm_sync_pps_output()
509 qn = output_mask & 0x1; in idtcm_sync_pps_output()
515 qn = output_mask & 0x1; in idtcm_sync_pps_output()
523 qn = output_mask & 0x1; in idtcm_sync_pps_output()
526 qn = output_mask & 0x1; in idtcm_sync_pps_output()
534 qn in idtcm_sync_pps_output()
315 _sync_pll_output(struct idtcm *idtcm, u8 pll, u8 sync_src, u8 qn, u8 qn_plus_1) _sync_pll_output() argument
1569 _enable_pll_tod_sync(struct idtcm *idtcm, u8 pll, u8 sync_src, u8 qn, u8 qn_plus_1) _enable_pll_tod_sync() argument
1689 u8 qn; idtcm_enable_tod_sync() local
[all...]
/kernel/linux/linux-5.10/block/
H A Dblk-throttle.c397 static void throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg) in throtl_qnode_init() argument
399 INIT_LIST_HEAD(&qn->node); in throtl_qnode_init()
400 bio_list_init(&qn->bios); in throtl_qnode_init()
401 qn->tg = tg; in throtl_qnode_init()
407 * @qn: qnode to add bio to
408 * @queued: the service_queue->queued[] list @qn belongs to
410 * Add @bio to @qn and put @qn on @queued if it's not already on.
411 * @qn->tg's reference count is bumped when @qn i
414 throtl_qnode_add_bio(struct bio *bio, struct throtl_qnode *qn, struct list_head *queued) throtl_qnode_add_bio() argument
430 struct throtl_qnode *qn; throtl_peek_queued() local
459 struct throtl_qnode *qn; throtl_pop_queued() local
1086 throtl_add_bio_tg(struct bio *bio, struct throtl_qnode *qn, struct throtl_grp *tg) throtl_add_bio_tg() argument
2244 struct throtl_qnode *qn = NULL; blk_throtl_bio() local
[all...]
/kernel/linux/linux-6.6/block/
H A Dblk-throttle.c244 static void throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg) in throtl_qnode_init() argument
246 INIT_LIST_HEAD(&qn->node); in throtl_qnode_init()
247 bio_list_init(&qn->bios); in throtl_qnode_init()
248 qn->tg = tg; in throtl_qnode_init()
254 * @qn: qnode to add bio to
255 * @queued: the service_queue->queued[] list @qn belongs to
257 * Add @bio to @qn and put @qn on @queued if it's not already on.
258 * @qn->tg's reference count is bumped when @qn i
261 throtl_qnode_add_bio(struct bio *bio, struct throtl_qnode *qn, struct list_head *queued) throtl_qnode_add_bio() argument
277 struct throtl_qnode *qn; throtl_peek_queued() local
306 struct throtl_qnode *qn; throtl_pop_queued() local
985 throtl_add_bio_tg(struct bio *bio, struct throtl_qnode *qn, struct throtl_grp *tg) throtl_add_bio_tg() argument
2180 struct throtl_qnode *qn = NULL; __blk_throtl_bio() local
[all...]
/kernel/linux/linux-6.6/drivers/ptp/
H A Dptp_clockmatrix.c504 u8 qn, in _sync_pll_output()
513 if (qn == 0 && qn_plus_1 == 0) in _sync_pll_output()
567 if (qn) in _sync_pll_output()
632 u8 qn; in idtcm_sync_pps_output() local
659 qn = 0; in idtcm_sync_pps_output()
664 qn = output_mask & 0x1; in idtcm_sync_pps_output()
670 qn = output_mask & 0x1; in idtcm_sync_pps_output()
678 qn = output_mask & 0x1; in idtcm_sync_pps_output()
681 qn = output_mask & 0x1; in idtcm_sync_pps_output()
689 qn in idtcm_sync_pps_output()
501 _sync_pll_output(struct idtcm *idtcm, u8 pll, u8 sync_src, u8 qn, u8 qn_plus_1) _sync_pll_output() argument
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
H A Dmthca_memfree.h176 u32 qn, __be32 **db);
H A Dmthca_memfree.c567 u32 qn, __be32 **db) in mthca_alloc_db()
654 page->db_rec[j] = cpu_to_be64((qn << 8) | (type << 5)); in mthca_alloc_db()
566 mthca_alloc_db(struct mthca_dev *dev, enum mthca_db_type type, u32 qn, __be32 **db) mthca_alloc_db() argument
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/
H A Dmthca_memfree.h176 u32 qn, __be32 **db);
H A Dmthca_memfree.c570 u32 qn, __be32 **db) in mthca_alloc_db()
657 page->db_rec[j] = cpu_to_be64((qn << 8) | (type << 5)); in mthca_alloc_db()
569 mthca_alloc_db(struct mthca_dev *dev, enum mthca_db_type type, u32 qn, __be32 **db) mthca_alloc_db() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtxrx.h303 static inline void mlx5e_dump_error_cqe(struct mlx5e_cq *cq, u32 qn, in mlx5e_dump_error_cqe() argument
312 "Error cqe on cqn 0x%x, ci 0x%x, qn 0x%x, opcode 0x%x, syndrome 0x%x, vendor syndrome 0x%x\n", in mlx5e_dump_error_cqe()
313 cq->mcq.cqn, ci, qn, in mlx5e_dump_error_cqe()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtxrx.h355 static inline void mlx5e_dump_error_cqe(struct mlx5e_cq *cq, u32 qn, in mlx5e_dump_error_cqe() argument
364 "Error cqe on cqn 0x%x, ci 0x%x, qn 0x%x, opcode 0x%x, syndrome 0x%x, vendor syndrome 0x%x\n", in mlx5e_dump_error_cqe()
365 cq->mcq.cqn, ci, qn, in mlx5e_dump_error_cqe()
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/
H A Dqm.c325 void (*qm_db)(struct hisi_qm *qm, u16 qn,
542 static void qm_db_v1(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db_v1() argument
546 doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V1) | in qm_db_v1()
553 static void qm_db_v2(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db_v2() argument
564 doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V2) | in qm_db_v2()
572 static void qm_db(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db() argument
574 dev_dbg(&qm->pdev->dev, "QM doorbell request: qn=%u, cmd=%u, index=%u\n", in qm_db()
575 qn, cmd, index); in qm_db()
577 qm->ops->qm_db(qm, qn, cmd, index, priority); in qm_db()
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/
H A Dqm.c387 void (*qm_db)(struct hisi_qm *qm, u16 qn,
704 static void qm_db_v1(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db_v1() argument
708 doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V1) | in qm_db_v1()
715 static void qm_db_v2(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db_v2() argument
722 io_base = qm->db_io_base + (u64)qn * qm->db_interval + in qm_db_v2()
727 doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V2) | in qm_db_v2()
735 static void qm_db(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db() argument
737 dev_dbg(&qm->pdev->dev, "QM doorbell request: qn=%u, cmd=%u, index=%u\n", in qm_db()
738 qn, cmd, index); in qm_db()
740 qm->ops->qm_db(qm, qn, cm in qm_db()
[all...]
/kernel/linux/linux-6.6/drivers/vfio/pci/hisilicon/
H A Dhisi_acc_vfio_pci.c258 static void qm_db(struct hisi_qm *qm, u16 qn, u8 cmd, in qm_db() argument
270 doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V2) | in qm_db()

Completed in 31 milliseconds