Searched refs:gpio_wp (Results 1 – 12 of 12) sorted by relevance
/Linux-v4.19/arch/arm/mach-imx/ |
D | mx31lite-db.c | 59 static int gpio_det, gpio_wp; variable 75 gpio_wp = IOMUX_TO_GPIO(MX31_PIN_GPIO1_6); in mxc_mmc1_init() 93 ret = gpio_request(gpio_wp, "MMC w/p"); in mxc_mmc1_init() 98 gpio_direction_input(gpio_wp); in mxc_mmc1_init() 110 gpio_free(gpio_wp); in mxc_mmc1_init() 121 gpio_free(gpio_wp); in mxc_mmc1_exit()
|
D | mx31lilly-db.c | 84 static int gpio_det, gpio_wp; variable 95 gpio_wp = IOMUX_TO_GPIO(MX31_PIN_LCS0); in mxc_mmc1_init() 108 ret = gpio_request(gpio_wp, "MMC w/p"); in mxc_mmc1_init() 113 gpio_direction_input(gpio_wp); in mxc_mmc1_init() 124 gpio_free(gpio_wp); in mxc_mmc1_init() 135 gpio_free(gpio_wp); in mxc_mmc1_exit()
|
D | mach-armadillo5x0.c | 389 int gpio_det, gpio_wp; in armadillo5x0_sdhc1_init() local 392 gpio_wp = IOMUX_TO_GPIO(MX31_PIN_ATA_RESET_B); in armadillo5x0_sdhc1_init() 400 ret = gpio_request(gpio_wp, "sdhc-write-protect"); in armadillo5x0_sdhc1_init() 404 gpio_direction_input(gpio_wp); in armadillo5x0_sdhc1_init() 417 gpio_free(gpio_wp); in armadillo5x0_sdhc1_init()
|
/Linux-v4.19/include/linux/amba/ |
D | mmci.h | 32 int gpio_wp; member
|
/Linux-v4.19/arch/arm/mach-omap2/ |
D | hsmmc.h | 16 int gpio_wp; /* or -EINVAL */ member
|
D | pdata-quirks.c | 367 .gpio_wp = -EINVAL,
|
/Linux-v4.19/include/linux/platform_data/ |
D | hsmmc-omap.h | 75 int gpio_wp; /* gpio (write protect) */ member
|
D | mmc-omap.h | 87 int gpio_wp; /* gpio (write protect) */ member
|
/Linux-v4.19/arch/arm/mach-versatile/ |
D | versatile_dt.c | 92 .gpio_wp = -1, 99 .gpio_wp = -1,
|
/Linux-v4.19/arch/arm/mach-integrator/ |
D | integrator_cp.c | 83 .gpio_wp = -1,
|
/Linux-v4.19/drivers/mmc/host/ |
D | omap_hsmmc.c | 510 if (gpio_is_valid(pdata->gpio_wp)) { in omap_hsmmc_gpio_init() 511 ret = mmc_gpio_request_ro(mmc, pdata->gpio_wp); in omap_hsmmc_gpio_init() 1925 pdata->gpio_wp = -EINVAL; in of_get_hsmmc_pdata()
|
D | mmci.c | 1770 else if (gpio_is_valid(plat->gpio_wp)) { in mmci_probe() 1771 ret = mmc_gpio_request_ro(mmc, plat->gpio_wp); in mmci_probe()
|