Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Dstm32l4x5_gpio-test.c18 #define NUM_GPIO_PINS 16 macro
288 g_assert_false(get_irq(gpio_id * NUM_GPIO_PINS + pin)); in test_gpio_output_mode()
293 g_assert_true(get_irq(gpio_id * NUM_GPIO_PINS + pin)); in test_gpio_output_mode()
298 g_assert_false(get_irq(gpio_id * NUM_GPIO_PINS + pin)); in test_gpio_output_mode()
304 g_assert_false(get_irq(gpio_id * NUM_GPIO_PINS + pin)); in test_gpio_output_mode()
324 g_assert_true(get_irq(gpio_id * NUM_GPIO_PINS + pin)); in test_gpio_input_mode()
329 g_assert_false(get_irq(gpio_id * NUM_GPIO_PINS + pin)); in test_gpio_input_mode()
353 g_assert_true(get_irq(gpio_id * NUM_GPIO_PINS + pin)); in test_pull_up_pull_down()
358 g_assert_false(get_irq(gpio_id * NUM_GPIO_PINS + pin)); in test_pull_up_pull_down()
482 gpio_writel(gpio, BSRR, (1 << (pin + NUM_GPIO_PINS))); in test_bsrr_brr()
[all …]