pending_scb      4216 drivers/scsi/aic7xxx/aic79xx_core.c 	struct		scb *pending_scb;
pending_scb      4233 drivers/scsi/aic7xxx/aic79xx_core.c 	LIST_FOREACH(pending_scb, &ahd->pending_scbs, pending_links) {
pending_scb      4238 drivers/scsi/aic7xxx/aic79xx_core.c 		ahd_scb_devinfo(ahd, &devinfo, pending_scb);
pending_scb      4243 drivers/scsi/aic7xxx/aic79xx_core.c 		 && (pending_scb->flags & SCB_AUTO_NEGOTIATE) != 0) {
pending_scb      4244 drivers/scsi/aic7xxx/aic79xx_core.c 			pending_scb->flags &= ~SCB_AUTO_NEGOTIATE;
pending_scb      4245 drivers/scsi/aic7xxx/aic79xx_core.c 			pending_scb->hscb->control &= ~MK_MESSAGE;
pending_scb      4247 drivers/scsi/aic7xxx/aic79xx_core.c 		ahd_sync_scb(ahd, pending_scb,
pending_scb      4277 drivers/scsi/aic7xxx/aic79xx_core.c 	LIST_FOREACH(pending_scb, &ahd->pending_scbs, pending_links) {
pending_scb      4281 drivers/scsi/aic7xxx/aic79xx_core.c 		scb_tag = SCB_GET_TAG(pending_scb);
pending_scb      4285 drivers/scsi/aic7xxx/aic79xx_core.c 		control |= pending_scb->hscb->control & MK_MESSAGE;
pending_scb      2151 drivers/scsi/aic7xxx/aic79xx_osm.c 	struct scb *pending_scb;
pending_scb      2165 drivers/scsi/aic7xxx/aic79xx_osm.c 	pending_scb = NULL;
pending_scb      2202 drivers/scsi/aic7xxx/aic79xx_osm.c 	LIST_FOREACH(pending_scb, &ahd->pending_scbs, pending_links) {
pending_scb      2203 drivers/scsi/aic7xxx/aic79xx_osm.c 		if (pending_scb->io_ctx == cmd)
pending_scb      2207 drivers/scsi/aic7xxx/aic79xx_osm.c 	if (pending_scb == NULL) {
pending_scb      2212 drivers/scsi/aic7xxx/aic79xx_osm.c 	if ((pending_scb->flags & SCB_RECOVERY_SCB) != 0) {
pending_scb      2230 drivers/scsi/aic7xxx/aic79xx_osm.c 	if ((pending_scb->flags & SCB_ACTIVE) == 0) {
pending_scb      2243 drivers/scsi/aic7xxx/aic79xx_osm.c 			       pending_scb->hscb->tag,
pending_scb      2262 drivers/scsi/aic7xxx/aic79xx_osm.c 		if (bus_scb == pending_scb)
pending_scb      2273 drivers/scsi/aic7xxx/aic79xx_osm.c 	    && SCB_GET_TAG(pending_scb) == active_scbptr) {
pending_scb      2279 drivers/scsi/aic7xxx/aic79xx_osm.c 		pending_scb = ahd_lookup_scb(ahd, active_scbptr);
pending_scb      2280 drivers/scsi/aic7xxx/aic79xx_osm.c 		pending_scb->flags |= SCB_RECOVERY_SCB|SCB_ABORT;
pending_scb      2291 drivers/scsi/aic7xxx/aic79xx_osm.c 		pending_scb->flags |= SCB_RECOVERY_SCB|SCB_ABORT;
pending_scb      2292 drivers/scsi/aic7xxx/aic79xx_osm.c 		ahd_set_scbptr(ahd, SCB_GET_TAG(pending_scb));
pending_scb      2293 drivers/scsi/aic7xxx/aic79xx_osm.c 		pending_scb->hscb->cdb_len = 0;
pending_scb      2294 drivers/scsi/aic7xxx/aic79xx_osm.c 		pending_scb->hscb->task_attribute = 0;
pending_scb      2295 drivers/scsi/aic7xxx/aic79xx_osm.c 		pending_scb->hscb->task_management = SIU_TASKMGMT_ABORT_TASK;
pending_scb      2297 drivers/scsi/aic7xxx/aic79xx_osm.c 		if ((pending_scb->flags & SCB_PACKETIZED) != 0) {
pending_scb      2306 drivers/scsi/aic7xxx/aic79xx_osm.c 				 pending_scb->hscb->task_management);
pending_scb      2317 drivers/scsi/aic7xxx/aic79xx_osm.c 			pending_scb->hscb->control |= MK_MESSAGE|DISCONNECTED;
pending_scb      2338 drivers/scsi/aic7xxx/aic79xx_osm.c 		ahd_qinfifo_requeue_tail(ahd, pending_scb);
pending_scb      2340 drivers/scsi/aic7xxx/aic79xx_osm.c 		ahd_print_path(ahd, pending_scb);
pending_scb      2687 drivers/scsi/aic7xxx/aic7xxx_core.c 	struct	scb *pending_scb;
pending_scb      2698 drivers/scsi/aic7xxx/aic7xxx_core.c 	LIST_FOREACH(pending_scb, &ahc->pending_scbs, pending_links) {
pending_scb      2704 drivers/scsi/aic7xxx/aic7xxx_core.c 		ahc_scb_devinfo(ahc, &devinfo, pending_scb);
pending_scb      2708 drivers/scsi/aic7xxx/aic7xxx_core.c 		pending_hscb = pending_scb->hscb;
pending_scb      2715 drivers/scsi/aic7xxx/aic7xxx_core.c 		 && (pending_scb->flags & SCB_AUTO_NEGOTIATE) != 0) {
pending_scb      2716 drivers/scsi/aic7xxx/aic7xxx_core.c 			pending_scb->flags &= ~SCB_AUTO_NEGOTIATE;
pending_scb      2719 drivers/scsi/aic7xxx/aic7xxx_core.c 		ahc_sync_scb(ahc, pending_scb,
pending_scb      2743 drivers/scsi/aic7xxx/aic7xxx_core.c 		pending_scb = ahc_lookup_scb(ahc, scb_tag);
pending_scb      2744 drivers/scsi/aic7xxx/aic7xxx_core.c 		if (pending_scb == NULL)
pending_scb      2747 drivers/scsi/aic7xxx/aic7xxx_core.c 		pending_hscb = pending_scb->hscb;
pending_scb      2054 drivers/scsi/aic7xxx/aic7xxx_osm.c 	struct scb *pending_scb;
pending_scb      2067 drivers/scsi/aic7xxx/aic7xxx_osm.c 	pending_scb = NULL;
pending_scb      2118 drivers/scsi/aic7xxx/aic7xxx_osm.c 	LIST_FOREACH(pending_scb, &ahc->pending_scbs, pending_links) {
pending_scb      2119 drivers/scsi/aic7xxx/aic7xxx_osm.c 		if (pending_scb->io_ctx == cmd)
pending_scb      2123 drivers/scsi/aic7xxx/aic7xxx_osm.c 	if (pending_scb == NULL && flag == SCB_DEVICE_RESET) {
pending_scb      2126 drivers/scsi/aic7xxx/aic7xxx_osm.c 		LIST_FOREACH(pending_scb, &ahc->pending_scbs, pending_links) {
pending_scb      2127 drivers/scsi/aic7xxx/aic7xxx_osm.c 		  	if (ahc_match_scb(ahc, pending_scb, scmd_id(cmd),
pending_scb      2135 drivers/scsi/aic7xxx/aic7xxx_osm.c 	if (pending_scb == NULL) {
pending_scb      2140 drivers/scsi/aic7xxx/aic7xxx_osm.c 	if ((pending_scb->flags & SCB_RECOVERY_SCB) != 0) {
pending_scb      2157 drivers/scsi/aic7xxx/aic7xxx_osm.c 	if ((pending_scb->flags & SCB_ACTIVE) == 0) {
pending_scb      2171 drivers/scsi/aic7xxx/aic7xxx_osm.c 				       pending_scb->hscb->tag,
pending_scb      2183 drivers/scsi/aic7xxx/aic7xxx_osm.c 				      pending_scb->hscb->tag,
pending_scb      2193 drivers/scsi/aic7xxx/aic7xxx_osm.c 		if (bus_scb == pending_scb)
pending_scb      2196 drivers/scsi/aic7xxx/aic7xxx_osm.c 		      && ahc_inb(ahc, SAVED_SCSIID) == pending_scb->hscb->scsiid
pending_scb      2197 drivers/scsi/aic7xxx/aic7xxx_osm.c 		      && ahc_inb(ahc, SAVED_LUN) == SCB_GET_LUN(pending_scb))
pending_scb      2214 drivers/scsi/aic7xxx/aic7xxx_osm.c 	 && (pending_scb->hscb->tag == active_scb_index
pending_scb      2222 drivers/scsi/aic7xxx/aic7xxx_osm.c 		pending_scb = ahc_lookup_scb(ahc, active_scb_index);
pending_scb      2223 drivers/scsi/aic7xxx/aic7xxx_osm.c 		pending_scb->flags |= SCB_RECOVERY_SCB|flag;
pending_scb      2246 drivers/scsi/aic7xxx/aic7xxx_osm.c 		pending_scb->hscb->control |= MK_MESSAGE|DISCONNECTED;
pending_scb      2247 drivers/scsi/aic7xxx/aic7xxx_osm.c 		pending_scb->flags |= SCB_RECOVERY_SCB|flag;
pending_scb      2258 drivers/scsi/aic7xxx/aic7xxx_osm.c 				     cmd->device->lun, pending_scb->hscb->tag,
pending_scb      2271 drivers/scsi/aic7xxx/aic7xxx_osm.c 			ahc_outb(ahc, SCBPTR, pending_scb->hscb->tag);
pending_scb      2286 drivers/scsi/aic7xxx/aic7xxx_osm.c 		ahc_qinfifo_requeue_tail(ahc, pending_scb);
pending_scb      2288 drivers/scsi/aic7xxx/aic7xxx_osm.c 		ahc_print_path(ahc, pending_scb);