Lines Matching refs:scb

229 ahc_scb_timer_reset(struct scb *scb, u_int usec)
519 static inline void ahc_set_transaction_status(struct scb *, uint32_t);
521 static inline void ahc_set_scsi_status(struct scb *, uint32_t);
523 static inline uint32_t ahc_get_transaction_status(struct scb *);
525 static inline uint32_t ahc_get_scsi_status(struct scb *);
526 static inline void ahc_set_transaction_tag(struct scb *, int, u_int);
527 static inline u_long ahc_get_transfer_length(struct scb *);
528 static inline int ahc_get_transfer_dir(struct scb *);
529 static inline void ahc_set_residual(struct scb *, u_long);
530 static inline void ahc_set_sense_residual(struct scb *scb, u_long resid);
531 static inline u_long ahc_get_residual(struct scb *);
532 static inline u_long ahc_get_sense_residual(struct scb *);
533 static inline int ahc_perform_autosense(struct scb *);
535 struct scb *);
539 struct scb *scb);
540 static inline void ahc_freeze_scb(struct scb *scb);
550 void ahc_set_transaction_status(struct scb *scb, uint32_t status)
552 ahc_cmd_set_transaction_status(scb->io_ctx,status);
563 void ahc_set_scsi_status(struct scb *scb, uint32_t status)
565 ahc_cmd_set_scsi_status(scb->io_ctx, status);
575 uint32_t ahc_get_transaction_status(struct scb *scb)
577 return (ahc_cmd_get_transaction_status(scb->io_ctx));
587 uint32_t ahc_get_scsi_status(struct scb *scb)
589 return (ahc_cmd_get_scsi_status(scb->io_ctx));
593 void ahc_set_transaction_tag(struct scb *scb, int enabled, u_int type)
602 u_long ahc_get_transfer_length(struct scb *scb)
604 return (scb->platform_data->xfer_len);
608 int ahc_get_transfer_dir(struct scb *scb)
610 return (scb->io_ctx->sc_data_direction);
614 void ahc_set_residual(struct scb *scb, u_long resid)
616 scsi_set_resid(scb->io_ctx, resid);
620 void ahc_set_sense_residual(struct scb *scb, u_long resid)
622 scb->platform_data->sense_resid = resid;
626 u_long ahc_get_residual(struct scb *scb)
628 return scsi_get_resid(scb->io_ctx);
632 u_long ahc_get_sense_residual(struct scb *scb)
634 return (scb->platform_data->sense_resid);
638 int ahc_perform_autosense(struct scb *scb)
649 ahc_get_sense_bufsize(struct ahc_softc *ahc, struct scb *scb)
662 ahc_platform_scb_free(struct ahc_softc *ahc, struct scb *scb)
668 void ahc_platform_freeze_devq(struct ahc_softc *ahc, struct scb *scb);
671 ahc_freeze_scb(struct scb *scb)
673 if ((scb->io_ctx->result & (CAM_DEV_QFRZN << 16)) == 0) {
674 scb->io_ctx->result |= CAM_DEV_QFRZN << 16;
675 scb->platform_data->dev->qfrozen++;
687 void ahc_done(struct ahc_softc*, struct scb*);
690 void ahc_print_path(struct ahc_softc *, struct scb *);