Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm/mach-imx/
Dmx31lite-db.c50 static int gpio_det, gpio_wp; variable
66 gpio_wp = IOMUX_TO_GPIO(MX31_PIN_GPIO1_6); in mxc_mmc1_init()
84 ret = gpio_request(gpio_wp, "MMC w/p"); in mxc_mmc1_init()
89 gpio_direction_input(gpio_wp); in mxc_mmc1_init()
101 gpio_free(gpio_wp); in mxc_mmc1_init()
112 gpio_free(gpio_wp); in mxc_mmc1_exit()
Dmx31lilly-db.c75 static int gpio_det, gpio_wp; variable
86 gpio_wp = IOMUX_TO_GPIO(MX31_PIN_LCS0); in mxc_mmc1_init()
99 ret = gpio_request(gpio_wp, "MMC w/p"); in mxc_mmc1_init()
104 gpio_direction_input(gpio_wp); in mxc_mmc1_init()
115 gpio_free(gpio_wp); in mxc_mmc1_init()
126 gpio_free(gpio_wp); in mxc_mmc1_exit()
Dmach-armadillo5x0.c375 int gpio_det, gpio_wp; in armadillo5x0_sdhc1_init() local
378 gpio_wp = IOMUX_TO_GPIO(MX31_PIN_ATA_RESET_B); in armadillo5x0_sdhc1_init()
386 ret = gpio_request(gpio_wp, "sdhc-write-protect"); in armadillo5x0_sdhc1_init()
390 gpio_direction_input(gpio_wp); in armadillo5x0_sdhc1_init()
403 gpio_free(gpio_wp); in armadillo5x0_sdhc1_init()
/Linux-v5.4/include/linux/platform_data/
Dmmc-omap.h84 int gpio_wp; /* gpio (write protect) */ member