Lines Matching refs:cpu_to_be16
100 plogi_tmpl.csp.conseq = cpu_to_be16(0x00FF); in fcbuild_init()
101 plogi_tmpl.csp.ro_bitmap = cpu_to_be16(0x0002); in fcbuild_init()
114 prli_tmpl.pagebytes = cpu_to_be16(0x0014); in fcbuild_init()
150 fchs->ox_id = cpu_to_be16(ox_id); in fc_gs_fchdr_build()
180 fchs->ox_id = cpu_to_be16(ox_id); in fc_els_req_build()
241 plogi->csp.rxsz = plogi->class3.rxsz = cpu_to_be16(pdu_size); in fc_plogi_x_build()
242 plogi->csp.bbcred = cpu_to_be16(bb_cr); in fc_plogi_x_build()
263 flogi->csp.rxsz = flogi->class3.rxsz = cpu_to_be16(pdu_size); in fc_flogi_build()
276 flogi->csp.bbcred = cpu_to_be16(local_bb_credits); in fc_flogi_build()
300 flogi->class3.rxsz = cpu_to_be16(pdu_size); in fc_flogi_acc_build()
301 flogi->csp.rxsz = cpu_to_be16(bbscn_rxsz); /* bb_scn/rxsz */ in fc_flogi_acc_build()
305 flogi->csp.bbcred = cpu_to_be16(local_bb_credits); in fc_flogi_acc_build()
321 flogi->csp.rxsz = flogi->class3.rxsz = cpu_to_be16(pdu_size); in fc_fdisc_build()
583 fchs->ox_id = cpu_to_be16(ox_id); in fc_abts_build()
609 rrq->ox_id = cpu_to_be16(rrq_oxid); in fc_rrq_build()
701 tprlo_acc->payload_len = cpu_to_be16((num_pages * 16) + 4); in fc_tprlo_acc_build()
724 prlo_acc->payload_len = cpu_to_be16((num_pages * 16) + 4); in fc_prlo_acc_build()
804 rpsc2->num_pids = cpu_to_be16(npids); in fc_rpsc2_build()
821 rpsc_acc->num_entries = cpu_to_be16(1); in fc_rpsc_acc_build()
824 cpu_to_be16(oper_speed->port_speed_cap); in fc_rpsc_acc_build()
827 cpu_to_be16(oper_speed->port_op_speed); in fc_rpsc_acc_build()
855 pdisc->csp.rxsz = pdisc->class3.rxsz = cpu_to_be16(pdu_size); in fc_pdisc_build()
896 prlo->payload_len = cpu_to_be16((num_pages * 16) + 4); in fc_prlo_build()
954 tprlo->payload_len = cpu_to_be16((num_pages * 16) + 4); in fc_tprlo_build()
1035 cthdr->cmd_rsp_code = cpu_to_be16(cmd_code); in fc_gs_cthdr_build()
1045 cthdr->cmd_rsp_code = cpu_to_be16(cmd_code); in fc_gs_fdmi_cthdr_build()
1056 cthdr->cmd_rsp_code = cpu_to_be16(cmd_code); in fc_gs_ms_cthdr_build()
1127 cthdr->cmd_rsp_code = cpu_to_be16(CT_RSP_REJECT); in fc_gs_rjt_build()
1164 rscn->payldlen = cpu_to_be16(payldlen); in fc_rscn_build()