Home
last modified time | relevance | path

Searched refs:qn (Results 1 – 9 of 9) sorted by relevance

/drivers/interconnect/qcom/
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->max_peak[i] = max_t(u32, qn->max_peak[i], peak_bw); in qcom_icc_aggregate()
[all …]
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->rate = rate; in qcom_icc_set()
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->rate = rate; in msm8916_icc_set()
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()
/drivers/ptp/
Dptp_clockmatrix.c318 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 …]
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtxrx.h303 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()
/drivers/infiniband/hw/mthca/
Dmthca_memfree.h176 u32 qn, __be32 **db);
Dmthca_memfree.c567 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()
/drivers/crypto/hisilicon/
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
575 qn, cmd, index); in qm_db()
577 qm->ops->qm_db(qm, qn, cmd, index, priority); in qm_db()