Lines Matching defs:cd_pin
52 gpio_pin_t cd_pin;
101 * will return sdhci_generic_get_card_present() because cd_pin is NULL.
105 if (gpio_pin_get_by_ofw_property(dev, node, "cd-gpios", &gpio->cd_pin))
108 if (gpio_pin_getcaps(gpio->cd_pin, &pincaps) != 0 ||
135 RF_ACTIVE, gpio->cd_pin, GPIO_INTR_EDGE_BOTH)) == NULL) {
165 device_get_nameunit(gpio->cd_pin->dev), gpio->cd_pin->pin,
227 if (gpio->cd_pin != NULL)
228 gpio_pin_release(gpio->cd_pin);
243 if (gpio->cd_pin == NULL)
247 gpio_pin_is_active(gpio->cd_pin, &pinstate);