ocs_be32toh
sp->port_name_lo = ocs_htobe32(ocs_be32toh(sp->port_name_lo) ^ ((uint32_t)(wwn_bump)));
sp->port_name_hi = ocs_htobe32(ocs_be32toh(sp->port_name_hi) ^ ((uint32_t)(wwn_bump >> 32)));
sp->node_name_lo = ocs_htobe32(ocs_be32toh(sp->node_name_lo) ^ ((uint32_t)(wwn_bump)));
sp->node_name_hi = ocs_htobe32(ocs_be32toh(sp->node_name_hi) ^ ((uint32_t)(wwn_bump >> 32)));
flogi->common_service_parameters[1] |= ocs_be32toh(3U << 28);
return (ocs_be32toh(remote_sparms->common_service_parameters[1]) & (1U << 28)) == 0;
return (((uint64_t)ocs_be32toh(sp->port_name_hi) << 32ll) | (ocs_be32toh(sp->port_name_lo)));
ocs_log_debug(sport->ocs, "r: %08x %08x\n", ocs_be32toh(remote_sparms->port_name_hi), ocs_be32toh(remote_sparms->port_name_lo));
static inline uint32_t fc_be24toh(uint32_t x) { return (ocs_be32toh(x) >> 8); }
if ((ocs_be32toh(fw_image->magic_number) != OCS_HW_OBJECT_G5) &&
(ocs_be32toh(fw_image->magic_number) != OCS_HW_OBJECT_G6)) {
ocs_be32toh(fw_image->magic_number), fw->datasize);
return (((uint64_t)ocs_be32toh(sp->port_name_hi) << 32ll) | (ocs_be32toh(sp->port_name_lo)));
return (((uint64_t)ocs_be32toh(sp->node_name_hi) << 32ll) | (ocs_be32toh(sp->node_name_lo)));
return ocs_be32toh(*((uint32_t*)p));
if (exp_ref_tag != ocs_be32toh(dif->ref_tag)) {
exp_ref_tag, ocs_be32toh(dif->ref_tag));
fcp_dl = ocs_be32toh(*fcp_dl_ptr);
io->exp_xfer_len = ocs_be32toh(*fcp_dl);
io->app_id = ocs_be32toh(vhdr->src_vmid);