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

/linux-4.4.14/drivers/mtd/maps/
H A Dbfin-async-flash.c40 int enet_flash_pin; member in struct:async_state
50 gpio_set_value(state->enet_flash_pin, 0); switch_to_flash()
65 gpio_set_value(state->enet_flash_pin, 1); switch_back()
148 state->enet_flash_pin = platform_get_irq(pdev, 0); bfin_flash_probe()
152 if (gpio_request(state->enet_flash_pin, DRIVER_NAME)) { bfin_flash_probe()
153 pr_devinit(KERN_ERR DRIVER_NAME ": Failed to request gpio %d\n", state->enet_flash_pin); bfin_flash_probe()
157 gpio_direction_output(state->enet_flash_pin, 1); bfin_flash_probe()
162 gpio_free(state->enet_flash_pin); bfin_flash_probe()
178 gpio_free(state->enet_flash_pin); bfin_flash_remove()

Completed in 46 milliseconds