Home
last modified time | relevance | path

Searched refs:expected_value (Results 1 – 5 of 5) sorted by relevance

/qemu/tests/qtest/
H A Dtest-x86-cpuid-compat.c49 int64_t expected_value; member
63 g_assert_cmpint(val, ==, args->expected_value); in test_cpuid_prop()
72 const char *property, int64_t expected_value) in add_cpuid_test() argument
95 args->expected_value = expected_value; in add_cpuid_test()
114 bool expected_value; member
159 g_assert(!!(value & (1U << args->bitnr)) == args->expected_value); in test_feature_flag()
174 int bitnr, bool expected_value) in add_feature_test() argument
194 args->expected_value = expected_value; in add_feature_test()
H A Dnpcm7xx_emc-test.c513 expected_value = TX_DESC_STATUS_TXCP; in emc_send_verify1()
515 expected_value |= TX_DESC_STATUS_TXINTR; in emc_send_verify1()
518 expected_value); in emc_send_verify1()
653 uint32_t expected_mask, expected_value; in emc_recv_verify() local
701 expected_value = (REG_MISTA_DENI | in emc_recv_verify()
705 ==, expected_value); in emc_recv_verify()
713 expected_value = RX_DESC_STATUS_RXGD; in emc_recv_verify()
718 expected_value); in emc_recv_verify()
736 uint32_t expected_mask, expected_value; in emc_test_ptle() local
774 expected_value = (RX_DESC_STATUS_RXGD | in emc_test_ptle()
[all …]
H A Daspeed_smc-test.c204 static void assert_page_mem(uint32_t addr, uint32_t expected_value) in assert_page_mem() argument
209 g_assert_cmphex(page[i], ==, expected_value); in assert_page_mem()
557 uint32_t expected_value = protection_start <= sector in test_write_block_protect() local
561 assert_page_mem(addr, expected_value); in test_write_block_protect()
602 uint32_t expected_value = protection_start <= sector in test_write_block_protect_bottom_bit() local
606 assert_page_mem(addr, expected_value); in test_write_block_protect_bottom_bit()
H A Darm-cpu-features.c148 #define resp_assert_feature(resp, feature, expected_value) \ argument
156 g_assert(qdict_get_bool(_props, feature) == (expected_value)); \
159 #define assert_feature(qts, cpu_type, feature, expected_value) \ argument
165 resp_assert_feature(_resp, feature, expected_value); \
/qemu/hw/char/
H A Dserial.c694 bool expected_value = ((s->iir & UART_IIR_ID) == UART_IIR_THRI); in serial_thr_ipending_needed() local
695 return s->thr_ipending != expected_value; in serial_thr_ipending_needed()