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) in w1_DS18B20_convert_time()
566 static inline int w1_DS18S20_convert_time(struct w1_slave *sl) in w1_DS18S20_convert_time()
577 static inline int w1_DS1825_convert_time(struct w1_slave *sl) in w1_DS1825_convert_time()
612 static inline int w1_DS18B20_write_data(struct w1_slave *sl, in w1_DS18B20_write_data()
618 static inline int w1_DS18S20_write_data(struct w1_slave *sl, in w1_DS18S20_write_data()
625 static inline int w1_DS18B20_set_resolution(struct w1_slave *sl, int val) in w1_DS18B20_set_resolution()
673 static inline int w1_DS18B20_get_resolution(struct w1_slave *sl) in w1_DS18B20_get_resolution()
844 static struct w1_therm_family_converter *device_family(struct w1_slave *sl) in device_family()
892 static int check_family_data(struct w1_slave *sl) in check_family_data()
908 static inline bool bulk_read_support(struct w1_slave *sl) in bulk_read_support()
929 static inline int conversion_time(struct w1_slave *sl) in conversion_time()
949 static inline int temperature_from_RAM(struct w1_slave *sl, u8 rom[9]) in temperature_from_RAM()
981 static int w1_therm_add_slave(struct w1_slave *sl) in w1_therm_add_slave()
1048 static void w1_therm_remove_slave(struct w1_slave *sl) in w1_therm_remove_slave()
1071 static int reset_select_slave(struct w1_slave *sl) in reset_select_slave()
1113 static int convert_t(struct w1_slave *sl, struct therm_info *info) in convert_t()
1215 static int conv_time_measure(struct w1_slave *sl, int *conv_time) in conv_time_measure()
1285 static int read_scratchpad(struct w1_slave *sl, struct therm_info *info) in read_scratchpad()
1339 static int write_scratchpad(struct w1_slave *sl, const u8 *data, u8 nb_bytes) in write_scratchpad()
1372 static int copy_scratchpad(struct w1_slave *sl) in copy_scratchpad()
1426 static int recall_eeprom(struct w1_slave *sl) in recall_eeprom()
1461 static int read_powermode(struct w1_slave *sl) in read_powermode()
1501 struct w1_slave *sl = NULL; /* used to iterate through slaves */ in trigger_bulk_read()
1594 struct w1_slave *sl = dev_to_w1_slave(device); in w1_slave_show()
1648 struct w1_slave *sl = dev_to_w1_slave(device); in w1_slave_store()
1686 struct w1_slave *sl = dev_to_w1_slave(device); in temperature_show()
1724 struct w1_slave *sl = dev_to_w1_slave(device); in ext_power_show()
1746 struct w1_slave *sl = dev_to_w1_slave(device); in resolution_show()
1768 struct w1_slave *sl = dev_to_w1_slave(device); in resolution_store()
1807 struct w1_slave *sl = dev_to_w1_slave(device); in eeprom_cmd_store()
1827 struct w1_slave *sl = dev_to_w1_slave(device); in alarms_show()
1849 struct w1_slave *sl = dev_to_w1_slave(device); in alarms_store()
1968 struct w1_slave *sl = NULL; in therm_bulk_read_show()
1991 struct w1_slave *sl = dev_to_w1_slave(device); in conv_time_show()
2005 struct w1_slave *sl = dev_to_w1_slave(device); in conv_time_store()
2033 struct w1_slave *sl = dev_to_w1_slave(device); in features_show()
2048 struct w1_slave *sl = dev_to_w1_slave(device); in features_store()
2082 struct w1_slave *sl = dev_get_drvdata(device); in w1_read_temp()
2122 struct w1_slave *sl = dev_to_w1_slave(device); in w1_seq_show()