Home
last modified time | relevance | path

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

/linux-4.4.14/arch/arm/mach-davinci/
Dboard-dm646x-evm.c219 static int evm_sw_gpio[4] = { -EINVAL, -EINVAL, -EINVAL, -EINVAL }; variable
233 evm_sw_gpio[i] = gpio++; in evm_sw_setup()
235 status = gpio_direction_input(evm_sw_gpio[i]); in evm_sw_setup()
237 gpio_free(evm_sw_gpio[i]); in evm_sw_setup()
238 evm_sw_gpio[i] = -EINVAL; in evm_sw_setup()
242 status = gpio_export(evm_sw_gpio[i], 0); in evm_sw_setup()
244 gpio_free(evm_sw_gpio[i]); in evm_sw_setup()
245 evm_sw_gpio[i] = -EINVAL; in evm_sw_setup()
252 if (evm_sw_gpio[i] != -EINVAL) { in evm_sw_setup()
253 gpio_free(evm_sw_gpio[i]); in evm_sw_setup()
[all …]