Searched refs:gpio_read_only (Results 1 – 3 of 3) sorted by relevance
7 int gpio_read_only; member
656 if (!gpio_is_valid(host->pdata->gpio_read_only)) in jz4740_mmc_get_ro()659 return gpio_get_value(host->pdata->gpio_read_only) ^ in jz4740_mmc_get_ro()740 ret = jz4740_mmc_request_gpio(&pdev->dev, pdata->gpio_read_only, in jz4740_mmc_request_gpios()753 if (gpio_is_valid(pdata->gpio_read_only)) in jz4740_mmc_request_gpios()754 gpio_free(pdata->gpio_read_only); in jz4740_mmc_request_gpios()790 if (gpio_is_valid(pdata->gpio_read_only)) in jz4740_mmc_free_gpios()791 gpio_free(pdata->gpio_read_only); in jz4740_mmc_free_gpios()
355 .gpio_read_only = -1,