Lines Matching refs:header
218 packet->header[0] = in fw_fill_request()
235 packet->header[0] = in fw_fill_request()
240 packet->header[1] = in fw_fill_request()
242 packet->header[2] = in fw_fill_request()
247 packet->header[3] = *(u32 *)payload; in fw_fill_request()
254 packet->header[3] = in fw_fill_request()
268 packet->header[3] = in fw_fill_request()
449 .header[0] = TCODE_LINK_INTERNAL << 4,
477 phy_config_packet.header[1] = data; in fw_send_phy_config()
478 phy_config_packet.header[2] = ~data; in fw_send_phy_config()
685 response->header[0] = in fw_fill_response()
689 response->header[1] = in fw_fill_response()
692 response->header[2] = 0; in fw_fill_response()
697 response->header[0] |= HEADER_TCODE(TCODE_WRITE_RESPONSE); in fw_fill_response()
703 response->header[0] |= in fw_fill_response()
706 response->header[3] = *(u32 *)payload; in fw_fill_response()
708 response->header[3] = 0; in fw_fill_response()
715 response->header[0] |= HEADER_TCODE(tcode + 2); in fw_fill_response()
716 response->header[3] = in fw_fill_response()
755 request_tcode = HEADER_GET_TCODE(p->header[0]); in allocate_request()
758 data = &p->header[3]; in allocate_request()
765 length = HEADER_GET_DATA_LENGTH(p->header[3]); in allocate_request()
775 length = HEADER_GET_DATA_LENGTH(p->header[3]); in allocate_request()
780 p->header[0], p->header[1], p->header[2]); in allocate_request()
799 memcpy(request->request_header, p->header, sizeof(p->header)); in allocate_request()
846 destination = HEADER_GET_DESTINATION(p->header[0]); in handle_exclusive_region_request()
847 source = HEADER_GET_SOURCE(p->header[1]); in handle_exclusive_region_request()
848 tcode = HEADER_GET_TCODE(p->header[0]); in handle_exclusive_region_request()
850 tcode = 0x10 + HEADER_GET_EXTENDED_TCODE(p->header[3]); in handle_exclusive_region_request()
883 tcode = HEADER_GET_TCODE(p->header[0]); in handle_fcp_region_request()
884 destination = HEADER_GET_DESTINATION(p->header[0]); in handle_fcp_region_request()
885 source = HEADER_GET_SOURCE(p->header[1]); in handle_fcp_region_request()
917 if (TCODE_IS_LINK_INTERNAL(HEADER_GET_TCODE(p->header[0]))) { in fw_core_handle_request()
928 offset = ((u64)HEADER_GET_OFFSET_HIGH(p->header[1]) << 32) | in fw_core_handle_request()
929 p->header[2]; in fw_core_handle_request()
947 tcode = HEADER_GET_TCODE(p->header[0]); in fw_core_handle_response()
948 tlabel = HEADER_GET_TLABEL(p->header[0]); in fw_core_handle_response()
949 source = HEADER_GET_SOURCE(p->header[1]); in fw_core_handle_response()
950 rcode = HEADER_GET_RCODE(p->header[1]); in fw_core_handle_response()
980 data = (u32 *) &p->header[3]; in fw_core_handle_response()
992 data_length = HEADER_GET_DATA_LENGTH(p->header[3]); in fw_core_handle_response()