• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/lpfc/

Lines Matching refs:fc_hdr

11059  * @fc_hdr: A pointer to the FC Header data (In Big Endian Format)
11061 * This function checks the fields in the @fc_hdr to see if the FC frame is a
11067 lpfc_fc_frame_check(struct lpfc_hba *phba, struct fc_frame_header *fc_hdr)
11073 switch (fc_hdr->fh_r_ctl) {
11103 fc_vft_hdr = (struct fc_vft_header *)fc_hdr;
11104 fc_hdr = &((struct fc_frame_header *)fc_vft_hdr)[1];
11105 return lpfc_fc_frame_check(phba, fc_hdr);
11109 switch (fc_hdr->fh_type) {
11122 rctl_names[fc_hdr->fh_r_ctl],
11123 type_names[fc_hdr->fh_type]);
11128 rctl_names[fc_hdr->fh_r_ctl],
11129 type_names[fc_hdr->fh_type]);
11135 * @fc_hdr: A pointer to the FC Header data (In Big Endian Format)
11142 lpfc_fc_hdr_get_vfi(struct fc_frame_header *fc_hdr)
11144 struct fc_vft_header *fc_vft_hdr = (struct fc_vft_header *)fc_hdr;
11146 if (fc_hdr->fh_r_ctl != FC_RCTL_VFTH)
11154 * @fc_hdr: A pointer to the FC Header data (In Big Endian Format)
11158 * @fc_hdr passed in and the @fcfi. This function uses the @fc_hdr to fetch the
11164 lpfc_fc_frame_to_vport(struct lpfc_hba *phba, struct fc_frame_header *fc_hdr,
11170 uint32_t did = (fc_hdr->fh_d_id[0] << 16 |
11171 fc_hdr->fh_d_id[1] << 8 |
11172 fc_hdr->fh_d_id[2]);
11178 vports[i]->vfi == lpfc_fc_hdr_get_vfi(fc_hdr) &&
11441 * @fc_hdr: pointer to a FC frame header.
11448 struct fc_frame_header *fc_hdr)
11459 sid = sli4_sid_from_fc_hdr(fc_hdr);
11460 oxid = be16_to_cpu(fc_hdr->fh_ox_id);
11461 rxid = be16_to_cpu(fc_hdr->fh_rx_id);
11477 fctl = sli4_fctl_from_fc_hdr(fc_hdr);
11541 struct fc_frame_header fc_hdr;
11545 /* Make a copy of fc_hdr before the dmabuf being released */
11546 memcpy(&fc_hdr, dmabuf->hbuf.virt, sizeof(struct fc_frame_header));
11547 fctl = sli4_fctl_from_fc_hdr(&fc_hdr);
11568 lpfc_sli4_seq_abort_acc(phba, &fc_hdr);
11636 struct fc_frame_header *fc_hdr;
11640 fc_hdr = (struct fc_frame_header *)seq_dmabuf->hbuf.virt;
11645 sid = sli4_sid_from_fc_hdr(fc_hdr);
11653 first_iocbq->iocb.ulpContext = be16_to_cpu(fc_hdr->fh_ox_id);
11717 struct fc_frame_header *fc_hdr;
11721 fc_hdr = (struct fc_frame_header *)seq_dmabuf->hbuf.virt;
11728 fc_hdr->fh_r_ctl, fc_hdr->fh_type);
11733 iocbq, fc_hdr->fh_r_ctl,
11734 fc_hdr->fh_type))
11739 fc_hdr->fh_r_ctl, fc_hdr->fh_type);
11767 struct fc_frame_header *fc_hdr;
11772 fc_hdr = (struct fc_frame_header *)dmabuf->hbuf.virt;
11774 if (lpfc_fc_frame_check(phba, fc_hdr)) {
11779 vport = lpfc_fc_frame_to_vport(phba, fc_hdr, fcfi);
11786 if (fc_hdr->fh_r_ctl == FC_RCTL_BA_ABTS) {