Home
last modified time | relevance | path

Searched refs:rst_n_gpio (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/mmc/host/
Dsdhci-pci-core.c1384 int rst_n_gpio = slot->rst_n_gpio; in sdhci_pci_gpio_hw_reset() local
1386 if (!gpio_is_valid(rst_n_gpio)) in sdhci_pci_gpio_hw_reset()
1388 gpio_set_value_cansleep(rst_n_gpio, 0); in sdhci_pci_gpio_hw_reset()
1391 gpio_set_value_cansleep(rst_n_gpio, 1); in sdhci_pci_gpio_hw_reset()
1643 slot->rst_n_gpio = -EINVAL; in sdhci_pci_probe_slot()
1659 slot->rst_n_gpio = slot->data->rst_n_gpio; in sdhci_pci_probe_slot()
1689 if (gpio_is_valid(slot->rst_n_gpio)) { in sdhci_pci_probe_slot()
1690 if (!gpio_request(slot->rst_n_gpio, "eMMC_reset")) { in sdhci_pci_probe_slot()
1691 gpio_direction_output(slot->rst_n_gpio, 1); in sdhci_pci_probe_slot()
1696 slot->rst_n_gpio = -EINVAL; in sdhci_pci_probe_slot()
[all …]
Dsdhci-pci.h76 int rst_n_gpio; member
/linux-4.4.14/include/linux/mmc/
Dsdhci-pci-data.h9 int rst_n_gpio; /* Set to -EINVAL if unused */ member