Lines Matching refs:actual
269 uint32_t actual, expected; in test_nrf51_gpio() local
286 actual = qtest_readl(qts, NRF51_GPIO_BASE + reset_state[i].addr); in test_nrf51_gpio()
287 g_assert_cmpuint(actual, ==, expected); in test_nrf51_gpio()
292 actual = qtest_readl(qts, NRF51_GPIO_BASE + in test_nrf51_gpio()
294 g_assert_cmpuint(actual, ==, expected); in test_nrf51_gpio()
301 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_DIR); in test_nrf51_gpio()
302 g_assert_cmpuint(actual, ==, expected); in test_nrf51_gpio()
303 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_CNF_START) in test_nrf51_gpio()
305 g_assert_cmphex(actual, ==, 0x01); in test_nrf51_gpio()
306 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_CNF_END) & 0x01; in test_nrf51_gpio()
307 g_assert_cmphex(actual, ==, 0x01); in test_nrf51_gpio()
311 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_DIR); in test_nrf51_gpio()
312 g_assert_cmphex(actual, ==, 0x00000000); in test_nrf51_gpio()
313 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_CNF_START) in test_nrf51_gpio()
315 g_assert_cmphex(actual, ==, 0x00); in test_nrf51_gpio()
316 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_CNF_END) & 0x01; in test_nrf51_gpio()
317 g_assert_cmphex(actual, ==, 0x00); in test_nrf51_gpio()
322 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_DIR); in test_nrf51_gpio()
323 g_assert_cmpuint(actual, ==, expected); in test_nrf51_gpio()
324 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_CNF_START) in test_nrf51_gpio()
326 g_assert_cmphex(actual, ==, 0x01); in test_nrf51_gpio()
327 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_CNF_END) & 0x01; in test_nrf51_gpio()
328 g_assert_cmphex(actual, ==, 0x01); in test_nrf51_gpio()
336 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_IN) & 0x01; in test_nrf51_gpio()
337 g_assert_cmphex(actual, ==, 0x00); in test_nrf51_gpio()
339 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_IN) & 0x01; in test_nrf51_gpio()
340 g_assert_cmphex(actual, ==, 0x01); in test_nrf51_gpio()
342 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_IN) & 0x01; in test_nrf51_gpio()
343 g_assert_cmphex(actual, ==, 0x01); in test_nrf51_gpio()
349 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_IN) & 0x01; in test_nrf51_gpio()
350 g_assert_cmphex(actual, ==, 0x00); in test_nrf51_gpio()
352 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_IN) & 0x01; in test_nrf51_gpio()
353 g_assert_cmphex(actual, ==, 0x01); in test_nrf51_gpio()
359 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_IN) & 0x01; in test_nrf51_gpio()
360 g_assert_cmphex(actual, ==, 0x01); in test_nrf51_gpio()
362 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_IN) & 0x01; in test_nrf51_gpio()
363 g_assert_cmphex(actual, ==, 0x00); in test_nrf51_gpio()
378 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_IN) & 0x01; in test_nrf51_gpio()
379 g_assert_cmphex(actual, ==, 0x01); in test_nrf51_gpio()
382 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_IN) & 0x01; in test_nrf51_gpio()
383 g_assert_cmphex(actual, ==, 0x00); in test_nrf51_gpio()
412 uint32_t actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_IN); in test_nrf51_gpio_detect() local
413 g_assert_cmphex(actual, ==, 1 << i); in test_nrf51_gpio_detect()
420 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_IN); in test_nrf51_gpio_detect()
421 g_assert_cmphex(actual, ==, 0x0); in test_nrf51_gpio_detect()