Home
last modified time | relevance | path

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

/Linux-v5.4/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()
1468 scb->io_ctx = cmd; in ahc_linux_run_command()
1714 cmd = scb->io_ctx; in ahc_done()
1754 } else if (amount_xferred < scb->io_ctx->underflow) { in ahc_done()
1759 for (i = 0; i < scb->io_ctx->cmd_len; i++) in ahc_done()
1760 printk(" 0x%x", scb->io_ctx->cmnd[i]); in ahc_done()
1844 cmd = scb->io_ctx; in ahc_linux_handle_scsi_status()
2119 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()
1591 scb->io_ctx = cmd; in ahd_linux_run_command()
1785 cmd = scb->io_ctx; in ahd_done()
1825 } else if (amount_xferred < scb->io_ctx->underflow) { in ahd_done()
1830 for (i = 0; i < scb->io_ctx->cmd_len; i++) in ahd_done()
1831 printk(" 0x%x", scb->io_ctx->cmnd[i]); in ahd_done()
1915 cmd = scb->io_ctx; in ahd_linux_handle_scsi_status()
2203 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.c1844 && scb->io_ctx->ccb_h.func_code== XPT_RESET_DEV in ahc_handle_scsiint()
4086 ahc_set_tags(ahc, scb->io_ctx, devinfo, AHC_QUEUE_NONE); in ahc_handle_msg_reject()
4094 ahc_set_tags(ahc, scb->io_ctx, devinfo, AHC_QUEUE_BASIC); in ahc_handle_msg_reject()
5739 group = XPT_FC_GROUP(scb->io_ctx->ccb_h.func_code); in ahc_match_scb()
5746 && ((tag == scb->io_ctx->csio.tag_id) in ahc_match_scb()
6096 || (ctx != NULL && ctx != scb->io_ctx)) in ahc_search_untagged_queues()
7631 ccbh = &scb->io_ctx->ccb_h; in ahc_handle_en_lun()
Daic79xx_core.c3117 && scb->io_ctx->ccb_h.func_code== XPT_RESET_DEV in ahd_handle_nonpkt_busfree()
5620 ahd_set_tags(ahd, scb->io_ctx, devinfo, AHD_QUEUE_NONE); in ahd_handle_msg_reject()
5628 ahd_set_tags(ahd, scb->io_ctx, devinfo, AHD_QUEUE_BASIC); in ahd_handle_msg_reject()
8008 group = XPT_FC_GROUP(scb->io_ctx->ccb_h.func_code); in ahd_match_scb()
8015 && ((tag == scb->io_ctx->csio.tag_id) in ahd_match_scb()
10486 ccbh = &scb->io_ctx->ccb_h; in ahd_handle_en_lun()