Lines Matching refs:config
69 struct gpio_io_config config; in GPIO_Set() local
73 config.id = IN1_PIN;//8*4 + 7; in GPIO_Set()
77 config.id = IN2_PIN;//8*4 + 0; in GPIO_Set()
81 config.id = IN3_PIN;//8*2 + 6; in GPIO_Set()
85 config.id = IN4_PIN;//8*4 + 6; in GPIO_Set()
89 config.id = ENA_PIN;//8*2 + 4; in GPIO_Set()
93 config.id = ENB_PIN;//8*2 + 5; in GPIO_Set()
99 config.config = GPIO_IO_OUTPUT | GPIO_IO_OUTPUT_ODPU; in GPIO_Set()
101 config.data = 1; in GPIO_Set()
104 config.data = 0; in GPIO_Set()
106 ioctl(fd, IOC_GPIO_SET, (unsigned long)&config); in GPIO_Set()
199 temp_gpio.config = OUTPUT_OPEN_DRAIN_PULL_UP; in auto_app_init()
202 temp_gpio.config = OUTPUT_OPEN_DRAIN_PULL_UP; in auto_app_init()
205 temp_gpio.config = OUTPUT_OPEN_DRAIN_PULL_UP; in auto_app_init()
208 temp_gpio.config = OUTPUT_OPEN_DRAIN_PULL_UP; in auto_app_init()
212 temp_gpio.config = OUTPUT_OPEN_DRAIN_PULL_UP; in auto_app_init()
215 temp_gpio.config = OUTPUT_OPEN_DRAIN_PULL_UP; in auto_app_init()