Lines Matching +full:ds2482 +full:- +full:800
4 * SPDX-License-Identifier: Apache-2.0
7 #include "w1_ds2482-800.h"
16 LOG_MODULE_REGISTER(ds2482, CONFIG_W1_LOG_LEVEL);
28 struct ds2482_data *data = dev->data; in ds2482_change_bus_lock_impl()
30 return lock ? k_mutex_lock(&data->lock, K_FOREVER) : k_mutex_unlock(&data->lock); in ds2482_change_bus_lock_impl()
37 const struct ds2482_config *config = dev->config; in ds2482_init()
38 struct ds2482_data *data = dev->data; in ds2482_init()
40 k_mutex_init(&data->lock); in ds2482_init()
42 if (!i2c_is_ready_dt(&config->i2c_spec)) { in ds2482_init()
43 return -ENODEV; in ds2482_init()
46 ret = ds2482_84_reset_device(&config->i2c_spec); in ds2482_init()