Searched refs:family_data (Results 1 – 7 of 7) sorted by relevance
70 #define THERM_REFCNT(family_data) \ argument71 (&((struct w1_therm_family_data *)family_data)->refcnt)75 sl->family_data = kzalloc(sizeof(struct w1_therm_family_data), in w1_therm_add_slave()77 if (!sl->family_data) in w1_therm_add_slave()79 atomic_set(THERM_REFCNT(sl->family_data), 1); in w1_therm_add_slave()85 int refcnt = atomic_sub_return(1, THERM_REFCNT(sl->family_data)); in w1_therm_remove_slave()89 refcnt = atomic_read(THERM_REFCNT(sl->family_data)); in w1_therm_remove_slave()91 kfree(sl->family_data); in w1_therm_remove_slave()92 sl->family_data = NULL; in w1_therm_remove_slave()269 u8 *family_data = sl->family_data; in w1_therm_eeprom() local[all …]
90 struct w1_f19_data *data = sl->family_data; in w1_f19_i2c_busy_wait()504 struct w1_f19_data *data = sl->family_data; in w1_f19_get_i2c_speed()536 struct w1_f19_data *data = sl->family_data; in __w1_f19_set_i2c_speed()635 struct w1_f19_data *data = sl->family_data; in stretch_show()645 struct w1_f19_data *data = sl->family_data; in stretch_store()691 sl->family_data = data; in w1_f19_add_slave()734 struct w1_f19_data *family_data = sl->family_data; in w1_f19_remove_slave() local737 i2c_del_adapter(&family_data->adapter); in w1_f19_remove_slave()740 devm_kfree(&sl->dev, family_data); in w1_f19_remove_slave()741 sl->family_data = NULL; in w1_f19_remove_slave()
97 struct w1_f23_data *data = sl->family_data; in eeprom_read()157 struct w1_f23_data *f23 = sl->family_data; in w1_f23_write()279 sl->family_data = data; in w1_f23_add_slave()288 kfree(sl->family_data); in w1_f23_remove_slave()289 sl->family_data = NULL; in w1_f23_remove_slave()
121 struct w1_f1C_data *data = sl->family_data; in eeprom_read()169 struct w1_f1C_data *f1C = sl->family_data; in w1_f1C_write()403 sl->family_data = data; in w1_f1C_add_slave()411 kfree(sl->family_data); in w1_f1C_remove_slave()412 sl->family_data = NULL; in w1_f1C_remove_slave()
85 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()