Lines Matching refs:phandle
606 struct device_node *phandle; in ltc2983_thermocouple_new() local
654 phandle = of_parse_phandle(child, "adi,cold-junction-handle", 0); in ltc2983_thermocouple_new()
655 if (phandle) { in ltc2983_thermocouple_new()
658 ret = of_property_read_u32(phandle, "reg", in ltc2983_thermocouple_new()
666 of_node_put(phandle); in ltc2983_thermocouple_new()
679 of_node_put(phandle); in ltc2983_thermocouple_new()
688 of_node_put(phandle); in ltc2983_thermocouple_new()
699 struct device_node *phandle; in ltc2983_rtd_new() local
706 phandle = of_parse_phandle(child, "adi,rsense-handle", 0); in ltc2983_rtd_new()
707 if (!phandle) { in ltc2983_rtd_new()
712 ret = of_property_read_u32(phandle, "reg", &rtd->r_sense_chan); in ltc2983_rtd_new()
806 of_node_put(phandle); in ltc2983_rtd_new()
857 of_node_put(phandle); in ltc2983_rtd_new()
860 of_node_put(phandle); in ltc2983_rtd_new()
871 struct device_node *phandle; in ltc2983_thermistor_new() local
879 phandle = of_parse_phandle(child, "adi,rsense-handle", 0); in ltc2983_thermistor_new()
880 if (!phandle) { in ltc2983_thermistor_new()
885 ret = of_property_read_u32(phandle, "reg", &thermistor->r_sense_chan); in ltc2983_thermistor_new()
929 of_node_put(phandle); in ltc2983_thermistor_new()
1002 of_node_put(phandle); in ltc2983_thermistor_new()
1005 of_node_put(phandle); in ltc2983_thermistor_new()