Searched refs:family_data (Results 1 – 8 of 8) sorted by relevance
56 #define THERM_REFCNT(family_data) \ argument57 (&((struct w1_therm_family_data *)family_data)->refcnt)61 sl->family_data = kzalloc(sizeof(struct w1_therm_family_data), in w1_therm_add_slave()63 if (!sl->family_data) in w1_therm_add_slave()65 atomic_set(THERM_REFCNT(sl->family_data), 1); in w1_therm_add_slave()71 int refcnt = atomic_sub_return(1, THERM_REFCNT(sl->family_data)); in w1_therm_remove_slave()75 refcnt = atomic_read(THERM_REFCNT(sl->family_data)); in w1_therm_remove_slave()77 kfree(sl->family_data); in w1_therm_remove_slave()78 sl->family_data = NULL; in w1_therm_remove_slave()255 u8 *family_data = sl->family_data; in w1_therm_eeprom() local[all …]
88 struct w1_f19_data *data = sl->family_data; in w1_f19_i2c_busy_wait()502 struct w1_f19_data *data = sl->family_data; in w1_f19_get_i2c_speed()534 struct w1_f19_data *data = sl->family_data; in __w1_f19_set_i2c_speed()633 struct w1_f19_data *data = sl->family_data; in stretch_show()643 struct w1_f19_data *data = sl->family_data; in stretch_store()689 sl->family_data = data; in w1_f19_add_slave()732 struct w1_f19_data *family_data = sl->family_data; in w1_f19_remove_slave() local735 i2c_del_adapter(&family_data->adapter); in w1_f19_remove_slave()738 devm_kfree(&sl->dev, family_data); in w1_f19_remove_slave()739 sl->family_data = NULL; in w1_f19_remove_slave()
95 struct w1_f23_data *data = sl->family_data; in eeprom_read()155 struct w1_f23_data *f23 = sl->family_data; in w1_f23_write()277 sl->family_data = data; in w1_f23_add_slave()286 kfree(sl->family_data); in w1_f23_remove_slave()287 sl->family_data = NULL; in w1_f23_remove_slave()
119 struct w1_f1C_data *data = sl->family_data; in eeprom_read()167 struct w1_f1C_data *f1C = sl->family_data; in w1_f1C_write()401 sl->family_data = data; in w1_f1C_add_slave()409 kfree(sl->family_data); in w1_f1C_remove_slave()410 sl->family_data = NULL; in w1_f1C_remove_slave()
48 struct w1_eprom_data *data = sl->family_data; in w1_ds2502_read_page()86 struct w1_eprom_data *data = sl->family_data; in w1_ds2505_read_page()143 struct w1_eprom_data *data = sl->family_data; in w1_nvmem_read()183 sl->family_data = data; in w1_eprom_add_slave()
76 void *family_data; member
729 sl->family_data = di; in w1_ds2760_add_slave()782 struct ds2760_device_info *di = sl->family_data; in w1_ds2760_remove_slave()
332 sl->family_data = (void *)info; in devm_w1_max1721x_add_device()