Searched refs:ocs_htobe32 (Results 1 – 8 of 8) sorted by relevance
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_domain.c | 672 sp->port_name_hi = ocs_htobe32((uint32_t) (sport->wwpn >> 32ll)); in __ocs_domain_wait_alloc() 673 sp->port_name_lo = ocs_htobe32((uint32_t) sport->wwpn); in __ocs_domain_wait_alloc() 674 sp->node_name_hi = ocs_htobe32((uint32_t) (sport->wwnn >> 32ll)); in __ocs_domain_wait_alloc() 675 sp->node_name_lo = ocs_htobe32((uint32_t) sport->wwnn); in __ocs_domain_wait_alloc() 678 sp->port_name_lo = ocs_htobe32(ocs_be32toh(sp->port_name_lo) ^ ((uint32_t)(wwn_bump))); in __ocs_domain_wait_alloc() 679 sp->port_name_hi = ocs_htobe32(ocs_be32toh(sp->port_name_hi) ^ ((uint32_t)(wwn_bump >> 32))); in __ocs_domain_wait_alloc() 680 sp->node_name_lo = ocs_htobe32(ocs_be32toh(sp->node_name_lo) ^ ((uint32_t)(wwn_bump))); in __ocs_domain_wait_alloc() 681 sp->node_name_hi = ocs_htobe32(ocs_be32toh(sp->node_name_hi) ^ ((uint32_t)(wwn_bump >> 32))); in __ocs_domain_wait_alloc()
|
H A D | ocs_unsol.c | 730 ocs_htobe32(((uint32_t *)hdr)[0]), in ocs_node_dispatch_frame() 731 ocs_htobe32(((uint32_t *)hdr)[1]), in ocs_node_dispatch_frame() 732 ocs_htobe32(((uint32_t *)hdr)[2]), in ocs_node_dispatch_frame() 733 ocs_htobe32(((uint32_t *)hdr)[3]), in ocs_node_dispatch_frame() 734 ocs_htobe32(((uint32_t *)hdr)[4]), in ocs_node_dispatch_frame() 735 ocs_htobe32(((uint32_t *)hdr)[5])); in ocs_node_dispatch_frame()
|
H A D | ocs_els.c | 698 flogi->common_service_parameters[1] |= ocs_htobe32(1U << 23); in ocs_send_flogi() 1303 if (req->common_service_parameters[1] & ocs_htobe32(1U << 24)) { in ocs_send_plogi_acc() 1304 plogi->common_service_parameters[1] |= ocs_htobe32(1U << 24); in ocs_send_plogi_acc() 1308 if (req->common_service_parameters[1] & ocs_htobe32(1U << 23)) { in ocs_send_plogi_acc() 1309 plogi->common_service_parameters[1] |= ocs_htobe32(1U << 23); in ocs_send_plogi_acc() 1733 rftid->port_id = ocs_htobe32(node->rnode.sport->fc_id); in ocs_ns_send_rftid() 1734 rftid->fc4_types[FC_GS_TYPE_WORD(FC_TYPE_FCP)] = ocs_htobe32(1 << FC_GS_TYPE_BIT(FC_TYPE_FCP)); in ocs_ns_send_rftid() 1786 rffid->port_id = ocs_htobe32(node->rnode.sport->fc_id); in ocs_ns_send_rffid()
|
H A D | ocs_node.c | 2352 ocs_htobe32(((uint32_t *)hdr)[0]), in ocs_node_recv_bls_no_sit() 2353 ocs_htobe32(((uint32_t *)hdr)[1]), in ocs_node_recv_bls_no_sit() 2354 ocs_htobe32(((uint32_t *)hdr)[2]), in ocs_node_recv_bls_no_sit() 2355 ocs_htobe32(((uint32_t *)hdr)[3]), in ocs_node_recv_bls_no_sit() 2356 ocs_htobe32(((uint32_t *)hdr)[4]), in ocs_node_recv_bls_no_sit() 2357 ocs_htobe32(((uint32_t *)hdr)[5])); in ocs_node_recv_bls_no_sit()
|
H A D | ocs_sport.c | 677 sp->port_name_hi = ocs_htobe32((uint32_t) (sport->wwpn >> 32ll)); in __ocs_sport_vport_wait_alloc() 678 sp->port_name_lo = ocs_htobe32((uint32_t) sport->wwpn); in __ocs_sport_vport_wait_alloc() 679 sp->node_name_hi = ocs_htobe32((uint32_t) (sport->wwnn >> 32ll)); in __ocs_sport_vport_wait_alloc() 680 sp->node_name_lo = ocs_htobe32((uint32_t) sport->wwnn); in __ocs_sport_vport_wait_alloc()
|
H A D | ocs_scsi.c | 1700 *((uint32_t *)fcprsp->fcp_resid) = ocs_htobe32(residual); in ocs_scsi_send_resp() 1703 *((uint32_t *)fcprsp->fcp_resid) = ocs_htobe32(-residual); in ocs_scsi_send_resp() 1711 *((uint32_t*)fcprsp->fcp_sns_len) = ocs_htobe32(sense_data_length); in ocs_scsi_send_resp() 1811 *((uint32_t*)fcprsp->fcp_rsp_len) = ocs_htobe32(sizeof(*rspinfo)); in ocs_scsi_send_tmf_resp() 2609 *fcp_dl = ocs_htobe32(io->wire_len); in ocs_scsi_send_io()
|
H A D | ocs_os.h | 256 #define ocs_htobe32(val) htobe32(val) macro
|
H A D | ocs_hw.c | 4149 *((uint32_t *)xfer->fcp_data_ro) = ocs_htobe32(iparam->fcp_tgt.offset); in ocs_hw_io_send() 4150 *((uint32_t *)xfer->fcp_burst_len) = ocs_htobe32(len); in ocs_hw_io_send()
|