Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpio/
Dgpio-kempld.c20 #define KEMPLD_GPIO_DIR_NUM(x) (0x40 + (x) / 8) macro
82 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()