Home
last modified time | relevance | path

Searched refs:rcode (Results 1 – 19 of 19) sorted by relevance

/drivers/scsi/aacraid/
A Dcommctrl.c491 s32 rcode = 0; in aac_send_raw_srb() local
522 rcode = -EFAULT; in aac_send_raw_srb()
528 rcode = -EINVAL; in aac_send_raw_srb()
556 rcode = -EINVAL; in aac_send_raw_srb()
561 rcode = -EINVAL; in aac_send_raw_srb()
577 rcode = -EINVAL; in aac_send_raw_srb()
663 rcode = -EINVAL; in aac_send_raw_srb()
929 rcode = -ENXIO; in aac_send_raw_srb()
971 rcode = -EFAULT; in aac_send_raw_srb()
981 rcode = -EFAULT; in aac_send_raw_srb()
[all …]
A Daachba.c1676 int rcode; in aac_send_safw_bmic_cmd() local
1753 return rcode; in aac_send_safw_bmic_cmd()
1807 return rcode; in aac_issue_safw_bmic_identify()
1861 return rcode; in aac_get_safw_ciss_luns()
1930 int rcode = 0; in aac_get_safw_attr_all_targets() local
1953 return rcode; in aac_get_safw_attr_all_targets()
2010 int rcode = 0; in aac_setup_safw_targets() local
2030 return rcode; in aac_setup_safw_targets()
2041 int rcode; in aac_get_adapter_info() local
2069 return rcode; in aac_get_adapter_info()
[all …]
A Dcommsup.c1764 int rcode = 0; in aac_update_safw_host_devices() local
1766 rcode = aac_setup_safw_adapter(dev); in aac_update_safw_host_devices()
1767 if (unlikely(rcode < 0)) { in aac_update_safw_host_devices()
1785 return rcode; in aac_update_safw_host_devices()
1790 int rcode = 0; in aac_scan_safw_host() local
1792 rcode = aac_update_safw_host_devices(dev); in aac_scan_safw_host()
1793 if (rcode) in aac_scan_safw_host()
1796 return rcode; in aac_scan_safw_host()
1801 int rcode = 0; in aac_scan_host() local
1805 rcode = aac_scan_safw_host(dev); in aac_scan_host()
[all …]
/drivers/firewire/
A Dpacket-serdes-test.c64 unsigned int rcode) in serialize_async_header_response() argument
74 unsigned int rcode) in serialize_async_header_quadlet_response() argument
77 rcode); in serialize_async_header_quadlet_response()
88 rcode); in serialize_async_header_block_response()
144 unsigned int *rcode) in deserialize_async_header_response() argument
369 unsigned int rcode; in test_async_header_write_response() local
383 src_id, rcode); in test_async_header_write_response()
439 unsigned int rcode; in test_async_header_read_quadlet_response() local
456 src_id, rcode); in test_async_header_read_quadlet_response()
518 unsigned int rcode; in test_async_header_read_block_response() local
[all …]
A Dcore-transaction.c391 int rcode; member
399 if (rcode == RCODE_COMPLETE) in transaction_callback()
401 d->rcode = rcode; in transaction_callback()
436 return d.rcode; in fw_run_transaction()
1170 if ((unsigned int)rcode < ARRAY_SIZE(names) && names[rcode]) in fw_rcode_string()
1171 return names[rcode]; in fw_rcode_string()
1233 int rcode = RCODE_COMPLETE; in handle_registers() local
1260 rcode = RCODE_TYPE_ERROR; in handle_registers()
1268 rcode = RCODE_TYPE_ERROR; in handle_registers()
1280 rcode = RCODE_TYPE_ERROR; in handle_registers()
[all …]
A Dcore-card.c292 int gap_count, generation, grace, rcode; in bm_work() local
365 rcode = fw_run_transaction(card, TCODE_LOCK_COMPARE_SWAP, in bm_work()
370 if (rcode == RCODE_GENERATION) in bm_work()
377 if (rcode == RCODE_COMPLETE && generation == card->generation) in bm_work()
382 if (rcode == RCODE_COMPLETE && bm_id != 0x3f) { in bm_work()
390 if (rcode == RCODE_SEND_ERROR) { in bm_work()
402 if (rcode != RCODE_COMPLETE && !keep_this_irm) { in bm_work()
411 fw_rcode_string(rcode), new_root_id); in bm_work()
524 rcode = fw_run_transaction(card, TCODE_WRITE_QUADLET_REQUEST, in bm_work()
528 if (rcode == RCODE_GENERATION) in bm_work()
A Duapi-test.c24 KUNIT_EXPECT_EQ(test, 12, offsetof(struct fw_cdev_event_response, rcode)); in structure_layout_event_response()
55 KUNIT_EXPECT_EQ(test, 12, offsetof(struct fw_cdev_event_response2, rcode)); in structure_layout_event_response2()
69 KUNIT_EXPECT_EQ(test, 12, offsetof(struct fw_cdev_event_phy_packet2, rcode)); in structure_layout_event_phy_packet2()
A Dcore-cdev.c589 rsp->rcode = rcode; in complete_transaction()
612 rsp->rcode = rcode; in complete_transaction()
1559 u32 rcode; in outbound_phy_packet_callback() local
1567 rcode = RCODE_COMPLETE; in outbound_phy_packet_callback()
1571 rcode = RCODE_COMPLETE; in outbound_phy_packet_callback()
1576 rcode = RCODE_BUSY; in outbound_phy_packet_callback()
1579 rcode = RCODE_DATA_ERROR; in outbound_phy_packet_callback()
1582 rcode = RCODE_TYPE_ERROR; in outbound_phy_packet_callback()
1586 rcode = status; in outbound_phy_packet_callback()
1595 pp->rcode = rcode; in outbound_phy_packet_callback()
[all …]
A Dsbp2.c260 int rcode; member
440 iter->rcode = RCODE_COMPLETE; in sbp2_status_write()
475 if (orb->rcode == -1) in complete_transaction()
476 orb->rcode = rcode; in complete_transaction()
477 if (orb->rcode != RCODE_COMPLETE) { in complete_transaction()
530 orb->rcode = RCODE_CANCELLED; in sbp2_cancel_orbs()
614 orb->base.rcode); in sbp2_send_management_orb()
618 if (orb->base.rcode != RCODE_COMPLETE) { in sbp2_send_management_orb()
620 orb->base.rcode); in sbp2_send_management_orb()
659 int rcode, void *payload, size_t length, void *data) in complete_agent_reset_write_no_wait() argument
[all …]
A Dcore-device.c549 int i, rcode; in read_rom() local
555 rcode = fw_run_transaction(device->card, in read_rom()
558 if (rcode != RCODE_BUSY) in read_rom()
564 return rcode; in read_rom()
935 int rcode; in set_broadcast_channel() local
955 rcode = fw_run_transaction(card, TCODE_READ_QUADLET_REQUEST, in set_broadcast_channel()
959 switch (rcode) { in set_broadcast_channel()
1161 int i, rcode; in reread_config_rom() local
1164 rcode = read_rom(device, generation, i, &q); in reread_config_rom()
1165 if (rcode != RCODE_COMPLETE) in reread_config_rom()
[all …]
A Dnet.c708 int rcode; in fwnet_receive_packet() local
715 rcode = RCODE_COMPLETE; in fwnet_receive_packet()
717 rcode = RCODE_ADDRESS_ERROR; in fwnet_receive_packet()
719 rcode = RCODE_TYPE_ERROR; in fwnet_receive_packet()
723 rcode = RCODE_CONFLICT_ERROR; in fwnet_receive_packet()
725 rcode = RCODE_COMPLETE; in fwnet_receive_packet()
728 fw_send_response(card, r, rcode); in fwnet_receive_packet()
923 static void fwnet_write_complete(struct fw_card *card, int rcode, in fwnet_write_complete() argument
930 if (rcode == RCODE_COMPLETE) { in fwnet_write_complete()
936 rcode, errors_skipped); in fwnet_write_complete()
[all …]
A Dpacket-header-definitions.h137 unsigned int rcode) in async_header_set_rcode() argument
140 header[1] |= (((u32)rcode) << ASYNC_HEADER_Q1_RCODE_SHIFT) & ASYNC_HEADER_Q1_RCODE_MASK; in async_header_set_rcode()
A Dohci.h266 static inline void ohci1394_at_data_set_rcode(__le32 *data, unsigned int rcode) in ohci1394_at_data_set_rcode() argument
269 …data[1] |= cpu_to_le32((rcode << OHCI1394_AT_DATA_Q1_rCode_SHIFT) & OHCI1394_AT_DATA_Q1_rCode_MASK… in ohci1394_at_data_set_rcode()
A Dcore.h264 int rcode, void *payload, size_t length);
/drivers/net/ethernet/qlogic/netxen/
A Dnetxen_nic_ctx.c37 u32 rcode = NX_RCODE_SUCCESS; in netxen_issue_cmd() local
61 rcode = NX_RCODE_TIMEOUT; in netxen_issue_cmd()
66 netxen_nic_driver_name, rcode); in netxen_issue_cmd()
80 return rcode; in netxen_issue_cmd()
219 u32 rcode = NX_RCODE_SUCCESS; in nx_fw_cmd_set_mtu() local
230 rcode = netxen_issue_cmd(adapter, &cmd); in nx_fw_cmd_set_mtu()
232 if (rcode != NX_RCODE_SUCCESS) in nx_fw_cmd_set_mtu()
525 u32 rcode; in nx_fw_cmd_query_phy() local
535 if (rcode != NX_RCODE_SUCCESS) in nx_fw_cmd_query_phy()
548 u32 rcode; in nx_fw_cmd_set_phy() local
[all …]
/drivers/target/sbp/
A Dsbp_target.c803 int sess_gen, sess_node, rcode; in tgt_agent_rw() local
812 rcode = RCODE_TYPE_ERROR; in tgt_agent_rw()
819 rcode = RCODE_TYPE_ERROR; in tgt_agent_rw()
843 rcode = RCODE_ADDRESS_ERROR; in tgt_agent_rw()
1244 rcode = RCODE_COMPLETE; in sbp_rw_data() local
1309 if (rcode != RCODE_COMPLETE) in sbp_rw_data()
1320 if (rcode == RCODE_COMPLETE) { in sbp_rw_data()
1604 rcode = RCODE_CONFLICT_ERROR; in sbp_mgt_agent_rw()
1622 rcode = RCODE_COMPLETE; in sbp_mgt_agent_rw()
1625 rcode = RCODE_COMPLETE; in sbp_mgt_agent_rw()
[all …]
/drivers/media/firewire/
A Dfiredtv-fw.c41 int rcode, generation = device->generation; in node_req() local
45 rcode = fw_run_transaction(device->card, tcode, device->node_id, in node_req()
48 return rcode != RCODE_COMPLETE ? -EIO : 0; in node_req()
/drivers/s390/cio/
A Dtrace.h289 __field(u16, rcode)
299 __entry->rcode = chsc->code;
304 __entry->cc, __entry->rcode)
/drivers/mtd/nand/raw/
A Dnand_bbt.c755 uint8_t rcode = td->reserved_block_code; in write_bbt() local
765 if (!rcode) in write_bbt()
766 rcode = 0xff; in write_bbt()
801 msk[2] = ~rcode; in write_bbt()

Completed in 65 milliseconds