Lines Matching defs:spp
2290 struct mssp *spp;
2314 spp = &ha->sp;
2317 memcpy(spp, ha->sp_cpu_addr, sizeof(struct mssp));
2329 bytesp = (unsigned char *)spp;
2340 if (spp->eoc == 0 && ha->iocount > 1)
2342 ("%s: ihdlr, spp->eoc == 0, irq %d, reg 0x%x, count %d.\n",
2344 if (spp->cpp_index < 0 || spp->cpp_index >= shost->can_queue)
2346 ("%s: ihdlr, bad spp->cpp_index %d, irq %d, reg 0x%x, count %d.\n",
2347 ha->board_name, spp->cpp_index, irq, reg, ha->iocount);
2348 if (spp->eoc == 0 || spp->cpp_index < 0
2349 || spp->cpp_index >= shost->can_queue)
2353 i = spp->cpp_index;
2401 tstatus = status_byte(spp->target_status);
2405 spp->adapter_status = 0x01;
2408 switch (spp->adapter_status) {
2435 if (spp->target_status && SCpnt->device->type == TYPE_DISK &&
2443 spp->target_status, SCpnt->sense_buffer[2]);
2500 SCpnt->result = status | spp->target_status;
2505 if ((spp->adapter_status != ASOK && ha->iocount > 1000) ||
2506 (spp->adapter_status != ASOK &&
2507 spp->adapter_status != ASST && ha->iocount <= 1000) ||
2508 do_trace || msg_byte(spp->target_status))
2512 i, spp->adapter_status, spp->target_status,