Home
last modified time | relevance | path

Searched refs:fh_type (Results 1 – 23 of 23) sorted by relevance

/drivers/scsi/libfc/
A Dfc_elsct.c39 enum fc_fh_type fh_type; in fc_elsct_send() local
44 rc = fc_els_fill(lport, did, fp, op, &r_ctl, &fh_type); in fc_elsct_send()
47 rc = fc_ct_fill(lport, did, fp, op, &r_ctl, &fh_type, &did); in fc_elsct_send()
55 fc_fill_fc_hdr(fp, r_ctl, did, lport->port_id, fh_type, in fc_elsct_send()
102 switch (fh->fh_type) { in fc_els_resp_type()
A Dfc_encode.h94 enum fc_fh_type *fh_type) in fc_ct_ns_fill() argument
164 *fh_type = FC_TYPE_CT; in fc_ct_ns_fill()
190 enum fc_fh_type *fh_type) in fc_ct_ms_fill() argument
710 *fh_type = FC_TYPE_CT; in fc_ct_ms_fill()
726 enum fc_fh_type *fh_type, u32 *did) in fc_ct_fill() argument
732 rc = fc_ct_ms_fill(lport, fc_id, fp, op, r_ctl, fh_type); in fc_ct_fill()
737 rc = fc_ct_ns_fill(lport, fc_id, fp, op, r_ctl, fh_type); in fc_ct_fill()
906 enum fc_rctl *r_ctl, enum fc_fh_type *fh_type) in fc_els_fill() argument
950 *fh_type = FC_TYPE_ELS; in fc_els_fill()
A Dfc_exch.c470 u8 fh_type = fh->fh_type; in fc_seq_send_locked() local
501 if (fh_type == FC_TYPE_BLS) in fc_seq_send_locked()
1257 enum fc_rctl rctl, enum fc_fh_type fh_type) in fc_seq_send_last() argument
1264 fc_fill_fc_hdr(fp, rctl, ep->did, ep->sid, fh_type, f_ctl, 0); in fc_seq_send_last()
1296 fh->fh_type = FC_TYPE_BLS; in fc_seq_send_ack()
1375 fh->fh_type = FC_TYPE_BLS; in fc_exch_send_ba_rjt()
1618 if (fh->fh_type != FC_TYPE_FCP && fr_eof(fp) == FC_EOF_T && in fc_exch_recv_seq_resp()
1741 if (ep->fh_type != FC_TYPE_FCP && in fc_exch_abts_resp()
2204 ep->fh_type = fh->fh_type; /* save for possbile timeout handling */ in fc_exch_seq_send()
2638 if (fh->fh_type == FC_TYPE_BLS) in fc_exch_recv()
A Dfc_libfc.c181 fh->fh_type = in_fh->fh_type; in fc_fill_hdr()
A Dfc_lport.c960 if (fh->fh_type >= FC_FC4_PROV_SIZE) in fc_lport_recv()
962 prov = rcu_dereference(fc_passive_prov[fh->fh_type]); in fc_lport_recv()
971 FC_LPORT_DBG(lport, "dropping unexpected frame type %x\n", fh->fh_type); in fc_lport_recv()
1145 if (fh && ct && fh->fh_type == FC_TYPE_CT && in fc_lport_ns_resp()
1221 if (fh && ct && fh->fh_type == FC_TYPE_CT && in fc_lport_ms_resp()
2046 fh->fh_type = FC_TYPE_ELS; in fc_lport_els_request()
2106 fh->fh_type = FC_TYPE_CT; in fc_lport_ct_request()
A Dfc_fcp.c798 if (fh->fh_type == FC_TYPE_BLS) { in fc_fcp_recv()
1387 if (fh->fh_type != FC_TYPE_BLS) in fc_tm_done()
1789 if (fh->fh_type == FC_TYPE_BLS) { in fc_fcp_srr_resp()
/drivers/scsi/fnic/
A Dfdls_fc.h80 #define FNIC_STD_SET_TYPE(_fchdr, _type) ((_fchdr).fh_type = _type)
95 #define FNIC_STD_GET_TYPE(_fchdr) ((_fchdr)->fh_type)
131 #define FNIC_FC_FRAME_TYPE_BLS(_fchdr) (_fchdr->fh_type == FC_TYPE_BLS)
132 #define FNIC_FC_FRAME_TYPE_ELS(_fchdr) (_fchdr->fh_type == FC_TYPE_ELS)
133 #define FNIC_FC_FRAME_TYPE_FC_GS(_fchdr) (_fchdr->fh_type == FC_TYPE_CT)
A Dfdls_disc.c557 .fh_cs_ctl = 0x00, .fh_type = FC_TYPE_BLS, in fdls_init_fabric_abts_frame()
653 .fh_cs_ctl = 0x00, .fh_type = FC_TYPE_BLS, in fdls_send_tport_abts()
1021 .fh_d_id = {0xFF, 0xFF, 0xFC}, .fh_type = FC_TYPE_CT, in fdls_send_rpn_id()
1080 .fh_d_id = {0xFF, 0xFF, 0xFD}, .fh_type = FC_TYPE_ELS, in fdls_send_scr()
1135 .fh_d_id = {0xFF, 0xFF, 0xFC}, .fh_type = FC_TYPE_CT, in fdls_send_gpn_ft()
1383 .fh_d_id = {0xFF, 0xFF, 0xFC}, .fh_type = FC_TYPE_CT, in fdls_send_register_fc4_types()
1443 .fh_d_id = {0xFF, 0xFF, 0xFC}, .fh_type = FC_TYPE_CT, in fdls_send_register_fc4_features()
1860 .fh_type = FC_TYPE_CT, in fdls_fdmi_register_hba()
2005 .fh_type = FC_TYPE_CT, in fdls_fdmi_register_pa()
4822 fchdr->fh_f_ctl[0], fchdr->fh_type, s_id); in fnic_fdls_validate_and_get_frame_type()
[all …]
A Dfip.c386 .fh_type = FC_TYPE_ELS, in fnic_fcoe_start_flogi()
486 || (fchdr->fh_type != 0x01)) { in fnic_fcoe_process_flogi_resp()
490 fchdr->fh_type, FNIC_STD_GET_OX_ID(fchdr)); in fnic_fcoe_process_flogi_resp()
A Dfnic.h618 pfx, s_id, d_id, fchdr->fh_type, in fnic_debug_dump_fc_frame()
A Dfnic_fcs.c718 fchdr->fh_type, FNIC_STD_GET_OX_ID(fchdr)); in fdls_send_fcoe_frame()
/drivers/scsi/elx/efct/
A Defct_unsol.c52 if (!(hdr->fh_type == FC_TYPE_FCP || hdr->fh_type == FC_TYPE_BLS)) in efct_dispatch_frame()
55 if (hdr->fh_type == FC_TYPE_FCP) { in efct_dispatch_frame()
244 hdr.fh_type = type; in efct_sframe_common_send()
/drivers/scsi/elx/libefc/
A Defc_domain.c963 if (hdr->fh_type == FC_TYPE_FCP) { in efc_domain_dispatch_frame()
1063 switch (hdr->fh_type) { in efc_node_dispatch_frame()
/drivers/scsi/bnx2fc/
A Dbnx2fc_fcoe.c227 if ((fh->fh_type == FC_TYPE_ELS) && in bnx2fc_xmit_l2_frame()
243 } else if ((fh->fh_type == FC_TYPE_BLS) && in bnx2fc_xmit_l2_frame()
249 fh->fh_type, fh->fh_r_ctl); in bnx2fc_xmit_l2_frame()
588 fh->fh_type == FC_TYPE_FCP) { in bnx2fc_recv_frame()
594 fh->fh_type == FC_TYPE_ELS) { in bnx2fc_recv_frame()
A Dbnx2fc_hwi.c594 if (fh->fh_type == FC_TYPE_ELS) { in bnx2fc_process_l2_frame_compl()
/drivers/scsi/qedf/
A Dqedf_main.c1054 if ((fh->fh_type == FC_TYPE_ELS) && in qedf_xmit_l2_frame()
1240 ntoh24(fh->fh_s_id), ntoh24(fh->fh_d_id), fh->fh_r_ctl, fh->fh_type, in qedf_xmit()
2527 fh->fh_type == FC_TYPE_FCP) { in qedf_recv_frame()
2533 fh->fh_type == FC_TYPE_ELS) { in qedf_recv_frame()
2584 if ((fh->fh_type == FC_TYPE_BLS) && (f_ctl & FC_FC_SEQ_CTX) && in qedf_recv_frame()
2613 fh->fh_type); in qedf_recv_frame()
A Dqedf_els.c345 fh->fh_type = FC_TYPE_ELS; in qedf_process_l2_frame_compl()
A Dqedf_io.c726 task_fc_hdr.type = fc_hdr->fh_type; in qedf_init_mp_task()
2547 fh->fh_type, fc_frame_payload_op(fp)); in qedf_process_unsol_compl()
/drivers/media/usb/em28xx/
A Dem28xx-video.c2130 enum v4l2_buf_type fh_type = 0; in em28xx_v4l2_open() local
2135 fh_type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in em28xx_v4l2_open()
2138 fh_type = V4L2_BUF_TYPE_VBI_CAPTURE; in em28xx_v4l2_open()
2147 video_device_node_name(vdev), v4l2_type_names[fh_type], in em28xx_v4l2_open()
/drivers/scsi/lpfc/
A Dlpfc_sli4.h99 ((fc_hdr)->fh_type)
A Dlpfc_sli.c15209 if (fc_hdr->fh_type == FC_TYPE_FCP) { in lpfc_sli4_nvmet_handle_rcqe()
18506 switch (fc_hdr->fh_type) { in lpfc_fc_frame_check()
18548 fc_hdr->fh_r_ctl, fc_hdr->fh_type, in lpfc_fc_frame_check()
18557 fc_hdr->fh_r_ctl, fc_hdr->fh_type); in lpfc_fc_frame_check()
19341 fc_hdr->fh_r_ctl, fc_hdr->fh_type); in lpfc_sli4_send_seq_to_ulp()
19347 fc_hdr->fh_type)) { in lpfc_sli4_send_seq_to_ulp()
19352 fc_hdr->fh_r_ctl, fc_hdr->fh_type); in lpfc_sli4_send_seq_to_ulp()
19528 if (fc_hdr->fh_r_ctl == 0xF4 && fc_hdr->fh_type == 0xFF) { in lpfc_sli4_handle_received_buffer()
/drivers/scsi/fcoe/
A Dfcoe.c1477 if (unlikely(fh->fh_type == FC_TYPE_ELS) && in fcoe_xmit()
1601 if (fh->fh_r_ctl == FC_RCTL_DD_SOL_DATA && fh->fh_type == FC_TYPE_FCP) in fcoe_filter_frames()
A Dfcoe_ctlr.c1906 if (fh->fh_type != FC_TYPE_ELS) in fcoe_ctlr_recv_flogi()

Completed in 926 milliseconds