Lines Matching refs:status
100 int status; in ca_write_display() local
108 status = uscsi_mode_sense(cur_file, DAD_MODE_CACHE, in ca_write_display()
112 if (status == 0) { in ca_write_display()
129 int status; in ca_write_enable() local
139 status = uscsi_mode_sense(cur_file, DAD_MODE_CACHE, in ca_write_enable()
143 if (status == 0) { in ca_write_enable()
145 status = uscsi_mode_sense(cur_file, DAD_MODE_CACHE, in ca_write_enable()
148 if (status != 0) { in ca_write_enable()
149 status = uscsi_mode_sense(cur_file, in ca_write_enable()
154 if (status == 0) { in ca_write_enable()
167 status = uscsi_mode_select(cur_file, in ca_write_enable()
170 if (status != 0) { in ca_write_enable()
179 if (status != 0) { in ca_write_enable()
190 int status; in ca_write_disable() local
200 status = uscsi_mode_sense(cur_file, DAD_MODE_CACHE, in ca_write_disable()
204 if (status == 0) { in ca_write_disable()
206 status = uscsi_mode_sense(cur_file, DAD_MODE_CACHE, in ca_write_disable()
209 if (status != 0) { in ca_write_disable()
210 status = uscsi_mode_sense(cur_file, in ca_write_disable()
215 if (status == 0) { in ca_write_disable()
228 status = uscsi_mode_select(cur_file, in ca_write_disable()
231 if (status != 0) { in ca_write_disable()
240 if (status != 0) { in ca_write_disable()
251 int status; in ca_read_display() local
259 status = uscsi_mode_sense(cur_file, DAD_MODE_CACHE, in ca_read_display()
263 if (status == 0) { in ca_read_display()
280 int status; in ca_read_enable() local
290 status = uscsi_mode_sense(cur_file, DAD_MODE_CACHE, in ca_read_enable()
294 if (status == 0) { in ca_read_enable()
296 status = uscsi_mode_sense(cur_file, DAD_MODE_CACHE, in ca_read_enable()
299 if (status != 0) { in ca_read_enable()
300 status = uscsi_mode_sense(cur_file, in ca_read_enable()
305 if (status == 0) { in ca_read_enable()
318 status = uscsi_mode_select(cur_file, in ca_read_enable()
321 if (status != 0) { in ca_read_enable()
330 if (status != 0) { in ca_read_enable()
341 int status; in ca_read_disable() local
351 status = uscsi_mode_sense(cur_file, DAD_MODE_CACHE, in ca_read_disable()
355 if (status == 0) { in ca_read_disable()
357 status = uscsi_mode_sense(cur_file, DAD_MODE_CACHE, in ca_read_disable()
360 if (status != 0) { in ca_read_disable()
361 status = uscsi_mode_sense(cur_file, in ca_read_disable()
366 if (status == 0) { in ca_read_disable()
379 status = uscsi_mode_select(cur_file, in ca_read_disable()
382 if (status != 0) { in ca_read_disable()
391 if (status != 0) { in ca_read_disable()