Searched refs:ocs_htobe32 (Results 1 - 8 of 8) sorted by relevance

/freebsd-current/sys/dev/ocs_fc/
H A Docs_domain.c672 sp->port_name_hi = ocs_htobe32((uint32_t) (sport->wwpn >> 32ll));
673 sp->port_name_lo = ocs_htobe32((uint32_t) sport->wwpn);
674 sp->node_name_hi = ocs_htobe32((uint32_t) (sport->wwnn >> 32ll));
675 sp->node_name_lo = ocs_htobe32((uint32_t) sport->wwnn);
678 sp->port_name_lo = ocs_htobe32(ocs_be32toh(sp->port_name_lo) ^ ((uint32_t)(wwn_bump)));
679 sp->port_name_hi = ocs_htobe32(ocs_be32toh(sp->port_name_hi) ^ ((uint32_t)(wwn_bump >> 32)));
680 sp->node_name_lo = ocs_htobe32(ocs_be32toh(sp->node_name_lo) ^ ((uint32_t)(wwn_bump)));
681 sp->node_name_hi = ocs_htobe32(ocs_be32toh(sp->node_name_hi) ^ ((uint32_t)(wwn_bump >> 32)));
H A Docs_unsol.c730 ocs_htobe32(((uint32_t *)hdr)[0]),
731 ocs_htobe32(((uint32_t *)hdr)[1]),
732 ocs_htobe32(((uint32_t *)hdr)[2]),
733 ocs_htobe32(((uint32_t *)hdr)[3]),
734 ocs_htobe32(((uint32_t *)hdr)[4]),
735 ocs_htobe32(((uint32_t *)hdr)[5]));
H A Docs_node.c2352 ocs_htobe32(((uint32_t *)hdr)[0]),
2353 ocs_htobe32(((uint32_t *)hdr)[1]),
2354 ocs_htobe32(((uint32_t *)hdr)[2]),
2355 ocs_htobe32(((uint32_t *)hdr)[3]),
2356 ocs_htobe32(((uint32_t *)hdr)[4]),
2357 ocs_htobe32(((uint32_t *)hdr)[5]));
H A Docs_els.c698 flogi->common_service_parameters[1] |= ocs_htobe32(1U << 23);
1303 if (req->common_service_parameters[1] & ocs_htobe32(1U << 24)) {
1304 plogi->common_service_parameters[1] |= ocs_htobe32(1U << 24);
1308 if (req->common_service_parameters[1] & ocs_htobe32(1U << 23)) {
1309 plogi->common_service_parameters[1] |= ocs_htobe32(1U << 23);
1733 rftid->port_id = ocs_htobe32(node->rnode.sport->fc_id);
1734 rftid->fc4_types[FC_GS_TYPE_WORD(FC_TYPE_FCP)] = ocs_htobe32(1 << FC_GS_TYPE_BIT(FC_TYPE_FCP));
1786 rffid->port_id = ocs_htobe32(node->rnode.sport->fc_id);
H A Docs_sport.c677 sp->port_name_hi = ocs_htobe32((uint32_t) (sport->wwpn >> 32ll));
678 sp->port_name_lo = ocs_htobe32((uint32_t) sport->wwpn);
679 sp->node_name_hi = ocs_htobe32((uint32_t) (sport->wwnn >> 32ll));
680 sp->node_name_lo = ocs_htobe32((uint32_t) sport->wwnn);
H A Docs_scsi.c1700 *((uint32_t *)fcprsp->fcp_resid) = ocs_htobe32(residual);
1703 *((uint32_t *)fcprsp->fcp_resid) = ocs_htobe32(-residual);
1711 *((uint32_t*)fcprsp->fcp_sns_len) = ocs_htobe32(sense_data_length);
1811 *((uint32_t*)fcprsp->fcp_rsp_len) = ocs_htobe32(sizeof(*rspinfo));
2609 *fcp_dl = ocs_htobe32(io->wire_len);
H A Docs_os.h256 #define ocs_htobe32(val) htobe32(val) macro
H A Docs_hw.c4149 *((uint32_t *)xfer->fcp_data_ro) = ocs_htobe32(iparam->fcp_tgt.offset);
4150 *((uint32_t *)xfer->fcp_burst_len) = ocs_htobe32(len);

Completed in 267 milliseconds