Searched refs:NUM_GPIO_PINS (Results 1 – 1 of 1) sorted by relevance
18 #define NUM_GPIO_PINS 16 macro288 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 …]