Lines Matching refs:result
339 int result = 0;
360 result = scsi_execute(sdev, scsi_cmd, DMA_FROM_DEVICE, cmd_buf,
366 dev_err(dev, "%s: Failed state result=%08x\n",
367 __func__, result);
372 if (driver_byte(result) == DRIVER_SENSE) {
373 result &= ~(0xFF<<24); /* DRIVER_SENSE is not an error */
374 if (result & SAM_STAT_CHECK_CONDITION) {
379 result &= ~SAM_STAT_CHECK_CONDITION;
401 if (result) {
402 dev_err(dev, "%s: command failed, result=%08x\n",
403 __func__, result);