Searched refs:n_wires (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/iio/temperature/ |
H A D | ltc2983.c | 700 u32 excitation_current = 0, n_wires = 0; in ltc2983_rtd_new() local 718 ret = of_property_read_u32(child, "adi,number-of-wires", &n_wires); in ltc2983_rtd_new() 720 switch (n_wires) { in ltc2983_rtd_new() 735 dev_err(dev, "Invalid number of wires:%u\n", n_wires); in ltc2983_rtd_new() 744 if (n_wires == 2 || n_wires == 3) { in ltc2983_rtd_new()
|
/kernel/linux/linux-6.6/drivers/iio/temperature/ |
H A D | ltc2983.c | 754 u32 excitation_current = 0, n_wires = 0; in ltc2983_rtd_new() local 772 ret = fwnode_property_read_u32(child, "adi,number-of-wires", &n_wires); in ltc2983_rtd_new() 774 switch (n_wires) { in ltc2983_rtd_new() 789 dev_err(dev, "Invalid number of wires:%u\n", n_wires); in ltc2983_rtd_new() 798 if (n_wires == 2 || n_wires == 3) { in ltc2983_rtd_new()
|
Completed in 5 milliseconds