Lines Matching full:steinhart
375 * entries of the table minus 1. For steinhart sensors 0 is written in __ltc2983_chan_custom_sensor_assign()
381 * Check if the offset was assigned already. It should be for steinhart in __ltc2983_chan_custom_sensor_assign()
388 * sensor, a steinhart sensor might have been added changing in __ltc2983_chan_custom_sensor_assign()
425 * For custom steinhart, the full u32 is taken. For all the others in __ltc2983_custom_sensor_new()
446 /* check Steinhart size */ in __ltc2983_custom_sensor_new()
449 "Steinhart sensors size(%zu) must be %u\n", in __ltc2983_custom_sensor_new()
468 * Steinhart sensors are configured with raw values in the firmware in __ltc2983_custom_sensor_new()
501 * This is done to first add all the steinhart sensors to the table, in __ltc2983_custom_sensor_new()
502 * in order to maximize the table usage. If we mix adding steinhart in __ltc2983_custom_sensor_new()
505 * (for steinhart), and a multiple of 6 for all the other sensors. in __ltc2983_custom_sensor_new()
506 * Since we have const 24 bytes for steinhart sensors and 24 is in __ltc2983_custom_sensor_new()
507 * also a multiple of 6, we guarantee that the first non-steinhart in __ltc2983_custom_sensor_new()
931 bool steinhart = false; in ltc2983_thermistor_new() local
935 steinhart = true; in ltc2983_thermistor_new()
936 propname = "adi,custom-steinhart"; in ltc2983_thermistor_new()
943 steinhart, in ltc2983_thermistor_new()