Lines Matching refs:rtn
675 bool rtn = true; in arcmsr_alloc_io_queue() local
751 return rtn; in arcmsr_alloc_io_queue()
3454 bool rtn = false; in arcmsr_get_firmware_spec() local
3458 rtn = arcmsr_hbaA_get_config(acb); in arcmsr_get_firmware_spec()
3461 rtn = arcmsr_hbaB_get_config(acb); in arcmsr_get_firmware_spec()
3464 rtn = arcmsr_hbaC_get_config(acb); in arcmsr_get_firmware_spec()
3467 rtn = arcmsr_hbaD_get_config(acb); in arcmsr_get_firmware_spec()
3470 rtn = arcmsr_hbaE_get_config(acb); in arcmsr_get_firmware_spec()
3473 rtn = arcmsr_hbaF_get_config(acb); in arcmsr_get_firmware_spec()
3486 return rtn; in arcmsr_get_firmware_spec()
3496 int rtn; in arcmsr_hbaA_polling_ccbdone() local
3507 rtn = SUCCESS; in arcmsr_hbaA_polling_ccbdone()
3512 rtn = FAILED; in arcmsr_hbaA_polling_ccbdone()
3547 return rtn; in arcmsr_hbaA_polling_ccbdone()
3557 int index, rtn; in arcmsr_hbaB_polling_ccbdone() local
3570 rtn = SUCCESS; in arcmsr_hbaB_polling_ccbdone()
3575 rtn = FAILED; in arcmsr_hbaB_polling_ccbdone()
3616 return rtn; in arcmsr_hbaB_polling_ccbdone()
3628 int rtn; in arcmsr_hbaC_polling_ccbdone() local
3636 rtn = SUCCESS; in arcmsr_hbaC_polling_ccbdone()
3641 rtn = FAILED; in arcmsr_hbaC_polling_ccbdone()
3678 return rtn; in arcmsr_hbaC_polling_ccbdone()
3686 int rtn, doneq_index, index_stripped, outbound_write_pointer, toggle; in arcmsr_hbaD_polling_ccbdone() local
3701 rtn = SUCCESS; in arcmsr_hbaD_polling_ccbdone()
3706 rtn = FAILED; in arcmsr_hbaD_polling_ccbdone()
3754 return rtn; in arcmsr_hbaD_polling_ccbdone()
3764 int rtn; in arcmsr_hbaE_polling_ccbdone() local
3777 rtn = SUCCESS; in arcmsr_hbaE_polling_ccbdone()
3782 rtn = FAILED; in arcmsr_hbaE_polling_ccbdone()
3823 return rtn; in arcmsr_hbaE_polling_ccbdone()
3829 int rtn = 0; in arcmsr_polling_ccbdone() local
3833 rtn = arcmsr_hbaA_polling_ccbdone(acb, poll_ccb); in arcmsr_polling_ccbdone()
3836 rtn = arcmsr_hbaB_polling_ccbdone(acb, poll_ccb); in arcmsr_polling_ccbdone()
3839 rtn = arcmsr_hbaC_polling_ccbdone(acb, poll_ccb); in arcmsr_polling_ccbdone()
3842 rtn = arcmsr_hbaD_polling_ccbdone(acb, poll_ccb); in arcmsr_polling_ccbdone()
3846 rtn = arcmsr_hbaE_polling_ccbdone(acb, poll_ccb); in arcmsr_polling_ccbdone()
3849 return rtn; in arcmsr_polling_ccbdone()
4490 bool rtn = true; in arcmsr_reset_in_progress() local
4495 rtn = ((readl(®->outbound_msgaddr1) & in arcmsr_reset_in_progress()
4501 rtn = ((readl(reg->iop2drv_doorbell) & in arcmsr_reset_in_progress()
4507 rtn = (readl(®->host_diagnostic) & 0x04) ? true : false; in arcmsr_reset_in_progress()
4512 rtn = ((readl(reg->sample_at_reset) & 0x80) == 0) ? in arcmsr_reset_in_progress()
4519 rtn = (readl(®->host_diagnostic_3xxx) & in arcmsr_reset_in_progress()
4524 return rtn; in arcmsr_reset_in_progress()
4582 int rtn = FAILED; in arcmsr_bus_reset() local
4620 rtn = SUCCESS; in arcmsr_bus_reset()
4627 rtn = SUCCESS; in arcmsr_bus_reset()
4629 return rtn; in arcmsr_bus_reset()
4635 int rtn; in arcmsr_abort_one_cmd() local
4636 rtn = arcmsr_polling_ccbdone(acb, ccb); in arcmsr_abort_one_cmd()
4637 return rtn; in arcmsr_abort_one_cmd()
4645 int rtn = FAILED; in arcmsr_abort() local
4663 return rtn; in arcmsr_abort()
4671 rtn = arcmsr_abort_one_cmd(acb, ccb); in arcmsr_abort()
4677 return rtn; in arcmsr_abort()