Home
last modified time | relevance | path

Searched refs:family_data (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/w1/slaves/
Dw1_therm.c68 #define THERM_REFCNT(family_data) \ argument
69 (&((struct w1_therm_family_data*)family_data)->refcnt)
73 sl->family_data = kzalloc(sizeof(struct w1_therm_family_data), in w1_therm_add_slave()
75 if (!sl->family_data) in w1_therm_add_slave()
77 atomic_set(THERM_REFCNT(sl->family_data), 1); in w1_therm_add_slave()
83 int refcnt = atomic_sub_return(1, THERM_REFCNT(sl->family_data)); in w1_therm_remove_slave()
86 refcnt = atomic_read(THERM_REFCNT(sl->family_data)); in w1_therm_remove_slave()
88 kfree(sl->family_data); in w1_therm_remove_slave()
89 sl->family_data = NULL; in w1_therm_remove_slave()
215 u8 *family_data = sl->family_data; in w1_slave_show() local
[all …]
Dw1_ds2433.c102 struct w1_f23_data *data = sl->family_data; in eeprom_read()
162 struct w1_f23_data *f23 = sl->family_data; in w1_f23_write()
284 sl->family_data = data; in w1_f23_add_slave()
293 kfree(sl->family_data); in w1_f23_remove_slave()
294 sl->family_data = NULL; in w1_f23_remove_slave()
Dw1_ds28e04.c126 struct w1_f1C_data *data = sl->family_data; in eeprom_read()
174 struct w1_f1C_data *f1C = sl->family_data; in w1_f1C_write()
408 sl->family_data = data; in w1_f1C_add_slave()
416 kfree(sl->family_data); in w1_f1C_remove_slave()
417 sl->family_data = NULL; in w1_f1C_remove_slave()
/linux-4.1.27/drivers/w1/
Dw1.h98 void *family_data; member