Lines Matching refs:status

29 	int status = 0;  in do_main()  local
35 status = sensor_sample_fetch_chan(dev, in do_main()
37 if (status < 0) { in do_main()
42 status = sensor_channel_get(dev, SENSOR_CHAN_GAUGE_VOLTAGE, in do_main()
44 if (status < 0) { in do_main()
51 status = sensor_sample_fetch_chan(dev, in do_main()
53 if (status < 0) { in do_main()
58 status = sensor_channel_get(dev, SENSOR_CHAN_GAUGE_AVG_CURRENT, in do_main()
60 if (status < 0) { in do_main()
67 status = sensor_sample_fetch_chan(dev, in do_main()
69 if (status < 0) { in do_main()
74 status = sensor_channel_get(dev, in do_main()
77 if (status < 0) { in do_main()
84 status = sensor_sample_fetch_chan(dev, in do_main()
86 if (status < 0) { in do_main()
91 status = sensor_channel_get(dev, in do_main()
94 if (status < 0) { in do_main()
102 status = sensor_sample_fetch_chan(dev, in do_main()
104 if (status < 0) { in do_main()
109 status = sensor_channel_get(dev, in do_main()
112 if (status < 0) { in do_main()
119 status = sensor_sample_fetch_chan(dev, in do_main()
121 if (status < 0) { in do_main()
126 status = sensor_channel_get(dev, in do_main()
129 if (status < 0) { in do_main()
136 status = sensor_sample_fetch_chan(dev, in do_main()
138 if (status < 0) { in do_main()
143 status = sensor_channel_get(dev, SENSOR_CHAN_GAUGE_AVG_POWER, in do_main()
145 if (status < 0) { in do_main()
152 status = sensor_sample_fetch_chan(dev, in do_main()
154 if (status < 0) { in do_main()
159 status = sensor_channel_get(dev, in do_main()
162 if (status < 0) { in do_main()
170 status = sensor_sample_fetch_chan(dev, in do_main()
172 if (status < 0) { in do_main()
177 status = sensor_channel_get(dev, in do_main()
180 if (status < 0) { in do_main()
189 status = sensor_sample_fetch_chan(dev, SENSOR_CHAN_GAUGE_TEMP); in do_main()
190 if (status < 0) { in do_main()
195 status = sensor_channel_get(dev, SENSOR_CHAN_GAUGE_TEMP, in do_main()
197 if (status < 0) { in do_main()