Lines Matching defs:spp
2298 struct mssp *spp;
2322 spp = &ha->sp;
2325 memcpy(spp, ha->sp_cpu_addr, sizeof(struct mssp));
2337 bytesp = (unsigned char *)spp;
2348 if (spp->eoc == 0 && ha->iocount > 1)
2350 ("%s: ihdlr, spp->eoc == 0, irq %d, reg 0x%x, count %d.\n",
2352 if (spp->cpp_index < 0 || spp->cpp_index >= shost->can_queue)
2354 ("%s: ihdlr, bad spp->cpp_index %d, irq %d, reg 0x%x, count %d.\n",
2355 ha->board_name, spp->cpp_index, irq, reg, ha->iocount);
2356 if (spp->eoc == 0 || spp->cpp_index < 0
2357 || spp->cpp_index >= shost->can_queue)
2361 i = spp->cpp_index;
2409 tstatus = status_byte(spp->target_status);
2413 spp->adapter_status = 0x01;
2416 switch (spp->adapter_status) {
2443 if (spp->target_status && SCpnt->device->type == TYPE_DISK &&
2451 spp->target_status, SCpnt->sense_buffer[2]);
2508 SCpnt->result = status | spp->target_status;
2513 if ((spp->adapter_status != ASOK && ha->iocount > 1000) ||
2514 (spp->adapter_status != ASOK &&
2515 spp->adapter_status != ASST && ha->iocount <= 1000) ||
2516 do_trace || msg_byte(spp->target_status))
2520 i, spp->adapter_status, spp->target_status,