Lines Matching defs:lsw
681 printf("Counter 1 (LSW) is now 0x%05x\n",
712 printf("Counter 1 (LSW) is now 0x%05x\n",
725 uint msw, msw2, lsw;
734 * where the output of counter 1 (LSW) clocks counter 2 (MSW).
740 * LSW of the coupled counter. To ensure a consistent
741 * read-out, we read the MSW, then the LSW, then re-read the
743 * has just been incremented, we re-read the LSW. This avoids
744 * a race that could leave us with a new (just wrapped) LSW
782 lsw = bus_space_read_1(bst, bsh, CIO_CTRL) << 8;
785 lsw |= bus_space_read_1(bst, bsh, CIO_CTRL);
807 return ~0u - ((msw << 16) | lsw);
818 uint32_t lsw;
833 lsw = bus_space_read_1(bst, bsh, CIO_CTRL) << 8;
836 lsw |= bus_space_read_1(bst, bsh, CIO_CTRL);
840 return lsw;