Searched refs:is_readonly (Results 1 – 2 of 2) sorted by relevance
928 int is_readonly; in sdhci_check_ro() local933 is_readonly = 0; in sdhci_check_ro()935 is_readonly = host->ops->get_ro(host); in sdhci_check_ro()937 is_readonly = rt_mmc_gpio_get_ro(host->mmc); in sdhci_check_ro()939 is_readonly = !(rt_sdhci_readl(host, RT_SDHCI_PRESENT_STATE) in sdhci_check_ro()944 return host->quirks & RT_SDHCI_QUIRK_INVERTED_WRITE_PROTECT ? !is_readonly : is_readonly; in sdhci_check_ro()
639 bool is_readonly; member
Completed in 12 milliseconds