Searched refs:gpio_addrs (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/mtd/maps/
H A Dgpio-addr-flash.c39 * @gpio_addrs: array of GPIOs to twiddle
47 unsigned *gpio_addrs; member in struct:async_state
71 gpio_set_value(state->gpio_addrs[i], value); gf_set_gpios()
229 state->gpio_addrs = (void *)(unsigned long)gpios->start; gpio_flash_probe()
249 if (gpio_request(state->gpio_addrs[i], DRIVER_NAME)) { gpio_flash_probe()
251 state->gpio_addrs[i]); gpio_flash_probe()
253 gpio_free(state->gpio_addrs[i]); gpio_flash_probe()
257 gpio_direction_output(state->gpio_addrs[i], 0); gpio_flash_probe()
265 gpio_free(state->gpio_addrs[i]); gpio_flash_probe()
282 gpio_free(state->gpio_addrs[i]); gpio_flash_remove()

Completed in 39 milliseconds