Lines Matching refs:scratchpad
43 struct ds18b20_scratchpad scratchpad) in ds18b20_write_scratchpad() argument
49 scratchpad.alarm_temp_high, in ds18b20_write_scratchpad()
50 scratchpad.alarm_temp_low, in ds18b20_write_scratchpad()
51 scratchpad.config in ds18b20_write_scratchpad()
58 struct ds18b20_scratchpad *scratchpad) in ds18b20_read_scratchpad() argument
65 (uint8_t *)&scratchpad[0], 9); in ds18b20_read_scratchpad()
94 data->scratchpad.config &= ~DS18B20_RESOLUTION_MASK; in ds18b20_set_resolution()
95 data->scratchpad.config |= DS18B20_RESOLUTION(resolution); in ds18b20_set_resolution()
122 return ds18b20_read_scratchpad(dev, &data->scratchpad); in ds18b20_sample_fetch()
135 ds18b20_temperature_from_raw((uint8_t *)&data->scratchpad.temp, val); in ds18b20_channel_get()
168 ret = ds18b20_write_scratchpad(dev, data->scratchpad); in ds18b20_configure()