Home
last modified time | relevance | path

Searched refs:rcode (Results 26 - 50 of 68) sorted by relevance

123

/kernel/linux/linux-6.6/drivers/firewire/
H A Dcore-card.c293 int gap_count, generation, grace, rcode; in bm_work() local
366 rcode = fw_run_transaction(card, TCODE_LOCK_COMPARE_SWAP, in bm_work()
371 if (rcode == RCODE_GENERATION) in bm_work()
378 if (rcode == RCODE_COMPLETE && generation == card->generation) in bm_work()
383 if (rcode == RCODE_COMPLETE && bm_id != 0x3f) { in bm_work()
391 if (rcode == RCODE_SEND_ERROR) { in bm_work()
403 if (rcode != RCODE_COMPLETE && !keep_this_irm) { in bm_work()
412 fw_rcode_string(rcode), new_root_id); in bm_work()
525 rcode = fw_run_transaction(card, TCODE_WRITE_QUADLET_REQUEST, in bm_work()
529 if (rcode in bm_work()
[all...]
H 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()
H A Dcore-cdev.c548 static void complete_transaction(struct fw_card *card, int rcode, u32 request_tstamp, in complete_transaction() argument
568 if (rcode == RCODE_COMPLETE) in complete_transaction()
571 rsp->rcode = rcode; in complete_transaction()
591 if (rcode == RCODE_COMPLETE) in complete_transaction()
594 rsp->rcode = rcode; in complete_transaction()
888 fw_send_response(r->card, r->request, a->rcode); in ioctl_send_response()
1559 u32 rcode; in outbound_phy_packet_callback() local
1564 rcode in outbound_phy_packet_callback()
[all...]
H A Dsbp2.c260 int rcode; member
440 iter->rcode = RCODE_COMPLETE; in sbp2_status_write()
458 static void complete_transaction(struct fw_card *card, int rcode, in complete_transaction() argument
468 * successful and set the rcode to RCODE_COMPLETE for the orb. in complete_transaction()
469 * So this callback only sets the rcode if it hasn't already in complete_transaction()
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 in sbp2_cancel_orbs()
658 complete_agent_reset_write_no_wait(struct fw_card *card, int rcode, void *payload, size_t length, void *data) complete_agent_reset_write_no_wait() argument
[all...]
H A Dcore-device.c476 int i, rcode; in read_rom() local
482 rcode = fw_run_transaction(device->card, in read_rom()
485 if (rcode != RCODE_BUSY) in read_rom()
491 return rcode; in read_rom()
924 int rcode; in set_broadcast_channel() local
944 rcode = fw_run_transaction(card, TCODE_READ_QUADLET_REQUEST, in set_broadcast_channel()
948 switch (rcode) { in set_broadcast_channel()
1102 int i, rcode; in reread_config_rom() local
1105 rcode = read_rom(device, generation, i, &q); in reread_config_rom()
1106 if (rcode ! in reread_config_rom()
[all...]
H 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()
933 if (printk_timed_ratelimit(&j, 1000) || rcode ! in fwnet_write_complete()
[all...]
/kernel/linux/linux-5.10/sound/firewire/oxfw/
H A Doxfw-scs1x.c101 int rcode; in handle_hss() local
104 rcode = RCODE_ADDRESS_ERROR; in handle_hss()
109 rcode = RCODE_TYPE_ERROR; in handle_hss()
119 rcode = RCODE_COMPLETE; in handle_hss()
121 fw_send_response(card, request, rcode); in handle_hss()
124 static void scs_write_callback(struct fw_card *card, int rcode, in scs_write_callback() argument
129 if (!rcode_is_permanent_error(rcode)) { in scs_write_callback()
131 if (rcode == RCODE_COMPLETE) in scs_write_callback()
/kernel/linux/linux-6.6/sound/firewire/oxfw/
H A Doxfw-scs1x.c101 int rcode; in handle_hss() local
104 rcode = RCODE_ADDRESS_ERROR; in handle_hss()
109 rcode = RCODE_TYPE_ERROR; in handle_hss()
119 rcode = RCODE_COMPLETE; in handle_hss()
121 fw_send_response(card, request, rcode); in handle_hss()
124 static void scs_write_callback(struct fw_card *card, int rcode, in scs_write_callback() argument
129 if (!rcode_is_permanent_error(rcode)) { in scs_write_callback()
131 if (rcode == RCODE_COMPLETE) in scs_write_callback()
/kernel/linux/linux-6.6/drivers/scsi/aacraid/
H A Daachba.c1676 int rcode; in aac_send_safw_bmic_cmd() local
1703 rcode = -ENOMEM; in aac_send_safw_bmic_cmd()
1737 rcode = aac_fib_send(ScsiPortCommand64, fibptr, fibsize, FsaNormal, in aac_send_safw_bmic_cmd()
1740 if (rcode == -ERESTARTSYS) in aac_send_safw_bmic_cmd()
1741 rcode = -ERESTART; in aac_send_safw_bmic_cmd()
1743 if (unlikely(rcode < 0)) in aac_send_safw_bmic_cmd()
1754 return rcode; in aac_send_safw_bmic_cmd()
1782 int rcode = -ENOMEM; in aac_issue_safw_bmic_identify() local
1801 rcode = aac_send_safw_bmic_cmd(dev, &srbu, identify_reply, datasize); in aac_issue_safw_bmic_identify()
1802 if (unlikely(rcode < in aac_issue_safw_bmic_identify()
1829 int rcode = -ENOMEM; aac_get_safw_ciss_luns() local
1931 int rcode = 0; aac_get_safw_attr_all_targets() local
2011 int rcode = 0; aac_setup_safw_targets() local
2042 int rcode; aac_get_adapter_info() local
[all...]
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dfirewire-cdev.h108 * @rcode: Response code returned by the remote node
118 __u32 rcode; member
129 * @rcode: Response code returned by the remote node
146 * packets. @rcode indicates success or failure of such transmissions.
157 __u32 rcode; member
424 * @rcode: %RCODE_..., indicates success or failure of transmission
436 __u32 rcode; member
446 * @rcode: %RCODE_..., indicates success or failure of transmission
476 __u32 rcode; member
656 * @rcode
668 __u32 rcode; global() member
[all...]
/kernel/linux/linux-5.10/drivers/target/sbp/
H 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()
828 rcode = tgt_agent_rw_agent_state(card, tcode, data, agent); in tgt_agent_rw()
831 rcode = tgt_agent_rw_agent_reset(card, tcode, data, agent); in tgt_agent_rw()
834 rcode = tgt_agent_rw_orb_pointer(card, tcode, data, agent); in tgt_agent_rw()
837 rcode = tgt_agent_rw_doorbell(card, tcode, data, agent); in tgt_agent_rw()
840 rcode = tgt_agent_rw_unsolicited_status_enable(card, tcode, in tgt_agent_rw()
843 rcode = RCODE_ADDRESS_ERROR; in tgt_agent_rw()
847 fw_send_response(card, request, rcode); in tgt_agent_rw()
1246 rcode = RCODE_COMPLETE; sbp_rw_data() local
1588 int rcode = RCODE_ADDRESS_ERROR; sbp_mgt_agent_rw() local
[all...]
/kernel/linux/linux-6.6/drivers/target/sbp/
H 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()
828 rcode = tgt_agent_rw_agent_state(card, tcode, data, agent); in tgt_agent_rw()
831 rcode = tgt_agent_rw_agent_reset(card, tcode, data, agent); in tgt_agent_rw()
834 rcode = tgt_agent_rw_orb_pointer(card, tcode, data, agent); in tgt_agent_rw()
837 rcode = tgt_agent_rw_doorbell(card, tcode, data, agent); in tgt_agent_rw()
840 rcode = tgt_agent_rw_unsolicited_status_enable(card, tcode, in tgt_agent_rw()
843 rcode = RCODE_ADDRESS_ERROR; in tgt_agent_rw()
847 fw_send_response(card, request, rcode); in tgt_agent_rw()
1244 rcode = RCODE_COMPLETE; sbp_rw_data() local
1585 int rcode = RCODE_ADDRESS_ERROR; sbp_mgt_agent_rw() local
[all...]
/kernel/linux/linux-5.10/drivers/firewire/
H A Dsbp2.c259 int rcode; member
439 iter->rcode = RCODE_COMPLETE; in sbp2_status_write()
457 static void complete_transaction(struct fw_card *card, int rcode, in complete_transaction() argument
467 * successful and set the rcode to RCODE_COMPLETE for the orb. in complete_transaction()
468 * So this callback only sets the rcode if it hasn't already in complete_transaction()
474 if (orb->rcode == -1) in complete_transaction()
475 orb->rcode = rcode; in complete_transaction()
476 if (orb->rcode != RCODE_COMPLETE) { in complete_transaction()
529 orb->rcode in sbp2_cancel_orbs()
657 complete_agent_reset_write_no_wait(struct fw_card *card, int rcode, void *payload, size_t length, void *data) complete_agent_reset_write_no_wait() argument
[all...]
H A Dcore-device.c478 int i, rcode; in read_rom() local
484 rcode = fw_run_transaction(device->card, in read_rom()
487 if (rcode != RCODE_BUSY) in read_rom()
493 return rcode; in read_rom()
926 int rcode; in set_broadcast_channel() local
946 rcode = fw_run_transaction(card, TCODE_READ_QUADLET_REQUEST, in set_broadcast_channel()
950 switch (rcode) { in set_broadcast_channel()
1104 int i, rcode; in reread_config_rom() local
1107 rcode = read_rom(device, generation, i, &q); in reread_config_rom()
1108 if (rcode ! in reread_config_rom()
[all...]
H A Dcore-cdev.c535 static void complete_transaction(struct fw_card *card, int rcode, in complete_transaction() argument
545 if (rcode == RCODE_COMPLETE) in complete_transaction()
555 rsp->rcode = rcode; in complete_transaction()
836 fw_send_response(r->card, r->request, a->rcode); in ioctl_send_response()
1489 case ACK_COMPLETE: e->phy_packet.rcode = RCODE_COMPLETE; break; in outbound_phy_packet_callback()
1491 case ACK_PENDING: e->phy_packet.rcode = RCODE_COMPLETE; break; in outbound_phy_packet_callback()
1494 case ACK_BUSY_B: e->phy_packet.rcode = RCODE_BUSY; break; in outbound_phy_packet_callback()
1495 case ACK_DATA_ERROR: e->phy_packet.rcode = RCODE_DATA_ERROR; break; in outbound_phy_packet_callback()
1496 case ACK_TYPE_ERROR: e->phy_packet.rcode in outbound_phy_packet_callback()
[all...]
H A Dnet.c719 int rcode; in fwnet_receive_packet() local
728 rcode = RCODE_ADDRESS_ERROR; in fwnet_receive_packet()
730 rcode = RCODE_TYPE_ERROR; in fwnet_receive_packet()
734 rcode = RCODE_CONFLICT_ERROR; in fwnet_receive_packet()
736 rcode = RCODE_COMPLETE; in fwnet_receive_packet()
738 fw_send_response(card, r, rcode); in fwnet_receive_packet()
933 static void fwnet_write_complete(struct fw_card *card, int rcode, in fwnet_write_complete() argument
940 if (rcode == RCODE_COMPLETE) { in fwnet_write_complete()
943 if (printk_timed_ratelimit(&j, 1000) || rcode != last_rcode) { in fwnet_write_complete()
946 rcode, errors_skippe in fwnet_write_complete()
[all...]
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dfirewire-cdev.h102 * @rcode: Response code returned by the remote node
114 * packets. @rcode indicates success or failure of such transmissions.
119 __u32 rcode; member
342 * @rcode: %RCODE_..., indicates success or failure of transmission
348 * ping time in 49.152MHz clocks if @rcode is %RCODE_COMPLETE.
356 __u32 rcode; member
522 * @rcode: Response code as determined by the userspace handler
534 __u32 rcode; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dfirewire-cdev.h51 __u32 rcode; member
99 __u32 rcode; member
156 __u32 rcode; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dfirewire-cdev.h51 __u32 rcode; member
99 __u32 rcode; member
156 __u32 rcode; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dfirewire-cdev.h38 __u32 rcode; member
86 __u32 rcode; member
143 __u32 rcode; member
/kernel/linux/linux-5.10/drivers/scsi/aacraid/
H A Daachba.c1663 int rcode; in aac_send_safw_bmic_cmd() local
1690 rcode = -ENOMEM; in aac_send_safw_bmic_cmd()
1724 rcode = aac_fib_send(ScsiPortCommand64, fibptr, fibsize, FsaNormal, in aac_send_safw_bmic_cmd()
1727 if (rcode == -ERESTARTSYS) in aac_send_safw_bmic_cmd()
1728 rcode = -ERESTART; in aac_send_safw_bmic_cmd()
1730 if (unlikely(rcode < 0)) in aac_send_safw_bmic_cmd()
1741 return rcode; in aac_send_safw_bmic_cmd()
1769 int rcode = -ENOMEM; in aac_issue_safw_bmic_identify() local
1788 rcode = aac_send_safw_bmic_cmd(dev, &srbu, identify_reply, datasize); in aac_issue_safw_bmic_identify()
1789 if (unlikely(rcode < in aac_issue_safw_bmic_identify()
1816 int rcode = -ENOMEM; aac_get_safw_ciss_luns() local
1923 int rcode = 0; aac_get_safw_attr_all_targets() local
2003 int rcode = 0; aac_setup_safw_targets() local
2034 int rcode; aac_get_adapter_info() local
[all...]
H A Dcommsup.c1892 int rcode = 0; in aac_update_safw_host_devices() local
1894 rcode = aac_setup_safw_adapter(dev); in aac_update_safw_host_devices()
1895 if (unlikely(rcode < 0)) { in aac_update_safw_host_devices()
1913 return rcode; in aac_update_safw_host_devices()
1918 int rcode = 0; in aac_scan_safw_host() local
1920 rcode = aac_update_safw_host_devices(dev); in aac_scan_safw_host()
1921 if (rcode) in aac_scan_safw_host()
1924 return rcode; in aac_scan_safw_host()
1929 int rcode = 0; in aac_scan_host() local
1933 rcode in aac_scan_host()
[all...]
/kernel/linux/linux-5.10/sound/firewire/tascam/
H A Dtascam-transaction.c145 static void async_midi_port_callback(struct fw_card *card, int rcode, in async_midi_port_callback() argument
156 if (rcode == RCODE_COMPLETE) in async_midi_port_callback()
158 else if (!rcode_is_permanent_error(rcode)) in async_midi_port_callback()
/kernel/linux/linux-6.6/sound/firewire/tascam/
H A Dtascam-transaction.c145 static void async_midi_port_callback(struct fw_card *card, int rcode, in async_midi_port_callback() argument
156 if (rcode == RCODE_COMPLETE) in async_midi_port_callback()
158 else if (!rcode_is_permanent_error(rcode)) in async_midi_port_callback()
/kernel/linux/linux-6.6/include/linux/
H A Dfirewire.h261 typedef void (*fw_transaction_callback_t)(struct fw_card *card, int rcode,
264 typedef void (*fw_transaction_callback_with_tstamp_t)(struct fw_card *card, int rcode,
356 struct fw_request *request, int rcode);
429 const char *fw_rcode_string(int rcode);

Completed in 37 milliseconds

123