Lines Matching refs:cpu_to_le32
268 dinfo->command = cpu_to_le32(VM_ContainerConfig);
269 dinfo->type = cpu_to_le32(CT_GET_CONFIG_STATUS);
270 dinfo->count = cpu_to_le32(sizeof(((struct aac_get_config_status_resp *)NULL)->data));
307 dinfo->command = cpu_to_le32(VM_ContainerConfig);
308 dinfo->type = cpu_to_le32(CT_COMMIT_CONFIG);
362 dinfo->command = cpu_to_le32(VM_ContainerConfig);
363 dinfo->type = cpu_to_le32(CT_GET_CONTAINER_COUNT);
470 dinfo->command = cpu_to_le32(VM_ContainerConfig);
471 dinfo->type = cpu_to_le32(CT_READ_NAME);
472 dinfo->cid = cpu_to_le32(scmd_id(scsicmd));
473 dinfo->count = cpu_to_le32(sizeof(((struct aac_get_name_resp *)NULL)->data));
530 if (dresp->mnt[0].state & cpu_to_le32(FSCS_NOT_READY))
575 dinfo->command = cpu_to_le32(VM_NameServe64);
576 dinfo->count = cpu_to_le32(scmd_id(scsicmd));
577 dinfo->type = cpu_to_le32(FT_FILESYS);
593 dresp->status = cpu_to_le32(ST_OK);
610 dinfo->command = cpu_to_le32(VM_NameServe);
611 dinfo->count = cpu_to_le32(scmd_id(scsicmd));
612 dinfo->type = cpu_to_le32(FT_FILESYS);
859 dinfo->command = cpu_to_le32(VM_ContainerConfig);
860 dinfo->type = cpu_to_le32(CT_CID_TO_32BITS_UID);
861 dinfo->cid = cpu_to_le32(scmd_id(scsicmd));
964 readcmd->block[0] = cpu_to_le32((u32)(lba&0xffffffff));
965 readcmd->block[1] = cpu_to_le32((u32)((lba&0xffffffff00000000LL)>>32));
966 readcmd->count = cpu_to_le32(count<<9);
993 readcmd->command = cpu_to_le32(VM_CtHostRead64);
996 readcmd->block = cpu_to_le32((u32)(lba&0xffffffff));
1024 readcmd->command = cpu_to_le32(VM_CtBlockRead);
1025 readcmd->cid = cpu_to_le32(scmd_id(cmd));
1026 readcmd->block = cpu_to_le32((u32)(lba&0xffffffff));
1027 readcmd->count = cpu_to_le32(count * 512);
1053 writecmd->block[0] = cpu_to_le32((u32)(lba&0xffffffff));
1054 writecmd->block[1] = cpu_to_le32((u32)((lba&0xffffffff00000000LL)>>32));
1055 writecmd->count = cpu_to_le32(count<<9);
1085 writecmd->command = cpu_to_le32(VM_CtHostWrite64);
1088 writecmd->block = cpu_to_le32((u32)(lba&0xffffffff));
1116 writecmd->command = cpu_to_le32(VM_CtBlockWrite);
1117 writecmd->cid = cpu_to_le32(scmd_id(cmd));
1118 writecmd->block = cpu_to_le32((u32)(lba&0xffffffff));
1119 writecmd->count = cpu_to_le32(count * 512);
1120 writecmd->sg.count = cpu_to_le32(1);
1165 srbcmd->function = cpu_to_le32(SRBF_ExecuteScsi);
1166 srbcmd->channel = cpu_to_le32(aac_logical_to_phys(scmd_channel(cmd)));
1167 srbcmd->id = cpu_to_le32(scmd_id(cmd));
1168 srbcmd->lun = cpu_to_le32(cmd->device->lun);
1169 srbcmd->flags = cpu_to_le32(flag);
1173 srbcmd->timeout = cpu_to_le32(timeout); // timeout in seconds
1175 srbcmd->cdb_size = cpu_to_le32(cmd->cmd_len);
1187 srbcmd->count = cpu_to_le32(scsi_bufflen(cmd));
1215 srbcmd->count = cpu_to_le32(scsi_bufflen(cmd));
1318 command->Command = cpu_to_le32(VM_Ioctl);
1319 command->ObjType = cpu_to_le32(FT_DRIVE);
1320 command->MethodId = cpu_to_le32(1);
1321 command->CtlCmd = cpu_to_le32(GetBusInfo);
1945 synchronizecmd->command = cpu_to_le32(VM_ContainerConfig);
1946 synchronizecmd->type = cpu_to_le32(CT_FLUSH_CACHE);
1947 synchronizecmd->cid = cpu_to_le32(scmd_id(scsicmd));
1949 cpu_to_le32(sizeof(((struct aac_synchronize_reply *)NULL)->data));
2022 pmcmd->command = cpu_to_le32(VM_ContainerConfig);
2023 pmcmd->type = cpu_to_le32(CT_POWER_MANAGEMENT);
2026 cpu_to_le32(CT_PM_START_UNIT) : cpu_to_le32(CT_PM_STOP_UNIT);
2027 pmcmd->cid = cpu_to_le32(sdev_id(sdev));
2029 cpu_to_le32(CT_PM_UNIT_IMMEDIATE) : 0;
2832 psg->count = cpu_to_le32(nseg);
2835 psg->sg[i].addr = cpu_to_le32(sg_dma_address(sg));
2836 psg->sg[i].count = cpu_to_le32(sg_dma_len(sg));
2843 psg->sg[i-1].count = cpu_to_le32(temp);
2879 psg->sg[i].addr[0] = cpu_to_le32(addr & 0xffffffff);
2880 psg->sg[i].addr[1] = cpu_to_le32(addr>>32);
2881 psg->sg[i].count = cpu_to_le32(count);
2884 psg->count = cpu_to_le32(nseg);
2889 psg->sg[i-1].count = cpu_to_le32(temp);
2926 psg->sg[i].addr[1] = cpu_to_le32((u32)(addr>>32));
2927 psg->sg[i].addr[0] = cpu_to_le32((u32)(addr & 0xffffffff));
2928 psg->sg[i].count = cpu_to_le32(count);
2932 psg->count = cpu_to_le32(nseg);
2937 psg->sg[i-1].count = cpu_to_le32(temp);