/Linux-v5.15/drivers/interconnect/qcom/ |
D | icc-rpmh.c | 23 struct qcom_icc_node *qn; in qcom_icc_pre_aggregate() local 25 qn = node->data; in qcom_icc_pre_aggregate() 28 qn->sum_avg[i] = 0; in qcom_icc_pre_aggregate() 29 qn->max_peak[i] = 0; in qcom_icc_pre_aggregate() 47 struct qcom_icc_node *qn; in qcom_icc_aggregate() local 50 qn = node->data; in qcom_icc_aggregate() 58 qn->sum_avg[i] += avg_bw; in qcom_icc_aggregate() 59 qn->max_peak[i] = max_t(u32, qn->max_peak[i], peak_bw); in qcom_icc_aggregate() 63 qn->sum_avg[i] = max_t(u64, qn->sum_avg[i], node->init_avg); in qcom_icc_aggregate() 64 qn->max_peak[i] = max_t(u64, qn->max_peak[i], node->init_peak); in qcom_icc_aggregate() [all …]
|
D | icc-rpm.c | 22 struct qcom_icc_node *qn; in qcom_icc_set() local 32 qn = src->data; in qcom_icc_set() 44 if (qn->mas_rpm_id != -1) { in qcom_icc_set() 47 qn->mas_rpm_id, in qcom_icc_set() 51 qn->mas_rpm_id, ret); in qcom_icc_set() 56 if (qn->slv_rpm_id != -1) { in qcom_icc_set() 59 qn->slv_rpm_id, in qcom_icc_set() 63 qn->slv_rpm_id, ret); in qcom_icc_set() 70 do_div(rate, qn->buswidth); in qcom_icc_set() 72 if (qn->rate == rate) in qcom_icc_set() [all …]
|
D | sdm660.c | 596 struct qcom_icc_node *qn; in qcom_icc_set_bimc_qos() local 602 qn = src->data; in qcom_icc_set_bimc_qos() 606 if (qn->qos.qos_mode != -1) in qcom_icc_set_bimc_qos() 607 mode = qn->qos.qos_mode; in qcom_icc_set_bimc_qos() 615 &qn->qos, i); in qcom_icc_set_bimc_qos() 624 return regmap_update_bits(qp->regmap, M_BKE_EN_ADDR(qn->qos.qos_port), in qcom_icc_set_bimc_qos() 648 struct qcom_icc_node *qn; in qcom_icc_set_noc_qos() local 653 qn = src->data; in qcom_icc_set_noc_qos() 657 if (qn->qos.qos_port < 0) { in qcom_icc_set_noc_qos() 660 qn->name); in qcom_icc_set_noc_qos() [all …]
|
D | osm-l3.c | 169 const struct qcom_osm_l3_node *qn; in qcom_osm_l3_set() local 176 qn = src->data; in qcom_osm_l3_set() 186 do_div(rate, qn->buswidth); in qcom_osm_l3_set()
|
/Linux-v5.15/fs/erofs/ |
D | namei.c | 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() 175 struct erofs_qstr qn; in erofs_namei() local 180 qn.name = name->name; in erofs_namei() 181 qn.end = name->name + name->len; in erofs_namei() 184 page = find_target_block_classic(dir, &qn, &ndirents); in erofs_namei() 192 de = find_target_dirent(&qn, data, EROFS_BLKSIZ, ndirents); in erofs_namei()
|
/Linux-v5.15/fs/ocfs2/dlm/ |
D | dlmdomain.c | 1154 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->qn_nodenum, dlm->node_num); in dlm_match_nodes() [all …]
|
/Linux-v5.15/drivers/ptp/ |
D | ptp_clockmatrix.c | 438 u8 qn, in _sync_pll_output() argument 447 if (qn == 0 && qn_plus_1 == 0) in _sync_pll_output() 501 if (qn) in _sync_pll_output() 591 u8 qn; in idtcm_sync_pps_output() local 622 qn = 0; in idtcm_sync_pps_output() 627 qn = output_mask & 0x1; in idtcm_sync_pps_output() 633 qn = output_mask & 0x1; in idtcm_sync_pps_output() 641 qn = output_mask & 0x1; in idtcm_sync_pps_output() 644 qn = output_mask & 0x1; in idtcm_sync_pps_output() 652 qn = output_mask & 0x1; in idtcm_sync_pps_output() [all …]
|
/Linux-v5.15/block/ |
D | blk-throttle.c | 396 static void throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg) in throtl_qnode_init() argument 398 INIT_LIST_HEAD(&qn->node); in throtl_qnode_init() 399 bio_list_init(&qn->bios); in throtl_qnode_init() 400 qn->tg = tg; in throtl_qnode_init() 413 static void throtl_qnode_add_bio(struct bio *bio, struct throtl_qnode *qn, in throtl_qnode_add_bio() argument 416 bio_list_add(&qn->bios, bio); in throtl_qnode_add_bio() 417 if (list_empty(&qn->node)) { in throtl_qnode_add_bio() 418 list_add_tail(&qn->node, queued); in throtl_qnode_add_bio() 419 blkg_get(tg_to_blkg(qn->tg)); in throtl_qnode_add_bio() 429 struct throtl_qnode *qn; in throtl_peek_queued() local [all …]
|
/Linux-v5.15/drivers/infiniband/hw/mthca/ |
D | mthca_memfree.h | 176 u32 qn, __be32 **db);
|
D | mthca_memfree.c | 570 u32 qn, __be32 **db) in mthca_alloc_db() argument 657 page->db_rec[j] = cpu_to_be64((qn << 8) | (type << 5)); in mthca_alloc_db()
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | txrx.h | 315 static inline void mlx5e_dump_error_cqe(struct mlx5e_cq *cq, u32 qn, in mlx5e_dump_error_cqe() argument 325 cq->mcq.cqn, ci, qn, in mlx5e_dump_error_cqe()
|
/Linux-v5.15/drivers/crypto/hisilicon/ |
D | qm.c | 430 void (*qm_db)(struct hisi_qm *qm, u16 qn, 669 static void qm_db_v1(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db_v1() argument 673 doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V1) | in qm_db_v1() 680 static void qm_db_v2(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db_v2() argument 687 io_base = qm->db_io_base + (u64)qn * qm->db_interval + in qm_db_v2() 692 doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V2) | in qm_db_v2() 700 static void qm_db(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db() argument 703 qn, cmd, index); in qm_db() 705 qm->ops->qm_db(qm, qn, cmd, index, priority); in qm_db()
|