Lines Matching refs:w1_slave
164 int (*get_conversion_time)(struct w1_slave *sl);
165 int (*set_resolution)(struct w1_slave *sl, int val);
166 int (*get_resolution)(struct w1_slave *sl);
167 int (*write_data)(struct w1_slave *sl, const u8 *data);
223 static int reset_select_slave(struct w1_slave *sl);
232 static int convert_t(struct w1_slave *sl, struct therm_info *info);
241 static int read_scratchpad(struct w1_slave *sl, struct therm_info *info);
251 static int write_scratchpad(struct w1_slave *sl, const u8 *data, u8 nb_bytes);
259 static int copy_scratchpad(struct w1_slave *sl);
267 static int recall_eeprom(struct w1_slave *sl);
281 static int read_powermode(struct w1_slave *sl);
348 static DEVICE_ATTR_RW(w1_slave);
371 static int w1_therm_add_slave(struct w1_slave *sl);
380 static void w1_therm_remove_slave(struct w1_slave *sl);
528 static inline int w1_DS18B20_convert_time(struct w1_slave *sl)
566 static inline int w1_DS18S20_convert_time(struct w1_slave *sl)
577 static inline int w1_DS1825_convert_time(struct w1_slave *sl)
612 static inline int w1_DS18B20_write_data(struct w1_slave *sl,
618 static inline int w1_DS18S20_write_data(struct w1_slave *sl,
625 static inline int w1_DS18B20_set_resolution(struct w1_slave *sl, int val)
673 static inline int w1_DS18B20_get_resolution(struct w1_slave *sl)
844 static struct w1_therm_family_converter *device_family(struct w1_slave *sl)
892 static int check_family_data(struct w1_slave *sl)
908 static inline bool bulk_read_support(struct w1_slave *sl)
929 static inline int conversion_time(struct w1_slave *sl)
949 static inline int temperature_from_RAM(struct w1_slave *sl, u8 rom[9])
981 static int w1_therm_add_slave(struct w1_slave *sl)
1048 static void w1_therm_remove_slave(struct w1_slave *sl)
1071 static int reset_select_slave(struct w1_slave *sl)
1113 static int convert_t(struct w1_slave *sl, struct therm_info *info)
1212 static int conv_time_measure(struct w1_slave *sl, int *conv_time)
1282 static int read_scratchpad(struct w1_slave *sl, struct therm_info *info)
1336 static int write_scratchpad(struct w1_slave *sl, const u8 *data, u8 nb_bytes)
1369 static int copy_scratchpad(struct w1_slave *sl)
1423 static int recall_eeprom(struct w1_slave *sl)
1458 static int read_powermode(struct w1_slave *sl)
1498 struct w1_slave *sl = NULL; /* used to iterate through slaves */
1591 struct w1_slave *sl = dev_to_w1_slave(device);
1645 struct w1_slave *sl = dev_to_w1_slave(device);
1683 struct w1_slave *sl = dev_to_w1_slave(device);
1721 struct w1_slave *sl = dev_to_w1_slave(device);
1743 struct w1_slave *sl = dev_to_w1_slave(device);
1765 struct w1_slave *sl = dev_to_w1_slave(device);
1804 struct w1_slave *sl = dev_to_w1_slave(device);
1824 struct w1_slave *sl = dev_to_w1_slave(device);
1846 struct w1_slave *sl = dev_to_w1_slave(device);
1965 struct w1_slave *sl = NULL;
1988 struct w1_slave *sl = dev_to_w1_slave(device);
2002 struct w1_slave *sl = dev_to_w1_slave(device);
2030 struct w1_slave *sl = dev_to_w1_slave(device);
2045 struct w1_slave *sl = dev_to_w1_slave(device);
2079 struct w1_slave *sl = dev_get_drvdata(device);
2119 struct w1_slave *sl = dev_to_w1_slave(device);