Lines Matching refs:device
62 const struct device *bus;
74 static int ds18b20_configure(const struct device *dev);
75 static int ds18b20_read_scratchpad(const struct device *dev, struct ds18b20_scratchpad *scratchpad);
83 static inline void ds18b20_temperature_from_raw(const struct device *dev, in ds18b20_temperature_from_raw()
113 static int ds18b20_write_scratchpad(const struct device *dev, in ds18b20_write_scratchpad()
118 const struct device *bus = cfg->bus; in ds18b20_write_scratchpad()
145 static int ds18b20_read_scratchpad(const struct device *dev, in ds18b20_read_scratchpad()
150 const struct device *bus = cfg->bus; in ds18b20_read_scratchpad()
177 static int ds18b20_temperature_convert(const struct device *dev) in ds18b20_temperature_convert()
182 const struct device *bus = cfg->bus; in ds18b20_temperature_convert()
199 static void ds18b20_set_resolution(const struct device *dev, uint8_t resolution) in ds18b20_set_resolution()
207 static uint16_t measure_wait_ms(const struct device *dev) in measure_wait_ms()
218 static int ds18b20_sample_fetch(const struct device *dev, in ds18b20_sample_fetch()
244 static int ds18b20_channel_get(const struct device *dev, in ds18b20_channel_get()
258 static int ds18b20_configure(const struct device *dev) in ds18b20_configure()
299 int ds18b20_attr_set(const struct device *dev, enum sensor_channel chan, in ds18b20_attr_set()
319 static int ds18b20_init(const struct device *dev) in ds18b20_init()