Lines Matching refs:det_pin
875 present = !gpio_get_value(host->board->det_pin); in at91_mmc_det_irq()
993 if (gpio_is_valid(host->board->det_pin)) { in at91_mci_probe()
994 ret = gpio_request(host->board->det_pin, "mmc_detect"); in at91_mci_probe()
1059 if (gpio_is_valid(host->board->det_pin)) { in at91_mci_probe()
1060 host->present = !gpio_get_value(host->board->det_pin); in at91_mci_probe()
1070 if (gpio_is_valid(host->board->det_pin)) { in at91_mci_probe()
1071 ret = request_irq(gpio_to_irq(host->board->det_pin), in at91_mci_probe()
1095 if (gpio_is_valid(host->board->det_pin)) in at91_mci_probe()
1096 gpio_free(host->board->det_pin); in at91_mci_probe()
1127 if (gpio_is_valid(host->board->det_pin)) { in at91_mci_remove()
1129 free_irq(gpio_to_irq(host->board->det_pin), host); in at91_mci_remove()
1131 gpio_free(host->board->det_pin); in at91_mci_remove()
1165 if (gpio_is_valid(host->board->det_pin) && device_may_wakeup(&pdev->dev)) in at91_mci_suspend()
1166 enable_irq_wake(host->board->det_pin); in at91_mci_suspend()
1180 if (gpio_is_valid(host->board->det_pin) && device_may_wakeup(&pdev->dev)) in at91_mci_resume()
1181 disable_irq_wake(host->board->det_pin); in at91_mci_resume()