Searched refs:gpio_wp (Results 1 - 17 of 17) sorted by relevance

/linux-4.4.14/arch/arm/mach-imx/
H A Dmx31lilly-db.c101 static int gpio_det, gpio_wp; variable
112 gpio_wp = IOMUX_TO_GPIO(MX31_PIN_LCS0); mxc_mmc1_init()
125 ret = gpio_request(gpio_wp, "MMC w/p"); mxc_mmc1_init()
130 gpio_direction_input(gpio_wp); mxc_mmc1_init()
141 gpio_free(gpio_wp); mxc_mmc1_init()
152 gpio_free(gpio_wp); mxc_mmc1_exit()
H A Dmx31lite-db.c77 static int gpio_det, gpio_wp; variable
93 gpio_wp = IOMUX_TO_GPIO(MX31_PIN_GPIO1_6); mxc_mmc1_init()
111 ret = gpio_request(gpio_wp, "MMC w/p"); mxc_mmc1_init()
116 gpio_direction_input(gpio_wp); mxc_mmc1_init()
128 gpio_free(gpio_wp); mxc_mmc1_init()
139 gpio_free(gpio_wp); mxc_mmc1_exit()
H A Dmach-armadillo5x0.c389 int gpio_det, gpio_wp; armadillo5x0_sdhc1_init() local
392 gpio_wp = IOMUX_TO_GPIO(MX31_PIN_ATA_RESET_B); armadillo5x0_sdhc1_init()
400 ret = gpio_request(gpio_wp, "sdhc-write-protect"); armadillo5x0_sdhc1_init()
404 gpio_direction_input(gpio_wp); armadillo5x0_sdhc1_init()
417 gpio_free(gpio_wp); armadillo5x0_sdhc1_init()
/linux-4.4.14/include/linux/amba/
H A Dmmci.h21 * gpio_wp (below) this function will be called to determine
23 * @gpio_wp: read this GPIO pin to see if the card is write protected
31 int gpio_wp; member in struct:mmci_platform_data
/linux-4.4.14/arch/arm/mach-omap2/
H A Dhsmmc.h21 int gpio_wp; /* or -EINVAL */ member in struct:omap2_hsmmc_info
H A Dhsmmc.c161 if (gpio_is_valid(mmc_controller->gpio_wp) && omap_hsmmc_mux()
162 (mmc_controller->gpio_wp < OMAP_MAX_GPIO_LINES)) omap_hsmmc_mux()
163 omap_mux_init_gpio(mmc_controller->gpio_wp, omap_hsmmc_mux()
266 mmc->gpio_wp = c->gpio_wp; omap_hsmmc_pdata_init()
379 mmc_pdata->gpio_wp = c->gpio_wp; omap_hsmmc_late_init()
H A Dboard-ldp.c348 .gpio_wp = -EINVAL,
H A Dboard-rx51-peripherals.c500 .gpio_wp = -EINVAL,
508 .gpio_wp = -EINVAL,
H A Dpdata-quirks.c339 .gpio_wp = -EINVAL,
/linux-4.4.14/arch/arm/mach-versatile/
H A Dversatile_pb.c46 .gpio_wp = -1,
H A Dcore.c294 .gpio_wp = -1,
/linux-4.4.14/include/linux/platform_data/
H A Dhsmmc-omap.h75 int gpio_wp; /* gpio (write protect) */ member in struct:omap_hsmmc_platform_data
H A Dmmc-omap.h87 int gpio_wp; /* gpio (write protect) */ member in struct:omap_mmc_platform_data::omap_mmc_slot_data
/linux-4.4.14/arch/arm/mach-realview/
H A Dcore.c235 .gpio_wp = 17,
243 .gpio_wp = 19,
/linux-4.4.14/arch/arm/mach-integrator/
H A Dintegrator_cp.c169 .gpio_wp = -1,
/linux-4.4.14/drivers/mmc/host/
H A Domap_hsmmc.c547 if (gpio_is_valid(pdata->gpio_wp)) { omap_hsmmc_gpio_init()
548 ret = mmc_gpio_request_ro(mmc, pdata->gpio_wp); omap_hsmmc_gpio_init()
1974 pdata->gpio_wp = -EINVAL; of_get_hsmmc_pdata()
H A Dmmci.c1705 else if (gpio_is_valid(plat->gpio_wp)) { mmci_probe()
1706 ret = mmc_gpio_request_ro(mmc, plat->gpio_wp); mmci_probe()

Completed in 914 milliseconds