| /linux/drivers/interconnect/qcom/ |
| A D | icc-rpmh.c | 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() 50 qn = node->data; 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() 178 qn->bcms[qn->num_bcms] = bcm; in qcom_icc_bcm_init() 179 qn->num_bcms++; in qcom_icc_bcm_init() 238 qn = qnodes[i]; in qcom_icc_rpmh_probe() [all …]
|
| A D | icc-rpm.c | 69 struct qcom_icc_node *qn; in qcom_icc_set_bimc_qos() local 75 qn = src->data; in qcom_icc_set_bimc_qos() 88 &qn->qos, i); in qcom_icc_set_bimc_qos() 129 qn = src->data; in qcom_icc_set_noc_qos() 136 qn->name); in qcom_icc_set_noc_qos() 145 qn->name); in qcom_icc_set_noc_qos() 151 qn->name); in qcom_icc_set_noc_qos() 216 qn = src->data; in qcom_icc_set() 229 ret = qcom_icc_rpm_set(qn->mas_rpm_id, qn->slv_rpm_id, sum_bw); in qcom_icc_set() 243 if (qn->rate == rate) in qcom_icc_set() [all …]
|
| A 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/fs/erofs/ |
| A 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/fs/ocfs2/dlm/ |
| A D | dlmdomain.c | 1171 remote = &(qn->qn_nodes[j]); in dlm_match_nodes() 1224 if (!qn) { in dlm_send_nodeinfo() 1243 qn->qn_nodenum = dlm->node_num; in dlm_send_nodeinfo() 1244 qn->qn_numnodes = count; in dlm_send_nodeinfo() 1246 memcpy(qn->qn_domain, dlm->name, qn->qn_namelen); in dlm_send_nodeinfo() 1268 kfree(qn); in dlm_send_nodeinfo() 1275 struct dlm_query_nodeinfo *qn; in dlm_query_nodeinfo_handler() local 1282 qn->qn_domain); in dlm_query_nodeinfo_handler() 1285 dlm = __dlm_lookup_domain_full(qn->qn_domain, qn->qn_namelen); in dlm_query_nodeinfo_handler() 1288 "join domain\n", qn->qn_nodenum, qn->qn_domain); in dlm_query_nodeinfo_handler() [all …]
|
| /linux/block/ |
| A D | blk-throttle.c | 251 INIT_LIST_HEAD(&qn->node); in throtl_qnode_init() 252 bio_list_init(&qn->bios); in throtl_qnode_init() 253 qn->tg = tg; in throtl_qnode_init() 269 bio_list_add(&qn->bios, bio); in throtl_qnode_add_bio() 270 if (list_empty(&qn->node)) { in throtl_qnode_add_bio() 272 blkg_get(tg_to_blkg(qn->tg)); in throtl_qnode_add_bio() 282 struct throtl_qnode *qn; in throtl_peek_queued() local 311 struct throtl_qnode *qn; in throtl_pop_queued() local 322 list_del_init(&qn->node); in throtl_pop_queued() 324 *tg_to_put = qn->tg; in throtl_pop_queued() [all …]
|
| /linux/drivers/ptp/ |
| A D | ptp_clockmatrix.c | 484 u8 qn, in _sync_pll_output() argument 493 if (qn == 0 && qn_plus_1 == 0) in _sync_pll_output() 547 if (qn) in _sync_pll_output() 612 u8 qn; in idtcm_sync_pps_output() local 639 qn = 0; in idtcm_sync_pps_output() 644 qn = output_mask & 0x1; in idtcm_sync_pps_output() 650 qn = output_mask & 0x1; in idtcm_sync_pps_output() 658 qn = output_mask & 0x1; in idtcm_sync_pps_output() 661 qn = output_mask & 0x1; in idtcm_sync_pps_output() 669 qn = output_mask & 0x1; in idtcm_sync_pps_output() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A D | txrx.h | 321 static inline void mlx5e_dump_error_cqe(struct mlx5e_cq *cq, u32 qn, in mlx5e_dump_error_cqe() argument 331 cq->mcq.cqn, ci, qn, in mlx5e_dump_error_cqe()
|
| /linux/drivers/infiniband/hw/mthca/ |
| A D | mthca_memfree.h | 176 u32 qn, __be32 **db);
|
| A 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/drivers/crypto/hisilicon/ |
| A D | qm.c | 432 void (*qm_db)(struct hisi_qm *qm, u16 qn, 671 static void qm_db_v1(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db_v1() argument 675 doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V1) | in qm_db_v1() 682 static void qm_db_v2(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db_v2() argument 689 io_base = qm->db_io_base + (u64)qn * qm->db_interval + in qm_db_v2() 694 doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V2) | in qm_db_v2() 702 static void qm_db(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db() argument 705 qn, cmd, index); in qm_db() 707 qm->ops->qm_db(qm, qn, cmd, index, priority); in qm_db()
|