Home
last modified time | relevance | path

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

/openbmc/qemu/tests/unit/
H A Dcheck-qnum.c27 QNum *qn; in qnum_from_int_test() local
37 qobject_unref(qn); in qnum_from_int_test()
42 QNum *qn; in qnum_from_uint_test() local
57 QNum *qn; in qnum_from_double_test() local
72 QNum *qn; in qnum_from_int64_test() local
83 QNum *qn; in qnum_get_int_test() local
94 QNum *qn; in qnum_get_uint_test() local
125 QNum *qn; in qobject_to_qnum_test() local
128 g_assert(qobject_to(QNum, QOBJECT(qn)) == qn); in qobject_to_qnum_test()
132 g_assert(qobject_to(QNum, QOBJECT(qn)) == qn); in qobject_to_qnum_test()
[all …]
H A Dcheck-qdict.c39 QNum *qn; in qdict_put_obj_test() local
51 qn = qobject_to(QNum, ent->value); in qdict_put_obj_test()
52 g_assert_cmpint(qnum_get_int(qn), ==, num); in qdict_put_obj_test()
70 QNum *qn; in qdict_get_test() local
81 qn = qobject_to(QNum, obj); in qdict_get_test()
82 g_assert_cmpint(qnum_get_int(qn), ==, value); in qdict_get_test()
/openbmc/qemu/qobject/
H A Dqnum.c29 qn->kind = QNUM_I64; in qnum_from_int()
30 qn->u.i64 = value; in qnum_from_int()
32 return qn; in qnum_from_int()
45 qn->kind = QNUM_U64; in qnum_from_uint()
46 qn->u.u64 = value; in qnum_from_uint()
48 return qn; in qnum_from_uint()
62 qn->u.dbl = value; in qnum_from_double()
64 return qn; in qnum_from_double()
74 switch (qn->kind) { in qnum_get_try_int()
112 switch (qn->kind) { in qnum_get_try_uint()
[all …]
/openbmc/linux/drivers/interconnect/qcom/
H A Dicc-rpmh.c27 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()
55 qn = node->data; in qcom_icc_aggregate()
63 qn->max_peak[i] = max_t(u32, qn->max_peak[i], peak_bw); in qcom_icc_aggregate()
67 qn->sum_avg[i] = max_t(u64, qn->sum_avg[i], node->init_avg); in qcom_icc_aggregate()
68 qn->max_peak[i] = max_t(u64, qn->max_peak[i], node->init_peak); in qcom_icc_aggregate()
154 qn->bcms[qn->num_bcms] = bcm; in qcom_icc_bcm_init()
155 qn->num_bcms++; in qcom_icc_bcm_init()
212 qn = qnodes[i]; in qcom_icc_rpmh_probe()
[all …]
H A Dicc-rpm.c107 qn = src->data; in qcom_icc_set_bimc_qos()
120 &qn->qos, i); in qcom_icc_set_bimc_qos()
161 qn = src->data; in qcom_icc_set_noc_qos()
168 qn->name); in qcom_icc_set_noc_qos()
255 qn = node->data; in qcom_icc_pre_bw_aggregate()
257 qn->sum_avg[i] = 0; in qcom_icc_pre_bw_aggregate()
277 qn = node->data; in qcom_icc_bw_aggregate()
285 qn->max_peak[i] = max_t(u32, qn->max_peak[i], peak_bw); in qcom_icc_bw_aggregate()
311 qn = node->data; in qcom_icc_bus_aggregate()
313 if (qn->channels) in qcom_icc_bus_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()
/openbmc/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()
55 if (!qn || !qn->clk) in icc_clk_get_bw()
165 if (qn->enabled) in icc_clk_unregister()
[all …]
/openbmc/qemu/include/qapi/qmp/
H A Dqnum.h65 bool qnum_get_try_int(const QNum *qn, int64_t *val);
66 int64_t qnum_get_int(const QNum *qn);
68 bool qnum_get_try_uint(const QNum *qn, uint64_t *val);
69 uint64_t qnum_get_uint(const QNum *qn);
71 double qnum_get_double(QNum *qn);
73 char *qnum_to_string(QNum *qn);
/openbmc/qemu/target/arm/tcg/
H A Dmve.decode24 %qn 7:1 17:3
42 &2op qd qm qn size
43 &2scalar qd qn rm size
48 &vcmp qm qn size mask
52 &vabav qn qm rda size
138 qd=%qd qn=%qn qm=%qm size=%2op_fp_size
141 qd=%qd qn=%qn qm=%qm size=%2op_fp_size_rev
153 qd=%qd qn=%qn size=%2op_fp_scalar_size
436 qn=%qn rdahi=%rdahi rdalo=%rdalo size=0 &vmlaldav
438 qn=%qn rda=%rdalo size=%size_16 &vmladav
[all …]
H A Dtranslate-mve.c801 qn = mve_qreg_ptr(a->qn); in do_2op_vec()
1036 TCGv_ptr qd, qn; in DO_2OP_FP() local
1053 qn = mve_qreg_ptr(a->qn); in DO_2OP_FP()
1148 TCGv_ptr qn, qm; in DO_2OP_FP_SCALAR() local
1168 qn = mve_qreg_ptr(a->qn); in DO_2OP_FP_SCALAR()
1257 TCGv_ptr qn, qm; in do_dual_acc() local
1269 qn = mve_qreg_ptr(a->qn); in do_dual_acc()
1958 qn = mve_qreg_ptr(a->qn); in do_vcmp()
1974 TCGv_ptr qn; in do_vcmp_scalar() local
1984 qn = mve_qreg_ptr(a->qn); in do_vcmp_scalar()
[all …]
/openbmc/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()
/openbmc/qemu/hw/s390x/
H A Dsclpquiesce.c88 QuiesceNotifier *qn = container_of(n, QuiesceNotifier, notifier); in quiesce_powerdown_req() local
89 SCLPEvent *event = qn->event; in quiesce_powerdown_req()
98 static QuiesceNotifier qn; in quiesce_init() local
100 qn.notifier.notify = quiesce_powerdown_req; in quiesce_init()
101 qn.event = event; in quiesce_init()
103 qemu_register_powerdown_notifier(&qn.notifier); in quiesce_init()
/openbmc/linux/fs/ocfs2/dlm/
H A Ddlmdomain.c1171 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 …]
/openbmc/linux/block/
H A Dblk-throttle.c246 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()
264 bio_list_add(&qn->bios, bio); in throtl_qnode_add_bio()
265 if (list_empty(&qn->node)) { 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
306 struct throtl_qnode *qn; in throtl_pop_queued() local
317 list_del_init(&qn->node); in throtl_pop_queued()
319 *tg_to_put = qn->tg; in throtl_pop_queued()
[all …]
/openbmc/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 …]
/openbmc/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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtxrx.h355 static inline void mlx5e_dump_error_cqe(struct mlx5e_cq *cq, u32 qn, in mlx5e_dump_error_cqe() argument
365 cq->mcq.cqn, ci, qn, in mlx5e_dump_error_cqe()
/openbmc/qemu/hw/net/
H A Digb_core.c439 igb_tx_insert_vlan(IGBCore *core, uint16_t qn, struct igb_tx *tx, in igb_tx_insert_vlan() argument
443 uint16_t pool = qn % IGB_NUM_VM_POOLS; in igb_tx_insert_vlan()
596 uint16_t pool = qn % IGB_NUM_VM_POOLS; in igb_on_tx_done_update_stats()
868 uint16_t qn = txi->idx; in igb_tx_enabled() local
869 uint16_t pool = qn % IGB_NUM_VM_POOLS; in igb_tx_enabled()
873 (core->mac[TXDCTL0 + (qn * 16)] & E1000_TXDCTL_QUEUE_ENABLE); in igb_tx_enabled()
2602 uint16_t qn = vfn; in igb_set_vtivar() local
2610 n = igb_ivar_entry_rx(qn); in igb_set_vtivar()
2618 n = igb_ivar_entry_tx(qn); in igb_set_vtivar()
2807 int qn = igb_mq_queue_idx(TDT0, index); in igb_set_tdt() local
[all …]
/openbmc/linux/drivers/crypto/hisilicon/
H A Dqm.c387 void (*qm_db)(struct hisi_qm *qm, u16 qn,
705 static void qm_db_v1(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db_v1() argument
709 doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V1) | in qm_db_v1()
716 static void qm_db_v2(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db_v2() argument
723 io_base = qm->db_io_base + (u64)qn * qm->db_interval + in qm_db_v2()
728 doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V2) | in qm_db_v2()
736 static void qm_db(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db() argument
739 qn, cmd, index); in qm_db()
741 qm->ops->qm_db(qm, qn, cmd, index, priority); in qm_db()
/openbmc/linux/drivers/vfio/pci/hisilicon/
H A Dhisi_acc_vfio_pci.c258 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()
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Djquery-2.0.3.min.js6qn(t,!0),e,r,i)}}),x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Lt).css("opacity",0).s… function