Lines Matching refs:cpu_to_le32

129 			cpu_to_le32(ADAPTER_INIT_STRUCT_REVISION_8);  in aac_alloc_comm()
130 init->r8.init_flags = cpu_to_le32(INITFLAGS_NEW_COMM_SUPPORTED | in aac_alloc_comm()
134 cpu_to_le32(INITFLAGS_DRIVER_SUPPORTS_HBA_MODE); in aac_alloc_comm()
135 init->r8.rr_queue_count = cpu_to_le32(dev->max_msix); in aac_alloc_comm()
137 cpu_to_le32(dev->scsi_host_ptr->max_sectors << 9); in aac_alloc_comm()
144 init->r8.rrq[i].host_addr_high = cpu_to_le32( in aac_alloc_comm()
146 init->r8.rrq[i].host_addr_low = cpu_to_le32( in aac_alloc_comm()
158 cpu_to_le32(ADAPTER_INIT_STRUCT_REVISION); in aac_alloc_comm()
161 cpu_to_le32(ADAPTER_INIT_STRUCT_REVISION_4); in aac_alloc_comm()
162 init->r7.no_of_msix_vectors = cpu_to_le32(SA_MINIPORT_REVISION); in aac_alloc_comm()
163 init->r7.fsrev = cpu_to_le32(dev->fsrev); in aac_alloc_comm()
172 init->r7.adapter_fibs_physical_address = cpu_to_le32((u32)phys); in aac_alloc_comm()
173 init->r7.adapter_fibs_size = cpu_to_le32(fibsize); in aac_alloc_comm()
174 init->r7.adapter_fib_align = cpu_to_le32(sizeof(struct hw_fib)); in aac_alloc_comm()
187 cpu_to_le32(aac_max_hostphysmempages); in aac_alloc_comm()
190 cpu_to_le32(AAC_MAX_HOSTPHYSMEMPAGES); in aac_alloc_comm()
193 cpu_to_le32(INITFLAGS_DRIVER_USES_UTC_TIME | in aac_alloc_comm()
196 cpu_to_le32(dev->scsi_host_ptr->can_queue + in aac_alloc_comm()
199 cpu_to_le32(dev->scsi_host_ptr->max_sectors << 9); in aac_alloc_comm()
200 init->r7.max_fib_size = cpu_to_le32(dev->max_fib_size); in aac_alloc_comm()
201 init->r7.max_num_aif = cpu_to_le32(dev->max_num_aif); in aac_alloc_comm()
205 cpu_to_le32(INITFLAGS_NEW_COMM_SUPPORTED); in aac_alloc_comm()
209 cpu_to_le32(ADAPTER_INIT_STRUCT_REVISION_6); in aac_alloc_comm()
211 cpu_to_le32(INITFLAGS_NEW_COMM_SUPPORTED | in aac_alloc_comm()
215 cpu_to_le32(upper_32_bits(dev->host_rrq_pa)); in aac_alloc_comm()
217 cpu_to_le32(lower_32_bits(dev->host_rrq_pa)); in aac_alloc_comm()
221 cpu_to_le32(ADAPTER_INIT_STRUCT_REVISION_7); in aac_alloc_comm()
223 cpu_to_le32(INITFLAGS_NEW_COMM_SUPPORTED | in aac_alloc_comm()
227 cpu_to_le32(upper_32_bits(dev->host_rrq_pa)); in aac_alloc_comm()
229 cpu_to_le32(lower_32_bits(dev->host_rrq_pa)); in aac_alloc_comm()
231 cpu_to_le32(dev->max_msix); in aac_alloc_comm()
255 init->r7.comm_header_address = cpu_to_le32((u32)phys); in aac_alloc_comm()
266 init->r7.printfbuf = cpu_to_le32(phys); in aac_alloc_comm()
267 init->r7.printfbufsiz = cpu_to_le32(printfbufsiz); in aac_alloc_comm()
284 *(q->headers.producer) = cpu_to_le32(qsize); in aac_queue_init()
285 *(q->headers.consumer) = cpu_to_le32(qsize); in aac_queue_init()
351 cmd->command = cpu_to_le32(VM_CloseAll); in aac_send_shutdown()
352 cmd->cid = cpu_to_le32(0xfffffffe); in aac_send_shutdown()