Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpio/
Dgpio-syscon.c22 #define SYSCON_REG_BITS (SYSCON_REG_SIZE * 8) macro
65 (offs / SYSCON_REG_BITS) * SYSCON_REG_SIZE, &val); in syscon_gpio_get()
69 return !!(val & BIT(offs % SYSCON_REG_BITS)); in syscon_gpio_get()
80 (offs / SYSCON_REG_BITS) * SYSCON_REG_SIZE, in syscon_gpio_set()
81 BIT(offs % SYSCON_REG_BITS), in syscon_gpio_set()
82 val ? BIT(offs % SYSCON_REG_BITS) : 0); in syscon_gpio_set()
96 (offs / SYSCON_REG_BITS) * SYSCON_REG_SIZE, in syscon_gpio_dir_in()
97 BIT(offs % SYSCON_REG_BITS), 0); in syscon_gpio_dir_in()
114 (offs / SYSCON_REG_BITS) * SYSCON_REG_SIZE, in syscon_gpio_dir_out()
115 BIT(offs % SYSCON_REG_BITS), in syscon_gpio_dir_out()
[all …]