Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/mmc/
Dsdhci-pci-data.h10 int rst_n_gpio; /* Set to -EINVAL if unused */ member
/Linux-v5.10/arch/x86/platform/intel-mid/device_libs/
Dplatform_mrfld_sd.c20 .rst_n_gpio = -EINVAL,
/Linux-v5.10/drivers/mmc/host/
Dsdhci-pci-core.c1958 int rst_n_gpio = slot->rst_n_gpio; in sdhci_pci_gpio_hw_reset() local
1960 if (!gpio_is_valid(rst_n_gpio)) in sdhci_pci_gpio_hw_reset()
1962 gpio_set_value_cansleep(rst_n_gpio, 0); in sdhci_pci_gpio_hw_reset()
1965 gpio_set_value_cansleep(rst_n_gpio, 1); in sdhci_pci_gpio_hw_reset()
2100 slot->rst_n_gpio = -EINVAL; in sdhci_pci_probe_slot()
2116 slot->rst_n_gpio = slot->data->rst_n_gpio; in sdhci_pci_probe_slot()
2143 if (gpio_is_valid(slot->rst_n_gpio)) { in sdhci_pci_probe_slot()
2144 if (!devm_gpio_request(&pdev->dev, slot->rst_n_gpio, "eMMC_reset")) { in sdhci_pci_probe_slot()
2145 gpio_direction_output(slot->rst_n_gpio, 1); in sdhci_pci_probe_slot()
2150 slot->rst_n_gpio = -EINVAL; in sdhci_pci_probe_slot()
Dsdhci-pci.h159 int rst_n_gpio; member