Lines Matching refs:scb

507 void ahd_set_transaction_status(struct scb *scb, uint32_t status)
509 ahd_cmd_set_transaction_status(scb->io_ctx,status);
520 void ahd_set_scsi_status(struct scb *scb, uint32_t status)
522 ahd_cmd_set_scsi_status(scb->io_ctx, status);
532 uint32_t ahd_get_transaction_status(struct scb *scb)
534 return (ahd_cmd_get_transaction_status(scb->io_ctx));
544 uint32_t ahd_get_scsi_status(struct scb *scb)
546 return (ahd_cmd_get_scsi_status(scb->io_ctx));
550 void ahd_set_transaction_tag(struct scb *scb, int enabled, u_int type)
559 u_long ahd_get_transfer_length(struct scb *scb)
561 return (scb->platform_data->xfer_len);
565 int ahd_get_transfer_dir(struct scb *scb)
567 return (scb->io_ctx->sc_data_direction);
571 void ahd_set_residual(struct scb *scb, u_long resid)
573 scsi_set_resid(scb->io_ctx, resid);
577 void ahd_set_sense_residual(struct scb *scb, u_long resid)
579 scb->platform_data->sense_resid = resid;
583 u_long ahd_get_residual(struct scb *scb)
585 return scsi_get_resid(scb->io_ctx);
589 u_long ahd_get_sense_residual(struct scb *scb)
591 return (scb->platform_data->sense_resid);
595 int ahd_perform_autosense(struct scb *scb)
606 ahd_get_sense_bufsize(struct ahd_softc *ahd, struct scb *scb)
619 ahd_platform_scb_free(struct ahd_softc *ahd, struct scb *scb)
627 void ahd_platform_freeze_devq(struct ahd_softc *ahd, struct scb *scb);
630 ahd_freeze_scb(struct scb *scb)
632 if ((scb->io_ctx->result & (CAM_DEV_QFRZN << 16)) == 0) {
633 scb->io_ctx->result |= CAM_DEV_QFRZN << 16;
634 scb->platform_data->dev->qfrozen++;
645 void ahd_done(struct ahd_softc*, struct scb*);
648 void ahd_print_path(struct ahd_softc *, struct scb *);