Searched refs:ocs_be32toh (Results 1 - 9 of 9) sorted by relevance

/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs_domain.c685 sp->port_name_lo = ocs_htobe32(ocs_be32toh(sp->port_name_lo) ^ ((uint32_t)(wwn_bump)));
686 sp->port_name_hi = ocs_htobe32(ocs_be32toh(sp->port_name_hi) ^ ((uint32_t)(wwn_bump >> 32)));
687 sp->node_name_lo = ocs_htobe32(ocs_be32toh(sp->node_name_lo) ^ ((uint32_t)(wwn_bump)));
688 sp->node_name_hi = ocs_htobe32(ocs_be32toh(sp->node_name_hi) ^ ((uint32_t)(wwn_bump >> 32)));
H A Docs_fabric.c1250 return (ocs_be32toh(remote_sparms->common_service_parameters[1]) & (1U << 28)) == 0;
1268 return (((uint64_t)ocs_be32toh(sp->port_name_hi) << 32ll) | (ocs_be32toh(sp->port_name_lo)));
1303 ocs_log_debug(sport->ocs, "r: %08x %08x\n", ocs_be32toh(remote_sparms->port_name_hi), ocs_be32toh(remote_sparms->port_name_lo));
H A Docs_unsol.c823 io->exp_xfer_len = ocs_be32toh(*fcp_dl);
942 io->app_id = ocs_be32toh(vhdr->src_vmid);
1351 fcp_dl = ocs_be32toh(*fcp_dl_ptr);
H A Docs_ioctl.c758 if ((ocs_be32toh(fw_image->magic_number) != OCS_HW_OBJECT_G5) &&
759 (ocs_be32toh(fw_image->magic_number) != OCS_HW_OBJECT_G6)) {
762 ocs_be32toh(fw_image->magic_number), fw->datasize);
H A Docs_node.c1482 return (((uint64_t)ocs_be32toh(sp->port_name_hi) << 32ll) | (ocs_be32toh(sp->port_name_lo)));
1502 return (((uint64_t)ocs_be32toh(sp->node_name_hi) << 32ll) | (ocs_be32toh(sp->node_name_lo)));
H A Docs_fcp.h120 static inline uint32_t fc_be24toh(uint32_t x) { return (ocs_be32toh(x) >> 8); }
H A Docs_os.h248 #define ocs_be32toh(val) be32toh(val) macro
H A Docs_scsi.c107 return ocs_be32toh(*((uint32_t*)p));
643 if (exp_ref_tag != ocs_be32toh(dif->ref_tag)) {
645 exp_ref_tag, ocs_be32toh(dif->ref_tag));
H A Docs_els.c1411 flogi->common_service_parameters[1] |= ocs_be32toh(3U << 28);

Completed in 208 milliseconds