Searched refs:gpio_wp (Results 1 – 4 of 4) sorted by relevance
50 static int gpio_det, gpio_wp; variable66 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()
75 static int gpio_det, gpio_wp; variable86 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()
375 int gpio_det, gpio_wp; in armadillo5x0_sdhc1_init() local378 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()
84 int gpio_wp; /* gpio (write protect) */ member