Home
last modified time | relevance | path

Searched refs:io_ctx (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/scsi/aic7xxx/
Daic7xxx_osm.h552 ahc_cmd_set_transaction_status(scb->io_ctx,status); in ahc_set_transaction_status()
565 ahc_cmd_set_scsi_status(scb->io_ctx, status); in ahc_set_scsi_status()
577 return (ahc_cmd_get_transaction_status(scb->io_ctx)); in ahc_get_transaction_status()
589 return (ahc_cmd_get_scsi_status(scb->io_ctx)); in ahc_get_scsi_status()
610 return (scb->io_ctx->sc_data_direction); in ahc_get_transfer_dir()
616 scsi_set_resid(scb->io_ctx, resid); in ahc_set_residual()
628 return scsi_get_resid(scb->io_ctx); in ahc_get_residual()
673 if ((scb->io_ctx->result & (CAM_DEV_QFRZN << 16)) == 0) { in ahc_freeze_scb()
674 scb->io_ctx->result |= CAM_DEV_QFRZN << 16; in ahc_freeze_scb()
Daic79xx_osm.h534 ahd_cmd_set_transaction_status(scb->io_ctx,status); in ahd_set_transaction_status()
547 ahd_cmd_set_scsi_status(scb->io_ctx, status); in ahd_set_scsi_status()
559 return (ahd_cmd_get_transaction_status(scb->io_ctx)); in ahd_get_transaction_status()
571 return (ahd_cmd_get_scsi_status(scb->io_ctx)); in ahd_get_scsi_status()
592 return (scb->io_ctx->sc_data_direction); in ahd_get_transfer_dir()
598 scsi_set_resid(scb->io_ctx, resid); in ahd_set_residual()
610 return scsi_get_resid(scb->io_ctx); in ahd_get_residual()
657 if ((scb->io_ctx->result & (CAM_DEV_QFRZN << 16)) == 0) { in ahd_freeze_scb()
658 scb->io_ctx->result |= CAM_DEV_QFRZN << 16; in ahd_freeze_scb()
Daic7xxx_osm.c463 cmd = scb->io_ctx; in ahc_linux_unmap_scb()
1471 scb->io_ctx = cmd; in ahc_linux_run_command()
1717 cmd = scb->io_ctx; in ahc_done()
1757 } else if (amount_xferred < scb->io_ctx->underflow) { in ahc_done()
1762 for (i = 0; i < scb->io_ctx->cmd_len; i++) in ahc_done()
1763 printk(" 0x%x", scb->io_ctx->cmnd[i]); in ahc_done()
1847 cmd = scb->io_ctx; in ahc_linux_handle_scsi_status()
2122 if (pending_scb->io_ctx == cmd) in ahc_linux_queue_recovery_cmd()
Daic79xx_osm.c538 cmd = scb->io_ctx; in ahd_linux_unmap_scb()
833 reset_scb->io_ctx = cmd; in ahd_linux_dev_reset()
1592 scb->io_ctx = cmd; in ahd_linux_run_command()
1786 cmd = scb->io_ctx; in ahd_done()
1826 } else if (amount_xferred < scb->io_ctx->underflow) { in ahd_done()
1831 for (i = 0; i < scb->io_ctx->cmd_len; i++) in ahd_done()
1832 printk(" 0x%x", scb->io_ctx->cmnd[i]); in ahd_done()
1916 cmd = scb->io_ctx; in ahd_linux_handle_scsi_status()
2204 if (pending_scb->io_ctx == cmd) in ahd_linux_queue_abort_cmd()
Daic7xxx.h568 ahc_io_ctx_t io_ctx; member
Daic79xx.h607 ahd_io_ctx_t io_ctx; member
Daic7xxx_core.c1851 && scb->io_ctx->ccb_h.func_code== XPT_RESET_DEV in ahc_handle_scsiint()
4093 ahc_set_tags(ahc, scb->io_ctx, devinfo, AHC_QUEUE_NONE); in ahc_handle_msg_reject()
4101 ahc_set_tags(ahc, scb->io_ctx, devinfo, AHC_QUEUE_BASIC); in ahc_handle_msg_reject()
5772 group = XPT_FC_GROUP(scb->io_ctx->ccb_h.func_code); in ahc_match_scb()
5779 && ((tag == scb->io_ctx->csio.tag_id) in ahc_match_scb()
6129 || (ctx != NULL && ctx != scb->io_ctx)) in ahc_search_untagged_queues()
7664 ccbh = &scb->io_ctx->ccb_h; in ahc_handle_en_lun()
Daic79xx_core.c3123 && scb->io_ctx->ccb_h.func_code== XPT_RESET_DEV in ahd_handle_nonpkt_busfree()
5626 ahd_set_tags(ahd, scb->io_ctx, devinfo, AHD_QUEUE_NONE); in ahd_handle_msg_reject()
5634 ahd_set_tags(ahd, scb->io_ctx, devinfo, AHD_QUEUE_BASIC); in ahd_handle_msg_reject()
8049 group = XPT_FC_GROUP(scb->io_ctx->ccb_h.func_code); in ahd_match_scb()
8056 && ((tag == scb->io_ctx->csio.tag_id) in ahd_match_scb()
10526 ccbh = &scb->io_ctx->ccb_h; in ahd_handle_en_lun()