Searched refs:gpio_wp (Results 1 – 17 of 17) sorted by relevance
/linux-4.4.14/arch/arm/mach-imx/ |
D | mx31lilly-db.c | 101 static int gpio_det, gpio_wp; variable 112 gpio_wp = IOMUX_TO_GPIO(MX31_PIN_LCS0); in mxc_mmc1_init() 125 ret = gpio_request(gpio_wp, "MMC w/p"); in mxc_mmc1_init() 130 gpio_direction_input(gpio_wp); in mxc_mmc1_init() 141 gpio_free(gpio_wp); in mxc_mmc1_init() 152 gpio_free(gpio_wp); in mxc_mmc1_exit()
|
D | mx31lite-db.c | 77 static int gpio_det, gpio_wp; variable 93 gpio_wp = IOMUX_TO_GPIO(MX31_PIN_GPIO1_6); in mxc_mmc1_init() 111 ret = gpio_request(gpio_wp, "MMC w/p"); in mxc_mmc1_init() 116 gpio_direction_input(gpio_wp); in mxc_mmc1_init() 128 gpio_free(gpio_wp); in mxc_mmc1_init() 139 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-4.4.14/arch/arm/mach-omap2/ |
D | hsmmc.c | 161 if (gpio_is_valid(mmc_controller->gpio_wp) && in omap_hsmmc_mux() 162 (mmc_controller->gpio_wp < OMAP_MAX_GPIO_LINES)) in omap_hsmmc_mux() 163 omap_mux_init_gpio(mmc_controller->gpio_wp, in omap_hsmmc_mux() 266 mmc->gpio_wp = c->gpio_wp; in omap_hsmmc_pdata_init() 379 mmc_pdata->gpio_wp = c->gpio_wp; in omap_hsmmc_late_init()
|
D | hsmmc.h | 21 int gpio_wp; /* or -EINVAL */ member
|
D | board-ldp.c | 348 .gpio_wp = -EINVAL,
|
D | pdata-quirks.c | 339 .gpio_wp = -EINVAL,
|
D | board-rx51-peripherals.c | 500 .gpio_wp = -EINVAL, 508 .gpio_wp = -EINVAL,
|
/linux-4.4.14/include/linux/amba/ |
D | mmci.h | 31 int gpio_wp; member
|
/linux-4.4.14/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-4.4.14/arch/arm/mach-versatile/ |
D | versatile_pb.c | 46 .gpio_wp = -1,
|
D | core.c | 294 .gpio_wp = -1,
|
/linux-4.4.14/arch/arm/mach-realview/ |
D | core.c | 235 .gpio_wp = 17, 243 .gpio_wp = 19,
|
/linux-4.4.14/arch/arm/mach-integrator/ |
D | integrator_cp.c | 169 .gpio_wp = -1,
|
/linux-4.4.14/drivers/mmc/host/ |
D | omap_hsmmc.c | 547 if (gpio_is_valid(pdata->gpio_wp)) { in omap_hsmmc_gpio_init() 548 ret = mmc_gpio_request_ro(mmc, pdata->gpio_wp); in omap_hsmmc_gpio_init() 1974 pdata->gpio_wp = -EINVAL; in of_get_hsmmc_pdata()
|
D | mmci.c | 1705 else if (gpio_is_valid(plat->gpio_wp)) { in mmci_probe() 1706 ret = mmc_gpio_request_ro(mmc, plat->gpio_wp); in mmci_probe()
|