/linux-6.1.9/drivers/interconnect/qcom/ |
D | icc-rpmh.c | 24 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->max_peak[i] = max_t(u32, qn->max_peak[i], peak_bw); in qcom_icc_aggregate() [all …]
|
D | icc-rpm.c | 55 struct qcom_icc_node *qn = src->data; in qcom_icc_set_qnoc_qos() local 56 struct qcom_icc_qos *qos = &qn->qos; in qcom_icc_set_qnoc_qos() 99 struct qcom_icc_node *qn; in qcom_icc_set_bimc_qos() local 105 qn = src->data; in qcom_icc_set_bimc_qos() 109 if (qn->qos.qos_mode != NOC_QOS_MODE_INVALID) in qcom_icc_set_bimc_qos() 110 mode = qn->qos.qos_mode; in qcom_icc_set_bimc_qos() 118 &qn->qos, i); in qcom_icc_set_bimc_qos() 128 qp->qos_offset + M_BKE_EN_ADDR(qn->qos.qos_port), in qcom_icc_set_bimc_qos() 154 struct qcom_icc_node *qn; in qcom_icc_set_noc_qos() local 159 qn = src->data; in qcom_icc_set_noc_qos() [all …]
|
D | osm-l3.c | 186 const struct qcom_osm_l3_node *qn; in qcom_osm_l3_set() local 193 qn = src->data; in qcom_osm_l3_set() 203 do_div(rate, qn->buswidth); in qcom_osm_l3_set()
|
/linux-6.1.9/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() 174 struct erofs_qstr qn; in erofs_namei() local 179 qn.name = name->name; in erofs_namei() 180 qn.end = name->name + name->len; in erofs_namei() 184 de = find_target_block_classic(&buf, dir, &qn, &ndirents); in erofs_namei() 189 de = find_target_dirent(&qn, (u8 *)de, EROFS_BLKSIZ, ndirents); in erofs_namei()
|
/linux-6.1.9/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-6.1.9/block/ |
D | blk-throttle.c | 244 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() 261 static void throtl_qnode_add_bio(struct bio *bio, struct throtl_qnode *qn, in throtl_qnode_add_bio() argument 264 bio_list_add(&qn->bios, bio); in throtl_qnode_add_bio() 265 if (list_empty(&qn->node)) { in throtl_qnode_add_bio() 266 list_add_tail(&qn->node, queued); in throtl_qnode_add_bio() 267 blkg_get(tg_to_blkg(qn->tg)); in throtl_qnode_add_bio() 277 struct throtl_qnode *qn; in throtl_peek_queued() local [all …]
|
/linux-6.1.9/drivers/ptp/ |
D | ptp_clockmatrix.c | 504 u8 qn, in _sync_pll_output() argument 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 = output_mask & 0x1; in idtcm_sync_pps_output() [all …]
|
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | txrx.h | 336 static inline void mlx5e_dump_error_cqe(struct mlx5e_cq *cq, u32 qn, in mlx5e_dump_error_cqe() argument 346 cq->mcq.cqn, ci, qn, in mlx5e_dump_error_cqe()
|
/linux-6.1.9/drivers/vfio/pci/hisilicon/ |
D | hisi_acc_vfio_pci.c | 258 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()
|
/linux-6.1.9/drivers/crypto/hisilicon/ |
D | qm.c | 461 void (*qm_db)(struct hisi_qm *qm, u16 qn, 813 static void qm_db_v1(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db_v1() argument 817 doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V1) | in qm_db_v1() 824 static void qm_db_v2(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db_v2() argument 831 io_base = qm->db_io_base + (u64)qn * qm->db_interval + in qm_db_v2() 836 doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V2) | in qm_db_v2() 844 static void qm_db(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db() argument 847 qn, cmd, index); in qm_db() 849 qm->ops->qm_db(qm, qn, cmd, index, priority); in qm_db()
|