Lines Matching refs:gpio_cd
1165 if (host->gpio_cd == -ENOSYS) { in mmci_get_cd()
1171 status = !!gpio_get_value_cansleep(host->gpio_cd) in mmci_get_cd()
1228 host->gpio_cd = -ENOSYS; in mmci_probe()
1359 if (gpio_is_valid(plat->gpio_cd)) { in mmci_probe()
1360 ret = gpio_request(plat->gpio_cd, DRIVER_NAME " (cd)"); in mmci_probe()
1362 ret = gpio_direction_input(plat->gpio_cd); in mmci_probe()
1364 host->gpio_cd = plat->gpio_cd; in mmci_probe()
1375 ret = request_any_context_irq(gpio_to_irq(plat->gpio_cd), in mmci_probe()
1380 host->gpio_cd_irq = gpio_to_irq(plat->gpio_cd); in mmci_probe()
1392 if ((host->plat->status || host->gpio_cd != -ENOSYS) in mmci_probe()
1436 if (host->gpio_cd != -ENOSYS) in mmci_probe()
1437 gpio_free(host->gpio_cd); in mmci_probe()
1486 if (host->gpio_cd != -ENOSYS) in mmci_remove()
1487 gpio_free(host->gpio_cd); in mmci_remove()