Searched refs:GPIOS_PER_GROUP (Results 1 – 1 of 1) sorted by relevance
21 #define GPIOS_PER_GROUP 8 macro408 for (i = 0; i < ASPEED_GPIOS_PER_SET; i += GPIOS_PER_GROUP) { in update_value_control_source()674 uint32_t group_idx = pin_idx / GPIOS_PER_GROUP; in aspeed_gpio_write_index_mode()777 reg_value = deposit32(reg_value, GPIOS_PER_GROUP * group_idx, 1, in aspeed_gpio_write_index_mode()781 reg_value = deposit32(reg_value, GPIOS_PER_GROUP * group_idx, 1, in aspeed_gpio_write_index_mode()972 pin = pin + group_idx * GPIOS_PER_GROUP; in aspeed_gpio_get_pin()1001 pin = pin + group_idx * GPIOS_PER_GROUP; in aspeed_gpio_set_pin()1434 int group_idx = j / GPIOS_PER_GROUP; in aspeed_gpio_init()1435 int pin_idx = j % GPIOS_PER_GROUP; in aspeed_gpio_init()