Searched refs:GPIO_NUM_PER_GROUP (Results 1 – 3 of 3) sorted by relevance
74 if (gpio >= GPIO_NUM_PER_GROUP) { in sio1007_gpio_config()76 gpio -= GPIO_NUM_PER_GROUP; in sio1007_gpio_config()98 if (gpio >= GPIO_NUM_PER_GROUP) { in sio1007_gpio_get_value()100 gpio -= GPIO_NUM_PER_GROUP; in sio1007_gpio_get_value()117 if (gpio >= GPIO_NUM_PER_GROUP) { in sio1007_gpio_set_value()119 gpio -= GPIO_NUM_PER_GROUP; in sio1007_gpio_set_value()
15 #define GPIO_NUM_PER_GROUP 8 macro16 #define GPIO_NUM (GPIO_GROUP_NUM*GPIO_NUM_PER_GROUP)25 *reg = 0x20 + offset / GPIO_NUM_PER_GROUP; in mc9s_gpio_to_reg_and_bit()26 *bit = offset % GPIO_NUM_PER_GROUP; in mc9s_gpio_to_reg_and_bit()
60 #define GPIO_NUM_PER_GROUP 8 macro62 #define SIO1007_GPIO_NUM (GPIO_NUM_PER_GROUP * GPIO_GROUP_NUM)