Lines Matching refs:cpu_to_le32

115 			cpu_to_le32(ADAPTER_INIT_STRUCT_REVISION_8);
116 init->r8.init_flags = cpu_to_le32(INITFLAGS_NEW_COMM_SUPPORTED |
120 cpu_to_le32(INITFLAGS_DRIVER_SUPPORTS_HBA_MODE);
121 init->r8.rr_queue_count = cpu_to_le32(dev->max_msix);
123 cpu_to_le32(dev->scsi_host_ptr->max_sectors << 9);
130 init->r8.rrq[i].host_addr_high = cpu_to_le32(
132 init->r8.rrq[i].host_addr_low = cpu_to_le32(
144 cpu_to_le32(ADAPTER_INIT_STRUCT_REVISION);
147 cpu_to_le32(ADAPTER_INIT_STRUCT_REVISION_4);
148 init->r7.no_of_msix_vectors = cpu_to_le32(SA_MINIPORT_REVISION);
149 init->r7.fsrev = cpu_to_le32(dev->fsrev);
158 init->r7.adapter_fibs_physical_address = cpu_to_le32((u32)phys);
159 init->r7.adapter_fibs_size = cpu_to_le32(fibsize);
160 init->r7.adapter_fib_align = cpu_to_le32(sizeof(struct hw_fib));
173 cpu_to_le32(aac_max_hostphysmempages);
176 cpu_to_le32(AAC_MAX_HOSTPHYSMEMPAGES);
179 cpu_to_le32(INITFLAGS_DRIVER_USES_UTC_TIME |
182 cpu_to_le32(dev->scsi_host_ptr->can_queue +
185 cpu_to_le32(dev->scsi_host_ptr->max_sectors << 9);
186 init->r7.max_fib_size = cpu_to_le32(dev->max_fib_size);
187 init->r7.max_num_aif = cpu_to_le32(dev->max_num_aif);
191 cpu_to_le32(INITFLAGS_NEW_COMM_SUPPORTED);
195 cpu_to_le32(ADAPTER_INIT_STRUCT_REVISION_6);
197 cpu_to_le32(INITFLAGS_NEW_COMM_SUPPORTED |
201 cpu_to_le32(upper_32_bits(dev->host_rrq_pa));
203 cpu_to_le32(lower_32_bits(dev->host_rrq_pa));
207 cpu_to_le32(ADAPTER_INIT_STRUCT_REVISION_7);
209 cpu_to_le32(INITFLAGS_NEW_COMM_SUPPORTED |
213 cpu_to_le32(upper_32_bits(dev->host_rrq_pa));
215 cpu_to_le32(lower_32_bits(dev->host_rrq_pa));
217 cpu_to_le32(dev->max_msix);
241 init->r7.comm_header_address = cpu_to_le32((u32)phys);
252 init->r7.printfbuf = cpu_to_le32(phys);
253 init->r7.printfbufsiz = cpu_to_le32(printfbufsiz);
270 *(q->headers.producer) = cpu_to_le32(qsize);
271 *(q->headers.consumer) = cpu_to_le32(qsize);
336 cmd->command = cpu_to_le32(VM_CloseAll);
337 cmd->cid = cpu_to_le32(0xfffffffe);