Lines Matching refs:rcode

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()
780 fill_async_write_resp(packet, rcode); in handle_incoming_packet()
787 rcode = highlevel_write(host, source, dest, data+4, in handle_incoming_packet()
792 && (rcode >= 0)) { in handle_incoming_packet()
795 fill_async_write_resp(packet, rcode); in handle_incoming_packet()
802 rcode = highlevel_read(host, source, &buffer, addr, 4, flags); in handle_incoming_packet()
804 if (rcode >= 0) { in handle_incoming_packet()
806 fill_async_readquad_resp(packet, rcode, buffer); in handle_incoming_packet()
816 rcode = highlevel_read(host, source, packet->data, addr, in handle_incoming_packet()
819 if (rcode >= 0) { in handle_incoming_packet()
820 fill_async_readblock_resp(packet, rcode, length); in handle_incoming_packet()
841 rcode = highlevel_lock(host, source, packet->data, addr, in handle_incoming_packet()
843 fill_async_lock_resp(packet, rcode, extcode, 4); in handle_incoming_packet()
848 rcode = highlevel_lock(host, source, in handle_incoming_packet()
852 fill_async_lock_resp(packet, rcode, extcode, 4); in handle_incoming_packet()
854 rcode = highlevel_lock64(host, source, in handle_incoming_packet()
858 fill_async_lock_resp(packet, rcode, extcode, 8); in handle_incoming_packet()
862 rcode = highlevel_lock64(host, source, in handle_incoming_packet()
867 fill_async_lock_resp(packet, rcode, extcode, 8); in handle_incoming_packet()
870 rcode = RCODE_TYPE_ERROR; in handle_incoming_packet()
871 fill_async_lock_resp(packet, rcode, in handle_incoming_packet()
875 if (rcode >= 0) { in handle_incoming_packet()