• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/x86/include/

Lines Matching refs:count

262  * Read `count' 1, 2, 4, or 8 byte quantities from bus space
268 size_t count);
273 size_t count);
278 size_t count);
282 bus_size_t offset, u_int8_t *addr, size_t count)
286 insb(bsh + offset, addr, count);
293 "=D" (addr), "=c" (count) :
294 "r" (bsh + offset), "0" (addr), "1" (count) :
302 bus_size_t offset, u_int16_t *addr, size_t count)
306 insw(bsh + offset, addr, count);
313 "=D" (addr), "=c" (count) :
314 "r" (bsh + offset), "0" (addr), "1" (count) :
322 bus_size_t offset, u_int32_t *addr, size_t count)
326 insl(bsh + offset, addr, count);
333 "=D" (addr), "=c" (count) :
334 "r" (bsh + offset), "0" (addr), "1" (count) :
345 * Read `count' 1, 2, 4, or 8 byte quantities from bus space
352 size_t count);
357 size_t count);
362 size_t count);
366 bus_size_t offset, u_int8_t *addr, size_t count)
377 "=D" (addr), "=c" (count), "=d" (_port_) :
378 "0" (addr), "1" (count), "2" (_port_) :
387 "=D" (addr), "=c" (count), "=S" (_port_) :
388 "0" (addr), "1" (count), "2" (_port_) :
396 bus_size_t offset, u_int16_t *addr, size_t count)
407 "=D" (addr), "=c" (count), "=d" (_port_) :
408 "0" (addr), "1" (count), "2" (_port_) :
417 "=D" (addr), "=c" (count), "=S" (_port_) :
418 "0" (addr), "1" (count), "2" (_port_) :
426 bus_size_t offset, u_int32_t *addr, size_t count)
437 "=D" (addr), "=c" (count), "=d" (_port_) :
438 "0" (addr), "1" (count), "2" (_port_) :
447 "=D" (addr), "=c" (count), "=S" (_port_) :
448 "0" (addr), "1" (count), "2" (_port_) :
528 * Write `count' 1, 2, 4, or 8 byte quantities from the buffer
536 size_t count);
541 size_t count);
547 size_t count);
551 bus_size_t offset, const u_int8_t *addr, size_t count)
555 outsb(bsh + offset, addr, count);
562 "=S" (addr), "=c" (count) :
563 "r" (bsh + offset), "0" (addr), "1" (count) :
571 bus_size_t offset, const u_int16_t *addr, size_t count)
575 outsw(bsh + offset, addr, count);
582 "=S" (addr), "=c" (count) :
583 "r" (bsh + offset), "0" (addr), "1" (count) :
591 bus_size_t offset, const u_int32_t *addr, size_t count)
595 outsl(bsh + offset, addr, count);
602 "=S" (addr), "=c" (count) :
603 "r" (bsh + offset), "0" (addr), "1" (count) :
615 * Write `count' 1, 2, 4, or 8 byte quantities from the buffer provided
623 size_t count);
628 size_t count);
633 size_t count);
637 bus_size_t offset, const u_int8_t *addr, size_t count)
648 "=d" (_port_), "=S" (addr), "=c" (count) :
649 "0" (_port_), "1" (addr), "2" (count) :
658 "=D" (_port_), "=S" (addr), "=c" (count) :
659 "0" (_port_), "1" (addr), "2" (count) :
667 bus_size_t offset, const u_int16_t *addr, size_t count)
678 "=d" (_port_), "=S" (addr), "=c" (count) :
679 "0" (_port_), "1" (addr), "2" (count) :
688 "=D" (_port_), "=S" (addr), "=c" (count) :
689 "0" (_port_), "1" (addr), "2" (count) :
697 bus_size_t offset, const u_int32_t *addr, size_t count)
708 "=d" (_port_), "=S" (addr), "=c" (count) :
709 "0" (_port_), "1" (addr), "2" (count) :
718 "=D" (_port_), "=S" (addr), "=c" (count) :
719 "0" (_port_), "1" (addr), "2" (count) :
732 * by tag/handle/offset `count' times.
738 u_int8_t value, size_t count);
742 u_int16_t value, size_t count);
746 u_int32_t value, size_t count);
750 bus_size_t offset, u_int8_t value, size_t count)
755 while (count--)
758 while (count--)
764 bus_size_t offset, u_int16_t value, size_t count)
769 while (count--)
772 while (count--)
778 bus_size_t offset, u_int32_t value, size_t count)
783 while (count--)
786 while (count--)
795 * Write `count' 1, 2, 4, or 8 byte value `val' to bus space described
802 size_t count);
806 size_t count);
810 size_t count);
814 bus_size_t offset, u_int8_t value, size_t count)
819 for (; count != 0; count--, addr++)
822 for (; count != 0; count--, addr++)
828 bus_size_t offset, u_int16_t value, size_t count)
833 for (; count != 0; count--, addr += 2)
836 for (; count != 0; count--, addr += 2)
842 bus_size_t offset, u_int32_t value, size_t count)
847 for (; count != 0; count--, addr += 4)
850 for (; count != 0; count--, addr += 4)
859 * Copy `count' 1, 2, 4, or 8 byte values from bus space starting
867 bus_size_t off2, size_t count);
873 bus_size_t off2, size_t count);
879 bus_size_t off2, size_t count);
884 bus_size_t off2, size_t count)
892 for (; count != 0; count--, addr1++, addr2++)
896 for (addr1 += (count - 1), addr2 += (count - 1);
897 count != 0; count--, addr1--, addr2--)
903 for (; count != 0; count--, addr1++, addr2++)
908 for (addr1 += (count - 1), addr2 += (count - 1);
909 count != 0; count--, addr1--, addr2--)
919 bus_size_t off2, size_t count)
927 for (; count != 0; count--, addr1 += 2, addr2 += 2)
931 for (addr1 += 2 * (count - 1), addr2 += 2 * (count - 1);
932 count != 0; count--, addr1 -= 2, addr2 -= 2)
938 for (; count != 0; count--, addr1 += 2, addr2 += 2)
943 for (addr1 += 2 * (count - 1), addr2 += 2 * (count - 1);
944 count != 0; count--, addr1 -= 2, addr2 -= 2)
954 bus_size_t off2, size_t count)
962 for (; count != 0; count--, addr1 += 4, addr2 += 4)
966 for (addr1 += 4 * (count - 1), addr2 += 4 * (count - 1);
967 count != 0; count--, addr1 -= 4, addr2 -= 4)
973 for (; count != 0; count--, addr1 += 4, addr2 += 4)
978 for (addr1 += 4 * (count - 1), addr2 += 4 * (count - 1);
979 count != 0; count--, addr1 -= 4, addr2 -= 4)