Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/temperature/
H A Dltc2983.c418 struct ltc2983_custom_sensor *new_custom; in __ltc2983_custom_sensor_new() local
438 new_custom = devm_kzalloc(dev, sizeof(*new_custom), GFP_KERNEL); in __ltc2983_custom_sensor_new()
439 if (!new_custom) in __ltc2983_custom_sensor_new()
442 new_custom->size = n_entries * n_size; in __ltc2983_custom_sensor_new()
454 st->custom_table_size, new_custom->size); in __ltc2983_custom_sensor_new()
463 if (!new_custom->table) in __ltc2983_custom_sensor_new()
478 cpu_to_be32_array(new_custom->table, new_custom->table, n_entries); in __ltc2983_custom_sensor_new()
498 new_custom->is_steinhart = is_steinhart; in __ltc2983_custom_sensor_new()
513 st->custom_table_size += new_custom->size; in __ltc2983_custom_sensor_new()
516 new_custom->offset = -1; in __ltc2983_custom_sensor_new()
[all …]