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_DS18B20_write_data(struct w1_slave *sl, in w1_DS18B20_write_data()
583 static inline int w1_DS18S20_write_data(struct w1_slave *sl, in w1_DS18S20_write_data()
590 static inline int w1_DS18B20_set_resolution(struct w1_slave *sl, int val) in w1_DS18B20_set_resolution()
637 static inline int w1_DS18B20_get_resolution(struct w1_slave *sl) in w1_DS18B20_get_resolution()
778 static struct w1_therm_family_converter *device_family(struct w1_slave *sl) in device_family()
826 static int check_family_data(struct w1_slave *sl) in check_family_data()
842 static inline bool bulk_read_support(struct w1_slave *sl) in bulk_read_support()
863 static inline int conversion_time(struct w1_slave *sl) in conversion_time()
883 static inline int temperature_from_RAM(struct w1_slave *sl, u8 rom[9]) in temperature_from_RAM()
915 static int w1_therm_add_slave(struct w1_slave *sl) in w1_therm_add_slave()
982 static void w1_therm_remove_slave(struct w1_slave *sl) in w1_therm_remove_slave()
1005 static int reset_select_slave(struct w1_slave *sl) in reset_select_slave()
1047 static int convert_t(struct w1_slave *sl, struct therm_info *info) in convert_t()
1149 static int conv_time_measure(struct w1_slave *sl, int *conv_time) in conv_time_measure()
1219 static int read_scratchpad(struct w1_slave *sl, struct therm_info *info) in read_scratchpad()
1273 static int write_scratchpad(struct w1_slave *sl, const u8 *data, u8 nb_bytes) in write_scratchpad()
1306 static int copy_scratchpad(struct w1_slave *sl) in copy_scratchpad()
1360 static int recall_eeprom(struct w1_slave *sl) in recall_eeprom()
1395 static int read_powermode(struct w1_slave *sl) in read_powermode()
1435 struct w1_slave *sl = NULL; /* used to iterate through slaves */ in trigger_bulk_read()
1528 struct w1_slave *sl = dev_to_w1_slave(device); in w1_slave_show()
1582 struct w1_slave *sl = dev_to_w1_slave(device); in w1_slave_store()
1620 struct w1_slave *sl = dev_to_w1_slave(device); in temperature_show()
1658 struct w1_slave *sl = dev_to_w1_slave(device); in ext_power_show()
1680 struct w1_slave *sl = dev_to_w1_slave(device); in resolution_show()
1702 struct w1_slave *sl = dev_to_w1_slave(device); in resolution_store()
1741 struct w1_slave *sl = dev_to_w1_slave(device); in eeprom_cmd_store()
1761 struct w1_slave *sl = dev_to_w1_slave(device); in alarms_show()
1783 struct w1_slave *sl = dev_to_w1_slave(device); in alarms_store()
1903 struct w1_slave *sl = NULL; in therm_bulk_read_show()
1926 struct w1_slave *sl = dev_to_w1_slave(device); in conv_time_show()
1940 struct w1_slave *sl = dev_to_w1_slave(device); in conv_time_store()
1968 struct w1_slave *sl = dev_to_w1_slave(device); in features_show()
1983 struct w1_slave *sl = dev_to_w1_slave(device); in features_store()
2017 struct w1_slave *sl = dev_get_drvdata(device); in w1_read_temp()
2057 struct w1_slave *sl = dev_to_w1_slave(device); in w1_seq_show()