Searched refs:master_dev (Results 1 – 1 of 1) sorted by relevance
19 const struct device *const master_dev = DEVICE_DT_GET(W1_MASTER); in get_w1_master_dev() local21 zassert_true(device_is_ready(master_dev), "W1 master not found"); in get_w1_master_dev()23 return master_dev; in get_w1_master_dev()63 const struct device *master_dev = get_w1_master_dev(); in ZTEST_USER() local71 zassert_equal(w1_lock_bus(master_dev), 0, "Fail lock 1"); in ZTEST_USER()72 zassert_equal(w1_lock_bus(master_dev), 0, "Fail lock 2"); in ZTEST_USER()73 zassert_equal(w1_unlock_bus(master_dev), 0, "Fail unlock 1"); in ZTEST_USER()74 zassert_equal(w1_unlock_bus(master_dev), 0, "Fail unlock 2"); in ZTEST_USER()76 slave_count = w1_get_slave_count(master_dev); in ZTEST_USER()158 const struct device *master_dev = get_w1_master_dev(); in ZTEST_USER() local[all …]