Lines Matching refs:status

24 	int status;  in sbs_cmd_reg_read()  local
27 status = i2c_burst_read_dt(&cfg->i2c, reg_addr, i2c_data, in sbs_cmd_reg_read()
29 if (status < 0) { in sbs_cmd_reg_read()
31 return status; in sbs_cmd_reg_read()
129 int status = 0; in sbs_gauge_sample_fetch() local
135 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
138 if (status < 0) { in sbs_gauge_sample_fetch()
144 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
147 if (status < 0) { in sbs_gauge_sample_fetch()
153 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
156 if (status < 0) { in sbs_gauge_sample_fetch()
162 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
165 if (status < 0) { in sbs_gauge_sample_fetch()
171 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
174 if (status < 0) { in sbs_gauge_sample_fetch()
180 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
183 if (status < 0) { in sbs_gauge_sample_fetch()
189 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
192 if (status < 0) { in sbs_gauge_sample_fetch()
198 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
201 if (status < 0) { in sbs_gauge_sample_fetch()
207 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
212 if (status < 0) { in sbs_gauge_sample_fetch()
218 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
223 if (status < 0) { in sbs_gauge_sample_fetch()
229 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
234 if (status < 0) { in sbs_gauge_sample_fetch()
241 status = sbs_gauge_sample_fetch(dev, all_channels[i]); in sbs_gauge_sample_fetch()
242 if (status != 0) { in sbs_gauge_sample_fetch()
253 return status; in sbs_gauge_sample_fetch()