Lines Matching refs:result
190 int errno, retries = 0, timeout, result;
198 result = scsi_execute_req(ch->device, cmd, direction, buffer,
202 if (driver_byte(result) == DRIVER_SENSE) {
239 int result;
255 if (0 == (result = ch_do_scsi(ch, cmd, 12,
273 return result;
296 int result,id,lun,i;
308 result = ch_do_scsi(ch, cmd, 10, buffer, 255, DMA_FROM_DEVICE);
309 if (0 != result) {
311 result = ch_do_scsi(ch, cmd, 10, buffer, 255, DMA_FROM_DEVICE);
313 if (0 == result) {
508 int result;
533 result = ch_do_scsi(ch, cmd, 12, buffer, 256, DMA_TO_DEVICE);
535 return result;
757 int result,i;
782 result = ch_do_scsi(ch, ch_cmd, 12,
784 if (!result) {
826 return result;