Searched refs:GPIO_CFG_OFFSET (Results 1 – 2 of 2) sorted by relevance
15 u32 offset = GPIO_CFG_OFFSET(bank_offset); in sunxi_gpio_set_cfgbank()31 u32 offset = GPIO_CFG_OFFSET(bank_offset); in sunxi_gpio_get_cfgbank()
84 #define GPIO_CFG_OFFSET(pin) ((((pin) & 0x1f) & 0x7) << 2) macro