Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm/mach-davinci/
Dboard-dm646x-evm.c253 static int evm_sw_gpio[4] = { -EINVAL, -EINVAL, -EINVAL, -EINVAL }; variable
267 evm_sw_gpio[i] = gpio++; in evm_sw_setup()
269 status = gpio_direction_input(evm_sw_gpio[i]); in evm_sw_setup()
271 gpio_free(evm_sw_gpio[i]); in evm_sw_setup()
272 evm_sw_gpio[i] = -EINVAL; in evm_sw_setup()
276 status = gpio_export(evm_sw_gpio[i], 0); in evm_sw_setup()
278 gpio_free(evm_sw_gpio[i]); in evm_sw_setup()
279 evm_sw_gpio[i] = -EINVAL; in evm_sw_setup()
286 if (evm_sw_gpio[i] != -EINVAL) { in evm_sw_setup()
287 gpio_free(evm_sw_gpio[i]); in evm_sw_setup()
[all …]