Home
last modified time | relevance | path

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

/linux/drivers/iio/temperature/
H A Dltc2983.c605 struct ltc2983_thermocouple *thermo = to_thermocouple(sensor); in ltc2983_thermocouple_assign_chan() local
608 chan_val = LTC2983_CHAN_ASSIGN(thermo->cold_junction_chan); in ltc2983_thermocouple_assign_chan()
609 chan_val |= LTC2983_THERMOCOUPLE_CFG(thermo->sensor_config); in ltc2983_thermocouple_assign_chan()
611 if (thermo->custom) { in ltc2983_thermocouple_assign_chan()
614 ret = __ltc2983_chan_custom_sensor_assign(st, thermo->custom, in ltc2983_thermocouple_assign_chan()
767 struct ltc2983_thermocouple *thermo; in ltc2983_thermocouple_new() local
771 thermo = devm_kzalloc(dev, sizeof(*thermo), GFP_KERNEL); in ltc2983_thermocouple_new()
772 if (!thermo) in ltc2983_thermocouple_new()
776 thermo->sensor_config = LTC2983_THERMOCOUPLE_SGL(1); in ltc2983_thermocouple_new()
788 thermo->sensor_config |= in ltc2983_thermocouple_new()
[all …]