Home
last modified time | relevance | path

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

/linux/drivers/interconnect/qcom/
H A Dicc-rpm.c57 struct qcom_icc_node *qn = src->data; in qcom_icc_set_qnoc_qos() local
58 struct qcom_icc_qos *qos = &qn->qos; in qcom_icc_set_qnoc_qos()
101 struct qcom_icc_node *qn; in qcom_icc_set_bimc_qos() local
107 qn = src->data; in qcom_icc_set_bimc_qos()
111 if (qn->qos.qos_mode != NOC_QOS_MODE_INVALID) in qcom_icc_set_bimc_qos()
112 mode = qn->qos.qos_mode; in qcom_icc_set_bimc_qos()
120 &qn->qos, i); in qcom_icc_set_bimc_qos()
130 qp->qos_offset + M_BKE_EN_ADDR(qn->qos.qos_port), in qcom_icc_set_bimc_qos()
156 struct qcom_icc_node *qn; in qcom_icc_set_noc_qos() local
161 qn = src->data; in qcom_icc_set_noc_qos()
[all …]
H A Dicc-rpmh.c59 struct qcom_icc_node *qn; in qcom_icc_pre_aggregate() local
62 qn = node->data; in qcom_icc_pre_aggregate()
66 qn->sum_avg[i] = 0; in qcom_icc_pre_aggregate()
67 qn->max_peak[i] = 0; in qcom_icc_pre_aggregate()
70 for (i = 0; i < qn->num_bcms; i++) in qcom_icc_pre_aggregate()
71 qcom_icc_bcm_voter_add(qp->voter, qn->bcms[i]); in qcom_icc_pre_aggregate()
88 struct qcom_icc_node *qn; in qcom_icc_aggregate() local
90 qn = node->data; in qcom_icc_aggregate()
97 qn->sum_avg[i] += avg_bw; in qcom_icc_aggregate()
98 qn->max_peak[i] = max_t(u32, qn->max_peak[i], peak_bw); in qcom_icc_aggregate()
[all …]
H A Dosm-l3.c130 const struct qcom_osm_l3_node *qn; in qcom_osm_l3_set() local
134 qn = src->data; in qcom_osm_l3_set()
139 do_div(rate, qn->buswidth); in qcom_osm_l3_set()
/linux/drivers/interconnect/
H A Dicc-clk.c27 struct icc_clk_node *qn = src->data; in icc_clk_set() local
30 if (!qn || !qn->clk) in icc_clk_set()
34 if (qn->enabled) in icc_clk_set()
35 clk_disable_unprepare(qn->clk); in icc_clk_set()
36 qn->enabled = false; in icc_clk_set()
41 if (!qn->enabled) { in icc_clk_set()
42 ret = clk_prepare_enable(qn->clk); in icc_clk_set()
45 qn->enabled = true; in icc_clk_set()
48 return clk_set_rate(qn->clk, icc_units_to_bps(src->peak_bw)); in icc_clk_set()
53 struct icc_clk_node *qn = node->data; in icc_clk_get_bw() local
[all …]
/linux/fs/erofs/
H A Dnamei.c16 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()
167 struct erofs_qstr qn; in erofs_namei() local
172 qn.name = name->name; in erofs_namei()
173 qn.end = name->name + name->len; in erofs_namei()
177 de = erofs_find_target_block(&buf, dir, &qn, &ndirents); in erofs_namei()
182 de = find_target_dirent(&qn, (u8 *)de, i_blocksize(dir), in erofs_namei()
/linux/block/
H A Dblk-throttle.c143 static void throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg) in throtl_qnode_init() argument
145 INIT_LIST_HEAD(&qn->node); in throtl_qnode_init()
146 bio_list_init(&qn->bios); in throtl_qnode_init()
147 qn->tg = tg; in throtl_qnode_init()
160 static void throtl_qnode_add_bio(struct bio *bio, struct throtl_qnode *qn, in throtl_qnode_add_bio() argument
163 bio_list_add(&qn->bios, bio); in throtl_qnode_add_bio()
164 if (list_empty(&qn->node)) { in throtl_qnode_add_bio()
165 list_add_tail(&qn->node, queued); in throtl_qnode_add_bio()
166 blkg_get(tg_to_blkg(qn->tg)); in throtl_qnode_add_bio()
176 struct throtl_qnode *qn; in throtl_peek_queued() local
[all …]
/linux/drivers/ptp/
H A Dptp_clockmatrix.c504 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/drivers/infiniband/hw/mthca/
H A Dmthca_memfree.h176 u32 qn, __be32 **db);
H A Dmthca_memfree.c570 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/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtxrx.h376 static inline void mlx5e_dump_error_cqe(struct mlx5e_cq *cq, u32 qn, in mlx5e_dump_error_cqe() argument
386 cq->mcq.cqn, ci, qn, in mlx5e_dump_error_cqe()
/linux/drivers/crypto/hisilicon/
H A Dqm.c387 void (*qm_db)(struct hisi_qm *qm, u16 qn,
674 static void qm_db_v1(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db_v1() argument
678 doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V1) | in qm_db_v1()
685 static void qm_db_v2(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db_v2() argument
692 io_base = qm->db_io_base + (u64)qn * qm->db_interval + in qm_db_v2()
697 doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V2) | in qm_db_v2()
705 static void qm_db(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db() argument
708 qn, cmd, index); in qm_db()
710 qm->ops->qm_db(qm, qn, cmd, index, priority); in qm_db()