| /Linux-v5.10/drivers/interconnect/qcom/ |
| D | icc-rpmh.c | 22 struct qcom_icc_node *qn; in qcom_icc_pre_aggregate() local 24 qn = node->data; in qcom_icc_pre_aggregate() 27 qn->sum_avg[i] = 0; in qcom_icc_pre_aggregate() 28 qn->max_peak[i] = 0; in qcom_icc_pre_aggregate() 46 struct qcom_icc_node *qn; in qcom_icc_aggregate() local 49 qn = node->data; in qcom_icc_aggregate() 57 qn->sum_avg[i] += avg_bw; in qcom_icc_aggregate() 58 qn->max_peak[i] = max_t(u32, qn->max_peak[i], peak_bw); in qcom_icc_aggregate() 65 for (i = 0; i < qn->num_bcms; i++) in qcom_icc_aggregate() 66 qcom_icc_bcm_voter_add(qp->voter, qn->bcms[i]); in qcom_icc_aggregate() [all …]
|
| D | qcs404.c | 333 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->rate = rate; in qcom_icc_set()
|
| D | msm8916.c | 369 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->rate = rate; in msm8916_icc_set()
|
| D | osm-l3.c | 152 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()
|
| /Linux-v5.10/fs/erofs/ |
| D | namei.c | 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, data, EROFS_BLKSIZ, ndirents); in erofs_namei()
|
| /Linux-v5.10/fs/ocfs2/dlm/ |
| D | dlmdomain.c | 1156 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->qn_nodenum, dlm->node_num); in dlm_match_nodes() [all …]
|
| /Linux-v5.10/drivers/ptp/ |
| D | ptp_clockmatrix.c | 318 u8 qn, in _sync_pll_output() argument 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 = output_mask & 0x1; in idtcm_sync_pps_output() [all …]
|
| /Linux-v5.10/block/ |
| D | blk-throttle.c | 393 static void throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg) in throtl_qnode_init() argument 395 INIT_LIST_HEAD(&qn->node); in throtl_qnode_init() 396 bio_list_init(&qn->bios); in throtl_qnode_init() 397 qn->tg = tg; in throtl_qnode_init() 410 static void throtl_qnode_add_bio(struct bio *bio, struct throtl_qnode *qn, in throtl_qnode_add_bio() argument 413 bio_list_add(&qn->bios, bio); in throtl_qnode_add_bio() 414 if (list_empty(&qn->node)) { in throtl_qnode_add_bio() 415 list_add_tail(&qn->node, queued); in throtl_qnode_add_bio() 416 blkg_get(tg_to_blkg(qn->tg)); in throtl_qnode_add_bio() 426 struct throtl_qnode *qn; in throtl_peek_queued() local [all …]
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | txrx.h | 303 static inline void mlx5e_dump_error_cqe(struct mlx5e_cq *cq, u32 qn, in mlx5e_dump_error_cqe() argument 313 cq->mcq.cqn, ci, qn, in mlx5e_dump_error_cqe()
|
| /Linux-v5.10/drivers/infiniband/hw/mthca/ |
| D | mthca_memfree.h | 176 u32 qn, __be32 **db);
|
| D | mthca_memfree.c | 567 u32 qn, __be32 **db) in mthca_alloc_db() argument 654 page->db_rec[j] = cpu_to_be64((qn << 8) | (type << 5)); in mthca_alloc_db()
|
| /Linux-v5.10/drivers/crypto/hisilicon/ |
| D | qm.c | 325 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 575 qn, cmd, index); in qm_db() 577 qm->ops->qm_db(qm, qn, cmd, index, priority); in qm_db()
|