Lines Matching refs:scb

229 ahc_scb_timer_reset(struct scb *scb, u_int usec)
525 void ahc_set_transaction_status(struct scb *scb, uint32_t status)
527 ahc_cmd_set_transaction_status(scb->io_ctx,status);
538 void ahc_set_scsi_status(struct scb *scb, uint32_t status)
540 ahc_cmd_set_scsi_status(scb->io_ctx, status);
550 uint32_t ahc_get_transaction_status(struct scb *scb)
552 return (ahc_cmd_get_transaction_status(scb->io_ctx));
562 uint32_t ahc_get_scsi_status(struct scb *scb)
564 return (ahc_cmd_get_scsi_status(scb->io_ctx));
568 void ahc_set_transaction_tag(struct scb *scb, int enabled, u_int type)
577 u_long ahc_get_transfer_length(struct scb *scb)
579 return (scb->platform_data->xfer_len);
583 int ahc_get_transfer_dir(struct scb *scb)
585 return (scb->io_ctx->sc_data_direction);
589 void ahc_set_residual(struct scb *scb, u_long resid)
591 scsi_set_resid(scb->io_ctx, resid);
595 void ahc_set_sense_residual(struct scb *scb, u_long resid)
597 scb->platform_data->sense_resid = resid;
601 u_long ahc_get_residual(struct scb *scb)
603 return scsi_get_resid(scb->io_ctx);
607 u_long ahc_get_sense_residual(struct scb *scb)
609 return (scb->platform_data->sense_resid);
613 int ahc_perform_autosense(struct scb *scb)
624 ahc_get_sense_bufsize(struct ahc_softc *ahc, struct scb *scb)
637 ahc_platform_scb_free(struct ahc_softc *ahc, struct scb *scb)
643 void ahc_platform_freeze_devq(struct ahc_softc *ahc, struct scb *scb);
646 ahc_freeze_scb(struct scb *scb)
648 if ((scb->io_ctx->result & (CAM_DEV_QFRZN << 16)) == 0) {
649 scb->io_ctx->result |= CAM_DEV_QFRZN << 16;
650 scb->platform_data->dev->qfrozen++;
662 void ahc_done(struct ahc_softc*, struct scb*);
665 void ahc_print_path(struct ahc_softc *, struct scb *);