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_DS18B20_write_data(struct w1_slave *sl,
583 static inline int w1_DS18S20_write_data(struct w1_slave *sl,
590 static inline int w1_DS18B20_set_resolution(struct w1_slave *sl, int val)
637 static inline int w1_DS18B20_get_resolution(struct w1_slave *sl)
778 static struct w1_therm_family_converter *device_family(struct w1_slave *sl)
826 static int check_family_data(struct w1_slave *sl)
842 static inline bool bulk_read_support(struct w1_slave *sl)
863 static inline int conversion_time(struct w1_slave *sl)
883 static inline int temperature_from_RAM(struct w1_slave *sl, u8 rom[9])
916 static int w1_therm_add_slave(struct w1_slave *sl)
983 static void w1_therm_remove_slave(struct w1_slave *sl)
1006 static int reset_select_slave(struct w1_slave *sl)
1048 static int convert_t(struct w1_slave *sl, struct therm_info *info)
1147 static int conv_time_measure(struct w1_slave *sl, int *conv_time)
1217 static int read_scratchpad(struct w1_slave *sl, struct therm_info *info)
1271 static int write_scratchpad(struct w1_slave *sl, const u8 *data, u8 nb_bytes)
1304 static int copy_scratchpad(struct w1_slave *sl)
1358 static int recall_eeprom(struct w1_slave *sl)
1393 static int read_powermode(struct w1_slave *sl)
1433 struct w1_slave *sl = NULL; /* used to iterate through slaves */
1526 struct w1_slave *sl = dev_to_w1_slave(device);
1580 struct w1_slave *sl = dev_to_w1_slave(device);
1618 struct w1_slave *sl = dev_to_w1_slave(device);
1656 struct w1_slave *sl = dev_to_w1_slave(device);
1678 struct w1_slave *sl = dev_to_w1_slave(device);
1700 struct w1_slave *sl = dev_to_w1_slave(device);
1739 struct w1_slave *sl = dev_to_w1_slave(device);
1759 struct w1_slave *sl = dev_to_w1_slave(device);
1781 struct w1_slave *sl = dev_to_w1_slave(device);
1901 struct w1_slave *sl = NULL;
1924 struct w1_slave *sl = dev_to_w1_slave(device);
1938 struct w1_slave *sl = dev_to_w1_slave(device);
1966 struct w1_slave *sl = dev_to_w1_slave(device);
1981 struct w1_slave *sl = dev_to_w1_slave(device);
2015 struct w1_slave *sl = dev_get_drvdata(device);
2055 struct w1_slave *sl = dev_to_w1_slave(device);