Lines Matching refs:family_data

102 	(((struct w1_therm_family_data *)(sl->family_data))->specific_functions)
109 (((struct w1_therm_family_data *)(sl->family_data))->external_powered)
116 (((struct w1_therm_family_data *)(sl->family_data))->resolution)
123 (((struct w1_therm_family_data *)(sl->family_data))->conv_time_override)
130 (((struct w1_therm_family_data *)(sl->family_data))->features)
139 (((struct w1_therm_family_data *)(sl->family_data))->convert_triggered)
142 #define THERM_REFCNT(family_data) \ argument
143 (&((struct w1_therm_family_data *)family_data)->refcnt)
532 if (!sl->family_data) in w1_DS18B20_convert_time()
568 if (!sl->family_data) in w1_DS18S20_convert_time()
581 if (!sl->family_data) in w1_DS1825_convert_time()
894 if ((!sl->family_data) || (!SLAVE_SPECIFIC_FUNC(sl))) { in check_family_data()
986 sl->family_data = kzalloc(sizeof(struct w1_therm_family_data), in w1_therm_add_slave()
988 if (!sl->family_data) in w1_therm_add_slave()
991 atomic_set(THERM_REFCNT(sl->family_data), 1); in w1_therm_add_slave()
996 kfree(sl->family_data); in w1_therm_add_slave()
1050 int refcnt = atomic_sub_return(1, THERM_REFCNT(sl->family_data)); in w1_therm_remove_slave()
1062 refcnt = atomic_read(THERM_REFCNT(sl->family_data)); in w1_therm_remove_slave()
1064 kfree(sl->family_data); in w1_therm_remove_slave()
1065 sl->family_data = NULL; in w1_therm_remove_slave()
1121 if (!sl->family_data) in convert_t()
1141 atomic_inc(THERM_REFCNT(sl->family_data)); in convert_t()
1210 atomic_dec(THERM_REFCNT(sl->family_data)); in convert_t()
1224 if (!sl->family_data) in conv_time_measure()
1239 atomic_inc(THERM_REFCNT(sl->family_data)); in conv_time_measure()
1280 atomic_dec(THERM_REFCNT(sl->family_data)); in conv_time_measure()
1293 if (!sl->family_data) in read_scratchpad()
1299 atomic_inc(THERM_REFCNT(sl->family_data)); in read_scratchpad()
1334 atomic_dec(THERM_REFCNT(sl->family_data)); in read_scratchpad()
1345 if (!sl->family_data) in write_scratchpad()
1349 atomic_inc(THERM_REFCNT(sl->family_data)); in write_scratchpad()
1367 atomic_dec(THERM_REFCNT(sl->family_data)); in write_scratchpad()
1379 if (!sl->family_data) in copy_scratchpad()
1388 atomic_inc(THERM_REFCNT(sl->family_data)); in copy_scratchpad()
1421 atomic_dec(THERM_REFCNT(sl->family_data)); in copy_scratchpad()
1432 if (!sl->family_data) in recall_eeprom()
1436 atomic_inc(THERM_REFCNT(sl->family_data)); in recall_eeprom()
1456 atomic_dec(THERM_REFCNT(sl->family_data)); in recall_eeprom()
1467 if (!sl->family_data) in read_powermode()
1471 atomic_inc(THERM_REFCNT(sl->family_data)); in read_powermode()
1494 atomic_dec(THERM_REFCNT(sl->family_data)); in read_powermode()
1513 if (!sl->family_data) in trigger_bulk_read()
1596 u8 *family_data = sl->family_data; in w1_slave_show() local
1628 memcpy(family_data, info.rom, sizeof(info.rom)); in w1_slave_show()
1634 ((u8 *)family_data)[i]); in w1_slave_show()
1658 if ((!sl->family_data) || (!SLAVE_SPECIFIC_FUNC(sl))) { in w1_slave_store()
1690 if ((!sl->family_data) || (!SLAVE_SPECIFIC_FUNC(sl))) { in temperature_show()
1726 if (!sl->family_data) { in ext_power_show()
1748 if ((!sl->family_data) || (!SLAVE_SPECIFIC_FUNC(sl))) { in resolution_show()
1780 if ((!sl->family_data) || (!SLAVE_SPECIFIC_FUNC(sl))) { in resolution_store()
1972 if (sl->family_data) { in therm_bulk_read_show()
1993 if ((!sl->family_data) || (!SLAVE_SPECIFIC_FUNC(sl))) { in conv_time_show()
2035 if ((!sl->family_data) || (!SLAVE_SPECIFIC_FUNC(sl))) { in features_show()
2054 if ((!sl->family_data) || (!SLAVE_SPECIFIC_FUNC(sl))) { in features_store()