Lines Matching refs:scb

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