Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/temperature/
H A Dltc2983.c503 struct ltc2983_thermocouple *thermo = to_thermocouple(sensor); in ltc2983_thermocouple_assign_chan() local
506 chan_val = LTC2983_CHAN_ASSIGN(thermo->cold_junction_chan); in ltc2983_thermocouple_assign_chan()
507 chan_val |= LTC2983_THERMOCOUPLE_CFG(thermo->sensor_config); in ltc2983_thermocouple_assign_chan()
509 if (thermo->custom) { in ltc2983_thermocouple_assign_chan()
512 ret = __ltc2983_chan_custom_sensor_assign(st, thermo->custom, in ltc2983_thermocouple_assign_chan()
605 struct ltc2983_thermocouple *thermo; in ltc2983_thermocouple_new() local
610 thermo = devm_kzalloc(&st->spi->dev, sizeof(*thermo), GFP_KERNEL); in ltc2983_thermocouple_new()
611 if (!thermo) in ltc2983_thermocouple_new()
615 thermo in ltc2983_thermocouple_new()
[all...]
/kernel/linux/linux-6.6/drivers/iio/temperature/
H A Dltc2983.c541 struct ltc2983_thermocouple *thermo = to_thermocouple(sensor); in ltc2983_thermocouple_assign_chan() local
544 chan_val = LTC2983_CHAN_ASSIGN(thermo->cold_junction_chan); in ltc2983_thermocouple_assign_chan()
545 chan_val |= LTC2983_THERMOCOUPLE_CFG(thermo->sensor_config); in ltc2983_thermocouple_assign_chan()
547 if (thermo->custom) { in ltc2983_thermocouple_assign_chan()
550 ret = __ltc2983_chan_custom_sensor_assign(st, thermo->custom, in ltc2983_thermocouple_assign_chan()
658 struct ltc2983_thermocouple *thermo; in ltc2983_thermocouple_new() local
663 thermo = devm_kzalloc(&st->spi->dev, sizeof(*thermo), GFP_KERNEL); in ltc2983_thermocouple_new()
664 if (!thermo) in ltc2983_thermocouple_new()
668 thermo in ltc2983_thermocouple_new()
[all...]

Completed in 4 milliseconds