Lines Matching refs:gpio_wp
564 if (host->gpio_wp == -ENOSYS)
567 return gpio_get_value(host->gpio_wp);
621 host->gpio_wp = -ENOSYS;
748 if (gpio_is_valid(plat->gpio_wp)) {
749 ret = gpio_request(plat->gpio_wp, DRIVER_NAME " (wp)");
751 ret = gpio_direction_input(plat->gpio_wp);
753 host->gpio_wp = plat->gpio_wp;
781 if (host->gpio_wp != -ENOSYS)
782 gpio_free(host->gpio_wp);
820 if (host->gpio_wp != -ENOSYS)
821 gpio_free(host->gpio_wp);