Lines Matching refs:prlo
648 struct fc_prlo_s *prlo; in fc_logout_params_pages() local
652 prlo = (struct fc_prlo_s *) (fc_frame + 1); in fc_logout_params_pages()
653 num_pages = (be16_to_cpu(prlo->payload_len) - 4) / 16; in fc_logout_params_pages()
849 struct fc_prlo_s *prlo = (struct fc_prlo_s *) (fchs + 1); in fc_prlo_build() local
853 memset(prlo, 0, (num_pages * 16) + 4); in fc_prlo_build()
854 prlo->command = FC_ELS_PRLO; in fc_prlo_build()
855 prlo->page_len = 0x10; in fc_prlo_build()
856 prlo->payload_len = cpu_to_be16((num_pages * 16) + 4); in fc_prlo_build()
859 prlo->prlo_params[page].type = FC_TYPE_FCP; in fc_prlo_build()
860 prlo->prlo_params[page].opa_valid = 0; in fc_prlo_build()
861 prlo->prlo_params[page].rpa_valid = 0; in fc_prlo_build()
862 prlo->prlo_params[page].orig_process_assc = 0; in fc_prlo_build()
863 prlo->prlo_params[page].resp_process_assc = 0; in fc_prlo_build()
866 return be16_to_cpu(prlo->payload_len); in fc_prlo_build()