Home
last modified time | relevance | path

Searched refs:cfg1 (Results 1 – 3 of 3) sorted by relevance

/qemu/tests/unit/
H A Dtest-throttle.c739 ThrottleConfig cfg1, cfg2; in test_groups() local
774 throttle_config_init(&cfg1); in test_groups()
775 cfg1.buckets[THROTTLE_BPS_READ].avg = 500000; in test_groups()
777 cfg1.buckets[THROTTLE_OPS_READ].avg = 20000; in test_groups()
778 cfg1.buckets[THROTTLE_OPS_WRITE].avg = 12000; in test_groups()
779 throttle_group_config(tgm1, &cfg1); in test_groups()
781 throttle_group_get_config(tgm1, &cfg1); in test_groups()
783 g_assert(!memcmp(&cfg1, &cfg2, sizeof(cfg1))); in test_groups()
789 throttle_group_config(tgm3, &cfg1); in test_groups()
791 throttle_group_get_config(tgm1, &cfg1); in test_groups()
[all …]
/qemu/hw/misc/
H A Dmps2-scc.c157 r = s->cfg1; in mps2_scc_read()
261 s->cfg1 = value; in mps2_scc_write()
367 s->cfg1 = 0; in mps2_scc_reset()
439 VMSTATE_UINT32(cfg1, MPS2SCC),
/qemu/include/hw/misc/
H A Dmps2-scc.h49 uint32_t cfg1; member