Lines Matching refs:det_pin
987 if (host->board->det_pin) {
988 ret = gpio_request(host->board->det_pin, "mmc_detect");
1053 if (host->board->det_pin) {
1054 host->present = !gpio_get_value(host->board->det_pin);
1064 if (host->board->det_pin) {
1065 ret = request_irq(gpio_to_irq(host->board->det_pin),
1089 if (host->board->det_pin)
1090 gpio_free(host->board->det_pin);
1121 if (host->board->det_pin) {
1123 free_irq(gpio_to_irq(host->board->det_pin), host);
1125 gpio_free(host->board->det_pin);
1159 if (host->board->det_pin && device_may_wakeup(&pdev->dev))
1160 enable_irq_wake(host->board->det_pin);
1174 if (host->board->det_pin && device_may_wakeup(&pdev->dev))
1175 disable_irq_wake(host->board->det_pin);