Lines Matching defs:wp_pin
186 * @wp_pin: GPIO pin used for card write protect sending, or negative
208 int wp_pin;
1028 if (gpio_is_valid(slot->wp_pin)) {
1029 read_only = gpio_get_value(slot->wp_pin);
1611 slot->wp_pin = slot_data->wp_pin;
1648 if (gpio_is_valid(slot->wp_pin)) {
1649 if (gpio_request(slot->wp_pin, "mmc_wp")) {
1651 slot->wp_pin = -EBUSY;
1699 if (gpio_is_valid(slot->wp_pin))
1700 gpio_free(slot->wp_pin);