Searched refs:sdhc_dev (Results 1 – 5 of 5) sorted by relevance
/Zephyr-Core-3.4.0/tests/drivers/sdhc/src/ |
D | main.c | 12 static const struct device *const sdhc_dev = DEVICE_DT_GET(DT_ALIAS(sdhc0)); variable 23 zassert_true(device_is_ready(sdhc_dev), "SDHC device is not ready"); in ZTEST() 25 ret = sdhc_hw_reset(sdhc_dev); in ZTEST() 41 ret = sdhc_get_host_props(sdhc_dev, &props); in ZTEST() 64 ret = sdhc_set_io(sdhc_dev, &io); in ZTEST() 72 ret = sdhc_set_io(sdhc_dev, &io); in ZTEST() 83 ret = sdhc_set_io(sdhc_dev, &io); in ZTEST() 87 ret = sdhc_card_present(sdhc_dev); in ZTEST() 103 ret = sdhc_set_io(sdhc_dev, &io); in ZTEST() 107 ret = sdhc_set_io(sdhc_dev, &io); in ZTEST() [all …]
|
/Zephyr-Core-3.4.0/subsys/sd/ |
D | sd.c | 215 int sd_init(const struct device *sdhc_dev, struct sd_card *card) in sd_init() argument 219 if (!sdhc_dev) { in sd_init() 222 card->sdhc = sdhc_dev; in sd_init() 294 bool sd_is_card_present(const struct device *sdhc_dev) in sd_is_card_present() argument 296 if (!sdhc_dev) { in sd_is_card_present() 299 return sdhc_card_present(sdhc_dev) == 1; in sd_is_card_present()
|
/Zephyr-Core-3.4.0/include/zephyr/sd/ |
D | sd.h | 83 int sd_init(const struct device *sdhc_dev, struct sd_card *card); 92 bool sd_is_card_present(const struct device *sdhc_dev);
|
/Zephyr-Core-3.4.0/tests/subsys/sd/sdmmc/src/ |
D | main.c | 17 static const struct device *const sdhc_dev = DEVICE_DT_GET(DT_ALIAS(sdhc0)); variable 35 zassert_true(device_is_ready(sdhc_dev), "SDHC device is not ready"); in ZTEST() 37 ret = sd_is_card_present(sdhc_dev); in ZTEST() 40 ret = sd_init(sdhc_dev, &card); in ZTEST()
|
/Zephyr-Core-3.4.0/tests/subsys/sd/mmc/src/ |
D | main.c | 16 static const struct device *const sdhc_dev = DEVICE_DT_GET(DT_ALIAS(sdhc0)); variable 33 zassert_true(device_is_ready(sdhc_dev), "SDHC device is not ready"); in ZTEST() 35 ret = sd_init(sdhc_dev, &card); in ZTEST()
|