Home | History | Annotate | Download | only in nubus

Lines Matching defs:msw

685 		printf("Counter 2 (MSW) is now 0x%05x\n",
716 printf("Counter 2 (MSW) is now 0x%05x\n",
725 uint msw, msw2, lsw;
734 * where the output of counter 1 (LSW) clocks counter 2 (MSW).
739 * Unfortunately, there is no such mechanism between MSW and
741 * read-out, we read the MSW, then the LSW, then re-read the
742 * MSW and compare with the old value. If we find that the MSW
745 * and an old MSW value.
767 msw = bus_space_read_1(bst, bsh, CIO_CTRL) << 8;
770 msw |= bus_space_read_1(bst, bsh, CIO_CTRL);
804 } while (msw2 != msw);
807 return ~0u - ((msw << 16) | lsw);
847 uint32_t msw;
862 msw = bus_space_read_1(bst, bsh, CIO_CTRL) << 8;
865 msw |= bus_space_read_1(bst, bsh, CIO_CTRL);
869 return msw;