Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/misc/
H A Dsmsc_sio1007.c74 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()
/OK3568_Linux_fs/kernel/drivers/gpio/
H A Dgpio-mc9s08dz60.c15 #define GPIO_NUM_PER_GROUP 8 macro
16 #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()
/OK3568_Linux_fs/u-boot/include/
H A Dsmsc_sio1007.h60 #define GPIO_NUM_PER_GROUP 8 macro
62 #define SIO1007_GPIO_NUM (GPIO_NUM_PER_GROUP * GPIO_GROUP_NUM)