Lines Matching refs:props
13 static struct sdhc_host_props props; variable
25 ret = sdhc_get_host_props(sdhc_dev, &props); in sdhc_power_on()
28 io.clock = props.f_min; in sdhc_power_on()
37 k_msleep(props.power_delay); in sdhc_power_on()
60 props.f_max = 0xFF; in ZTEST()
61 props.f_min = 0xFF; in ZTEST()
62 props.power_delay = 0xFF; in ZTEST()
63 props.max_current_330 = 0xFF; in ZTEST()
64 props.max_current_300 = 0xFF; in ZTEST()
65 props.max_current_180 = 0xFF; in ZTEST()
66 ret = sdhc_get_host_props(sdhc_dev, &props); in ZTEST()
69 zassert_not_equal(props.f_max, 0xFF, "props structure not initialized"); in ZTEST()
70 zassert_not_equal(props.f_min, 0xFF, "props structure not initialized"); in ZTEST()
71 zassert_not_equal(props.power_delay, 0xFF, "props structure not initialized"); in ZTEST()
72 zassert_not_equal(props.max_current_330, 0xFF, "props structure not initialized"); in ZTEST()
73 zassert_not_equal(props.max_current_300, 0xFF, "props structure not initialized"); in ZTEST()
74 zassert_not_equal(props.max_current_180, 0xFF, "props structure not initialized"); in ZTEST()
84 io.clock = props.f_min; in ZTEST()
98 io.clock = props.f_max + SDHC_FREQUENCY_SLIP; in ZTEST()
133 k_msleep(props.power_delay); in ZTEST()
156 k_msleep(props.power_delay); in ZTEST()
160 k_msleep(props.power_delay); in ZTEST()
180 if (props.is_spi) { in ZTEST()