/linux-2.4.37.9/drivers/ieee1394/ |
D | highlevel.c | 485 int rcode = RCODE_ADDRESS_ERROR; in highlevel_read() local 497 rcode = as->op->read(host, nodeid, data, in highlevel_read() 500 rcode = RCODE_TYPE_ERROR; in highlevel_read() 507 if ((rcode != RCODE_COMPLETE) || !length) { in highlevel_read() 518 if (length && (rcode == RCODE_COMPLETE)) { in highlevel_read() 519 rcode = RCODE_ADDRESS_ERROR; in highlevel_read() 522 return rcode; in highlevel_read() 531 int rcode = RCODE_ADDRESS_ERROR; in highlevel_write() local 543 rcode = as->op->write(host, nodeid, destid, in highlevel_write() 546 rcode = RCODE_TYPE_ERROR; in highlevel_write() [all …]
|
D | ieee1394_core.c | 708 packet->header[1] = (packet->host->node_id << 16) | (rcode << 12); \ 711 static void fill_async_readquad_resp(struct hpsb_packet *packet, int rcode, in fill_async_readquad_resp() argument 720 static void fill_async_readblock_resp(struct hpsb_packet *packet, int rcode, in fill_async_readblock_resp() argument 723 if (rcode != RCODE_COMPLETE) in fill_async_readblock_resp() 732 static void fill_async_write_resp(struct hpsb_packet *packet, int rcode) in fill_async_write_resp() argument 740 static void fill_async_lock_resp(struct hpsb_packet *packet, int rcode, int extcode, in fill_async_lock_resp() argument 743 if (rcode != RCODE_COMPLETE) in fill_async_lock_resp() 760 int length, rcode, extcode; in handle_incoming_packet() local 772 rcode = highlevel_write(host, source, dest, data+3, in handle_incoming_packet() 777 && (rcode >= 0)) { in handle_incoming_packet() [all …]
|
D | raw1394.c | 161 int rcode = (packet->header[1] >> 12) & 0xf; in queue_complete_cb() local 175 req->req.error = (packet->ack_code << 16) | rcode; in queue_complete_cb() 179 if (!((packet->ack_code == ACK_PENDING) && (rcode == RCODE_COMPLETE))) { in queue_complete_cb() 909 int found=0, size=0, rcode=-1; in arm_read() local 936 rcode = -1; in arm_read() 947 rcode = RCODE_DATA_ERROR; /* hardware error, data is unavailable */ in arm_read() 949 if (rcode == -1) { in arm_read() 955 rcode = RCODE_COMPLETE; in arm_read() 958 rcode = RCODE_TYPE_ERROR; /* function not allowed */ in arm_read() 971 if (rcode == RCODE_COMPLETE) { in arm_read() [all …]
|
/linux-2.4.37.9/drivers/scsi/aacraid/ |
D | commctrl.c | 398 s32 rcode = 0; in aac_send_raw_srb() local 424 rcode = -EFAULT; in aac_send_raw_srb() 430 rcode = -EFAULT; in aac_send_raw_srb() 469 rcode = -EINVAL; in aac_send_raw_srb() 474 rcode = -EINVAL; in aac_send_raw_srb() 486 rcode = -ENOMEM; in aac_send_raw_srb() 496 rcode = -EFAULT; in aac_send_raw_srb() 518 rcode = -EINVAL; in aac_send_raw_srb() 523 rcode = -EINVAL; in aac_send_raw_srb() 533 rcode = -ENOMEM; in aac_send_raw_srb() [all …]
|
D | aachba.c | 555 int rcode; in aac_get_adapter_info() local 565 rcode = fib_send(RequestAdapterInfo, in aac_get_adapter_info() 644 return rcode; in aac_get_adapter_info()
|
/linux-2.4.37.9/drivers/scsi/ |
D | dpt_i2o.c | 288 s32 rcode; in adpt_inquiry() local 339 rcode = adpt_i2o_post_wait(pHba, msg, reqlen<<2, 120); in adpt_inquiry() 340 if (rcode != 0) { in adpt_inquiry() 342 printk(KERN_INFO "%s: Inquiry Error (%d)\n",pHba->name,rcode); in adpt_inquiry() 647 int rcode; in adpt_abort() local 665 if( (rcode = adpt_i2o_post_wait(pHba, msg, sizeof(msg), FOREVER)) != 0){ in adpt_abort() 666 if(rcode == -EOPNOTSUPP ){ in adpt_abort() 686 u32 rcode; in adpt_device_reset() local 704 if( (rcode = adpt_i2o_post_wait(pHba, (void*)msg,sizeof(msg), FOREVER)) ){ in adpt_device_reset() 706 if(rcode == -EOPNOTSUPP ){ in adpt_device_reset() [all …]
|
/linux-2.4.37.9/drivers/net/tokenring/ |
D | smctr.c | 260 __u16 rcode, __u16 correlator); 3752 __u16 rcode, correlator; in smctr_process_rx_packet() local 3764 if((rcode = smctr_rcv_init(dev, rmf, in smctr_process_rx_packet() 3767 return (rcode); in smctr_process_rx_packet() 3770 if((err = smctr_send_rsp(dev, rmf, rcode, in smctr_process_rx_packet() 3778 if((rcode = smctr_rcv_chg_param(dev, rmf, in smctr_process_rx_packet() 3781 return (rcode); in smctr_process_rx_packet() 3784 if((err = smctr_send_rsp(dev, rmf, rcode, in smctr_process_rx_packet() 3792 if((rcode = smctr_rcv_rq_addr_state_attch(dev, in smctr_process_rx_packet() 3795 if(rcode == HARDWARE_FAILED) in smctr_process_rx_packet() [all …]
|
/linux-2.4.37.9/drivers/block/ |
D | ida_ioctl.h | 64 __u8 rcode; member 108 __u8 rcode; member
|
D | cpqarray.c | 1119 if (cmd->req.hdr.rcode & RCODE_NONFATAL && in complete_command() 1125 if (cmd->req.hdr.rcode & RCODE_FATAL) { in complete_command() 1130 if (cmd->req.hdr.rcode & RCODE_INVREQ) { in complete_command() 1134 cmd->req.hdr.sg_cnt, cmd->req.hdr.rcode); in complete_command() 1199 if((a1 & 0x03) && (c->req.hdr.rcode == 0)) { in do_ida_intr() 1200 c->req.hdr.rcode = RCODE_INVREQ; in do_ida_intr() 1546 io->rcode = c->req.hdr.rcode; in ida_ctlr_ioctl() 1689 io->rcode = c->req.hdr.rcode; in ida_ctlr_big_ioctl() 1799 c->req.hdr.rcode = 0; in sendcmd() 1857 if (c->req.hdr.rcode & 0x00FE) { in sendcmd() [all …]
|
D | smart1,2.h | 255 if (cmd) ((cmdlist_t*)bus_to_virt(cmd))->req.hdr.rcode = status; in smart1_completed()
|
D | ida_cmd.h | 63 __u8 rcode; member
|