Searched refs:new_custom (Results 1 – 1 of 1) sorted by relevance
422 struct ltc2983_custom_sensor *new_custom; in __ltc2983_custom_sensor_new() local441 new_custom = devm_kzalloc(dev, sizeof(*new_custom), GFP_KERNEL); in __ltc2983_custom_sensor_new()442 if (!new_custom) in __ltc2983_custom_sensor_new()445 new_custom->size = n_entries * n_size; in __ltc2983_custom_sensor_new()464 if (!new_custom->table) in __ltc2983_custom_sensor_new()479 cpu_to_be32_array(new_custom->table, new_custom->table, n_entries); in __ltc2983_custom_sensor_new()499 new_custom->is_steinhart = is_steinhart; in __ltc2983_custom_sensor_new()512 new_custom->offset = st->custom_table_size / in __ltc2983_custom_sensor_new()514 st->custom_table_size += new_custom->size; in __ltc2983_custom_sensor_new()517 new_custom->offset = -1; in __ltc2983_custom_sensor_new()[all …]