Searched refs:ocs_be16toh (Results 1 – 10 of 10) sorted by relevance
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_device.c | 470 uint16_t ox_id = ocs_be16toh(hdr->ox_id); in ocs_send_ls_acc_after_attach() 496 node->init = (ocs_be16toh(prli->service_params) & FC_PRLI_INITIATOR_FUNCTION) != 0; in ocs_process_prli_payload() 497 node->targ = (ocs_be16toh(prli->service_params) & FC_PRLI_TARGET_FUNCTION) != 0; in ocs_process_prli_payload() 498 node->fcp2device = (ocs_be16toh(prli->service_params) & FC_PRLI_RETRY) != 0; in ocs_process_prli_payload() 521 uint16_t ox_id = ocs_be16toh(hdr->ox_id); in ocs_process_abts() 522 uint16_t rx_id = ocs_be16toh(hdr->rx_id); in ocs_process_abts() 852 ocs_send_flogi_p2p_acc(cbdata->io, ocs_be16toh(hdr->ox_id), fc_be24toh(hdr->d_id), NULL, NULL); in __ocs_d_init() 873 ocs_send_logo_acc(cbdata->io, ocs_be16toh(hdr->ox_id), NULL, NULL); in __ocs_d_init() 892 ocs_send_ls_rjt(cbdata->io, ocs_be16toh(hdr->ox_id), in __ocs_d_init() 1005 ocs_send_ls_rjt(cbdata->io, ocs_be16toh(hdr->ox_id), in __ocs_d_wait_plogi_rsp() [all …]
|
H A D | ocs_unsol.c | 51 (hdr)->r_ctl, ocs_be16toh((hdr)->ox_id), ocs_be16toh((hdr)->rx_id), ##__VA_ARGS__); \ 172 uint32_t ox_id = ocs_be16toh(hdr->ox_id); in ocs_unsolicited_cb() 802 ocs_be16toh(fchdr->ox_id), seq->payload->dma.len, in ocs_validate_fcp_cmd() 814 io->init_task_tag = ocs_be16toh(fchdr->ox_id); in ocs_populate_io_fcp_cmd() 918 ocs_log_err(ocs, "IO allocation failed ox_id %04x\n", ocs_be16toh(fchdr->ox_id)); in ocs_dispatch_fcp_cmd() 1019 ocs_log_err(ocs, "IO allocation failed ox_id %04x\n", ocs_be16toh(fchdr->ox_id)); in ocs_dispatch_fcp_cmd_auto_xfer_rdy() 1237 uint16_t ox_id = ocs_be16toh(behdr->ox_id); in ocs_sframe_common_send() 1238 uint16_t rx_id = ocs_be16toh(behdr->rx_id); in ocs_sframe_common_send() 1377 uint16_t ox_id = ocs_be16toh(behdr->ox_id); in ocs_sframe_send_bls_acc() 1378 uint16_t rx_id = ocs_be16toh(behdr->rx_id); in ocs_sframe_send_bls_acc()
|
H A D | ocs_node.c | 1281 ocs_send_ls_rjt(cbdata->io, ocs_be16toh(hdr->ox_id), in __ocs_node_common() 1302 ocs_send_ls_rjt(cbdata->io, ocs_be16toh(hdr->ox_id), in __ocs_node_common() 1555 hdr->r_ctl, ocs_be16toh(hdr->ox_id), ocs_be16toh(hdr->rx_id), in ocs_ddump_node() 1805 ocs_be16toh(hdr->ox_id), ocs_be16toh(hdr->rx_id), in ocs_mgmt_node_get() 1866 ocs_be16toh(hdr->ox_id), ocs_be16toh(hdr->rx_id), in ocs_mgmt_node_get_all() 2144 … fc_be24toh(hdr->s_id), fc_be24toh(hdr->d_id), ocs_be16toh(hdr->ox_id), ocs_be16toh(hdr->rx_id)); in ocs_node_recv_els_frame() 2172 uint16_t ox_id = ocs_be16toh(hdr->ox_id); in ocs_node_recv_abts_frame() 2173 uint16_t rx_id = ocs_be16toh(hdr->rx_id); in ocs_node_recv_abts_frame() 2219 … fc_be24toh(hdr->s_id), fc_be24toh(hdr->d_id), ocs_be16toh(hdr->ox_id), ocs_be16toh(hdr->rx_id)); in ocs_node_recv_abts_frame() 2252 uint16_t gscmd = ocs_be16toh(iu->cmd_rsp_code); in ocs_node_recv_ct_frame() [all …]
|
H A D | ocs_fabric.c | 1107 ocs_send_ls_acc(cbdata->io, ocs_be16toh(hdr->ox_id), NULL, NULL); in __ocs_fabctl_ready() 1577 ocs_send_plogi_acc(cbdata->io, ocs_be16toh(hdr->ox_id), NULL, NULL); in __ocs_p2p_wait_plogi_rsp() 1861 residual = ocs_be16toh(gidpt->hdr.max_residual_size); in ocs_process_gidpt_payload() 1867 if (ocs_be16toh(gidpt->hdr.cmd_rsp_code) == FCCT_HDR_CMDRSP_REJECT) { in ocs_process_gidpt_payload()
|
H A D | ocs_ddump.c | 684 hdr->r_ctl, ocs_be16toh(hdr->ox_id), ocs_be16toh(hdr->rx_id), in ocs_ddump()
|
H A D | ocs_scsi.c | 580 return (crc == ocs_be16toh(dif->crc)); in ocs_scsi_dif_check_guard() 609 exp_app_tag, ocs_be16toh(dif->app_tag)); in ocs_scsi_dif_check_app_tag() 611 return (exp_app_tag == ocs_be16toh(dif->app_tag)); in ocs_scsi_dif_check_app_tag() 2157 rsp.scsi_status_qualifier = ocs_be16toh(*((uint16_t*)fcprsp->status_qualifier)); in ocs_initiator_io_cb()
|
H A D | ocs_hw_queues.c | 1770 uint32_t ox_id = ocs_be16toh(hdr->ox_id); in ocs_hw_rqpair_process_rq() 1906 uint32_t ox_id = ocs_be16toh(hdr->ox_id); in ocs_hw_rqpair_process_auto_xfr_rdy_cmd() 1928 uint32_t ox_id = ocs_be16toh(hdr->ox_id); in ocs_hw_rqpair_process_auto_xfr_rdy_cmd() 2021 uint32_t ox_id = ocs_be16toh(hdr->ox_id); in ocs_hw_rqpair_process_auto_xfr_rdy_data()
|
H A D | ocs_os.h | 267 #define ocs_be16toh(v) be16toh(v) macro
|
H A D | ocs_els.c | 1872 uint16_t ox_id = ocs_be16toh(hdr->ox_id); in ocs_bls_send_acc_hdr() 1873 uint16_t rx_id = ocs_be16toh(hdr->rx_id); in ocs_bls_send_acc_hdr()
|
H A D | ocs_hw.c | 8804 uint32_t ox_id = ocs_be16toh(hdr->ox_id); in ocs_hw_wq_process_io() 8818 uint32_t ox_id = ocs_be16toh(hdr->ox_id); in ocs_hw_wq_process_io()
|