Lines Matching refs:gpio_cd
575 if (host->gpio_cd == -ENOSYS)
578 status = !gpio_get_value(host->gpio_cd);
622 host->gpio_cd = -ENOSYS;
739 if (gpio_is_valid(plat->gpio_cd)) {
740 ret = gpio_request(plat->gpio_cd, DRIVER_NAME " (cd)");
742 ret = gpio_direction_input(plat->gpio_cd);
744 host->gpio_cd = plat->gpio_cd;
784 if (host->gpio_cd != -ENOSYS)
785 gpio_free(host->gpio_cd);
822 if (host->gpio_cd != -ENOSYS)
823 gpio_free(host->gpio_cd);