Home
last modified time | relevance | path

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

/Linux-v4.19/arch/arm/mach-davinci/
Dboard-dm646x-evm.c252 static int evm_sw_gpio[4] = { -EINVAL, -EINVAL, -EINVAL, -EINVAL }; variable
266 evm_sw_gpio[i] = gpio++; in evm_sw_setup()
268 status = gpio_direction_input(evm_sw_gpio[i]); in evm_sw_setup()
270 gpio_free(evm_sw_gpio[i]); in evm_sw_setup()
271 evm_sw_gpio[i] = -EINVAL; in evm_sw_setup()
275 status = gpio_export(evm_sw_gpio[i], 0); in evm_sw_setup()
277 gpio_free(evm_sw_gpio[i]); in evm_sw_setup()
278 evm_sw_gpio[i] = -EINVAL; in evm_sw_setup()
285 if (evm_sw_gpio[i] != -EINVAL) { in evm_sw_setup()
286 gpio_free(evm_sw_gpio[i]); in evm_sw_setup()
[all …]