Home
last modified time | relevance | path

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

/qemu/tests/qtest/
H A Dstm32l4x5_gpio-test.c17 #define NUM_GPIO_PINS 16 macro
295 g_assert_false(get_irq(gpio_id * NUM_GPIO_PINS + pin)); in test_gpio_output_mode()
300 g_assert_true(get_irq(gpio_id * NUM_GPIO_PINS + pin)); in test_gpio_output_mode()
305 g_assert_false(get_irq(gpio_id * NUM_GPIO_PINS + pin)); in test_gpio_output_mode()
311 g_assert_false(get_irq(gpio_id * NUM_GPIO_PINS + pin)); in test_gpio_output_mode()
331 g_assert_true(get_irq(gpio_id * NUM_GPIO_PINS + pin)); in test_gpio_input_mode()
336 g_assert_false(get_irq(gpio_id * NUM_GPIO_PINS + pin)); in test_gpio_input_mode()
360 g_assert_true(get_irq(gpio_id * NUM_GPIO_PINS + pin)); in test_pull_up_pull_down()
365 g_assert_false(get_irq(gpio_id * NUM_GPIO_PINS + pin)); in test_pull_up_pull_down()
489 gpio_writel(gpio, BSRR, (1 << (pin + NUM_GPIO_PINS))); in test_bsrr_brr()
[all …]