Lines Matching refs:cpu_to_le32
682 cpu_to_le32(upper_32_bits(ioc_init_handle)); in megasas_ioc_init_fusion()
684 cpu_to_le32(lower_32_bits(ioc_init_handle)); in megasas_ioc_init_fusion()
685 init_frame->data_xfer_len = cpu_to_le32(sizeof(struct MPI2_IOC_INIT_REQUEST)); in megasas_ioc_init_fusion()
687 req_desc.u.low = cpu_to_le32(lower_32_bits(cmd->frame_phys_addr)); in megasas_ioc_init_fusion()
688 req_desc.u.high = cpu_to_le32(upper_32_bits(cmd->frame_phys_addr)); in megasas_ioc_init_fusion()
770 dcmd->data_xfer_len = cpu_to_le32(pd_seq_map_sz); in megasas_sync_pd_seq_num()
771 dcmd->opcode = cpu_to_le32(MR_DCMD_SYSTEM_PD_MAP_GET_INFO); in megasas_sync_pd_seq_num()
772 dcmd->sgl.sge32[0].phys_addr = cpu_to_le32(pd_seq_h); in megasas_sync_pd_seq_num()
773 dcmd->sgl.sge32[0].length = cpu_to_le32(pd_seq_map_sz); in megasas_sync_pd_seq_num()
863 __func__, cpu_to_le32(size_map_info)); in megasas_get_ld_map_info()
871 dcmd->data_xfer_len = cpu_to_le32(size_map_info); in megasas_get_ld_map_info()
872 dcmd->opcode = cpu_to_le32(MR_DCMD_LD_MAP_GET_INFO); in megasas_get_ld_map_info()
873 dcmd->sgl.sge32[0].phys_addr = cpu_to_le32(ci_h); in megasas_get_ld_map_info()
874 dcmd->sgl.sge32[0].length = cpu_to_le32(size_map_info); in megasas_get_ld_map_info()
971 dcmd->data_xfer_len = cpu_to_le32(size_map_info); in megasas_sync_map_info()
974 dcmd->opcode = cpu_to_le32(MR_DCMD_LD_MAP_GET_INFO); in megasas_sync_map_info()
975 dcmd->sgl.sge32[0].phys_addr = cpu_to_le32(ci_h); in megasas_sync_map_info()
976 dcmd->sgl.sge32[0].length = cpu_to_le32(size_map_info); in megasas_sync_map_info()
1316 sgl_ptr->Length = cpu_to_le32(sg_dma_len(os_sgl)); in megasas_make_sgl_fusion()
1352 sg_chain->Length = cpu_to_le32((sizeof(union MPI2_SGE_IO_UNION) * (sge_count - sg_processed))); in megasas_make_sgl_fusion()
1433 io_request->Control |= cpu_to_le32((0x4 << 26)); in megasas_set_pd_lba()
1434 io_request->EEDPBlockSize = cpu_to_le32(scp->device->sector_size); in megasas_set_pd_lba()
1632 io_request->DataLength = cpu_to_le32(scsi_bufflen(scp)); in megasas_build_ldio_fusion()
1748 io_request->DataLength = cpu_to_le32(scsi_bufflen(scmd)); in megasas_build_ld_nonrw_fusion()
1841 io_request->DataLength = cpu_to_le32(scsi_bufflen(scmd)); in megasas_build_syspd_fusion()
1986 io_request->Control |= cpu_to_le32(MPI2_SCSIIO_CONTROL_WRITE); in megasas_build_io_fusion()
1988 io_request->Control |= cpu_to_le32(MPI2_SCSIIO_CONTROL_READ); in megasas_build_io_fusion()
1993 io_request->SenseBufferLowAddress = cpu_to_le32(cmd->sense_phys_addr); in megasas_build_io_fusion()
2118 while (d_val.u.low != cpu_to_le32(UINT_MAX) && in complete_cmd_fusion()
2119 d_val.u.high != cpu_to_le32(UINT_MAX)) { in complete_cmd_fusion()
2370 mpi25_ieee_chain->Length = cpu_to_le32(instance->max_chain_frame_sz); in build_mpt_mfi_pass_thru()
2699 cpu_to_le32(MR_DCMD_LD_MAP_GET_INFO)) && in megasas_refire_mgmt_cmd()
2701 cpu_to_le32(MR_DCMD_SYSTEM_PD_MAP_GET_INFO)))) in megasas_refire_mgmt_cmd()