/linux-master/drivers/interconnect/qcom/ |
H A D | icc-rpmh.c | 24 struct qcom_icc_node *qn; local 27 qn = node->data; 31 qn->sum_avg[i] = 0; 32 qn->max_peak[i] = 0; 35 for (i = 0; i < qn->num_bcms; i++) 36 qcom_icc_bcm_voter_add(qp->voter, qn->bcms[i]); 53 struct qcom_icc_node *qn; local 55 qn = node->data; 62 qn->sum_avg[i] += avg_bw; 63 qn 113 struct qcom_icc_node *qn; local 168 struct qcom_icc_node * const *qnodes, *qn; local [all...] |
H A D | icc-rpm.c | 57 struct qcom_icc_node *qn = src->data; local 58 struct qcom_icc_qos *qos = &qn->qos; 101 struct qcom_icc_node *qn; local 107 qn = src->data; 111 if (qn->qos.qos_mode != NOC_QOS_MODE_INVALID) 112 mode = qn->qos.qos_mode; 120 &qn->qos, i); 130 qp->qos_offset + M_BKE_EN_ADDR(qn->qos.qos_port), 156 struct qcom_icc_node *qn; local 161 qn 193 struct qcom_icc_node *qn = node->data; local 207 qcom_icc_rpm_set(struct qcom_icc_node *qn, u64 *bw) argument 252 struct qcom_icc_node *qn; local 275 struct qcom_icc_node *qn; local 294 qcom_icc_calc_rate(struct qcom_icc_provider *qp, struct qcom_icc_node *qn, int ctx) argument 328 struct qcom_icc_node *qn; local [all...] |
H A D | osm-l3.c | 130 const struct qcom_osm_l3_node *qn; local 134 qn = src->data; 139 do_div(rate, qn->buswidth);
|
/linux-master/drivers/interconnect/ |
H A D | icc-clk.c | 27 struct icc_clk_node *qn = src->data; local 30 if (!qn || !qn->clk) 34 if (qn->enabled) 35 clk_disable_unprepare(qn->clk); 36 qn->enabled = false; 41 if (!qn->enabled) { 42 ret = clk_prepare_enable(qn->clk); 45 qn->enabled = true; 48 return clk_set_rate(qn 53 struct icc_clk_node *qn = node->data; local 164 struct icc_clk_node *qn = &qp->clocks[i]; local [all...] |
/linux-master/fs/erofs/ |
H A D | namei.c | 15 /* 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, argument 32 if (qn->name[i] != qd->name[i]) { 34 return qn->name[i] > qd->name[i] ? 1 : -1; 40 return qn->name[i] == '\0' ? 0 : 1; 167 struct erofs_qstr qn; local 172 qn.name = name->name; 173 qn.end = name->name + name->len; 177 de = erofs_find_target_block(&buf, dir, &qn, &ndirents); 182 de = find_target_dirent(&qn, (u [all...] |
/linux-master/fs/ocfs2/dlm/ |
H A D | dlmdomain.c | 1154 static int dlm_match_nodes(struct dlm_ctxt *dlm, struct dlm_query_nodeinfo *qn) argument 1161 for (j = 0; j < qn->qn_numnodes; ++j) 1162 mlog(0, "Node %3d, %pI4:%u\n", qn->qn_nodes[j].ni_nodenum, 1163 &(qn->qn_nodes[j].ni_ipv4_address), 1164 ntohs(qn->qn_nodes[j].ni_ipv4_port)); 1169 for (j = 0; j < qn->qn_numnodes; ++j) { 1170 if (qn->qn_nodes[j].ni_nodenum == i) { 1171 remote = &(qn->qn_nodes[j]); 1192 "local node %d\n", qn->qn_domain, 1196 qn 1216 struct dlm_query_nodeinfo *qn = NULL; local 1275 struct dlm_query_nodeinfo *qn; local [all...] |
/linux-master/block/ |
H A D | blk-throttle.c | 244 static void throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg) argument 246 INIT_LIST_HEAD(&qn->node); 247 bio_list_init(&qn->bios); 248 qn->tg = tg; 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) argument 277 struct throtl_qnode *qn; local 306 struct throtl_qnode *qn; local 985 throtl_add_bio_tg(struct bio *bio, struct throtl_qnode *qn, struct throtl_grp *tg) argument 2180 struct throtl_qnode *qn = NULL; local [all...] |
/linux-master/drivers/infiniband/hw/mthca/ |
H A D | mthca_memfree.h | 176 u32 qn, __be32 **db);
|
H A D | mthca_memfree.c | 570 u32 qn, __be32 **db) 657 page->db_rec[j] = cpu_to_be64((qn << 8) | (type << 5)); 569 mthca_alloc_db(struct mthca_dev *dev, enum mthca_db_type type, u32 qn, __be32 **db) argument
|
/linux-master/drivers/ptp/ |
H A D | ptp_clockmatrix.c | 504 u8 qn, 513 if (qn == 0 && qn_plus_1 == 0) 567 if (qn) 632 u8 qn; local 659 qn = 0; 664 qn = output_mask & 0x1; 670 qn = output_mask & 0x1; 678 qn = output_mask & 0x1; 681 qn = output_mask & 0x1; 689 qn 501 _sync_pll_output(struct idtcm *idtcm, u8 pll, u8 sync_src, u8 qn, u8 qn_plus_1) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | txrx.h | 355 static inline void mlx5e_dump_error_cqe(struct mlx5e_cq *cq, u32 qn, 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", 365 cq->mcq.cqn, ci, qn,
|
/linux-master/drivers/crypto/hisilicon/ |
H A D | qm.c | 387 void (*qm_db)(struct hisi_qm *qm, u16 qn, 670 static void qm_db_v1(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) argument 674 doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V1) | 681 static void qm_db_v2(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) argument 688 io_base = qm->db_io_base + (u64)qn * qm->db_interval + 693 doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V2) | 701 static void qm_db(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) argument 703 dev_dbg(&qm->pdev->dev, "QM doorbell request: qn=%u, cmd=%u, index=%u\n", 704 qn, cmd, index); 706 qm->ops->qm_db(qm, qn, cm [all...] |
/linux-master/drivers/vfio/pci/hisilicon/ |
H A D | hisi_acc_vfio_pci.c | 258 static void qm_db(struct hisi_qm *qm, u16 qn, u8 cmd, argument 270 doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V2) |
|