Lines Matching refs:rcode
818 packet->header[1] = (packet->host->node_id << 16) | (rcode << 12); \
821 static void fill_async_readquad_resp(struct hpsb_packet *packet, int rcode,
830 static void fill_async_readblock_resp(struct hpsb_packet *packet, int rcode,
833 if (rcode != RCODE_COMPLETE)
842 static void fill_async_write_resp(struct hpsb_packet *packet, int rcode)
849 static void fill_async_lock_resp(struct hpsb_packet *packet, int rcode, int extcode,
852 if (rcode != RCODE_COMPLETE)
866 int length, rcode, extcode;
877 rcode = highlevel_write(host, source, dest, data + 3,
883 rcode = highlevel_write(host, source, dest, data + 4,
886 if (rcode < 0 || write_acked ||
892 fill_async_write_resp(packet, rcode);
899 rcode = highlevel_read(host, source, &buffer, addr, 4, flags);
900 if (rcode < 0)
905 fill_async_readquad_resp(packet, rcode, buffer);
917 rcode = highlevel_read(host, source, packet->data, addr,
919 if (rcode < 0) {
923 fill_async_readblock_resp(packet, rcode, length);
943 rcode = highlevel_lock(host, source, packet->data, addr,
945 fill_async_lock_resp(packet, rcode, extcode, 4);
950 rcode = highlevel_lock(host, source,
954 fill_async_lock_resp(packet, rcode, extcode, 4);
956 rcode = highlevel_lock64(host, source,
960 fill_async_lock_resp(packet, rcode, extcode, 8);
964 rcode = highlevel_lock64(host, source,
969 fill_async_lock_resp(packet, rcode, extcode, 8);
972 rcode = RCODE_TYPE_ERROR;
973 fill_async_lock_resp(packet, rcode, extcode, 0);
976 if (rcode < 0)