Lines Matching defs:hdr
942 struct fc_frame_header *hdr;
953 hdr = seq->header->dma.virt;
956 s_id = ntoh24(hdr->fh_s_id);
957 d_id = ntoh24(hdr->fh_d_id);
963 if (hdr->fh_type == FC_TYPE_FCP) {
987 if ((hdr->fh_r_ctl == FC_RCTL_DD_SOL_DATA) ||
988 (hdr->fh_r_ctl == FC_RCTL_DD_SOL_CTL)) {
1025 struct fc_frame_header *hdr = seq->header->dma.virt;
1030 port_id = ntoh24(hdr->fh_s_id);
1035 if ((!(ntoh24(hdr->fh_f_ctl) & FC_FC_END_SEQ)) ||
1036 !(ntoh24(hdr->fh_f_ctl) & FC_FC_SEQ_INIT)) {
1038 "Drop frame hdr = %08x %08x %08x %08x %08x %08x\n",
1039 cpu_to_be32(((u32 *)hdr)[0]),
1040 cpu_to_be32(((u32 *)hdr)[1]),
1041 cpu_to_be32(((u32 *)hdr)[2]),
1042 cpu_to_be32(((u32 *)hdr)[3]),
1043 cpu_to_be32(((u32 *)hdr)[4]),
1044 cpu_to_be32(((u32 *)hdr)[5]));
1048 switch (hdr->fh_r_ctl) {
1063 switch (hdr->fh_type) {
1065 if ((hdr->fh_r_ctl & 0xf) == FC_RCTL_DD_UNSOL_CMD) {
1071 } else if ((hdr->fh_r_ctl & 0xf) ==
1086 efc_log_err(efc, "Unhandled frame rctl: %02x\n", hdr->fh_r_ctl);