Searched refs:KEMPLD_GPIO_DIR_NUM (Results 1 – 1 of 1) sorted by relevance
20 #define KEMPLD_GPIO_DIR_NUM(x) (0x40 + (x) / 8) macro82 kempld_gpio_bitop(pld, KEMPLD_GPIO_DIR_NUM(offset), offset, 0); in kempld_gpio_direction_input()96 kempld_gpio_bitop(pld, KEMPLD_GPIO_DIR_NUM(offset), offset, 1); in kempld_gpio_direction_output()107 if (kempld_gpio_get_bit(pld, KEMPLD_GPIO_DIR_NUM(offset), offset)) in kempld_gpio_get_direction()