Searched refs:GPIO_NUM (Results 1 – 8 of 8) sorted by relevance
246 #define MPP_REG_NUM(GPIO_NUM) (GPIO_NUM / 8) argument247 #define MPP_MASK(GPIO_NUM) (0xf << 4 * (GPIO_NUM - \ argument248 (MPP_REG_NUM(GPIO_NUM) * 8)));249 #define GPP_REG_NUM(GPIO_NUM) (GPIO_NUM / 32) argument250 #define GPP_MASK(GPIO_NUM) (1 << GPIO_NUM % 32) argument
39 u32 num = GPIO_NUM(pin); in sunxi_gpio_output()57 u32 num = GPIO_NUM(pin); in sunxi_gpio_input()175 u32 num = GPIO_NUM(offset); in sunxi_gpio_direction_output()186 u32 num = GPIO_NUM(offset); in sunxi_gpio_get_value()199 u32 num = GPIO_NUM(offset); in sunxi_gpio_set_value()
16 #define GPIO_NUM (GPIO_GROUP_NUM*GPIO_NUM_PER_GROUP) macro89 mc9s->chip.ngpio = GPIO_NUM; in mc9s08dz60_probe()
357 GPIO_NUM, enumerator386 struct s5c73m3_gpio gpio[GPIO_NUM];
1552 for (i = 0; i < GPIO_NUM; ++i) { in s5c73m3_configure_gpios()1576 for (i = 0; i < GPIO_NUM; ++i) { in s5c73m3_parse_gpios()
82 #define GPIO_NUM(pin) ((pin) & 0x1f) macro
177 GPIO_NUM, enumerator193 struct s5k4ecgx_gpio gpio[GPIO_NUM];
181 GPIO_NUM, enumerator235 struct s5k6aa_gpio gpio[GPIO_NUM];