Lines Matching refs:tprlo_acc
662 fc_tprlo_acc_build(struct fchs_s *fchs, struct fc_tprlo_acc_s *tprlo_acc, in fc_tprlo_acc_build() argument
669 memset(tprlo_acc, 0, (num_pages * 16) + 4); in fc_tprlo_acc_build()
670 tprlo_acc->command = FC_ELS_ACC; in fc_tprlo_acc_build()
672 tprlo_acc->page_len = 0x10; in fc_tprlo_acc_build()
673 tprlo_acc->payload_len = cpu_to_be16((num_pages * 16) + 4); in fc_tprlo_acc_build()
676 tprlo_acc->tprlo_acc_params[page].opa_valid = 0; in fc_tprlo_acc_build()
677 tprlo_acc->tprlo_acc_params[page].rpa_valid = 0; in fc_tprlo_acc_build()
678 tprlo_acc->tprlo_acc_params[page].fc4type_csp = FC_TYPE_FCP; in fc_tprlo_acc_build()
679 tprlo_acc->tprlo_acc_params[page].orig_process_assc = 0; in fc_tprlo_acc_build()
680 tprlo_acc->tprlo_acc_params[page].resp_process_assc = 0; in fc_tprlo_acc_build()
682 return be16_to_cpu(tprlo_acc->payload_len); in fc_tprlo_acc_build()