Lines Matching refs:cpu_to_le32
107 dev->init->MaxIoCommands = cpu_to_le32((dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB) >> 1);
129 hw_fib->header.XferState = cpu_to_le32(0xffffffff);
227 hw_fib->header.XferState = cpu_to_le32(HostOwned | FibInitialized | FibEmpty | FastResponseCapable);
229 hw_fib->header.ReceiverFibAddress = cpu_to_le32(fibptr->hw_fib_pa);
343 entry->size = cpu_to_le32(le16_to_cpu(hw_fib->header.Size));
352 entry->size = cpu_to_le32(le16_to_cpu(hw_fib->header.Size));
363 entry->addr = cpu_to_le32(fibptr->hw_fib_pa);
403 if (!(hw_fib->header.XferState & cpu_to_le32(HostOwned)))
420 hw_fib->header.XferState |= cpu_to_le32(Async | ResponseExpected);
423 hw_fib->header.XferState |= cpu_to_le32(NoResponseExpected);
426 hw_fib->header.XferState |= cpu_to_le32(ResponseExpected);
433 hw_fib->header.SenderFibAddress = cpu_to_le32(((u32)(fibptr - dev->fibs)) << 2);
443 hw_fib->header.XferState |= cpu_to_le32(SentFromHost);
456 hw_fib->header.XferState |= cpu_to_le32(NormalPriority);
629 *q->headers.consumer = cpu_to_le32(1);
687 if (hw_fib->header.XferState & cpu_to_le32(SentFromAdapter)) {
692 hw_fib->header.XferState |= cpu_to_le32(HostProcessed);
702 *(q->headers.producer) = cpu_to_le32(index + 1);
752 if((hw_fib->header.XferState & cpu_to_le32(SentFromHost)) &&
753 (hw_fib->header.XferState & cpu_to_le32(AdapterProcessed)))
757 else if(hw_fib->header.XferState & cpu_to_le32(SentFromHost))
764 } else if(hw_fib->header.XferState & cpu_to_le32(HostOwned)) {
898 (((__le32 *)aifcmd->data)[1] == cpu_to_le32(3));
968 cpu_to_le32(AifEnAddJBOD)) ? ADD : DELETE;
1017 == cpu_to_le32(EM_DRIVE_INSERTION)) ?
1053 if (((__le32 *)aifcmd->data)[1] == cpu_to_le32(AifJobCtrZero) &&
1055 ((__le32 *)aifcmd->data)[4] == cpu_to_le32(AifJobStsSuccess))) {
1070 if (((__le32 *)aifcmd->data)[1] == cpu_to_le32(AifJobCtrZero) &&
1072 ((__le32 *)aifcmd->data)[4] == cpu_to_le32(AifJobStsRunning)) {
1234 if (!(fib->hw_fib_va->header.XferState & cpu_to_le32(NoResponseExpected | Async)) &&
1235 (fib->hw_fib_va->header.XferState & cpu_to_le32(ResponseExpected))) {
1400 cmd->command = cpu_to_le32(VM_ContainerConfig);
1401 cmd->type = cpu_to_le32(CT_PAUSE_IO);
1402 cmd->timeout = cpu_to_le32(1);
1403 cmd->min = cpu_to_le32(1);
1404 cmd->noRescan = cpu_to_le32(1);
1405 cmd->count = cpu_to_le32(0);
1507 aif->command = cpu_to_le32(AifCmdEventNotify);
1508 aif->seqnum = cpu_to_le32(0xFFFFFFFF);
1509 ((__le32 *)aif->data)[0] = cpu_to_le32(AifEnExpEvent);
1510 ((__le32 *)aif->data)[1] = cpu_to_le32(AifExeFirmwarePanic);
1511 ((__le32 *)aif->data)[2] = cpu_to_le32(AifHighPriority);
1512 ((__le32 *)aif->data)[3] = cpu_to_le32(BlinkLED);
1625 if (aifcmd->command == cpu_to_le32(AifCmdDriverNotify)) {
1628 *(__le32 *)hw_fib->data = cpu_to_le32(ST_OK);
1642 cpu_to_le32(AifCmdEventNotify)) ||
1644 cpu_to_le32(AifCmdJobProgress))) {
1764 *(__le32 *)hw_fib->data = cpu_to_le32(ST_OK);
1832 *info = cpu_to_le32(now.tv_sec);