Lines Matching refs:wp_pin
208 * @wp_pin: GPIO pin wired to the write protect sensor
223 struct gpio_desc *wp_pin;
404 * @wp_pin: GPIO pin used for card write protect sending, or negative
425 struct gpio_desc *wp_pin;
685 pdata->slot[slot_id].wp_pin =
688 err = PTR_ERR_OR_ZERO(pdata->slot[slot_id].wp_pin);
692 pdata->slot[slot_id].wp_pin = NULL;
1556 if (slot->wp_pin) {
1557 read_only = gpiod_get_value(slot->wp_pin);
2274 slot->wp_pin = slot_data->wp_pin;
2280 "detect_is_active_high=%s, wp_pin=%d\n",
2283 desc_to_gpio(slot_data->wp_pin));
2333 if (!slot->wp_pin)