Lines Matching refs:cpu_to_be16
101 plogi_tmpl.csp.conseq = cpu_to_be16(0x00FF); in fcbuild_init()
102 plogi_tmpl.csp.ro_bitmap = cpu_to_be16(0x0002); in fcbuild_init()
115 prli_tmpl.pagebytes = cpu_to_be16(0x0014); in fcbuild_init()
151 fchs->ox_id = cpu_to_be16(ox_id); in fc_gs_fchdr_build()
181 fchs->ox_id = cpu_to_be16(ox_id); in fc_els_req_build()
242 plogi->csp.rxsz = plogi->class3.rxsz = cpu_to_be16(pdu_size); in fc_plogi_x_build()
243 plogi->csp.bbcred = cpu_to_be16(bb_cr); in fc_plogi_x_build()
264 flogi->csp.rxsz = flogi->class3.rxsz = cpu_to_be16(pdu_size); in fc_flogi_build()
277 flogi->csp.bbcred = cpu_to_be16(local_bb_credits); in fc_flogi_build()
301 flogi->class3.rxsz = cpu_to_be16(pdu_size); in fc_flogi_acc_build()
302 flogi->csp.rxsz = cpu_to_be16(bbscn_rxsz); /* bb_scn/rxsz */ in fc_flogi_acc_build()
306 flogi->csp.bbcred = cpu_to_be16(local_bb_credits); in fc_flogi_acc_build()
322 flogi->csp.rxsz = flogi->class3.rxsz = cpu_to_be16(pdu_size); in fc_fdisc_build()
584 fchs->ox_id = cpu_to_be16(ox_id); in fc_abts_build()
610 rrq->ox_id = cpu_to_be16(rrq_oxid); in fc_rrq_build()
702 tprlo_acc->payload_len = cpu_to_be16((num_pages * 16) + 4); in fc_tprlo_acc_build()
725 prlo_acc->payload_len = cpu_to_be16((num_pages * 16) + 4); in fc_prlo_acc_build()
805 rpsc2->num_pids = cpu_to_be16(npids); in fc_rpsc2_build()
822 rpsc_acc->num_entries = cpu_to_be16(1); in fc_rpsc_acc_build()
825 cpu_to_be16(oper_speed->port_speed_cap); in fc_rpsc_acc_build()
828 cpu_to_be16(oper_speed->port_op_speed); in fc_rpsc_acc_build()
856 pdisc->csp.rxsz = pdisc->class3.rxsz = cpu_to_be16(pdu_size); in fc_pdisc_build()
897 prlo->payload_len = cpu_to_be16((num_pages * 16) + 4); in fc_prlo_build()
955 tprlo->payload_len = cpu_to_be16((num_pages * 16) + 4); in fc_tprlo_build()
1036 cthdr->cmd_rsp_code = cpu_to_be16(cmd_code); in fc_gs_cthdr_build()
1046 cthdr->cmd_rsp_code = cpu_to_be16(cmd_code); in fc_gs_fdmi_cthdr_build()
1057 cthdr->cmd_rsp_code = cpu_to_be16(cmd_code); in fc_gs_ms_cthdr_build()
1128 cthdr->cmd_rsp_code = cpu_to_be16(CT_RSP_REJECT); in fc_gs_rjt_build()
1165 rscn->payldlen = cpu_to_be16(payldlen); in fc_rscn_build()