Lines Matching +full:32 +full:-

1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
42 /* Convert from Little-Endian to host order (TOH) */
47 TOH(ptr->XferState, 32); in aac_fib_header_toh()
48 TOH(ptr->Command, 16); in aac_fib_header_toh()
49 TOH(ptr->Size, 16); in aac_fib_header_toh()
50 TOH(ptr->SenderSize, 16); in aac_fib_header_toh()
51 TOH(ptr->SenderFibAddress, 32); in aac_fib_header_toh()
52 TOH(ptr->u.ReceiverFibAddress, 32); in aac_fib_header_toh()
53 TOH(ptr->Handle, 32); in aac_fib_header_toh()
54 TOH(ptr->Previous, 32); in aac_fib_header_toh()
55 TOH(ptr->Next, 32); in aac_fib_header_toh()
61 TOH(ptr->PlatformBase, 32); in aac_adapter_info_toh()
62 TOH(ptr->CpuArchitecture, 32); in aac_adapter_info_toh()
63 TOH(ptr->CpuVariant, 32); in aac_adapter_info_toh()
64 TOH(ptr->ClockSpeed, 32); in aac_adapter_info_toh()
65 TOH(ptr->ExecutionMem, 32); in aac_adapter_info_toh()
66 TOH(ptr->BufferMem, 32); in aac_adapter_info_toh()
67 TOH(ptr->TotalMem, 32); in aac_adapter_info_toh()
69 TOH(ptr->KernelRevision.buildNumber, 32); in aac_adapter_info_toh()
70 TOH(ptr->MonitorRevision.buildNumber, 32); in aac_adapter_info_toh()
71 TOH(ptr->HardwareRevision.buildNumber, 32); in aac_adapter_info_toh()
72 TOH(ptr->BIOSRevision.buildNumber, 32); in aac_adapter_info_toh()
74 TOH(ptr->ClusteringEnabled, 32); in aac_adapter_info_toh()
75 TOH(ptr->ClusterChannelMask, 32); in aac_adapter_info_toh()
76 TOH(ptr->SerialNumber, 64); in aac_adapter_info_toh()
77 TOH(ptr->batteryPlatform, 32); in aac_adapter_info_toh()
78 TOH(ptr->SupportedOptions, 32); in aac_adapter_info_toh()
79 TOH(ptr->OemVariant, 32); in aac_adapter_info_toh()
88 TOH(ptr->ViaAdapterSerialNumber, 64); in aac_container_creation_toh()
94 TOH(ptr->ObjectId, 32); in aac_mntobj_toh()
95 aac_container_creation_toh(&ptr->CreateInfo); in aac_mntobj_toh()
96 TOH(ptr->Capacity, 32); in aac_mntobj_toh()
97 TOH(ptr->VolType, 32); in aac_mntobj_toh()
98 TOH(ptr->ObjType, 32); in aac_mntobj_toh()
99 TOH(ptr->ContentState, 32); in aac_mntobj_toh()
100 TOH(ptr->ObjExtension.BlockDevice.BlockSize, 32); in aac_mntobj_toh()
101 TOH(ptr->ObjExtension.BlockDevice.bdLgclPhysMap, 32); in aac_mntobj_toh()
102 TOH(ptr->AlterEgoId, 32); in aac_mntobj_toh()
103 TOH(ptr->CapacityHigh, 32); in aac_mntobj_toh()
109 TOH(ptr->Status, 32); in aac_mntinforesp_toh()
110 TOH(ptr->MntType, 32); in aac_mntinforesp_toh()
111 TOH(ptr->MntRespCount, 32); in aac_mntinforesp_toh()
112 aac_mntobj_toh(&ptr->MntTable[0]); in aac_mntinforesp_toh()
120 TOH(ptr->command, 32); in aac_fsa_ctm_toh()
122 TOH(ptr->param[i], 32); in aac_fsa_ctm_toh()
128 TOH(ptr->Command, 32); in aac_cnt_config_toh()
129 aac_fsa_ctm_toh(&ptr->CTCommand); in aac_cnt_config_toh()
135 TOH(ptr->Status, 32); in aac_ctcfg_resp_toh()
136 TOH(ptr->resp, 32); in aac_ctcfg_resp_toh()
137 TOH(ptr->param, 32); in aac_ctcfg_resp_toh()
143 TOH(ptr->ProbeComplete, 32); in aac_getbusinf_toh()
144 TOH(ptr->BusCount, 32); in aac_getbusinf_toh()
145 TOH(ptr->TargetsPerBus, 32); in aac_getbusinf_toh()
151 TOH(ptr->Status, 32); in aac_vmi_businf_resp_toh()
152 TOH(ptr->ObjType, 32); in aac_vmi_businf_resp_toh()
153 TOH(ptr->MethId, 32); in aac_vmi_businf_resp_toh()
154 TOH(ptr->ObjId, 32); in aac_vmi_businf_resp_toh()
155 TOH(ptr->IoctlCmd, 32); in aac_vmi_businf_resp_toh()
156 aac_getbusinf_toh(&ptr->BusInf); in aac_vmi_businf_resp_toh()
162 TOH(ptr->fib_status, 32); in aac_srb_response_toh()
163 TOH(ptr->srb_status, 32); in aac_srb_response_toh()
164 TOH(ptr->scsi_status, 32); in aac_srb_response_toh()
165 TOH(ptr->data_len, 32); in aac_srb_response_toh()
166 TOH(ptr->sense_len, 32); in aac_srb_response_toh()
169 /* Convert from host order to Little-Endian (TOLE) */
174 TOLE(ptr->InitStructRevision, 32); in aac_adapter_init_tole()
175 TOLE(ptr->NoOfMSIXVectors, 32); in aac_adapter_init_tole()
176 TOLE(ptr->FilesystemRevision, 32); in aac_adapter_init_tole()
177 TOLE(ptr->CommHeaderAddress, 32); in aac_adapter_init_tole()
178 TOLE(ptr->FastIoCommAreaAddress, 32); in aac_adapter_init_tole()
179 TOLE(ptr->AdapterFibsPhysicalAddress, 32); in aac_adapter_init_tole()
180 TOLE(ptr->AdapterFibsVirtualAddress, 32); in aac_adapter_init_tole()
181 TOLE(ptr->AdapterFibsSize, 32); in aac_adapter_init_tole()
182 TOLE(ptr->AdapterFibAlign, 32); in aac_adapter_init_tole()
183 TOLE(ptr->PrintfBufferAddress, 32); in aac_adapter_init_tole()
184 TOLE(ptr->PrintfBufferSize, 32); in aac_adapter_init_tole()
185 TOLE(ptr->HostPhysMemPages, 32); in aac_adapter_init_tole()
186 TOLE(ptr->HostElapsedSeconds, 32); in aac_adapter_init_tole()
187 TOLE(ptr->InitFlags, 32); in aac_adapter_init_tole()
188 TOLE(ptr->MaxIoCommands, 32); in aac_adapter_init_tole()
189 TOLE(ptr->MaxIoSize, 32); in aac_adapter_init_tole()
190 TOLE(ptr->MaxFibSize, 32); in aac_adapter_init_tole()
191 TOLE(ptr->MaxNumAif, 32); in aac_adapter_init_tole()
192 TOLE(ptr->HostRRQ_AddrLow, 32); in aac_adapter_init_tole()
193 TOLE(ptr->HostRRQ_AddrHigh, 32); in aac_adapter_init_tole()
199 TOLE(ptr->XferState, 32); in aac_fib_header_tole()
200 TOLE(ptr->Command, 16); in aac_fib_header_tole()
201 TOLE(ptr->Size, 16); in aac_fib_header_tole()
202 TOLE(ptr->SenderSize, 16); in aac_fib_header_tole()
203 TOLE(ptr->SenderFibAddress, 32); in aac_fib_header_tole()
204 TOLE(ptr->u.ReceiverFibAddress, 32); in aac_fib_header_tole()
205 TOLE(ptr->Handle, 32); in aac_fib_header_tole()
206 TOLE(ptr->Previous, 32); in aac_fib_header_tole()
207 TOLE(ptr->Next, 32); in aac_fib_header_tole()
213 TOLE(ptr->Command, 32); in aac_mntinfo_tole()
214 TOLE(ptr->MntType, 32); in aac_mntinfo_tole()
215 TOLE(ptr->MntCount, 32); in aac_mntinfo_tole()
223 TOLE(ptr->command, 32); in aac_fsa_ctm_tole()
225 TOLE(ptr->param[i], 32); in aac_fsa_ctm_tole()
231 TOLE(ptr->Command, 32); in aac_cnt_config_tole()
232 aac_fsa_ctm_tole(&ptr->CTCommand); in aac_cnt_config_tole()
238 TOLE(ptr->BlockNumber, 64); in aac_raw_io_tole()
239 TOLE(ptr->ByteCount, 32); in aac_raw_io_tole()
240 TOLE(ptr->ContainerId, 16); in aac_raw_io_tole()
241 TOLE(ptr->Flags, 16); in aac_raw_io_tole()
242 TOLE(ptr->BpTotal, 16); in aac_raw_io_tole()
243 TOLE(ptr->BpComplete, 16); in aac_raw_io_tole()
249 TOLE(ptr->strtBlkLow, 32); in aac_raw_io2_tole()
250 TOLE(ptr->strtBlkHigh, 32); in aac_raw_io2_tole()
251 TOLE(ptr->byteCnt, 32); in aac_raw_io2_tole()
252 TOLE(ptr->ldNum, 16); in aac_raw_io2_tole()
253 TOLE(ptr->flags, 16); in aac_raw_io2_tole()
254 TOLE(ptr->sgeFirstSize, 32); in aac_raw_io2_tole()
255 TOLE(ptr->sgeNominalSize, 32); in aac_raw_io2_tole()
261 TOLE(ptr->HostAddress, 64); in aac_fib_xporthdr_tole()
262 TOLE(ptr->Size, 32); in aac_fib_xporthdr_tole()
263 TOLE(ptr->Handle, 32); in aac_fib_xporthdr_tole()
269 TOLE(ptr->Command, 32); in aac_ctcfg_tole()
270 TOLE(ptr->cmd, 32); in aac_ctcfg_tole()
271 TOLE(ptr->param, 32); in aac_ctcfg_tole()
277 TOLE(ptr->Command, 32); in aac_vmioctl_tole()
278 TOLE(ptr->ObjType, 32); in aac_vmioctl_tole()
279 TOLE(ptr->MethId, 32); in aac_vmioctl_tole()
280 TOLE(ptr->ObjId, 32); in aac_vmioctl_tole()
281 TOLE(ptr->IoctlCmd, 32); in aac_vmioctl_tole()
282 TOLE(ptr->IoctlBuf[0], 32); in aac_vmioctl_tole()
288 TOLE(ptr->Command, 32); in aac_pause_command_tole()
289 TOLE(ptr->Type, 32); in aac_pause_command_tole()
290 TOLE(ptr->Timeout, 32); in aac_pause_command_tole()
291 TOLE(ptr->Min, 32); in aac_pause_command_tole()
292 TOLE(ptr->NoRescan, 32); in aac_pause_command_tole()
293 TOLE(ptr->Parm3, 32); in aac_pause_command_tole()
294 TOLE(ptr->Parm4, 32); in aac_pause_command_tole()
295 TOLE(ptr->Count, 32); in aac_pause_command_tole()
301 TOLE(ptr->function, 32); in aac_srb_tole()
302 TOLE(ptr->bus, 32); in aac_srb_tole()
303 TOLE(ptr->target, 32); in aac_srb_tole()
304 TOLE(ptr->lun, 32); in aac_srb_tole()
305 TOLE(ptr->timeout, 32); in aac_srb_tole()
306 TOLE(ptr->flags, 32); in aac_srb_tole()
307 TOLE(ptr->data_len, 32); in aac_srb_tole()
308 TOLE(ptr->retry_limit, 32); in aac_srb_tole()
309 TOLE(ptr->cdb_len, 32); in aac_srb_tole()
315 TOLE(ptr->addrLow, 32); in aac_sge_ieee1212_tole()
316 TOLE(ptr->addrHigh, 32); in aac_sge_ieee1212_tole()
317 TOLE(ptr->length, 32); in aac_sge_ieee1212_tole()
318 TOLE(ptr->flags, 32); in aac_sge_ieee1212_tole()
324 TOLE(ptr->Next, 32); in aac_sg_entryraw_tole()
325 TOLE(ptr->Prev, 32); in aac_sg_entryraw_tole()
326 TOLE(ptr->SgAddress, 64); in aac_sg_entryraw_tole()
327 TOLE(ptr->SgByteCount, 32); in aac_sg_entryraw_tole()
328 TOLE(ptr->Flags, 32); in aac_sg_entryraw_tole()
334 TOLE(ptr->SgAddress, 32); in aac_sg_entry_tole()
335 TOLE(ptr->SgByteCount, 32); in aac_sg_entry_tole()
341 TOLE(ptr->SgAddress, 64); in aac_sg_entry64_tole()
342 TOLE(ptr->SgByteCount, 32); in aac_sg_entry64_tole()
348 TOLE(ptr->Command, 32); in aac_blockread_tole()
349 TOLE(ptr->ContainerId, 32); in aac_blockread_tole()
350 TOLE(ptr->BlockNumber, 32); in aac_blockread_tole()
351 TOLE(ptr->ByteCount, 32); in aac_blockread_tole()
357 TOLE(ptr->Command, 32); in aac_blockwrite_tole()
358 TOLE(ptr->ContainerId, 32); in aac_blockwrite_tole()
359 TOLE(ptr->BlockNumber, 32); in aac_blockwrite_tole()
360 TOLE(ptr->ByteCount, 32); in aac_blockwrite_tole()
361 TOLE(ptr->Stable, 32); in aac_blockwrite_tole()
367 TOLE(ptr->Command, 32); in aac_blockread64_tole()
368 TOLE(ptr->ContainerId, 16); in aac_blockread64_tole()
369 TOLE(ptr->SectorCount, 16); in aac_blockread64_tole()
370 TOLE(ptr->BlockNumber, 32); in aac_blockread64_tole()
371 TOLE(ptr->Pad, 16); in aac_blockread64_tole()
372 TOLE(ptr->Flags, 16); in aac_blockread64_tole()
378 TOLE(ptr->Command, 32); in aac_blockwrite64_tole()
379 TOLE(ptr->ContainerId, 16); in aac_blockwrite64_tole()
380 TOLE(ptr->SectorCount, 16); in aac_blockwrite64_tole()
381 TOLE(ptr->BlockNumber, 32); in aac_blockwrite64_tole()
382 TOLE(ptr->Pad, 16); in aac_blockwrite64_tole()
383 TOLE(ptr->Flags, 16); in aac_blockwrite64_tole()