Lines Matching defs:wr_pktp
25661 struct scsi_pkt *wr_pktp;
25926 wr_pktp = NULL;
25946 if (wr_pktp) {
25950 rval = sd_setup_next_rw_pkt(un, wr_pktp, wr_bp,
25954 rval = sd_setup_rw_pkt(un, &wr_pktp, wr_bp,
25959 rval = sd_setup_rw_pkt(un, &wr_pktp, wr_bp,
26012 dma_resid = wr_pktp->pkt_resid;
26015 wr_pktp->pkt_resid = 0;
26021 wr_pktp->pkt_flags = FLAG_NOINTR;
26036 if ((sd_scsi_poll(un, wr_pktp) == 0) &&
26037 (wr_pktp->pkt_resid == 0)) {
26045 if (wr_pktp->pkt_reason == CMD_DEV_GONE) {
26051 if (SD_GET_PKT_STATUS(wr_pktp) == STATUS_CHECK) {
26054 if (((wr_pktp->pkt_state & STATE_ARQ_DONE) == 0)) {
26061 if (SD_GET_PKT_STATUS(wr_pktp) == STATUS_BUSY) {
26079 SD_GET_PKT_STATUS(wr_pktp), i);
26081 sd_reset_target(un, wr_pktp);
26096 scsi_destroy_pkt(wr_pktp);