Lines Matching refs:adisc
554 struct fc_els_adisc *adisc; in efc_send_adisc() local
562 els = efc_els_io_alloc(node, sizeof(*adisc)); in efc_send_adisc()
572 adisc = els->io.req.virt; in efc_send_adisc()
574 memset(adisc, 0, sizeof(*adisc)); in efc_send_adisc()
575 adisc->adisc_cmd = ELS_ADISC; in efc_send_adisc()
576 hton24(adisc->adisc_hard_addr, nport->fc_id); in efc_send_adisc()
577 adisc->adisc_wwpn = sparams->fl_wwpn; in efc_send_adisc()
578 adisc->adisc_wwnn = sparams->fl_wwnn; in efc_send_adisc()
579 hton24(adisc->adisc_port_id, node->rnode.nport->fc_id); in efc_send_adisc()
848 struct fc_els_adisc *adisc; in efc_send_adisc_acc() local
853 els = efc_els_io_alloc(node, sizeof(*adisc)); in efc_send_adisc_acc()
866 adisc = els->io.req.virt; in efc_send_adisc_acc()
867 memset(adisc, 0, sizeof(*adisc)); in efc_send_adisc_acc()
868 adisc->adisc_cmd = ELS_LS_ACC; in efc_send_adisc_acc()
869 adisc->adisc_wwpn = sparams->fl_wwpn; in efc_send_adisc_acc()
870 adisc->adisc_wwnn = sparams->fl_wwnn; in efc_send_adisc_acc()
871 hton24(adisc->adisc_port_id, node->rnode.nport->fc_id); in efc_send_adisc_acc()
873 return efc_els_send_rsp(els, sizeof(*adisc)); in efc_send_adisc_acc()