Lines Matching refs:le32toh
391 aac_describe_code(aac_cpu_variant, le32toh(info->CpuVariant)),
392 le32toh(info->ClockSpeed),
393 le32toh(info->TotalMem) / (1024 * 1024),
394 le32toh(info->BufferMem) / (1024 * 1024),
396 le32toh(info->batteryPlatform)));
515 sc->sc_max_fib_size = le32toh(opt1) & 0xffff;
516 sc->sc_max_sectors = (le32toh(opt1) >> 16) << 1;
517 tmpval = (le32toh(opt2) >> 16);
521 tmpval = (le32toh(opt3) & 0xffff);
858 if (le32toh(mir.Status) != ST_OK ||
859 le32toh(mir.MntTable[0].VolType) == CT_NONE)
863 hd->hd_size = le32toh(mir.MntTable[0].Capacity);
866 le32toh(mir.MntTable[0].CapacityHigh) << 32;
867 hd->hd_devtype = le32toh(mir.MntTable[0].VolType);
1098 if (le32toh(fib->Header.XferState) & AAC_FIBSTATE_FROMADAP) {
1498 fib_addr = le32toh(ac->ac_fib->Header.ReceiverFibAddress);
1506 pi = le32toh(sc->sc_queues->qt_qindex[queue][AAC_PRODUCER_INDEX]);
1507 ci = le32toh(sc->sc_queues->qt_qindex[queue][AAC_CONSUMER_INDEX]);
1555 pi = le32toh(sc->sc_queues->qt_qindex[queue][AAC_PRODUCER_INDEX]);
1556 ci = le32toh(sc->sc_queues->qt_qindex[queue][AAC_CONSUMER_INDEX]);
1571 *fib_size = le32toh((sc->sc_qentries[queue] + ci)->aq_fib_size);
1576 idx = le32toh((sc->sc_qentries[queue] + ci)->aq_fib_addr);
1582 idx = le32toh((sc->sc_qentries[queue] + ci)->aq_fib_addr);
1635 pi = le32toh(sc->sc_queues->qt_qindex[queue][AAC_PRODUCER_INDEX]);
1636 ci = le32toh(sc->sc_queues->qt_qindex[queue][AAC_CONSUMER_INDEX]);
1702 "\25APIFIB\n", le32toh(fib->Header.XferState));
1711 le32toh(fib->Header.SenderFibAddress));
1713 le32toh(fib->Header.ReceiverFibAddress));
1722 if (le32toh(br->Command) == VM_CtBlockRead) {
1724 le32toh(br->ContainerId), le32toh(br->BlockNumber),
1725 le32toh(br->ByteCount));
1728 if (le32toh(bw->Command) == VM_CtBlockWrite) {
1730 le32toh(bw->ContainerId), le32toh(bw->BlockNumber),
1731 le32toh(bw->ByteCount),
1732 le32toh(bw->Stable) == CSTABLE ?
1737 printf(" %d s/g entries\n", le32toh(sg->SgCount));
1738 for (i = 0; i < le32toh(sg->SgCount); i++)
1740 le32toh(sg->SgEntry[i].SgAddress),
1741 le32toh(sg->SgEntry[i].SgByteCount));