Lines Matching refs:rst_n_gpio
1187 int rst_n_gpio = slot->rst_n_gpio; in sdhci_pci_gpio_hw_reset() local
1189 if (!gpio_is_valid(rst_n_gpio)) in sdhci_pci_gpio_hw_reset()
1191 gpio_set_value_cansleep(rst_n_gpio, 0); in sdhci_pci_gpio_hw_reset()
1194 gpio_set_value_cansleep(rst_n_gpio, 1); in sdhci_pci_gpio_hw_reset()
1431 slot->rst_n_gpio = -EINVAL; in sdhci_pci_probe_slot()
1447 slot->rst_n_gpio = slot->data->rst_n_gpio; in sdhci_pci_probe_slot()
1477 if (gpio_is_valid(slot->rst_n_gpio)) { in sdhci_pci_probe_slot()
1478 if (!gpio_request(slot->rst_n_gpio, "eMMC_reset")) { in sdhci_pci_probe_slot()
1479 gpio_direction_output(slot->rst_n_gpio, 1); in sdhci_pci_probe_slot()
1484 slot->rst_n_gpio = -EINVAL; in sdhci_pci_probe_slot()
1517 if (gpio_is_valid(slot->rst_n_gpio)) in sdhci_pci_probe_slot()
1518 gpio_free(slot->rst_n_gpio); in sdhci_pci_probe_slot()
1553 if (gpio_is_valid(slot->rst_n_gpio)) in sdhci_pci_remove_slot()
1554 gpio_free(slot->rst_n_gpio); in sdhci_pci_remove_slot()