Home
last modified time | relevance | path

Searched refs:sts (Results 1 – 15 of 15) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dqlogicpti.c1295 static int qlogicpti_return_status(struct Status_Entry *sts, int id) in qlogicpti_return_status() argument
1299 switch (sts->completion_status) { in qlogicpti_return_status()
1304 if (!(sts->state_flags & SF_GOT_BUS)) in qlogicpti_return_status()
1306 else if (!(sts->state_flags & SF_GOT_TARGET)) in qlogicpti_return_status()
1308 else if (!(sts->state_flags & SF_SENT_CDB)) in qlogicpti_return_status()
1310 else if (!(sts->state_flags & SF_TRANSFERRED_DATA)) in qlogicpti_return_status()
1312 else if (!(sts->state_flags & SF_GOT_STATUS)) in qlogicpti_return_status()
1314 else if (!(sts->state_flags & SF_GOT_SENSE)) in qlogicpti_return_status()
1351 id, sts->completion_status); in qlogicpti_return_status()
1356 return (sts->scsi_status & STATUS_MASK) | (host_status << 16); in qlogicpti_return_status()
[all …]
Dqlogicisp.c983 struct Status_Entry *sts; in isp1020_intr_handler() local
1032 sts = (struct Status_Entry *) &hostdata->res_cpu[out_ptr]; in isp1020_intr_handler()
1035 cmd_slot = sts->handle; in isp1020_intr_handler()
1041 if (le16_to_cpu(sts->completion_status) == CS_RESET_OCCURRED in isp1020_intr_handler()
1042 || le16_to_cpu(sts->completion_status) == CS_ABORTED in isp1020_intr_handler()
1043 || (le16_to_cpu(sts->status_flags) & STF_BUS_RESET)) in isp1020_intr_handler()
1046 if (le16_to_cpu(sts->state_flags) & SF_GOT_SENSE) in isp1020_intr_handler()
1047 memcpy(Cmnd->sense_buffer, sts->req_sense_data, in isp1020_intr_handler()
1050 DEBUG_INTR(isp1020_print_status_entry(sts)); in isp1020_intr_handler()
1052 if (sts->hdr.entry_type == ENTRY_STATUS) in isp1020_intr_handler()
[all …]
Dqlogicfc.c1437 struct Status_Entry *sts; in isp2x00_intr_handler() local
1543 sts = (struct Status_Entry *) &hostdata->res[out_ptr*QUEUE_ENTRY_LEN]; in isp2x00_intr_handler()
1547 DEBUG_INTR(isp2x00_print_status_entry(sts)); in isp2x00_intr_handler()
1548 le_hand = le32_to_cpu(sts->handle); in isp2x00_intr_handler()
1549 if (sts->hdr.entry_type == ENTRY_STATUS && (Cmnd = hostdata->handle_ptrs[le_hand])) { in isp2x00_intr_handler()
1550 Cmnd->result = isp2x00_return_status(Cmnd, sts); in isp2x00_intr_handler()
1570 || le16_to_cpu(sts->completion_status) == CS_ABORTED){ in isp2x00_intr_handler()
1584 …LOOP_DOWN || sts->completion_status == cpu_to_le16(CS_PORT_UNAVAILABLE) || sts->completion_status … in isp2x00_intr_handler()
1595 if (sts->completion_status == cpu_to_le16(CS_RESET_OCCURRED) in isp2x00_intr_handler()
1596 || (sts->status_flags & cpu_to_le16(STF_BUS_RESET))) in isp2x00_intr_handler()
[all …]
Dncr53c8xx.c1371 static void process_waiting_list(ncb_p np, int sts);
8563 int sts; local
8578 if ((sts = ncr_queue_command(np, cmd)) != DID_OK) {
8579 cmd->result = ScsiResult(sts, 0);
8581 printk("ncr53c8xx : command not queued - result=%d\n", sts);
8591 if (sts != DID_OK) {
8596 return sts;
8668 int sts; local
8686 sts = SCSI_RESET_NOT_RUNNING;
8698 sts = ncr_reset_bus(np, cmd,
[all …]
Dqla1280.c448 static int qla1280_return_status(struct response * sts, Scsi_Cmnd * cp);
1884 qla1280_return_status(struct response * sts, Scsi_Cmnd * cp) in qla1280_return_status() argument
1910 switch (sts->comp_status) { in qla1280_return_status()
1916 if (!(sts->state_flags & SF_GOT_BUS)) in qla1280_return_status()
1918 else if (!(sts->state_flags & SF_GOT_TARGET)) in qla1280_return_status()
1920 else if (!(sts->state_flags & SF_SENT_CDB)) in qla1280_return_status()
1922 else if (!(sts->state_flags & SF_TRANSFERRED_DATA)) in qla1280_return_status()
1924 else if (!(sts->state_flags & SF_GOT_STATUS)) in qla1280_return_status()
1926 else if (!(sts->state_flags & SF_GOT_SENSE)) in qla1280_return_status()
1943 dprintk(2, "Data overrun 0x%x\n", sts->residual_length); in qla1280_return_status()
[all …]
Dsym53c8xx.c2533 static void process_waiting_list(ncb_p np, int sts);
13625 int sts; local
13642 if ((sts = ncr_queue_command(np, cmd)) != DID_OK) {
13643 SetScsiResult(cmd, sts, 0);
13645 printk("sym53c8xx : command not queued - result=%d\n", sts);
13655 if (sts != DID_OK) {
13660 return sts;
13732 int sts; local
13750 sts = SCSI_RESET_NOT_RUNNING;
13762 sts = ncr_reset_bus(np, cmd,
[all …]
/linux-2.4.37.9/drivers/usb/
Dkonicawc.c230 unsigned char sts; in konicawc_compress_iso() local
251 sts = *(status+stsurb->iso_frame_desc[i].offset); in konicawc_compress_iso()
263 if(sts < 0x80) { in konicawc_compress_iso()
264 button = !!(sts & 0x40); in konicawc_compress_iso()
265 sts &= ~0x40; in konicawc_compress_iso()
279 if(sts == 0x01) { /* drop frame */ in konicawc_compress_iso()
284 if((sts > 0x01) && (sts < 0x80)) { in konicawc_compress_iso()
285 info("unknown status %2.2x", sts); in konicawc_compress_iso()
289 if(!sts && cam->lastframe == -2) { in konicawc_compress_iso()
295 if(sts & 0x80) { /* frame start */ in konicawc_compress_iso()
[all …]
Dmdc800.c657 size_t left=len, sts=len; /* single transfer size */ in mdc800_device_read() local
687 sts=left > (mdc800->out_count-mdc800->out_ptr)?mdc800->out_count-mdc800->out_ptr:left; in mdc800_device_read()
689 if (sts <= 0) in mdc800_device_read()
731 if (copy_to_user(ptr, &mdc800->out [mdc800->out_ptr], sts)) { in mdc800_device_read()
735 ptr+=sts; in mdc800_device_read()
736 left-=sts; in mdc800_device_read()
737 mdc800->out_ptr+=sts; in mdc800_device_read()
/linux-2.4.37.9/drivers/net/
Dde4x5.c1632 s32 imr, omr, sts, limit; in de4x5_interrupt() local
1651 sts = inl(DE4X5_STS); /* Read IRQ status */ in de4x5_interrupt()
1652 outl(sts, DE4X5_STS); /* Reset the board interrupts */ in de4x5_interrupt()
1654 if (!(sts & lp->irq_mask)) break;/* All done */ in de4x5_interrupt()
1656 if (sts & (STS_RI | STS_RU)) /* Rx interrupt (packet[s] arrived) */ in de4x5_interrupt()
1659 if (sts & (STS_TI | STS_TU)) /* Tx interrupt (packet sent) */ in de4x5_interrupt()
1662 if (sts & STS_LNF) { /* TP Link has failed */ in de4x5_interrupt()
1666 if (sts & STS_UNF) { /* Transmit underrun */ in de4x5_interrupt()
1670 if (sts & STS_SE) { /* Bus Error */ in de4x5_interrupt()
1673 dev->name, sts); in de4x5_interrupt()
[all …]
/linux-2.4.37.9/arch/sh/kernel/
Dentry.S185 sts pr, r10
731 sts.l dsr, @-r15
732 sts.l y1, @-r15
733 sts.l y0, @-r15
734 sts.l x1, @-r15
735 sts.l x0, @-r15
736 sts.l a0, @-r15
754 sts.l macl, @-r15
755 sts.l mach, @-r15
758 sts.l pr, @-r15
Dkgdb_jmp.S5 sts.l pr, @-r4
/linux-2.4.37.9/drivers/scsi/sym53c8xx_2/
Dsym_glue.c958 int sts; in sym_requeue_awaiting_cmds() local
965 sts = sym_queue_command(np, cmd); in sym_requeue_awaiting_cmds()
966 if (sts) { in sym_requeue_awaiting_cmds()
981 int sts = 0; in sym53c8xx_queue_command() local
1007 sts = sym_queue_command(np, cmd); in sym53c8xx_queue_command()
1008 if (sts) { in sym53c8xx_queue_command()
1125 int sts = -1; in sym_eh_handler() local
1178 sts = -1; in sym_eh_handler()
1181 sts = sym_abort_scsiio(np, cmd, 1); in sym_eh_handler()
1184 sts = sym_reset_scsi_target(np, cmd->target); in sym_eh_handler()
[all …]
/linux-2.4.37.9/arch/sh/lib/
Ddiv64.S29 sts macl, r3
/linux-2.4.37.9/arch/ppc/platforms/
Dibm_ocp.h85 u8 sts; member
/linux-2.4.37.9/include/asm-ppc/
Dcpm2.h756 ushort sts; /* source transfer size */ member