/Linux-v4.19/drivers/scsi/bnx2fc/ |
D | bnx2fc_els.c | 127 struct fc_frame_header *fc_hdr; in bnx2fc_l2_els_compl() local 155 fc_hdr = &(mp_req->resp_fc_hdr); in bnx2fc_l2_els_compl() 164 hdr_len = sizeof(*fc_hdr); in bnx2fc_l2_els_compl() 170 memcpy(buf, fc_hdr, hdr_len); in bnx2fc_l2_els_compl() 268 struct fc_frame_header *fc_hdr, *fh; in bnx2fc_srr_compl() local 325 fc_hdr = &(mp_req->resp_fc_hdr); in bnx2fc_srr_compl() 329 hdr_len = sizeof(*fc_hdr); in bnx2fc_srr_compl() 335 memcpy(buf, fc_hdr, hdr_len); in bnx2fc_srr_compl() 380 struct fc_frame_header *fc_hdr, *fh; in bnx2fc_rec_compl() local 449 fc_hdr = &(mp_req->resp_fc_hdr); in bnx2fc_rec_compl() [all …]
|
D | bnx2fc_io.c | 674 struct fc_frame_header *fc_hdr; in bnx2fc_initiate_tmf() local 749 fc_hdr = &(tm_req->req_fc_hdr); in bnx2fc_initiate_tmf() 752 __fc_fill_fc_hdr(fc_hdr, FC_RCTL_DD_UNSOL_CMD, did, sid, in bnx2fc_initiate_tmf() 831 struct fc_frame_header *fc_hdr; in bnx2fc_initiate_abts() local 881 fc_hdr = &(abts_req->req_fc_hdr); in bnx2fc_initiate_abts() 884 fc_hdr->fh_ox_id = htons(io_req->xid); in bnx2fc_initiate_abts() 885 fc_hdr->fh_rx_id = htons(io_req->task->rxwr_txrd.var_ctx.rx_id); in bnx2fc_initiate_abts() 890 __fc_fill_fc_hdr(fc_hdr, FC_RCTL_BA_ABTS, did, sid, in bnx2fc_initiate_abts() 1492 struct fc_frame_header *fc_hdr; in bnx2fc_process_tm_compl() local 1512 fc_hdr = &(tm_req->resp_fc_hdr); in bnx2fc_process_tm_compl() [all …]
|
D | 57xx_hsi_bnx2fc.h | 190 struct fcoe_fc_hdr fc_hdr; member 285 struct fcoe_fc_hdr fc_hdr; member 860 struct fcoe_fc_hdr fc_hdr; member
|
D | bnx2fc_hwi.c | 697 xid = err_entry->fc_hdr.ox_id; in bnx2fc_process_unsol_compl() 816 xid = cpu_to_be16(err_entry->fc_hdr.ox_id); in bnx2fc_process_unsol_compl() 1594 struct fc_frame_header *fc_hdr; in bnx2fc_init_mp_task() local 1658 fc_hdr = &(mp_req->req_fc_hdr); in bnx2fc_init_mp_task() 1660 fc_hdr->fh_ox_id = cpu_to_be16(io_req->xid); in bnx2fc_init_mp_task() 1661 fc_hdr->fh_rx_id = htons(0xffff); in bnx2fc_init_mp_task() 1664 fc_hdr->fh_rx_id = cpu_to_be16(io_req->xid); in bnx2fc_init_mp_task() 1668 hdr = (u64 *) &task->txwr_rxrd.union_ctx.tx_frame.fc_hdr; in bnx2fc_init_mp_task() 1669 memcpy(temp_hdr, fc_hdr, sizeof(temp_hdr)); in bnx2fc_init_mp_task()
|
/Linux-v4.19/drivers/scsi/lpfc/ |
D | lpfc_sli4.h | 71 #define sli4_sid_from_fc_hdr(fc_hdr) \ argument 72 ((fc_hdr)->fh_s_id[0] << 16 | \ 73 (fc_hdr)->fh_s_id[1] << 8 | \ 74 (fc_hdr)->fh_s_id[2]) 76 #define sli4_did_from_fc_hdr(fc_hdr) \ argument 77 ((fc_hdr)->fh_d_id[0] << 16 | \ 78 (fc_hdr)->fh_d_id[1] << 8 | \ 79 (fc_hdr)->fh_d_id[2]) 81 #define sli4_fctl_from_fc_hdr(fc_hdr) \ argument 82 ((fc_hdr)->fh_f_ctl[0] << 16 | \ [all …]
|
D | lpfc_nvmet.c | 324 struct fc_frame_header *fc_hdr; in lpfc_nvmet_ctxbuf_post() local 355 fc_hdr = (struct fc_frame_header *)(nvmebuf->hbuf.virt); in lpfc_nvmet_ctxbuf_post() 356 oxid = be16_to_cpu(fc_hdr->fh_ox_id); in lpfc_nvmet_ctxbuf_post() 360 sid = sli4_sid_from_fc_hdr(fc_hdr); in lpfc_nvmet_ctxbuf_post() 1559 struct fc_frame_header *fc_hdr) in lpfc_nvmet_rcv_unsol_abort() argument 1569 xri = be16_to_cpu(fc_hdr->fh_ox_id); in lpfc_nvmet_rcv_unsol_abort() 1597 lpfc_sli4_seq_abort_rsp(vport, fc_hdr, 1); in lpfc_nvmet_rcv_unsol_abort() 1610 lpfc_sli4_seq_abort_rsp(vport, fc_hdr, 0); in lpfc_nvmet_rcv_unsol_abort() 1740 struct fc_frame_header *fc_hdr; in lpfc_nvmet_unsol_ls_buffer() local 1745 fc_hdr = (struct fc_frame_header *)(nvmebuf->hbuf.virt); in lpfc_nvmet_unsol_ls_buffer() [all …]
|
D | lpfc_sli.c | 13139 struct fc_frame_header *fc_hdr; in lpfc_sli4_sp_handle_rcqe() local 13177 fc_hdr = (struct fc_frame_header *)dma_buf->hbuf.virt; in lpfc_sli4_sp_handle_rcqe() 13533 struct fc_frame_header *fc_hdr; in lpfc_sli4_nvmet_handle_rcqe() local 13578 fc_hdr = (struct fc_frame_header *)dma_buf->hbuf.virt; in lpfc_sli4_nvmet_handle_rcqe() 13581 fctl = (fc_hdr->fh_f_ctl[0] << 16 | in lpfc_sli4_nvmet_handle_rcqe() 13582 fc_hdr->fh_f_ctl[1] << 8 | in lpfc_sli4_nvmet_handle_rcqe() 13583 fc_hdr->fh_f_ctl[2]); in lpfc_sli4_nvmet_handle_rcqe() 13587 (fc_hdr->fh_seq_cnt != 0)) /* 0 byte swapped is still 0 */ in lpfc_sli4_nvmet_handle_rcqe() 13590 if (fc_hdr->fh_type == FC_TYPE_FCP) { in lpfc_sli4_nvmet_handle_rcqe() 16577 lpfc_fc_frame_check(struct lpfc_hba *phba, struct fc_frame_header *fc_hdr) in lpfc_fc_frame_check() argument [all …]
|
D | lpfc_crtn.h | 256 struct fc_frame_header *fc_hdr); 318 struct fc_frame_header *fc_hdr, bool aborted);
|
D | lpfc_bsg.c | 1174 struct fc_frame_header fc_hdr; in lpfc_bsg_ct_unsol_abort() local 1175 struct fc_frame_header *fc_hdr_ptr = &fc_hdr; in lpfc_bsg_ct_unsol_abort()
|
/Linux-v4.19/drivers/scsi/qedf/ |
D | qedf_io.c | 700 struct fc_frame_header *fc_hdr; in qedf_init_mp_task() local 732 fc_hdr = &(mp_req->req_fc_hdr); in qedf_init_mp_task() 734 fc_hdr->fh_ox_id = io_req->xid; in qedf_init_mp_task() 735 fc_hdr->fh_rx_id = htons(0xffff); in qedf_init_mp_task() 738 task_fc_hdr.parameter = fc_hdr->fh_parm_offset; in qedf_init_mp_task() 739 task_fc_hdr.r_ctl = fc_hdr->fh_r_ctl; in qedf_init_mp_task() 740 task_fc_hdr.type = fc_hdr->fh_type; in qedf_init_mp_task() 741 task_fc_hdr.cs_ctl = fc_hdr->fh_cs_ctl; in qedf_init_mp_task() 742 task_fc_hdr.df_ctl = fc_hdr->fh_df_ctl; in qedf_init_mp_task() 743 task_fc_hdr.rx_id = fc_hdr->fh_rx_id; in qedf_init_mp_task() [all …]
|
D | qedf_els.c | 21 struct fc_frame_header *fc_hdr; in qedf_initiate_els() local 116 fc_hdr = &(mp_req->req_fc_hdr); in qedf_initiate_els() 121 __fc_fill_fc_hdr(fc_hdr, FC_RCTL_ELS_REQ, did, sid, in qedf_initiate_els()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/ |
D | cnic_defs.h | 2492 struct fcoe_fc_hdr fc_hdr; member 2587 struct fcoe_fc_hdr fc_hdr; member
|