Home
last modified time | relevance | path

Searched refs:rtn (Results 1 – 11 of 11) sorted by relevance

/drivers/scsi/
Dscsi_error.c171 enum scsi_disposition rtn; in scmd_eh_abort_handler() local
182 rtn = scsi_try_to_abort_cmd(sdev->host->hostt, scmd); in scmd_eh_abort_handler()
183 if (rtn == SUCCESS) { in scmd_eh_abort_handler()
211 (rtn == FAST_IO_FAIL) ? in scmd_eh_abort_handler()
333 enum blk_eh_timer_return rtn = BLK_EH_DONE; in scsi_times_out() local
343 rtn = host->hostt->eh_timed_out(scmd); in scsi_times_out()
345 if (rtn == BLK_EH_DONE) { in scsi_times_out()
358 return rtn; in scsi_times_out()
827 enum scsi_disposition rtn; in scsi_try_host_reset() local
837 rtn = hostt->eh_host_reset_handler(scmd); in scsi_try_host_reset()
[all …]
Dscsi_lib.c1457 int rtn = 0; in scsi_dispatch_cmd() local
1512 rtn = host->hostt->queuecommand(host, cmd); in scsi_dispatch_cmd()
1513 if (rtn) { in scsi_dispatch_cmd()
1515 trace_scsi_dispatch_cmd_error(cmd, rtn); in scsi_dispatch_cmd()
1516 if (rtn != SCSI_MLQUEUE_DEVICE_BUSY && in scsi_dispatch_cmd()
1517 rtn != SCSI_MLQUEUE_TARGET_BUSY) in scsi_dispatch_cmd()
1518 rtn = SCSI_MLQUEUE_HOST_BUSY; in scsi_dispatch_cmd()
1524 return rtn; in scsi_dispatch_cmd()
/drivers/i2c/busses/
Di2c-eg20t.c378 s32 rtn; in pch_i2c_writebytes() local
402 rtn = pch_i2c_wait_for_check_xfer(adap); in pch_i2c_writebytes()
403 if (rtn) in pch_i2c_writebytes()
404 return rtn; in pch_i2c_writebytes()
415 rtn = pch_i2c_wait_for_check_xfer(adap); in pch_i2c_writebytes()
416 if (rtn) in pch_i2c_writebytes()
417 return rtn; in pch_i2c_writebytes()
424 rtn = pch_i2c_wait_for_check_xfer(adap); in pch_i2c_writebytes()
425 if (rtn) in pch_i2c_writebytes()
426 return rtn; in pch_i2c_writebytes()
[all …]
/drivers/staging/unisys/visorhba/
Dvisorhba_main.c319 int rtn; in visorhba_abort_handler() local
327 rtn = forward_taskmgmt_command(TASK_MGMT_ABORT_TASK, scsidev); in visorhba_abort_handler()
328 if (rtn == SUCCESS) { in visorhba_abort_handler()
332 return rtn; in visorhba_abort_handler()
346 int rtn; in visorhba_device_reset_handler() local
354 rtn = forward_taskmgmt_command(TASK_MGMT_LUN_RESET, scsidev); in visorhba_device_reset_handler()
355 if (rtn == SUCCESS) { in visorhba_device_reset_handler()
359 return rtn; in visorhba_device_reset_handler()
373 int rtn; in visorhba_bus_reset_handler() local
383 rtn = forward_taskmgmt_command(TASK_MGMT_BUS_RESET, scsidev); in visorhba_bus_reset_handler()
[all …]
/drivers/w1/masters/
Domap_hdq.c146 goto rtn; in hdq_write_byte()
190 rtn: in hdq_write_byte()
247 goto rtn; in omap_hdq_break()
304 rtn: in omap_hdq_break()
316 goto rtn; in hdq_read_byte()
356 rtn: in hdq_read_byte()
385 goto rtn; in omap_w1_triplet()
453 rtn: in omap_w1_triplet()
/drivers/scsi/arcmsr/
Darcmsr_hba.c675 bool rtn = true; in arcmsr_alloc_io_queue() local
751 return rtn; in arcmsr_alloc_io_queue()
3458 bool rtn = false; in arcmsr_get_firmware_spec() local
3462 rtn = arcmsr_hbaA_get_config(acb); in arcmsr_get_firmware_spec()
3465 rtn = arcmsr_hbaB_get_config(acb); in arcmsr_get_firmware_spec()
3468 rtn = arcmsr_hbaC_get_config(acb); in arcmsr_get_firmware_spec()
3471 rtn = arcmsr_hbaD_get_config(acb); in arcmsr_get_firmware_spec()
3474 rtn = arcmsr_hbaE_get_config(acb); in arcmsr_get_firmware_spec()
3477 rtn = arcmsr_hbaF_get_config(acb); in arcmsr_get_firmware_spec()
3490 return rtn; in arcmsr_get_firmware_spec()
[all …]
/drivers/spi/
Dspi-topcliff-pch.c774 int rtn; in pch_spi_start_transfer() local
789 rtn = wait_event_interruptible_timeout(data->wait, in pch_spi_start_transfer()
792 if (!rtn) in pch_spi_start_transfer()
822 return rtn; in pch_spi_start_transfer()
/drivers/scsi/bfa/
Dbfad_im.c377 u32 rc, rtn = FAILED; in bfad_im_reset_target_handler() local
399 rtn = SUCCESS; in bfad_im_reset_target_handler()
404 return rtn; in bfad_im_reset_target_handler()
/drivers/tty/serial/
Dpch_uart.c1351 int rtn; in pch_uart_set_termios() local
1399 rtn = pch_uart_hal_set_line(priv, baud, parity, bits, stb); in pch_uart_set_termios()
1400 if (rtn) in pch_uart_set_termios()
/drivers/scsi/aic7xxx/
Daic7xxx_osm.c526 int rtn = SCSI_MLQUEUE_HOST_BUSY; in ahc_linux_queue_lck() local
535 rtn = ahc_linux_run_command(ahc, dev, cmd); in ahc_linux_queue_lck()
539 return rtn; in ahc_linux_queue_lck()
Daic79xx_osm.c580 int rtn = SCSI_MLQUEUE_HOST_BUSY; in ahd_linux_queue_lck() local
586 rtn = ahd_linux_run_command(ahd, dev, cmd); in ahd_linux_queue_lck()
588 return rtn; in ahd_linux_queue_lck()